whatmodel.sh / Meditron 70B
Meditron 70B
↗ share
+ contribute
Meditron 70B is an open-weights language model from EPFL LLM, released November 2023. Its published size is 68.98B parameters. Licence: llama2.
Catalogue identity notes
Maker repo epfl-llm/meditron-70b @3b41343: licence tag llama2. 68,976,926,720 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2023-11: month the maker's Hugging Face repo was created (createdAt 2023-11-08). Pretrained base checkpoint (not an instruct/chat version). Gated repository (licence acceptance required on Hugging Face).
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Meditron 70B, out of 1206 with a score, then more from EPFL LLM.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 969 | 39±1 | local | |||
| 970 | 39±2 | local | |||
| 971 | 39±4 | local | |||
| 972 | 39±5 | local | |||
| 973 | 39±1 | local | |||
| more from EPFL LLM | |||||
| 1163 | 21±5 | local | |||
$ what it's good at
other tests2 not in a task · 94% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BRIDGE clinical text, zero-shot average (87 tasks) | 15.7% ✎ | ▁▁▁▃▁▂▂▃▄▆█▃ beats 4/97 | 68% |
| SurgiQ surgical MCQ (zero-shot, log-probability scoring) | 56.5% ✎ | ▂···▂▂·▃▂▃██ beats 8/17 | 26% |
$ 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 Meditron 70B · needs 45 GB memory, 41.4 GB download · from huggingface.co/TheBlokechat in the terminal
llama cli -hf TheBloke/meditron-70B-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf TheBloke/meditron-70B-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Meditron 70B · needs 45 GB memory, 41.4 GB download · from huggingface.co/TheBloke
- Or download it in the terminal
lms get https://huggingface.co/TheBloke/meditron-70B-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 Meditron 70B · needs 45 GB memory, 41.4 GB download · from huggingface.co/TheBlokechat in the terminal
ollama run hf.co/TheBloke/meditron-70B-GGUF:Q4_K_M
Other ways to run it
- Run it as published · needs 146 GB memory, 138 GB download · from huggingface.co/epfl-llm (official)
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='epfl-llm/meditron-70b', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Model repository and documentation: huggingface.co/epfl-llm ↗
$ how the score was worked out · BRIDGE Medical Leaderboard (H… 68%, SurgiQ: A Large-Scale Multi-D… 26%
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 | 68% | |
| 1 | 26% | |
| prior · pull toward the middle | 6% | |
| weighted average | = 39.1 |
$ 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