whatmodel.sh / Mathstral 7B v0.1
Mathstral 7B v0.1
↗ share
+ contribute
Mathstral 7B v0.1 is an open-weights language model from Mistral AI, released July 2024. Its published size is 7.25B parameters and a 32k-token context window. Licence: apache-2.0.
Catalogue identity notes
Maker repo mistralai/Mathstral-7B-v0.1 @ec3a484: licence tag apache-2.0. 7,248,023,552 parameters from the Hugging Face safetensors metadata. Dense, so active = total. Released 2024-07: month the maker's Hugging Face repo was created (createdAt 2024-07-16). Ollama tags mathstral:7b-v0.1-q4_K_M, mathstral:7b-v0.1-q8_0 are the library's instruct/chat builds of this checkpoint (tag names on the pinned tags page); download sizes are estimated from the parameter count.
$ how it compares
The LLMs ranked either side of Mathstral 7B v0.1, out of 828 with a score, then more from Mistral AI.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 585 | 42±3 | api price unknown +local | |||
| 586 | 42±1 | local | |||
| 587 | 42±1 | local | |||
| 588 | 42±2 | local | |||
| 589 | 42±1 | comparison only | |||
| more from Mistral AI | |||||
| 419 | 50±1 | local | |||
| 425 | 49±2 | local | |||
| 612 | 41±1 | local | |||
$ what it's good at
math▁▂▃▅▆▅▄█▄▁▁▁ #304 of 398 * · 4.8% of its score · 1 test
Beats GPT-4 (0613), Athene-70B, Llama 3 70B Instruct here, though they rank higher overall. Trails Gemma 7B (base), DeepSeek R1 Distill Qwen 1.5B, CodeGemma 7B (v1.0) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MATH (subset unspecified) lab | 56.6% ✎ | ▂▄▄▃█▇▅▆▄▃▄▁ beats 33/80 | 4.8% |
other tests3 not in a task · 94% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LiveBench 2024-07-26 | 24.5% ✎ | ▁▁▁▂▂▃▃█▆▃▅▃ beats 18/61 | 57% |
| MMLU-Pro | 42.0% ✎ | ▃▂▅█▃·█▃▅··▂ beats 9/23 | 26% |
| ZebraLogic (ZeroEval, 1,000 puzzles) | 9.0% ✎ | ▁▁▃▆██▁▁·▁▁▁ beats 7/57 | 11% |
$ 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 Mathstral 7B v0.1 · needs ~4.4 GB · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/mathstral-7B-v0.1-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf lmstudio-community/mathstral-7B-v0.1-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Mathstral 7B v0.1 · needs ~4.4 GB · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/mathstral-7B-v0.1-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 Mathstral 7B v0.1 · needs ~4.85 GB · from ollama.comchat in the terminal
ollama run mathstral:7b-v0.1-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 Mathstral 7B v0.1 · needs ~4.1 GB, Mac only · from huggingface.co/mlx-communitychat in the terminal
mlx_lm.chat --model mlx-community/mathstral-7B-v0.1-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model mlx-community/mathstral-7B-v0.1-4bit
Official weights and documentation: huggingface.co/mistralai ↗
$ how the score was worked out · LiveBench model judgments (HF… 57%, MMLU-Pro author-released eval… 26%, WildEval ZeroEval published r… 11% and 1 more
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 |
|---|---|---|
| 1 | 57% | |
| 1 | 26% | |
| 1 | 11% | |
| 1 | 5% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 42.3 |
$ 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