Skip to content
llmmodels
Chat LLMOpen weights

xgen-7b-8k-base

by Salesforce · Jun 28, 2023

xgen-7b-8k-base is an open-weight chat llm from Salesforce, released Jun 28, 2023. It has 7B parameters.

Provider
Salesforce
Released
Jun 28, 2023
Type
Chat LLM
Parameters
7B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
apache-2.0
Knowledge cutoff
—
Status
Open weights
HF downloads (30d)
1.5K

xgen-7b-8k-base benchmarks

All benchmarks →

Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.

How to run xgen-7b-8k-base

xgen-7b-8k-base is an open-weight model published on Hugging Face as Salesforce/xgen-7b-8k-base. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 7B parameters it needs roughly 4 GB of memory at 4-bit quantization.

xgen-7b-8k-base vs alternatives

Alternatives to xgen-7b-8k-base
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Mistral-7B-v0.1openMistral AISep 20237.2B———102.7
Llama 2-7BopenMetaJul 20236.7B———83.2
Falcon-7BopenTechnology Innovation InstituteApr 20237.2B———73.1
RedPajama-INCITE-7B-BaseopenTogether AIJun 20236.9B———57.7
Mistral-7B-Instruct-v0.2openMistral AIDec 20237.2B————
deepseek-llm-7b-baseopenDeepSeekNov 20237B————
Llama-2-7b-chat-hfopenMetaJul 20236.7B————
deepseek-coder-6.7b-baseopenDeepSeekOct 20236.7B————

More models from Salesforce

All Salesforce models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Llama-xLAM-2-8b-fc-ropenMar 20258B———
GTA1-7B-2507openSep 20258.3B———
blip2-opt-2.7bopenFeb 20233.7B———
xLAM-2-1b-fc-ropenMar 20251.5B———
xLAM-1b-fc-ropenJul 20241.3B———
codegen2-16B_PopenApr 202316B———
blip2-flan-t5-xlopenFeb 20233.9B———
instructblip-vicuna-7bopenMay 20237.9B———

Frequently asked questions

Who made xgen-7b-8k-base?

xgen-7b-8k-base was developed by Salesforce (United States). It was released on Jun 28, 2023.

Is xgen-7b-8k-base open source?

Yes. xgen-7b-8k-base's weights are publicly available under the apache-2.0 license on Hugging Face (Salesforce/xgen-7b-8k-base), so you can download and run it yourself.

How many parameters does xgen-7b-8k-base have?

xgen-7b-8k-base has 7B parameters.

How does xgen-7b-8k-base perform on benchmarks?

xgen-7b-8k-base scores 36.3% on MMLU and 74.2% on HellaSwag.

Sources: huggingface · huggingface. Last updated 2026-11-22.