Instructions to use beowolx/MistralHermes-CodePro-7B-v1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use beowolx/MistralHermes-CodePro-7B-v1-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="beowolx/MistralHermes-CodePro-7B-v1-GGUF", filename="mistralhermes-codepro-7b-v1.Q4_K_M.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use beowolx/MistralHermes-CodePro-7B-v1-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf beowolx/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf beowolx/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf beowolx/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf beowolx/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf beowolx/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf beowolx/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf beowolx/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf beowolx/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/beowolx/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use beowolx/MistralHermes-CodePro-7B-v1-GGUF with Ollama:
ollama run hf.co/beowolx/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M
- Unsloth Studio new
How to use beowolx/MistralHermes-CodePro-7B-v1-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for beowolx/MistralHermes-CodePro-7B-v1-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for beowolx/MistralHermes-CodePro-7B-v1-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for beowolx/MistralHermes-CodePro-7B-v1-GGUF to start chatting
- Docker Model Runner
How to use beowolx/MistralHermes-CodePro-7B-v1-GGUF with Docker Model Runner:
docker model run hf.co/beowolx/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M
- Lemonade
How to use beowolx/MistralHermes-CodePro-7B-v1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull beowolx/MistralHermes-CodePro-7B-v1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.MistralHermes-CodePro-7B-v1-GGUF-Q4_K_M
List all available models
lemonade list
llm.create_chat_completion(
messages = "No input example has been defined for this model task."
)MistralHermes-CodePro-7B-v1-GGUF
In the digital pantheon of artificial intelligence, "MistralHermes-CodePro-7B-v1" stands as the architect of algorithms, a sovereign of syntax who weaves the fabric of code with unparalleled skill. This model, christened in recognition of its dual lineage—Mistral's foundational breadth and Hermes' agile conveyance—commands the binary ballet with the precision of a seasoned maestro, orchestrating the dance of data with a grace that blurs the line between the silicon and the cerebral.
Model description
This is the quantized version of MistralHermes-CodePro-7B-v1.
MistralHermes-CodePro-7B-v1 is a fine-tuned iteration of the renowned teknium/OpenHermes-2.5-Mistral-7B model. This version has been meticulously fine-tuned using a dataset comprising over 200,000 code samples from a wide array of programming languages. It is specifically tailored to serve as a coding assistant; thus, its utility is optimized for coding-related tasks rather than a broader spectrum of applications.
Prompt Format
MistralHermes-CodePro uses the same prompt format than OpenHermes 2.5.
You should use LM Studio for chatting with the model.
- Downloads last month
- 21
4-bit
5-bit
Model tree for beowolx/MistralHermes-CodePro-7B-v1-GGUF
Base model
mistralai/Mistral-7B-v0.1
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="beowolx/MistralHermes-CodePro-7B-v1-GGUF", filename="", )