Text Generation
Transformers
GGUF
Safetensors
mistral
quantized
2-bit
3-bit
4-bit precision
5-bit
6-bit
8-bit precision
GGUF
llama
conversational
text-generation-inference
Instructions to use MaziyarPanahi/34b-beta-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MaziyarPanahi/34b-beta-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MaziyarPanahi/34b-beta-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("MaziyarPanahi/34b-beta-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use MaziyarPanahi/34b-beta-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/34b-beta-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MaziyarPanahi/34b-beta-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/34b-beta-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MaziyarPanahi/34b-beta-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/34b-beta-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf MaziyarPanahi/34b-beta-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/34b-beta-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf MaziyarPanahi/34b-beta-GGUF:Q4_K_M
Use Docker
docker model run hf.co/MaziyarPanahi/34b-beta-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use MaziyarPanahi/34b-beta-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MaziyarPanahi/34b-beta-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/34b-beta-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MaziyarPanahi/34b-beta-GGUF:Q4_K_M
- SGLang
How to use MaziyarPanahi/34b-beta-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/34b-beta-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/34b-beta-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/34b-beta-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/34b-beta-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use MaziyarPanahi/34b-beta-GGUF with Ollama:
ollama run hf.co/MaziyarPanahi/34b-beta-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use MaziyarPanahi/34b-beta-GGUF with Docker Model Runner:
docker model run hf.co/MaziyarPanahi/34b-beta-GGUF:Q4_K_M
- Lemonade
How to use MaziyarPanahi/34b-beta-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MaziyarPanahi/34b-beta-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.34b-beta-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
62732b100c4cb1b550076ac0591e013cce5d537acd944efc73c42ca5edb8bf6a
Verified signature5f538bb -
a23dde2e7bd0e48ea12f07b8f7fdd17bf87004b0d00c1cc45146850ea5205eb4
Verified signatureba5d23c -
f68d117d8de274472fb560d5a5b0ecf3bf141b45d0750d5555d130f987f83e4c
Verified signature40f975a -
10e82f0bcf55f54bdd1e7b008a2219fe01c415696598e8582728fc7ce05f87c4
Verified signature3f75bcb -
c36042c5762b6115df03b492c3862924fcc49df7bf67ba856bb89089c1211bd6
Verified signature0fafeac -
25092468acda758c1fe36dc5d86ab522a9f0f828156d7819e24e1e6b91744566
Verified signature20c34fd -
5bd91a1a878849603d037123a5ce65d520d96b4b17070d366de2c44589930a30
Verified signature595ed46 -
initial commit
Verified signature78a95c6