whatmodel.sh / Hammer2.1-1.5b
Hammer2.1-1.5b
↗ share
+ contribute
Hammer2.1-1.5b is an open-weights language model from MadeAgents, released December 2024. Its published size is 1.54B parameters. Licence: cc-by-nc-4.0.
Catalogue identity notes
Maker repo MadeAgents/Hammer2.1-1.5b @62c20f5: licence tag cc-by-nc-4.0. 1,543,298,048 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-12: month the maker's Hugging Face repo was created (createdAt 2024-12-12).
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Hammer2.1-1.5b, out of 1206 with a score, then more from MadeAgents.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 630 | 50±1 | local | |||
| 631 | 50±1 | local | |||
| 632 | 50±4 | local | |||
| 633 | 50±5 | local | |||
| 634 | 50±2 | local | |||
| more from MadeAgents | |||||
| 515 | 53±4 | local | |||
| 562 | 52±4 | local | |||
| 854 | 44±4 | local | |||
$ what it's good at
agent tasks▁▁▃▆█▄▅▄▃▂▂▁ #281 of 355 * · 94% of its score · 2 tests
Beats o3-mini, Llama 4 Maverick (402B-A17B), DeepSeek R1 0528 Qwen3 8B here, though they rank higher overall. Trails Granite 4.0 1B, SmolLM3 3B, Qwen3 1.7B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BFCL V4 (December 2025 archive) | 27.9% ✎ | ▁▁▁▂██▅▅▆▂▂▂ beats 24/77 | 61% |
| BFCL v3 | 54.9% ✎ | ▁▁▁▁▁▃▅█▅▄▁▁ beats 58/114 | 33% |
$ where to run it
Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.
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 Hammer2.1-1.5b · needs 2.5 GB memory, 0.99 GB download · from huggingface.co/mradermacherchat in the terminal
llama cli -hf mradermacher/Hammer2.1-1.5b-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf mradermacher/Hammer2.1-1.5b-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Hammer2.1-1.5b · needs 2.5 GB memory, 0.99 GB download · from huggingface.co/mradermacher
- Or download it in the terminal
lms get https://huggingface.co/mradermacher/Hammer2.1-1.5b-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 Hammer2.1-1.5b · needs 2.5 GB memory, 0.99 GB download · from huggingface.co/mradermacherchat in the terminal
ollama run hf.co/mradermacher/Hammer2.1-1.5b-GGUF:Q4_K_M
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Hammer2.1-1.5b · needs 2.4 GB memory, 0.87 GB download, Mac only · from huggingface.co/smdesaichat in the terminal
mlx_lm.chat --model smdesai/Hammer2.1-1.5b-4-bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model smdesai/Hammer2.1-1.5b-4-bit
Other ways to run it
- Run it as published · needs 4.7 GB memory, 3.09 GB download · from huggingface.co/MadeAgents (official)
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='MadeAgents/Hammer2.1-1.5b', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Model repository and documentation: huggingface.co/MadeAgents ↗
$ how the score was worked out · Berkeley Function Calling Lea… 94%
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 | 94% | |
| prior · pull toward the middle | 6% | |
| weighted average | = 49.7 |
$ 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