Xgen Small 4B Base R by Salesforce

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

  Arxiv:2505.06496   Autotrain compatible   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 (Salesforce/xgen-small-4B-base-r)
๐ŸŒŸ Advertise your project ๐Ÿš€

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
Updated2025-07-01
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
HoldMy4BKTO256K / 8.8 GB230
Xgen Small 4B Instruct R256K / 17.7 GB453
SJT 4B146K / 7.6 GB110
...lama 3.1 Nemotron Nano 4B V1.1128K / 9 GB1933291
...lama 3.1 Nemotron Nano 4B V1.1128K / 9 GB18034
Loxa 4B128K / 16 GB1150
Basqui R1 4B V1128K / 6.5 GB2411
Nemotron W 4b MagLight 0.1128K / 9.2 GB113
Nemotron W 4b Halo 0.1128K / 9.2 GB123
CharGen V3 Mini128K / 9 GB788
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? 49191 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241124