Instructions to use MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-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 MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-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 MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-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 MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-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 MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF:Q4_K_M
Use Docker
docker model run hf.co/MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF:Q4_K_M
- SGLang
How to use MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF with Ollama:
ollama run hf.co/MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF with Docker Model Runner:
docker model run hf.co/MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF:Q4_K_M
- Lemonade
How to use MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MaziyarPanahi/Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Venomia-1.1-m7-Mistral-7B-Instruct-v0.2-slerp-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
quant request
Hi, thank you for your effort. Is it possible to add a IQ4_XS gguf version for download?
Hi @Jeximo
You are welcome. Could you please show me how to do that? I use Llama.cpp and this is the list of available quants:
https://github.com/ggerganov/llama.cpp/tree/master/examples/quantize
Yeah, llama.cpp ReadMe.MD is outdated. See here: https://github.com/ggerganov/llama.cpp/blob/21b08674331e1ea1b599f17c5ca91f0ed173be31/examples/quantize/quantize.cpp#L40
It's the same tool, quantize, to make the new quants, IQ3, IQ4. I'm uncertain of the exact parameters, but quantize --help shows
30 or IQ4_XS : 4.25 bpw non-linear quantization
Yeah, llama.cpp ReadMe.MD is outdated. See here: https://github.com/ggerganov/llama.cpp/blob/21b08674331e1ea1b599f17c5ca91f0ed173be31/examples/quantize/quantize.cpp#L40
It's the same tool,
quantize, to make the new quants, IQ3, IQ4. I'm uncertain of the exact parameters, butquantize --helpshows30 or IQ4_XS : 4.25 bpw non-linear quantization
fantastic! I will add the missing IQ4_XS here. Do you happen to know more about differences among S, XS and XXS? Just so I can update my script and maybe for 2, 3, and 4 bit I can add one of these new ones as well by default if they are useful
Awesome, I'm glad. Yah, IQ3_S is superior to 3_K_S(https://github.com/ggerganov/llama.cpp/pull/5676), and I think IQ4_XS is an upgrade for 4_K_S. There's a nice graph and discussion here: https://github.com/ggerganov/llama.cpp/pull/5747
My limited understanding is the Size/Bits Per Weight/Perplexity for the new IQ Quants is more effecient. I found this comment is helpful showing the differences for Mistral (click "KL-divergence data for Mistral-7B" to view the table: https://github.com/ggerganov/llama.cpp/pull/5747#issuecomment-1966370132)
Wow! This is great! Many thanks for all the detailed information. For the time being, I am going to include all the new I-Quant with _XS without dropping any of the current ones. It will be more uploads, but I think it's worth it. I can later on drop the _S ones to save time uploading.
Thanks again @Jeximo for sharing the information