Text Generation
GGUF
English
Chinese
machine tranlsation
O1-like model
Chat
TensorBlock
GGUF
conversational
Instructions to use tensorblock/DRT-o1-8B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/DRT-o1-8B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/DRT-o1-8B-GGUF", filename="DRT-o1-8B-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/DRT-o1-8B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/DRT-o1-8B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/DRT-o1-8B-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/DRT-o1-8B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/DRT-o1-8B-GGUF:Q2_K
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 tensorblock/DRT-o1-8B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/DRT-o1-8B-GGUF:Q2_K
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 tensorblock/DRT-o1-8B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/DRT-o1-8B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/DRT-o1-8B-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/DRT-o1-8B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/DRT-o1-8B-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": "tensorblock/DRT-o1-8B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/DRT-o1-8B-GGUF:Q2_K
- Ollama
How to use tensorblock/DRT-o1-8B-GGUF with Ollama:
ollama run hf.co/tensorblock/DRT-o1-8B-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/DRT-o1-8B-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 tensorblock/DRT-o1-8B-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 tensorblock/DRT-o1-8B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/DRT-o1-8B-GGUF to start chatting
- Pi new
How to use tensorblock/DRT-o1-8B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/DRT-o1-8B-GGUF:Q2_K
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tensorblock/DRT-o1-8B-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/DRT-o1-8B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/DRT-o1-8B-GGUF:Q2_K
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default tensorblock/DRT-o1-8B-GGUF:Q2_K
Run Hermes
hermes
- Docker Model Runner
How to use tensorblock/DRT-o1-8B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/DRT-o1-8B-GGUF:Q2_K
- Lemonade
How to use tensorblock/DRT-o1-8B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/DRT-o1-8B-GGUF:Q2_K
Run and chat with the model
lemonade run user.DRT-o1-8B-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- DRT-o1-8B-Q3_K_L.gguf +0 -3
- DRT-o1-8B-Q3_K_M.gguf +0 -3
- DRT-o1-8B-Q3_K_S.gguf +0 -3
- DRT-o1-8B-Q4_0.gguf +0 -3
- DRT-o1-8B-Q4_K_M.gguf +0 -3
- DRT-o1-8B-Q4_K_S.gguf +0 -3
- DRT-o1-8B-Q5_0.gguf +0 -3
- DRT-o1-8B-Q5_K_M.gguf +0 -3
- DRT-o1-8B-Q5_K_S.gguf +0 -3
- DRT-o1-8B-Q6_K.gguf +0 -3
- DRT-o1-8B-Q8_0.gguf +0 -3
DRT-o1-8B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4baf43c17393c05691a5b4fdd8cae3f26b227848875b161d27cfdca9f488c7bf
|
| 3 |
-
size 4321961344
|
|
|
|
|
|
|
|
|
|
|
|
DRT-o1-8B-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:323984b81870cf28e85fd03906d1a39c12891f048f1d1a11a54fee20ffd54860
|
| 3 |
-
size 4018922880
|
|
|
|
|
|
|
|
|
|
|
|
DRT-o1-8B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9bd926166f088d4297823e27b9523c3b9078591988543cebaf8e893819a75857
|
| 3 |
-
size 3664504192
|
|
|
|
|
|
|
|
|
|
|
|
DRT-o1-8B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ba025c8c728bbd298592f15c510669bbc04201810a4a1858f93a078e8f88e18c
|
| 3 |
-
size 4661216640
|
|
|
|
|
|
|
|
|
|
|
|
DRT-o1-8B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f4c0e7cb6d38ebd2e340226bd17a2792c21ad17fded05370c6b709f8bb4490ad
|
| 3 |
-
size 4920739200
|
|
|
|
|
|
|
|
|
|
|
|
DRT-o1-8B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:cc49cc31a78cd4911c2e8a2ad7188457917f0fd48fca519577050dbf84f975d5
|
| 3 |
-
size 4692673920
|
|
|
|
|
|
|
|
|
|
|
|
DRT-o1-8B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:652cb589f8fa77ebaa9d69eb2610394c7831090efc07f7d4cc38074719c1d31e
|
| 3 |
-
size 5599298944
|
|
|
|
|
|
|
|
|
|
|
|
DRT-o1-8B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4e6a0c69637b9b3c8cc8b3f4b4525ffe138ca1dcee6ffe2f8e0f6e049550de4d
|
| 3 |
-
size 5732992384
|
|
|
|
|
|
|
|
|
|
|
|
DRT-o1-8B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a43d44048157139f72b401650672ce1bb51456e00d1b6250a75456d963981fc5
|
| 3 |
-
size 5599298944
|
|
|
|
|
|
|
|
|
|
|
|
DRT-o1-8B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:720ba78a93d277e0f0950799a45d54e1b7eb51961c04feac8af49e30f869edab
|
| 3 |
-
size 6596011392
|
|
|
|
|
|
|
|
|
|
|
|
DRT-o1-8B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:de68eb2d25fe89caf9f4ae7ea4fc94d84f17e921073eb747fe3c696dd7dc5137
|
| 3 |
-
size 8540775808
|
|
|
|
|
|
|
|
|
|
|
|