Instructions to use unsloth/r1-1776-distill-llama-70b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use unsloth/r1-1776-distill-llama-70b-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="unsloth/r1-1776-distill-llama-70b-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("unsloth/r1-1776-distill-llama-70b-GGUF") model = AutoModelForCausalLM.from_pretrained("unsloth/r1-1776-distill-llama-70b-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use unsloth/r1-1776-distill-llama-70b-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 unsloth/r1-1776-distill-llama-70b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf unsloth/r1-1776-distill-llama-70b-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 unsloth/r1-1776-distill-llama-70b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf unsloth/r1-1776-distill-llama-70b-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 unsloth/r1-1776-distill-llama-70b-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf unsloth/r1-1776-distill-llama-70b-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 unsloth/r1-1776-distill-llama-70b-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf unsloth/r1-1776-distill-llama-70b-GGUF:Q4_K_M
Use Docker
docker model run hf.co/unsloth/r1-1776-distill-llama-70b-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use unsloth/r1-1776-distill-llama-70b-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "unsloth/r1-1776-distill-llama-70b-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": "unsloth/r1-1776-distill-llama-70b-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/unsloth/r1-1776-distill-llama-70b-GGUF:Q4_K_M
- SGLang
How to use unsloth/r1-1776-distill-llama-70b-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 "unsloth/r1-1776-distill-llama-70b-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": "unsloth/r1-1776-distill-llama-70b-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 "unsloth/r1-1776-distill-llama-70b-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": "unsloth/r1-1776-distill-llama-70b-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use unsloth/r1-1776-distill-llama-70b-GGUF with Ollama:
ollama run hf.co/unsloth/r1-1776-distill-llama-70b-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use unsloth/r1-1776-distill-llama-70b-GGUF with Docker Model Runner:
docker model run hf.co/unsloth/r1-1776-distill-llama-70b-GGUF:Q4_K_M
- Lemonade
How to use unsloth/r1-1776-distill-llama-70b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull unsloth/r1-1776-distill-llama-70b-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.r1-1776-distill-llama-70b-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Add files using upload-large-folder tool
Browse files
.gitattributes
CHANGED
|
@@ -43,3 +43,5 @@ BF16/r1-1776-distill-llama-70b.BF16-00002-of-00003.gguf filter=lfs diff=lfs merg
|
|
| 43 |
BF16/r1-1776-distill-llama-70b.BF16-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
Q8_0/r1-1776-distill-llama-70b.Q8_0-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
Q8_0/r1-1776-distill-llama-70b.Q8_0-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 43 |
BF16/r1-1776-distill-llama-70b.BF16-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
Q8_0/r1-1776-distill-llama-70b.Q8_0-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
Q8_0/r1-1776-distill-llama-70b.Q8_0-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Q6_K/r1-1776-distill-llama-70b-Q6_K-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Q6_K/r1-1776-distill-llama-70b-Q6_K-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
Q6_K/r1-1776-distill-llama-70b-Q6_K-00001-of-00002.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:caab50480d06ef5eae5f5733d98807013a32081c74c7746ca66de142bae7e806
|
| 3 |
+
size 49973946656
|
Q6_K/r1-1776-distill-llama-70b-Q6_K-00002-of-00002.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b2cc5bf8130b51f07474621355207bba4e87ef828067252f4a679d522f7f03b
|
| 3 |
+
size 7914199008
|