Xgen Small 4B Base R by Salesforce

 »  All LLMs  »  Salesforce  »  Xgen Small 4B Base R   URL Share it on

Xgen Small 4B Base R is an open-source language model by Salesforce. Features: 4b LLM, VRAM: 17.7GB, Context: 256K, License: cc-by-nc-4.0, LLM Explorer Score: 0.19.

  Arxiv:2505.06496   Conversational   En   Endpoints compatible   Llama   Region:us   Safetensors   Sharded   Tensorflow

Xgen Small 4B Base R Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").

Xgen Small 4B Base R Parameters and Internals

LLM NameXgen Small 4B Base R
Repository 🤗https://huggingface.co/Salesforce/xgen-small-4B-base-r 
Model Size4b
Required VRAM17.7 GB
Updated2026-05-22
MaintainerSalesforce
Model Typellama
Model Files  5.0 GB: 1-of-4   5.0 GB: 2-of-4   5.0 GB: 3-of-4   2.7 GB: 4-of-4
Supported Languagesen
Model ArchitectureLlamaForCausalLM
Licensecc-by-nc-4.0
Context Length262144
Model Max Length262144
Transformers Version4.51.3
Tokenizer ClassGPT2Tokenizer
Vocabulary Size102400
Torch Data Typefloat32

Best Alternatives to Xgen Small 4B Base R

Best Alternatives
Context / RAM
Downloads
Likes
4Bcpt256K / 8.8 GB50
HoldMy4BKTO256K / 8.8 GB50
Xgen Small 4B Instruct R256K / 17.7 GB474
SJT 4B146K / 7.6 GB100
...lama 3.1 Nemotron Nano 4B V1.1128K / 9 GB2929114
Impish LLAMA 4B128K / 9 GB113342
...lama 3.1 Nemotron Nano 4B V1.1128K / 9 GB25825
Nemotron W 4b MagLight 0.1128K / 9.2 GB73
Loxa 4B128K / 16 GB260
Nemotron W 4b Halo 0.1128K / 9.2 GB63
Note: green Score (e.g. "73.2") means that the model is better than Salesforce/xgen-small-4B-base-r.

Rank the Xgen Small 4B Base R Capabilities

🆘 Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! 🌟

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 53972 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Check out Ag3ntum — our secure, self-hosted AI agent for server management.
Release v20260328a