whatmodel.sh / Yi-1.5 34B (base)
Yi-1.5 34B (base)
↗ share
+ contribute
Yi-1.5 34B (base) is an open-weights language model from 01.AI, released May 2024. Its published size is 34.39B parameters and a 4k-token context window. Licence: apache-2.0.
Catalogue identity notes
Maker repo 01-ai/Yi-1.5-34B @58a29f6: licence tag apache-2.0. 34,388,917,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-11). Pretrained base checkpoint (not an instruct/chat version).
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Yi-1.5 34B (base), out of 897 with a score, then more from 01.AI.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 486 | 49±2 | local | |||
| 487 | 49±1 | local | |||
| 488 | 48±2 | local | |||
| 489 | 48±2 | local | |||
| 490 | 48±1 | local | |||
| more from 01.AI | |||||
| 321 | 56±1 | api price unknown | |||
| 384 | 53±1 | comparison only | |||
| 414 | 52±1 | comparison only | |||
$ what it's good at
other tests4 not in a task · 98% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BigCodeBench (Complete) | 40.0% ✎ | ▂▁▁▄▂▅▇█▆▂▂▂ beats 28/58 | 65% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 72.0% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 191/276 | 14% |
| EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy | 95.9% ✎ | ▃·▁▁▂▁▂▅█▇▄▃ beats 100/100 | 11% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 88.3% ✎ | ▁▁▁▁▁▁▁▂▄█▄▃ beats 112/146 | 7.6% |
$ 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 Yi-1.5 34B (base) · needs 23.2 GB memory, 20.7 GB download · from huggingface.co/mradermacherchat in the terminal
llama cli -hf mradermacher/Yi-1.5-34B-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf mradermacher/Yi-1.5-34B-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Yi-1.5 34B (base) · needs 23.2 GB memory, 20.7 GB download · from huggingface.co/mradermacher
- Or download it in the terminal
lms get https://huggingface.co/mradermacher/Yi-1.5-34B-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 Yi-1.5 34B (base) · needs 23.2 GB memory, 20.7 GB download · from huggingface.co/mradermacherchat in the terminal
ollama run hf.co/mradermacher/Yi-1.5-34B-GGUF:Q4_K_M
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Yi-1.5 34B (base) · needs 21.8 GB memory, 19.3 GB download, Mac only · from huggingface.co/mlx-communitychat in the terminal
mlx_lm.chat --model mlx-community/Yi-1.5-34B-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model mlx-community/Yi-1.5-34B-4bit
Other ways to run it
- Run it as published · needs 73.7 GB memory, 68.8 GB download · from huggingface.co/01-ai (official)
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='01-ai/Yi-1.5-34B', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Model repository and documentation: huggingface.co/01-ai ↗
$ how the score was worked out · BigCodeBench paper (Zhuo et a… 65%, EuroEval leaderboards (result… 19%, Open Portuguese LLM Leaderboa… 14%
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 | 65% | |
| 2 | 19% | |
| 1 | 14% | |
| prior · pull toward the middle | 2% | |
| weighted average | = 48.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