Instructions to use starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf starble-dev/Mistral-Nemo-12B-Instruct-2407-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 starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf starble-dev/Mistral-Nemo-12B-Instruct-2407-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 starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF:Q4_K_M
Use Docker
docker model run hf.co/starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF with Ollama:
ollama run hf.co/starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF:Q4_K_M
- Unsloth Studio
How to use starble-dev/Mistral-Nemo-12B-Instruct-2407-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 starble-dev/Mistral-Nemo-12B-Instruct-2407-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 starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF to start chatting
- Docker Model Runner
How to use starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF with Docker Model Runner:
docker model run hf.co/starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF:Q4_K_M
- Lemonade
How to use starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull starble-dev/Mistral-Nemo-12B-Instruct-2407-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Mistral-Nemo-12B-Instruct-2407-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Error loading model
There is a problem loading model with llamafile version : v0.8.9
llama_model_loader: - type f32: 81 tensors
llama_model_loader: - type q5_K: 241 tensors
llama_model_loader: - type q6_K: 41 tensors
llama_model_load: error loading model: error loading model hyperparameters: invalid n_rot: 128, expected 160
llama_load_model_from_file: failed to load model
llama_init_from_gpt_params: error: failed to load model '/home/andy/Projects/AI/Models/Mistral-Nemo-12B-Instruct-2407-Q5_K_M.gguf'
{"function":"load_model","level":"ERR","line":450,"model":"/home/andy/Projects/AI/Models/Mistral-Nemo-12B-Instruct-2407-Q5_K_M.gguf","msg":"unable to load model","tid":"10733792","timestamp":1721593781}
Any idea what is wrong?
Currently Mistral-Nemo isn't supported by llama.cpp as it hasn't been merged yet, see pr Mistral Nemo inference support, it's likely it'll be merged soon. If you don't want to wait you can build llama.cpp from iamlemec's mistral-nemo branch at GitHub