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.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Mathstral 7B v0.1, out of 897 with a score, then more from Mistral AI.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 618 | 44±2 | local | |||
| 619 | 44±1 | local | |||
| 620 | 44±1 | local | |||
| 621 | 44±1 | local | |||
| 622 | 44±1 | local | |||
| more from Mistral AI | |||||
| 431 | 51±1 | local | |||
| 443 | 50±2 | local | |||
| 641 | 43±1 | local | |||
$ what it's good at
math▁▁▃▅█▆▅█▄▁▁▁ #350 of 440 * · 4.6% of its score · 1 test
Beats Athene-70B, Llama 3 70B Instruct, Hermes 2 Theta Llama-3 70B here, though they rank higher overall. Trails Gemma 2B (base), Stable Code 3B, Zephyr 7B beta 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.6% |
other tests3 not in a task · 95% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LiveBench 2024-07-26 | 24.5% ✎ | ▁▁▁▂▂▃▃█▆▃▅▃ beats 18/61 | 58% |
| MMLU-Pro | 42.0% ✎ | ▃▂▅█▃·█▃▅··▂ beats 9/23 | 27% |
| ZebraLogic (ZeroEval, 1,000 puzzles) | 9.0% ✎ | ▁▁▃▆██▁▁·▁▁▁ beats 7/57 | 10% |
$ 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 Mathstral 7B v0.1 · needs 5.8 GB memory, 4.37 GB download · 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 5.8 GB memory, 4.37 GB download · 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 5.8 GB memory, 4.37 GB download · 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 5.6 GB memory, 4.08 GB download, 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
Model repository and documentation: huggingface.co/mistralai ↗
$ how the score was worked out · LiveBench model judgments (HF… 58%, MMLU-Pro author-released eval… 27%, WildEval ZeroEval published r… 10% 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 | 58% | |
| 1 | 27% | |
| 1 | 10% | |
| 1 | 5% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 43.8 |
$ 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