whatmodel.sh / BioMistral-7B

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).

39.2±3.0#585 of 743 LLMsfrom 3 benchmark results across 3 sources

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.

#modelscorewhereRAMreleased
695Tulu 2 DPO 13B Allen Institute for AI39±1local~9.8GB2023-11
696PaLM 62B Google39±1never released2022-04
697BioMistral-7B BioMistral39±3local~6.1GB2024-02
698SOLAR 10.7B Instruct v1.0 Upstage39±1local~8.3GB2023-12
699Code Tulu 2 7B Allen Institute for AI39±2local~16GB2023-11

see all LLMs · find the ones that fit your machine

$ what it's good at

other tests3 not in a task · 96% of its score
testresultvs the others in its rundifficultycountswhy
BRIDGE clinical text, zero-shot average (87 tasks)20.4% ✎▁▁▁▁▁▃▂▃▄▆█▃ beats 12/97hard · avg 32%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 43%blunt
Polish medical board exams, bias-mitigated MCQ protocol (7-exam average)30.6% ✎▄·▂▂▂··█▂▄·▄ beats 1/13hard · avg 47%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 37%typical
SurgiQ surgical MCQ (zero-shot, log-probability scoring)47.1% ✎▂···▂▂·▃▃▃██ beats 5/17medium · avg 53%▇▇▇▇▇▇ 16%typical

$ 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

  1. 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 | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. 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
  3. 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

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run BioMistral-7B · needs 6.1 GB memory, 4.37 GB download · from huggingface.co/BioMistral (official)

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/BioMistral/BioMistral-7B-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. 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

  1. 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

$ 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