whatmodel.sh / Llama-3.1-8B-UltraMedical

Llama-3.1-8B-UltraMedical is an open-weights language model from Tsinghua C3I, released September 2024. Its published size is 8.03B parameters. Licence: llama3.

Catalogue identity notes

Maker repo TsinghuaC3I/Llama-3.1-8B-UltraMedical @c982b9e: licence tag llama3. 8,030,261,248 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-09: month the maker's Hugging Face repo was created (createdAt 2024-09-01).

36.8±5.1#775 of 949 LLMsfrom 1 benchmark result across 1 source* thinly tested, treat the rank as provisional

$ how it compares

The LLMs ranked either side of Llama-3.1-8B-UltraMedical, out of 1132 with a score, then more from Tsinghua C3I.

#modelscorewhereRAMreleased
938Gemma 1.1 7B IT Google37±1local~7.1GB2024-04
939Code Llama 7B Python Meta37±1local~5.8GB2023-08
940Llama-3.1-8B-UltraMedical Tsinghua C3I37±5local~6.6GB2024-09
941Dolphin 2.2.1 Mistral 7B Cognitive Computations37±2local~6.1GB2023-10
942Code Llama 13B (base) Meta37±1local~9.2GB2023-08
more from Tsinghua C3I
533Llama-3-70B-UltraMedical Tsinghua C3I51±5local~29GB2024-09

see all LLMs · find the ones that fit your machine

$ what it's good at

other tests1 not in a task · 89% of its score
testresultvs the others in its rundifficultycountswhy
BRIDGE clinical text, zero-shot average (87 tasks)20.2% ✎▁▁▁▁▃▂▂▃▄▆█▃ beats 9/97hard · avg 32%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 89%blunt

$ where to run it

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 Llama-3.1-8B-UltraMedical · needs ~4.9 GB · from huggingface.co/mradermacher
    chat in the terminal
    llama cli -hf mradermacher/Llama-3.1-8B-UltraMedical-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf mradermacher/Llama-3.1-8B-UltraMedical-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 Llama-3.1-8B-UltraMedical · needs ~4.9 GB · from huggingface.co/mradermacher

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/mradermacher/Llama-3.1-8B-UltraMedical-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 Llama-3.1-8B-UltraMedical · needs ~4.9 GB · from huggingface.co/mradermacher
    chat in the terminal
    ollama run hf.co/mradermacher/Llama-3.1-8B-UltraMedical-GGUF:Q4_K_M

Other ways to run it

  1. Run it as published · needs ~16.06 GB · from huggingface.co/TsinghuaC3I (official)
    uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='TsinghuaC3I/Llama-3.1-8B-UltraMedical', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"

Official weights and documentation: huggingface.co/TsinghuaC3I ↗

$ 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

sourceresultsshare of the scorelicence
BRIDGE Medical Leaderboard (Harvard Medical School / Brigham and Women's YLab)1▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 89%MIT
prior · pull toward the middle▇▇▇ 11%
weighted average= 36.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