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

38.1±4.4#804 of 974 LLMsfrom 1 benchmark result across 1 source* thinly tested, treat the rank as provisional

Score within the LMArena (text) comparison set only.

$ how it compares

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

#modelscorewhereRAMreleased
989Zephyr 7B alpha Hugging Face38±1local~6.1GB2023-10
990Yi 1.5 6B Chat 01.AI38±2local~4.4GB2024-05
991Llama-3.1-8B-UltraMedical Tsinghua C3I38±4local~6.7GB2024-09
992Jais Family 1p3b (1.3B) Chat Inception (G42)38±4local~2.6GB2024-08
993tulu-2-dpo-7b-ExPO Chujie Zheng (ExPO)38±2local~5.8GB2024-04
more from Tsinghua C3I
564Llama-3-70B-UltraMedical Tsinghua C3I52±4local~29GB2024-09

see all LLMs · find the ones that fit your machine

$ what it's good at

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

$ 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 Llama-3.1-8B-UltraMedical · needs 6.7 GB memory, 4.92 GB download · 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 6.7 GB memory, 4.92 GB download · 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 6.7 GB memory, 4.92 GB download · 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 18.4 GB memory, 16.1 GB download · 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'])"

Model repository and documentation: huggingface.co/TsinghuaC3I ↗

$ how the score was worked out · BRIDGE Medical Leaderboard (H… 91%

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)1MIT
prior · pull toward the middle
weighted average= 38.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