whatmodel.sh / BioMistral-7B
BioMistral-7B
↗ share
+ contribute
BioMistral-7B is an open-weights language model from BioMistral, released February 2024. Licence: apache-2.0.
Catalogue identity notes
Maker repo BioMistral/BioMistral-7B @9a11e1f: licence tag apache-2.0. Released 2024-02: month the maker's Hugging Face repo was created (createdAt 2024-02-14).
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of BioMistral-7B, out of 897 with a score.
| # | model | score | where |
|---|---|---|---|
| 695 | 39±1 | local | |
| 696 | 39±1 | never released | |
| 697 | 39±3 | local | |
| 698 | 39±1 | local | |
| 699 | 39±2 | local |
$ what it's good at
other tests3 not in a task · 96% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BRIDGE clinical text, zero-shot average (87 tasks) | 20.4% ✎ | ▁▁▁▁▁▃▂▃▄▆█▃ beats 12/97 | 43% |
| Polish medical board exams, bias-mitigated MCQ protocol (7-exam average) | 30.6% ✎ | ▄·▂▂▂··█▂▄·▄ beats 1/13 | 37% |
| SurgiQ surgical MCQ (zero-shot, log-probability scoring) | 47.1% ✎ | ▂···▂▂·▃▃▃██ beats 5/17 | 16% |
$ 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 BioMistral-7B · needs 6.1 GB memory, 4.37 GB download · from huggingface.co/BioMistral (official)chat in the terminal
llama cli -hf BioMistral/BioMistral-7B-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf BioMistral/BioMistral-7B-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run BioMistral-7B · needs 6.1 GB memory, 4.37 GB download · from huggingface.co/BioMistral (official)
- Or download it in the terminal
lms get https://huggingface.co/BioMistral/BioMistral-7B-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 BioMistral-7B · needs 6.1 GB memory, 4.37 GB download · from huggingface.co/BioMistral (official)chat in the terminal
ollama run hf.co/BioMistral/BioMistral-7B-GGUF:Q4_K_M
Other ways to run it
- Run it as published · needs 16.7 GB memory, 14.5 GB download · from huggingface.co/BioMistral (official)
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='BioMistral/BioMistral-7B', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Model repository and documentation: huggingface.co/BioMistral ↗
$ how the score was worked out · BRIDGE Medical Leaderboard (H… 43%, Reassessing High-Performing L… 37%, SurgiQ: A Large-Scale Multi-D… 16%
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 | 43% | |
| 1 | 37% | |
| 1 | 16% | |
| prior · pull toward the middle | 4% | |
| weighted average | = 39.2 |
$ 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