[whatmodel.sh](../../README.md) / Yi-1.5 6B (base) # Yi-1.5 6B (base) 01.AI · released 2024-05 · 6.06B params · apache-2.0 **score 39.1** ±2.6 · #578 of 732 · from 3 benchmark results across 3 sources Score within the [LMArena (text)](https://whatmodel.sh/?set=lmarena-text&score=set) comparison set only. ## What it's good at ● marks Yi-1.5 6B (base) among every model on that task or test, worst to best.
test result vs the others in its run difficulty counts why BigCodeBench (Complete) 27.4% ▂▁●▄▂▅▇█▆▂▂▂ beats 6/58 medium · avg 48% 69% at its level Open PT-LLM Leaderboard average (… 62.4% ▃▁▁▁▁▁▁▁●█▅▁ beats 95/276 medium · avg 72% 16% at its level · noisy EuroEval Life in the UK (English … 77.4% ▁▁▁▁▁▁▁▂●█▄▃ beats 58/146 easy · avg 82% 12% at its level · noisy
source results share of the score BigCodeBench paper 1 69% ▇▇▇▇▇▇▇▇ Open Portuguese LLM Leaderboard 1 16% ▇▇ EuroEval leaderboards 1 12% ▇ prior: pull toward the middle 3% ▇ weighted average = 39.1Licences: BigCodeBench paper ([CC BY 4.0](http://creativecommons.org/licenses/by/4.0/)) · Open Portuguese LLM Leaderboard ([Apache-2.0](../../licenses/hf-leaderboard-spaces-Apache-2.0.txt)) · EuroEval leaderboards ([MIT](https://github.com/EuroEval/leaderboards/blob/1a77f1d2f8ba1ba05ab73287fb090d76bf41b2e0/LICENSE)) ## How to run it ### llama.cpp (recommended) 1. Install llama.cpp. Homebrew and winget installs name the commands llama-cli and llama-server instead. [Other ways to install](https://github.com/ggml-org/llama.cpp/blob/master/docs/install.md) ```sh # macOS / Linux curl -LsSf https://llama.app/install.sh | sh # Windows irm https://llama.app/install.ps1 | iex ``` 2. Run Yi-1.5 6B (base) (Q4_K_M, needs ~3.7 GB, from [huggingface.co/mradermacher](https://huggingface.co/mradermacher/Yi-1.5-6B-GGUF/tree/186db1015cb53ea94e23e9663ae9524c97304b24)) ```sh llama cli -hf mradermacher/Yi-1.5-6B-GGUF:Q4_K_M ``` 3. Or start a local server and open the address it prints (http://localhost:9931) ```sh llama serve -hf mradermacher/Yi-1.5-6B-GGUF:Q4_K_M ``` Other versions: Q8_0 (~6.4 GB) `llama cli -hf mradermacher/Yi-1.5-6B-GGUF:Q8_0` ### LM Studio 1. Install LM Studio. Open the app once before using the lms command. [Download it (macOS / Windows / Linux)](https://lmstudio.ai/download) 2. Run Yi-1.5 6B (base) (Q4_K_M, needs ~3.7 GB, from [huggingface.co/mradermacher](https://huggingface.co/mradermacher/Yi-1.5-6B-GGUF/tree/186db1015cb53ea94e23e9663ae9524c97304b24)) ```sh lms get https://huggingface.co/mradermacher/Yi-1.5-6B-GGUF@Q4_K_M -y ``` 3. Then run lms ls to see its name, and lms chat followed by that name Other versions: Q8_0 (~6.4 GB) `lms get https://huggingface.co/mradermacher/Yi-1.5-6B-GGUF@Q8_0 -y` · 4bit (~3.4 GB, Mac only) `lms get https://huggingface.co/mlx-community/Yi-1.5-6B-4bit -y` · 8bit (~6.4 GB, Mac only) `lms get https://huggingface.co/mlx-community/Yi-1.5-6B-8bit -y` ### Ollama 1. Install Ollama. [Download it (macOS / Windows)](https://ollama.com/download) ```sh # Linux curl -fsSL https://ollama.com/install.sh | sh ``` 2. Run Yi-1.5 6B (base) (Q4_K_M, needs ~3.7 GB, from [huggingface.co/mradermacher](https://huggingface.co/mradermacher/Yi-1.5-6B-GGUF/tree/186db1015cb53ea94e23e9663ae9524c97304b24)) ```sh ollama run hf.co/mradermacher/Yi-1.5-6B-GGUF:Q4_K_M ``` Other versions: Q8_0 (~6.4 GB) `ollama run hf.co/mradermacher/Yi-1.5-6B-GGUF:Q8_0` ### MLX (Mac) 1. Install MLX (Mac). Apple silicon Macs only, text only. ```sh # with uv uv tool install mlx-lm # or pip install mlx-lm ``` 2. Run Yi-1.5 6B (base) (4bit, needs ~3.4 GB, Mac only, from [huggingface.co/mlx-community](https://huggingface.co/mlx-community/Yi-1.5-6B-4bit/tree/42eb4fbd31077f4263c1416e3c2b858e94304545)) ```sh mlx_lm.chat --model mlx-community/Yi-1.5-6B-4bit ``` 3. Or start an OpenAI-compatible server at http://localhost:8080/v1 ```sh mlx_lm.server --model mlx-community/Yi-1.5-6B-4bit ``` Other versions: 8bit (~6.4 GB, Mac only) `mlx_lm.chat --model mlx-community/Yi-1.5-6B-8bit` ### Other ways to run it 1. Run it as published (BF16, needs ~12.12 GB, from [huggingface.co/01-ai](https://huggingface.co/01-ai/Yi-1.5-6B/tree/157a3d77ab5a8a8f079510eaa25169b547481f06)) ```sh 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-6B', 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](https://huggingface.co/01-ai/Yi-1.5-6B) [interactive version](https://whatmodel.sh/model/yi-1-5-6b-base) · [JSON](https://whatmodel.sh/api?format=json&all=1)