whatmodel.sh / xLAM-2-3b-fc-r
xLAM-2-3b-fc-r
↗ share
+ contribute
xLAM-2-3b-fc-r is an open-weights language model from Salesforce, released March 2025. Its published size is 3.09B parameters. Licence: cc-by-nc-4.0.
Catalogue identity notes
Maker repo Salesforce/xLAM-2-3b-fc-r @be83286: licence tag cc-by-nc-4.0. 3,085,938,688 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2025-03: month the maker's Hugging Face repo was created (createdAt 2025-03-27).
$ how it compares
The LLMs ranked either side of xLAM-2-3b-fc-r, out of 1132 with a score, then more from Salesforce.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 348 | 58±1 | local | |||
| 349 | 58±3 | comparison only | |||
| 350 | 58±4 | local | |||
| 351 | 58±4 | local | |||
| 352 | 57±1 | api $4.38/M | |||
| more from Salesforce | |||||
| 165 | 66±4 | local | |||
| 170 | 66±4 | local | |||
| 256 | 62±4 | local | |||
$ what it's good at
agent tasks▁▁▃▆█▆▅▄▄▃▂▁ #197 of 334 * · 93% of its score · 2 tests
Beats o1 (2024-12-17), o3-mini, DeepSeek R1 0528 here, though they rank higher overall. Trails SmolLM3 3B, Jamba 1.5 Mini, Mellum2 12B-A2.5B Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BFCL V4 (December 2025 archive) | 41.2% ✎ | ▁▁▁▂██▅▅▆▂▂▂ beats 46/77 | 65% |
| BFCL v3 | 64.8% ✎ | ▁▁▁▁▁▃▅█▅▄▁▁ beats 97/114 | 28% |
$ where to run it
llama.cpp · recommended
version
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run xLAM-2-3b-fc-r · needs ~1.9 GB · from huggingface.co/Salesforce (official)chat in the terminal
llama cli -hf Salesforce/xLAM-2-3b-fc-r-gguf:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf Salesforce/xLAM-2-3b-fc-r-gguf:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run xLAM-2-3b-fc-r · needs ~1.9 GB · from huggingface.co/Salesforce (official)
- Or download it in the terminal
lms get https://huggingface.co/Salesforce/xLAM-2-3b-fc-r-gguf@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run xLAM-2-3b-fc-r · needs ~1.9 GB · from huggingface.co/Salesforce (official)chat in the terminal
ollama run hf.co/Salesforce/xLAM-2-3b-fc-r-gguf:Q4_K_M
Other ways to run it
- Run it as published · needs ~6.17 GB · from huggingface.co/Salesforce (official)
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='Salesforce/xLAM-2-3b-fc-r', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Official weights and documentation: huggingface.co/Salesforce ↗
$ how the score was worked out · Berkeley Function Calling Lea… 93%
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 2 | 93% | |
| prior · pull toward the middle | 7% | |
| weighted average | = 57.5 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json