Instructions to use gr0010/CustomThinker-0-8B 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 gr0010/CustomThinker-0-8B 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 gr0010/CustomThinker-0-8B:Q4_K_M # Run inference directly in the terminal: llama cli -hf gr0010/CustomThinker-0-8B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf gr0010/CustomThinker-0-8B:Q4_K_M # Run inference directly in the terminal: llama cli -hf gr0010/CustomThinker-0-8B: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 gr0010/CustomThinker-0-8B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf gr0010/CustomThinker-0-8B:Q4_K_M
Use Docker
docker model run hf.co/gr0010/CustomThinker-0-8B:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use gr0010/CustomThinker-0-8B with Ollama:
ollama run hf.co/gr0010/CustomThinker-0-8B:Q4_K_M
- Unsloth Desktop
- Pi
How to use gr0010/CustomThinker-0-8B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf gr0010/CustomThinker-0-8B: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": "gr0010/CustomThinker-0-8B:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use gr0010/CustomThinker-0-8B with Docker Model Runner:
docker model run hf.co/gr0010/CustomThinker-0-8B:Q4_K_M
- Lemonade
How to use gr0010/CustomThinker-0-8B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull gr0010/CustomThinker-0-8B:Q4_K_M
Run and chat with the model
lemonade run user.CustomThinker-0-8B-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use gr0010/CustomThinker-0-8B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf gr0010/CustomThinker-0-8B: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 gr0010/CustomThinker-0-8B:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use gr0010/CustomThinker-0-8B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf gr0010/CustomThinker-0-8B: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 "gr0010/CustomThinker-0-8B: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"
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
| 4 |
-
#
|
| 5 |
|
| 6 |
-
|
| 7 |
|
| 8 |
-
|
| 9 |
|
| 10 |
This experimental model is fine-tuned on Qwen3-8B using a specialized dataset that makes the model's thinking style directly controllable through system prompts, similar to how you would instruct an LLM to adopt a specific persona or output format.
|
| 11 |
|
|
@@ -21,20 +21,20 @@ Reasoning Instructions:
|
|
| 21 |
|
| 22 |
While the model is primarily trained to implement adaptive thinking based on system prompt instructions, it can also respond to reasoning style changes requested during mid-conversation, though this functionality may not be consistently reliable.
|
| 23 |
|
| 24 |
-
Some of the benefits that
|
| 25 |
|
| 26 |
- Direct control over AI reasoning patterns and output structure
|
| 27 |
- Enhanced experimentation with reasoning models and potential for RL strategies that optimize thinking styles
|
| 28 |
- Improved safety through explicit control over the reasoning process
|
| 29 |
- Customizable thinking approaches tailored to specific tasks
|
| 30 |
|
| 31 |
-
While prompt engineering has long been known to improve LLM performance,
|
| 32 |
|
| 33 |
_If you like this, please consider leaving a like on the repository—it would help us, and if you can, also leave feedback in the community section._
|
| 34 |
|
| 35 |
## 🎯 See Art in Action
|
| 36 |
|
| 37 |
-
[**→ Try more examples in our interactive demo**](https://huggingface.co/spaces/gr0010/
|
| 38 |
### Example: Thinking in Rap Lyrics
|
| 39 |
|
| 40 |
**System Prompt:**
|
|
@@ -123,14 +123,14 @@ The number of R's in "raspberry" is 3. The fourth prime number is 7. Multiplying
|
|
| 123 |
**Answer: 441**
|
| 124 |
```
|
| 125 |
|
| 126 |
-
[**→ Try more examples in
|
| 127 |
|
| 128 |
## 🚀 Quick Start
|
| 129 |
|
| 130 |
```python
|
| 131 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 132 |
|
| 133 |
-
model_name = "
|
| 134 |
|
| 135 |
# load the tokenizer and the model
|
| 136 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
| 4 |
+
# CustomThinker-0-8B: _Reasoning the way you want it to_
|
| 5 |
|
| 6 |
+
> If you want to contact me about this experiment, consulting, or anything else you can find my email at https://gr.bio
|
| 7 |
|
| 8 |
+
CustomThinker-0-8B is the first open-source LLM that allows users to explicitly control its reasoning methodology through direct prompting instructions.
|
| 9 |
|
| 10 |
This experimental model is fine-tuned on Qwen3-8B using a specialized dataset that makes the model's thinking style directly controllable through system prompts, similar to how you would instruct an LLM to adopt a specific persona or output format.
|
| 11 |
|
|
|
|
| 21 |
|
| 22 |
While the model is primarily trained to implement adaptive thinking based on system prompt instructions, it can also respond to reasoning style changes requested during mid-conversation, though this functionality may not be consistently reliable.
|
| 23 |
|
| 24 |
+
Some of the benefits that this strategy enables:
|
| 25 |
|
| 26 |
- Direct control over AI reasoning patterns and output structure
|
| 27 |
- Enhanced experimentation with reasoning models and potential for RL strategies that optimize thinking styles
|
| 28 |
- Improved safety through explicit control over the reasoning process
|
| 29 |
- Customizable thinking approaches tailored to specific tasks
|
| 30 |
|
| 31 |
+
While prompt engineering has long been known to improve LLM performance, CustomThinker represents the first approach that gives users direct control over the internal reasoning process of LLMs. This capability allows models to be configured with optimal thinking patterns for different use cases.
|
| 32 |
|
| 33 |
_If you like this, please consider leaving a like on the repository—it would help us, and if you can, also leave feedback in the community section._
|
| 34 |
|
| 35 |
## 🎯 See Art in Action
|
| 36 |
|
| 37 |
+
[**→ Try more examples in our interactive demo**](https://huggingface.co/spaces/gr0010/CustomThinker-Demo)
|
| 38 |
### Example: Thinking in Rap Lyrics
|
| 39 |
|
| 40 |
**System Prompt:**
|
|
|
|
| 123 |
**Answer: 441**
|
| 124 |
```
|
| 125 |
|
| 126 |
+
[**→ Try more examples in the interactive demo**](https://huggingface.co/spaces/gr0010/Try-Art-0-8B)
|
| 127 |
|
| 128 |
## 🚀 Quick Start
|
| 129 |
|
| 130 |
```python
|
| 131 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 132 |
|
| 133 |
+
model_name = "gr0010/CustomThinker-0-8B"
|
| 134 |
|
| 135 |
# load the tokenizer and the model
|
| 136 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|