Instructions to use QuantFactory/OpenThinker-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantFactory/OpenThinker-7B-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QuantFactory/OpenThinker-7B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use QuantFactory/OpenThinker-7B-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 QuantFactory/OpenThinker-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/OpenThinker-7B-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 QuantFactory/OpenThinker-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/OpenThinker-7B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf QuantFactory/OpenThinker-7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf QuantFactory/OpenThinker-7B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/OpenThinker-7B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use QuantFactory/OpenThinker-7B-GGUF with Ollama:
ollama run hf.co/QuantFactory/OpenThinker-7B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use QuantFactory/OpenThinker-7B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf QuantFactory/OpenThinker-7B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "QuantFactory/OpenThinker-7B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use QuantFactory/OpenThinker-7B-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/OpenThinker-7B-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/OpenThinker-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/OpenThinker-7B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.OpenThinker-7B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use QuantFactory/OpenThinker-7B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf QuantFactory/OpenThinker-7B-GGUF:Q4_K_M
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:9931/v1 hermes config set model.default QuantFactory/OpenThinker-7B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use QuantFactory/OpenThinker-7B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf QuantFactory/OpenThinker-7B-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "QuantFactory/OpenThinker-7B-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload README.md with huggingface_hub
Browse files28 unmodified lines29303132333459 unmodified lines9495969798991001011021031041051061071081091101111121131 unmodified line11511611728 unmodified lines<img src="https://huggingface.co/datasets/open-thoughts/open-thoughts-114k/resolve/main/open_thoughts.png" width="50%"></p># OpenThinker-7BThis model is a fine-tuned version of [Qwen/Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct) on the59 unmodified linesMore info can be found in our repository: [https://github.com/open-thoughts/open-thoughts](https://github.com/open-thoughts/open-thoughts).# Citation```@misc{openthoughts,author = {Team, OpenThoughts},month = jan,title = {{Open Thoughts}},howpublished = {https://open-thoughts.ai},year = {2025}}```# Links- π [Open Thoughts Launch Blog Post](https://www.open-thoughts.ai/blog/launch)- π» [Open Thoughts GitHub Repository](https://github.com/open-thoughts/open-thoughts)- π§ [OpenThoughts-114k dataset](https://huggingface.co/datasets/open-thoughts/OpenThoughts-114k)- π€ [OpenThinker-7B model](https://huggingface.co/open-thoughts/OpenThinker-7B) - this model.- π [Bespoke-Stratos Blog Post](https://www.bespokelabs.ai/blog/bespoke-stratos-the-unreasonable-effectiveness-of-reasoning-distillation)1 unmodified line- π€ [Bespoke-Stratos-32B model](https://huggingface.co/bespokelabs/Bespoke-Stratos-32B)- π€ [Bespoke-Stratos-7B model](https://huggingface.co/bespokelabs/Bespoke-Stratos-7B)28 unmodified lines29303132333435363759 unmodified lines9798991001011021031041051061 unmodified line10810911011111211311411511611711811912012112212328 unmodified lines<img src="https://huggingface.co/datasets/open-thoughts/open-thoughts-114k/resolve/main/open_thoughts.png" width="50%"></p>> [!NOTE]> We have released a paper for OpenThoughts! See our paper [here](https://arxiv.org/abs/2506.04178).# OpenThinker-7BThis model is a fine-tuned version of [Qwen/Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct) on the59 unmodified linesMore info can be found in our repository: [https://github.com/open-thoughts/open-thoughts](https://github.com/open-thoughts/open-thoughts).# Links- π [OpenThoughts Paper](https://arxiv.org/abs/2506.04178)- π [Open Thoughts Launch Blog Post](https://www.open-thoughts.ai/blog/launch)- π» [Open Thoughts GitHub Repository](https://github.com/open-thoughts/open-thoughts)- π§ [OpenThoughts-114k dataset](https://huggingface.co/datasets/open-thoughts/OpenThoughts-114k)- π€ [OpenThinker-7B model](https://huggingface.co/open-thoughts/OpenThinker-7B) - this model.- π [Bespoke-Stratos Blog Post](https://www.bespokelabs.ai/blog/bespoke-stratos-the-unreasonable-effectiveness-of-reasoning-distillation)1 unmodified line- π€ [Bespoke-Stratos-32B model](https://huggingface.co/bespokelabs/Bespoke-Stratos-32B)- π€ [Bespoke-Stratos-7B model](https://huggingface.co/bespokelabs/Bespoke-Stratos-7B)# Citation```@misc{guha2025openthoughtsdatarecipesreasoning,title={OpenThoughts: Data Recipes for Reasoning Models},author={Etash Guha and Ryan Marten and Sedrick Keh and Negin Raoof and Georgios Smyrnis and Hritik Bansal and Marianna Nezhurina and Jean Mercat and Trung Vu and Zayne Sprague and Ashima Suvarna and Benjamin Feuer and Liangyu Chen and Zaid Khan and Eric Frankel and Sachin Grover and Caroline Choi and Niklas Muennighoff and Shiye Su and Wanjia Zhao and John Yang and Shreyas Pimpalgaonkar and Kartik Sharma and Charlie Cheng-Jie Ji and Yichuan Deng and Sarah Pratt and Vivek Ramanujan and Jon Saad-Falcon and Jeffrey Li and Achal Dave and Alon Albalak and Kushal Arora and Blake Wulfe and Chinmay Hegde and Greg Durrett and Sewoong Oh and Mohit Bansal and Saadia Gabriel and Aditya Grover and Kai-Wei Chang and Vaishaal Shankar and Aaron Gokaslan and Mike A. Merrill and Tatsunori Hashimoto and Yejin Choi and Jenia Jitsev and Reinhard Heckel and Maheswaran Sathiamoorthy and Alexandros G. Dimakis and Ludwig Schmidt},year={2025},eprint={2506.04178},archivePrefix={arXiv},primaryClass={cs.LG},url={https://arxiv.org/abs/2506.04178},}```
README.md+18-12