whatmodel.sh / MMed-Llama-3-8B
MMed-Llama-3-8B
↗ share
+ contribute
MMed-Llama-3-8B is an open-weights language model from SJTU MedLLM (Henrychur), released May 2024. Its published size is 8.03B parameters. Licence: llama3.
Catalogue identity notes
Maker repo Henrychur/MMed-Llama-3-8B @6c3057b: licence tag llama3. 8,030,261,248 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-05: month the maker's Hugging Face repo was created (createdAt 2024-05-22). Pretrained base checkpoint (not an instruct/chat version).
$ how it compares
The LLMs ranked either side of MMed-Llama-3-8B, out of 1132 with a score.
| # | model | score | where |
|---|---|---|---|
| 933 | 37±2 | local | |
| 934 | 37±1 | local | |
| 935 | 37±5 | local | |
| 936 | 37±1 | local | |
| 937 | 37±1 | local |
$ what it's good at
other tests1 not in a task · 89% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BRIDGE clinical text, zero-shot average (87 tasks) | 20.4% ✎ | ▁▁▁▁▁▃▂▃▄▆█▃ beats 10/97 | 89% |
$ where to run it
llama.cpp · recommended
- 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 MMed-Llama-3-8B · needs ~4.9 GB · from huggingface.co/Axcel1chat in the terminal
llama cli -hf Axcel1/MMed-Llama-3-8B-Q4_K_M-GGUF:q4_k_m - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf Axcel1/MMed-Llama-3-8B-Q4_K_M-GGUF:q4_k_m
LM Studio
- Install LM Studio · Open the app once before using the lms command.
- Run MMed-Llama-3-8B · needs ~4.9 GB · from huggingface.co/Axcel1
- Or download it in the terminal
lms get https://huggingface.co/Axcel1/MMed-Llama-3-8B-Q4_K_M-GGUF@q4_k_m -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run MMed-Llama-3-8B · needs ~4.9 GB · from huggingface.co/Axcel1chat in the terminal
ollama run hf.co/Axcel1/MMed-Llama-3-8B-Q4_K_M-GGUF:q4_k_m
Other ways to run it
- Run it as published · needs ~32.12 GB · from huggingface.co/Henrychur
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='Henrychur/MMed-Llama-3-8B', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Weights and documentation: huggingface.co/Henrychur ↗
$ how the score was worked out · BRIDGE Medical Leaderboard (H… 89%
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 | 89% | |
| prior · pull toward the middle | 11% | |
| weighted average | = 37.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