XGen-7B-4K-Base is one of the models in the XGen series released by Salesforce AI Research, and the related paper is titled "Long Sequence Modeling with XGen: A 7B LLM Trained on 8K Input Sequence Length". This model is a 7-billion-parameter base language model pretrained at a 4K sequence length, with an Apache-2.0 license. The same series also includes XGen-7B-8K-Base (pretrained at an 8K sequence length) and the instruction-tuned model XGen-7B-8K-Inst (supervised fine-tuned on public-domain instruction data, for research use only).
In terms of purpose, this model is mainly used for text generation tasks and can be used as an autoregressive sampler. The official materials do not list specific application scenarios in detail, but mention that the model, datasets, and code are not specifically designed or evaluated for all downstream uses, and users are advised to assess potential issues such as accuracy, safety, and fairness before use.
In terms of main capabilities, the model supports text generation at a 4K sequence length, and the training data is tokenized using the OpenAI Tiktoken library. For usage, the corresponding pip package needs to be installed, and it can be invoked as an autoregressive sampler; specific code examples are not provided in the materials.
In terms of applicable scenarios, this release is intended only to support the research purpose of an academic paper and is suitable for academic research scenarios. Limitations include: for research use only and not suitable for all downstream purposes; users must assess and address issues such as accuracy, safety, and fairness themselves; applicable laws and best practices must be followed, especially in high-risk scenarios. The official materials do not provide information such as pricing, cost, platform support, or performance data.