LLM EXPLORER 59,420 MODELS INDEXED

Xgen Small 4B Base R by Salesforce

By Salesforce · 30 downloads

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.18.

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

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-07-10
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 GB544
SJT 4B146K / 7.6 GB70
...lama 3.1 Nemotron Nano 4B V1.1128K / 9 GB3940116
Nemotron W 4b MagLight 0.1128K / 9.2 GB93
Loxa 4B128K / 16 GB80
Nemotron W 4b Halo 0.1128K / 9.2 GB223
Aura 4B128K / 9 GB4414
Impish LLAMA 4B128K / 9 GB5066
Note: green Score (e.g. "73.2") means that the model is better than Salesforce/xgen-small-4B-base-r.