Instructions to use tinyopsec/OctoThinker-8B-Long-Base-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tinyopsec/OctoThinker-8B-Long-Base-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 tinyopsec/OctoThinker-8B-Long-Base-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf tinyopsec/OctoThinker-8B-Long-Base-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 tinyopsec/OctoThinker-8B-Long-Base-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf tinyopsec/OctoThinker-8B-Long-Base-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 tinyopsec/OctoThinker-8B-Long-Base-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf tinyopsec/OctoThinker-8B-Long-Base-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 tinyopsec/OctoThinker-8B-Long-Base-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf tinyopsec/OctoThinker-8B-Long-Base-GGUF:Q4_K_M
Use Docker
docker model run hf.co/tinyopsec/OctoThinker-8B-Long-Base-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use tinyopsec/OctoThinker-8B-Long-Base-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tinyopsec/OctoThinker-8B-Long-Base-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tinyopsec/OctoThinker-8B-Long-Base-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tinyopsec/OctoThinker-8B-Long-Base-GGUF:Q4_K_M
- Ollama
How to use tinyopsec/OctoThinker-8B-Long-Base-GGUF with Ollama:
ollama run hf.co/tinyopsec/OctoThinker-8B-Long-Base-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use tinyopsec/OctoThinker-8B-Long-Base-GGUF with Docker Model Runner:
docker model run hf.co/tinyopsec/OctoThinker-8B-Long-Base-GGUF:Q4_K_M
- Lemonade
How to use tinyopsec/OctoThinker-8B-Long-Base-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tinyopsec/OctoThinker-8B-Long-Base-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.OctoThinker-8B-Long-Base-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
OctoThinker-8B-Long-Base GGUF
GGUF quantizations of OctoThinker/OctoThinker-8B-Long-Base.
OctoThinker-8B-Long-Base is a mid-trained language model built on the Llama-3 family, designed to create a reinforcement learning–friendly base language model. It is trained using the Stable-then-Decay two-stage mid-training paradigm on large-scale mathematical datasets (MegaMath-Web-Pro-Max) and diversified Long Chain-of-Thought data, ensuring rapid convergence and improved RL stability.
For more details, see the paper.
Available Quantizations
| File | Bits | Size (approx) | Use Case |
|---|---|---|---|
| model_f16.gguf | 16 | ~16.1 GB | Maximum quality, reference |
| model_q8_0.gguf | 8 | ~8.5 GB | Best quality, if VRAM allows |
| model_q6_k.gguf | 6 | ~6.6 GB | Great quality |
| model_q5_k_m.gguf | 5 | ~5.7 GB | Balanced quality/size |
| model_q5_k_s.gguf | 5 | ~5.5 GB | Slightly smaller Q5 |
| model_q4_k_m.gguf | 4 | ~4.8 GB | Good quality, recommended |
| model_q4_k_s.gguf | 4 | ~4.6 GB | Smaller Q4 |
| model_q3_k_l.gguf | 3 | ~4.0 GB | Low VRAM, decent quality |
| model_q3_k_m.gguf | 3 | ~3.7 GB | Lower VRAM |
| model_q3_k_s.gguf | 3 | ~3.5 GB | Minimum Q3 |
| model_q2_k.gguf | 2 | ~3.0 GB | Very low VRAM, reduced quality |
VRAM Requirements
| Quantization | VRAM (approx) |
|---|---|
| F16 | ~17 GB |
| Q8_0 | ~9.5 GB |
| Q6_K | ~7.5 GB |
| Q5_K_M | ~6.5 GB |
| Q4_K_M | ~5.5 GB |
| Q3_K_M | ~4.5 GB |
| Q2_K | ~3.5 GB |
Usage
llama.cpp
./llama-cli -m model_q4_k_m.gguf -p "Your prompt here" -n 512
llama-cpp-python
from llama_cpp import Llama
llm = Llama(model_path="model_q4_k_m.gguf", n_ctx=8192)
output = llm("Your prompt here", max_tokens=512)
print(output["choices"][0]["text"])
LM Studio
Download the desired .gguf file and load it directly in LM Studio.
Ollama
ollama run hf.co/tinyopsec/OctoThinker-8B-Long-Base-GGUF
Citation
@article{wang2025octothinker,
title={OctoThinker: Mid-training Incentivizes Reinforcement Learning Scaling},
author={Wang, Zengzhi and Zhou, Fan and Li, Xuefeng and Liu, Pengfei},
year={2025},
journal={arXiv preprint arXiv:2506.20512},
note={Preprint}
}
- Downloads last month
- 1,562
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for tinyopsec/OctoThinker-8B-Long-Base-GGUF
Base model
meta-llama/Llama-3.2-3B