Text Generation
Transformers
Safetensors
English
qwen3
asr
automatic-speech-recognition
text-normalization
inverse-text-normalization
punctuation
truecasing
speech-to-text
dictation
post-processing
conversational
text-generation-inference
Instructions to use superwhisper/s1-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use superwhisper/s1-mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="superwhisper/s1-mini") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("superwhisper/s1-mini") model = AutoModelForCausalLM.from_pretrained("superwhisper/s1-mini", 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 superwhisper/s1-mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "superwhisper/s1-mini" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "superwhisper/s1-mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/superwhisper/s1-mini
- SGLang
How to use superwhisper/s1-mini 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 "superwhisper/s1-mini" \ --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": "superwhisper/s1-mini", "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 "superwhisper/s1-mini" \ --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": "superwhisper/s1-mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use superwhisper/s1-mini with Docker Model Runner:
docker model run hf.co/superwhisper/s1-mini
Softmaximalist commited on
Commit ·
f362dd7
1
Parent(s): 7f80075
Add version badge
Browse files
README.md
CHANGED
|
@@ -18,15 +18,16 @@ tags:
|
|
| 18 |
- qwen3
|
| 19 |
---
|
| 20 |
|
|
|
|
|
|
|
| 21 |
<div align="center">
|
| 22 |
<img src="./banner.jpg" alt="s1-mini banner" width="100%">
|
| 23 |
|
| 24 |
[](https://superwhisper.com)
|
| 25 |
[](https://discord.gg/tF98XvJNvB)
|
|
|
|
| 26 |
</div>
|
| 27 |
|
| 28 |
-
# s1-mini
|
| 29 |
-
|
| 30 |
A 0.6B-parameter text normalizer for speech-to-text output. It takes a raw ASR
|
| 31 |
transcript and rewrites it as clean written text: fillers removed, false starts
|
| 32 |
and self-corrections resolved to the value the speaker landed on, punctuation
|
|
@@ -41,8 +42,10 @@ and will not follow general instructions; it does one job, and you steer it
|
|
| 41 |
with a control line at the top of the input.
|
| 42 |
|
| 43 |
Fine-tuned from [Qwen/Qwen3-0.6B](https://huggingface.co/Qwen/Qwen3-0.6B). If
|
| 44 |
-
you want to run it in llama.cpp, Ollama
|
|
|
|
| 45 |
[superwhisper/s1-mini-GGUF](https://huggingface.co/superwhisper/s1-mini-GGUF).
|
|
|
|
| 46 |
|
| 47 |
Releases are tagged, so you can pin one:
|
| 48 |
`from_pretrained("superwhisper/s1-mini", revision="v1")`.
|
|
|
|
| 18 |
- qwen3
|
| 19 |
---
|
| 20 |
|
| 21 |
+
# s1-mini — by [Superwhisper](https://superwhisper.com)
|
| 22 |
+
|
| 23 |
<div align="center">
|
| 24 |
<img src="./banner.jpg" alt="s1-mini banner" width="100%">
|
| 25 |
|
| 26 |
[](https://superwhisper.com)
|
| 27 |
[](https://discord.gg/tF98XvJNvB)
|
| 28 |
+
[](https://huggingface.co/superwhisper/s1-mini/tree/v1)
|
| 29 |
</div>
|
| 30 |
|
|
|
|
|
|
|
| 31 |
A 0.6B-parameter text normalizer for speech-to-text output. It takes a raw ASR
|
| 32 |
transcript and rewrites it as clean written text: fillers removed, false starts
|
| 33 |
and self-corrections resolved to the value the speaker landed on, punctuation
|
|
|
|
| 42 |
with a control line at the top of the input.
|
| 43 |
|
| 44 |
Fine-tuned from [Qwen/Qwen3-0.6B](https://huggingface.co/Qwen/Qwen3-0.6B). If
|
| 45 |
+
you want to run it in llama.cpp, Ollama, LM Studio, or anything else built on
|
| 46 |
+
llama.cpp, grab the GGUF builds from
|
| 47 |
[superwhisper/s1-mini-GGUF](https://huggingface.co/superwhisper/s1-mini-GGUF).
|
| 48 |
+
You can use it in your own dictation app too, just check the license first.
|
| 49 |
|
| 50 |
Releases are tagged, so you can pin one:
|
| 51 |
`from_pretrained("superwhisper/s1-mini", revision="v1")`.
|