XGen-7B-8K-Base is one of the 7-billion-parameter large language models in the XGen series released by Salesforce AI Research, corresponding to the paper "Long Sequence Modeling with XGen: A 7B LLM Trained on 8K Input Sequence Length". The model was pretrained at an 8K sequence length; the same series also includes a 4K version (XGen-7B-4K-Base) and an instruction-tuned version (XGen-7B-8K-Inst).
Purpose: Mainly used for text generation tasks, supporting long-sequence modeling research.
Main capabilities: As a base language model, it can perform autoregressive text generation; the training data was tokenized using the OpenAI Tiktoken library.
Usage: On the Hugging Face page, the model can be downloaded, its files browsed, and the model run; the Tiktoken package must be installed (via pip), and the model can be used as an autoregressive sampler. Specific code examples are not provided in the materials.
Applicable scenarios: Academic research, long-sequence modeling experiments.
Limitations: The official release explicitly states it is for research purposes only and does not support all downstream uses; it has not been evaluated for accuracy, safety, and fairness, so risks must be assessed independently before deployment; the license is Apache-2.0.