Text Generation
Transformers
PyTorch
Safetensors
English
llama
trl
grpo
rl
superthoughts
reasoning
cot
conversational
text-generation-inference
Instructions to use Pinkstack/Superthoughts-lite-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Pinkstack/Superthoughts-lite-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Pinkstack/Superthoughts-lite-v1") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Pinkstack/Superthoughts-lite-v1") model = AutoModelForCausalLM.from_pretrained("Pinkstack/Superthoughts-lite-v1", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Pinkstack/Superthoughts-lite-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Pinkstack/Superthoughts-lite-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Pinkstack/Superthoughts-lite-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Pinkstack/Superthoughts-lite-v1
- SGLang
How to use Pinkstack/Superthoughts-lite-v1 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 "Pinkstack/Superthoughts-lite-v1" \ --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": "Pinkstack/Superthoughts-lite-v1", "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 "Pinkstack/Superthoughts-lite-v1" \ --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": "Pinkstack/Superthoughts-lite-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Pinkstack/Superthoughts-lite-v1 with Docker Model Runner:
docker model run hf.co/Pinkstack/Superthoughts-lite-v1
Update README.md
Browse files
README.md
CHANGED
|
@@ -15,19 +15,32 @@ language:
|
|
| 15 |
- en
|
| 16 |
base_model:
|
| 17 |
- HuggingFaceTB/SmolLM2-1.7B-Instruct
|
| 18 |
-
pipeline_tag: text-generation
|
| 19 |
widget:
|
| 20 |
- messages:
|
| 21 |
- role: user
|
| 22 |
-
content:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
- messages:
|
| 24 |
- role: user
|
| 25 |
-
content:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
- messages:
|
| 27 |
- role: user
|
| 28 |
-
content:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
---
|
| 30 |
-
V2 is being trained - smarter, conversational, better.
|
| 31 |
|
| 32 |
Free online chat with web search capabilities (demo): https://huggingface.co/spaces/Pinkstack/Chat-with-superthoughts-lite
|
| 33 |

|
|
|
|
| 15 |
- en
|
| 16 |
base_model:
|
| 17 |
- HuggingFaceTB/SmolLM2-1.7B-Instruct
|
|
|
|
| 18 |
widget:
|
| 19 |
- messages:
|
| 20 |
- role: user
|
| 21 |
+
content: >-
|
| 22 |
+
You must act in a conversational matter and always include at the start
|
| 23 |
+
<think> ... </think> <output> ... </output> tokens.
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
Are cats cool?
|
| 27 |
- messages:
|
| 28 |
- role: user
|
| 29 |
+
content: >-
|
| 30 |
+
You must act in a conversational matter and always include at the start
|
| 31 |
+
<think> ... </think> <output> ... </output> tokens.
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
Hello!
|
| 35 |
- messages:
|
| 36 |
- role: user
|
| 37 |
+
content: >-
|
| 38 |
+
You must act in a conversational matter and always include at the start
|
| 39 |
+
<think> ... </think> <output> ... </output> tokens.
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
2x-2=6, how much is X?
|
| 43 |
---
|
|
|
|
| 44 |
|
| 45 |
Free online chat with web search capabilities (demo): https://huggingface.co/spaces/Pinkstack/Chat-with-superthoughts-lite
|
| 46 |

|