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)# pip install -U transformers accelerate # 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=256) 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
Commit History
-
Update README.md
Verified signature111853b
-
Update README.md
Verified signature2b47c1b
-
Update README.md
Verified signaturec7dcc7f
-
Update README.md
Verified signature077ce71 -
Update README.md
Verified signaturef7883eb
-
Update README.md
Verified signature86d3990
-
Update README.md
Verified signature91e21e9 -
Update README.md
Verified signature3bffa59
-
Update README.md
Verified signaturedbee09c -
Update README.md
Verified signature9b2e667
-
Update README.md
Verified signatureb0c58af -
Update README.md
Verified signature7ab34c1 -
Update README.md
Verified signature14fcb26 -
Update README.md
Verified signature405c6f2 -
Update README.md
Verified signature1c3f93d -
Update README.md
Verified signature64ee892 -
Update README.md
Verified signature452ce6e -
Update README.md
Verified signaturecea2a73 -
Update README.md
Verified signaturedcd846a -
Update README.md
Verified signaturec8890a9 -
Update README.md
Verified signature0b27704
-
Update README.md
Verified signaturee63103e -
Update README.md
Verified signaturec4110be -
Update README.md
Verified signature7a27fba -
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (37c67d42172b98da1c01e6893a21674872d19652)f8d1fe7
-
Trained with Unsloth
Verified signatureb269b2a -
Upload tokenizer
Verified signature2f571cc -
initial commit
Verified signatured1a299c