[whatmodel.sh](../../README.md) / MistralHermes-CodePro-7B-v1 # MistralHermes-CodePro-7B-v1 beowolx · released 2023-12 · 7.24B params · mit **score 40.1** ±0.8 · #566 of 732 · from 3 benchmark results across 1 source Score within the [LMArena (text)](https://whatmodel.sh/?set=lmarena-text&score=set) comparison set only. ## What it's good at ● marks MistralHermes-CodePro-7B-v1 among every model on that task or test, worst to best.
task vs the others rank counts tests coding ▁▁▁▃●▇█▇▅▄▃▁ #397 of 469 100% 3
test result vs the others in its run difficulty counts why HumanEval 47.6% ▁·▁▁▃▄●▅█▃▁▁ beats 31/99 easy · avg 76% 52% sharp · at its level HumanEval+ 42.1% ▁·▁▁▁▃▄●▄█▃▁ beats 33/99 easy · avg 70% 40% sharp · at its level MBPP+ 46.4% ▁···▁▁▂●▇█▆▂ beats 14/75 easy · avg 66% 7.9% at its level
source results share of the score EvalPlus / EvalPerf published evaluatio… 3 100% ▇▇▇▇▇▇▇▇▇▇▇▇ prior: pull toward the middle 0% ▇ weighted average = 40.1Licences: EvalPlus / EvalPerf published evaluation runs ([Apache-2.0](../../licenses/evalplus-published-runs-Apache-2.0.txt)) ## 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 MistralHermes-CodePro-7B-v1 (Q4_K_M, needs ~4.4 GB, from [huggingface.co/mradermacher](https://huggingface.co/mradermacher/MistralHermes-CodePro-7B-v1-GGUF/tree/6f00cb9d9d6b20446582dd611f69afcef376e2e7)) ```sh llama cli -hf mradermacher/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M ``` 3. Or start a local server and open the address it prints (http://localhost:9931) ```sh llama serve -hf mradermacher/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M ``` Other versions: Q8_0 (~7.7 GB) `llama cli -hf mradermacher/MistralHermes-CodePro-7B-v1-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 MistralHermes-CodePro-7B-v1 (Q4_K_M, needs ~4.4 GB, from [huggingface.co/mradermacher](https://huggingface.co/mradermacher/MistralHermes-CodePro-7B-v1-GGUF/tree/6f00cb9d9d6b20446582dd611f69afcef376e2e7)) ```sh lms get https://huggingface.co/mradermacher/MistralHermes-CodePro-7B-v1-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 (~7.7 GB) `lms get https://huggingface.co/mradermacher/MistralHermes-CodePro-7B-v1-GGUF@Q8_0 -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 MistralHermes-CodePro-7B-v1 (Q4_K_M, needs ~4.4 GB, from [huggingface.co/mradermacher](https://huggingface.co/mradermacher/MistralHermes-CodePro-7B-v1-GGUF/tree/6f00cb9d9d6b20446582dd611f69afcef376e2e7)) ```sh ollama run hf.co/mradermacher/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M ``` Other versions: Q8_0 (~7.7 GB) `ollama run hf.co/mradermacher/MistralHermes-CodePro-7B-v1-GGUF:Q8_0` ### Other ways to run it 1. Run it as published (BF16, needs ~14.48 GB, from [huggingface.co/beowolx](https://huggingface.co/beowolx/MistralHermes-CodePro-7B-v1/tree/3430a864f7366cfbe06653a0fa655e36da85d481)) ```sh uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='beowolx/MistralHermes-CodePro-7B-v1', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])" ``` Model repository and documentation: [huggingface.co/beowolx](https://huggingface.co/beowolx/MistralHermes-CodePro-7B-v1) [interactive version](https://whatmodel.sh/model/mistralhermes-codepro-7b-v1) · [JSON](https://whatmodel.sh/api?format=json&all=1)