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 ·
88f6b15
1
Parent(s): ae016a2
Modify license to make it detailed
Browse files
LICENSE
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
Apache License
|
| 2 |
Version 2.0, January 2004
|
| 3 |
http://www.apache.org/licenses/
|
|
|
|
| 1 |
+
Copyright 2026 Superwhisper
|
| 2 |
+
|
| 3 |
+
This model is a derivative work of Qwen3-0.6B, Copyright 2024 Alibaba Cloud,
|
| 4 |
+
licensed under the Apache License, Version 2.0.
|
| 5 |
+
|
| 6 |
Apache License
|
| 7 |
Version 2.0, January 2004
|
| 8 |
http://www.apache.org/licenses/
|
NOTICE
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
S1-mini
|
| 2 |
+
Copyright 2026 Superwhisper
|
| 3 |
+
|
| 4 |
+
This work is a derivative of Qwen3-0.6B, Copyright 2024 Alibaba Cloud,
|
| 5 |
+
licensed under the Apache License, Version 2.0.
|
| 6 |
+
|
| 7 |
+
Any use, distribution, or integration of this model, whether unmodified or
|
| 8 |
+
as part of a derivative work or product, must continue to identify it by its
|
| 9 |
+
original name, "S1-mini" by "Superwhisper", using that exact capitalization.
|
| 10 |
+
This restates the ADDITIONAL TERM of the LICENSE file, which is the
|
| 11 |
+
operative text.
|
README.md
CHANGED
|
@@ -65,7 +65,7 @@ Releases are tagged, so you can pin one:
|
|
| 65 |
| Precision | BF16 |
|
| 66 |
| Recommended input | Up to ~1,000 tokens; chunk longer transcripts |
|
| 67 |
| Language | English |
|
| 68 |
-
| License | Apache 2.0 + naming clause ([LICENSE](LICENSE)) |
|
| 69 |
|
| 70 |
> [!NOTE]
|
| 71 |
> The Hub sidebar reports 0.8B parameters for this repo. `config.json` sets
|
|
@@ -375,9 +375,9 @@ in any integration are the input format documented above and the thinking
|
|
| 375 |
flag; nearly every integration bug traces back to one of those.
|
| 376 |
|
| 377 |
> [!IMPORTANT]
|
| 378 |
-
> Read the [LICENSE](LICENSE) before you ship. Apache 2.0 is permissive but
|
| 379 |
-
> not obligation-free: you must retain the license text and
|
| 380 |
-
>
|
| 381 |
> version. It also carries one additional term: the model must keep its
|
| 382 |
> name, "S1-mini" by "Superwhisper", with that exact capitalization,
|
| 383 |
> wherever it's used. If you are bundling S1-mini into a commercial
|
|
@@ -388,7 +388,8 @@ flag; nearly every integration bug traces back to one of those.
|
|
| 388 |
|
| 389 |
S1-mini is released under Apache 2.0, which it inherits from Qwen3-0.6B, plus
|
| 390 |
one additional term: wherever it's used, it must keep its name, "S1-mini" by
|
| 391 |
-
"Superwhisper", with that exact capitalization. See
|
|
|
|
| 392 |
|
| 393 |
## Citation
|
| 394 |
|
|
|
|
| 65 |
| Precision | BF16 |
|
| 66 |
| Recommended input | Up to ~1,000 tokens; chunk longer transcripts |
|
| 67 |
| Language | English |
|
| 68 |
+
| License | Apache 2.0 + naming clause ([LICENSE](https://huggingface.co/superwhisper/s1-mini/blob/main/LICENSE)) |
|
| 69 |
|
| 70 |
> [!NOTE]
|
| 71 |
> The Hub sidebar reports 0.8B parameters for this repo. `config.json` sets
|
|
|
|
| 375 |
flag; nearly every integration bug traces back to one of those.
|
| 376 |
|
| 377 |
> [!IMPORTANT]
|
| 378 |
+
> Read the [LICENSE](https://huggingface.co/superwhisper/s1-mini/blob/main/LICENSE) before you ship. Apache 2.0 is permissive but
|
| 379 |
+
> not obligation-free: you must retain the license text and the NOTICE
|
| 380 |
+
> file, and state significant changes if you redistribute a modified
|
| 381 |
> version. It also carries one additional term: the model must keep its
|
| 382 |
> name, "S1-mini" by "Superwhisper", with that exact capitalization,
|
| 383 |
> wherever it's used. If you are bundling S1-mini into a commercial
|
|
|
|
| 388 |
|
| 389 |
S1-mini is released under Apache 2.0, which it inherits from Qwen3-0.6B, plus
|
| 390 |
one additional term: wherever it's used, it must keep its name, "S1-mini" by
|
| 391 |
+
"Superwhisper", with that exact capitalization. See
|
| 392 |
+
[LICENSE](https://huggingface.co/superwhisper/s1-mini/blob/main/LICENSE) and [NOTICE](https://huggingface.co/superwhisper/s1-mini/blob/main/NOTICE).
|
| 393 |
|
| 394 |
## Citation
|
| 395 |
|