LLM EXPLORER 59,420 MODELS INDEXED

Xgen Small 4B Instruct R by Salesforce

By Salesforce · 54 downloads

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

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

Xgen Small 4B Instruct R Parameters and Internals

LLM NameXgen Small 4B Instruct R
Repository πŸ€—https://huggingface.co/Salesforce/xgen-small-4B-instruct-r 
Model Size4b
Required VRAM17.7 GB
Updated2026-07-29
MaintainerSalesforce
Model Typellama
Instruction-BasedYes
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
Padding Token<|endoftext|>
Vocabulary Size102400
Torch Data Typefloat32

Best Alternatives to Xgen Small 4B Instruct R

Best Alternatives
Context / RAM
Downloads
Likes
HoldMy4BKTO256K / 8.8 GB50
Aura 4B128K / 9 GB4414
Hamanasu Magnum 4B128K / 9 GB134
Hamanasu Adventure 4B128K / 9.1 GB163
Hamanasu 4B Chat Brainrot128K / 9 GB184
Hamanasu 4B Instruct KTO V2128K / 9 GB202
Hamanasu 4B Instruct KTO V1128K / 9 GB122
Hamanasu 4B Instruct128K / 9 GB112
4B Inst128K / 9 GB160
4B Inst128K / 9 GB90
Note: green Score (e.g. "73.2") means that the model is better than Salesforce/xgen-small-4B-instruct-r.