whatmodel.sh / Baichuan2-7B-Base

Baichuan2-7B-Base is an open-weights language model from Baichuan, released August 2023. Licence: other.

Catalogue identity notes

Maker repo baichuan-inc/Baichuan2-7B-Base @f9d4d8d: licence tag other. Released 2023-08: month the maker's Hugging Face repo was created (createdAt 2023-08-30). Pretrained base checkpoint (not an instruct/chat version).

30.4±1.0#670 of 743 LLMsfrom 11 benchmark results across 2 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of Baichuan2-7B-Base, out of 897 with a score.

#modelscorewhereRAMreleased
796Gemma 1.1 2B IT Google31±1local~3.2GB2024-04
797Alpaca 7B Stanford CRFM31±1comparison only2023-03
798Baichuan2-7B-Base Baichuan30±1local~17GB2023-08
799LLaMA 7B Meta30±1comparison only2023-02
800NexusRaven V2 13B Nexusflow30±3local~9.2GB2023-12

see all LLMs · find the ones that fit your machine

$ what it's good at

other tests11 not in a task · 100% of its score
testresultvs the others in its rundifficultycountswhy
ARC Challenge43.2% ✎▁·▁··▁▁▇▂█▆▃ beats 18/26easy · avg 82%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 49%sharp
WinoGrande67.6% ✎▁····▁··▁▂█▄ beats 18/26easy · avg 87%▇▇▇▇▇ 11%at its level
BoolQ73.1% ✎▂▃▂▅▆▂▅▆█▂▂▂ beats 17/26easy · avg 88%▇▇▇ 8.3%at its level
HellaSwag72.3% ✎▃···▁▇▅█▇▃▁▁ beats 15/26very easy · avg 91%▇▇ 5.9%at its level
ARC Easy72.8% ✎▁▁·▁▁▄▅▄█▅▁▃ beats 21/26easy · avg 85%▇▇ 5.6%blunt · at its level
SciQ94.6% ✎▁·▁·▁·▃▅▃█▄▁ beats 24/26very easy · avg 98%▇▇ 4.5%blunt
PIQA76.2% ✎▁·▁··▁▁▃█▅█▂ beats 10/26easy · avg 87%▇▇ 4.1%blunt · at its level
OpenBookQA30.4% ✎█·▁▁▃·▁▃▅▇▃▄ beats 16/26hard · avg 49%▇▇ 4.0%too hard for it
3 more tests
testresultvs the others in its rundifficultycountswhy
LAMBADA (OpenAI version), last-word accuracy71.0% ✎▁··▂▁▁▁▂▆█▅▃ beats 17/26very easy · avg 86%▇ 2.5%blunt · at its level
Social IQA41.8% ✎▁···▁▃█▁▁▁·▁ beats 8/26hard · avg 56%▇ 2.4%blunt
Open PT-LLM Leaderboard average (9 Portuguese tasks)46.8% ✎▃▁▁▁▁▁▃▁▂█▅▁ beats 61/276medium · avg 72%▇ 1.8%noisy

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

Other ways to run it

  1. Run it as published · needs 17.3 GB memory, 15 GB download · from huggingface.co/baichuan-inc (official)
    uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='baichuan-inc/Baichuan2-7B-Base', torch_dtype='auto', device_map='auto', trust_remote_code=True)('Once upon a time', max_new_tokens=40)[0]['generated_text'])"

Model repository and documentation: huggingface.co/baichuan-inc ↗

$ how the score was worked out · Stability AI — original Stabl… 98%, Open Portuguese LLM Leaderboa… 2%

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
Stability AI — original StableLM zero-shot evaluation outputs10Apache-2.0
Open Portuguese LLM Leaderboard (archived)1Apache-2.0
prior · pull toward the middle
weighted average= 30.4

$ 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