Text Generation
Transformers
TensorBoard
Safetensors
qwen3
trl
sft
convergentintel
edge
distillation
knowledge-distillation
conversational
text-generation-inference
Instructions to use reaperdoesntknow/DistilQwen3-1.7B-uncensored with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use reaperdoesntknow/DistilQwen3-1.7B-uncensored with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="reaperdoesntknow/DistilQwen3-1.7B-uncensored") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("reaperdoesntknow/DistilQwen3-1.7B-uncensored") model = AutoModelForCausalLM.from_pretrained("reaperdoesntknow/DistilQwen3-1.7B-uncensored", 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 reaperdoesntknow/DistilQwen3-1.7B-uncensored with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "reaperdoesntknow/DistilQwen3-1.7B-uncensored" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "reaperdoesntknow/DistilQwen3-1.7B-uncensored", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/reaperdoesntknow/DistilQwen3-1.7B-uncensored
- SGLang
How to use reaperdoesntknow/DistilQwen3-1.7B-uncensored 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 "reaperdoesntknow/DistilQwen3-1.7B-uncensored" \ --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": "reaperdoesntknow/DistilQwen3-1.7B-uncensored", "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 "reaperdoesntknow/DistilQwen3-1.7B-uncensored" \ --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": "reaperdoesntknow/DistilQwen3-1.7B-uncensored", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use reaperdoesntknow/DistilQwen3-1.7B-uncensored with Docker Model Runner:
docker model run hf.co/reaperdoesntknow/DistilQwen3-1.7B-uncensored
Spotlight: DistilQwen collection metrics — 2026-03-29
Browse files
README.md
CHANGED
|
@@ -227,3 +227,26 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
|
|
| 227 |
|
| 228 |
|
| 229 |
*Last updated: 2026-03-28 12:55 UTC*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 227 |
|
| 228 |
|
| 229 |
*Last updated: 2026-03-28 12:55 UTC*
|
| 230 |
+
|
| 231 |
+
<!-- DISTILQWEN-SPOTLIGHT-START -->
|
| 232 |
+
|
| 233 |
+
## DistilQwen Collection
|
| 234 |
+
|
| 235 |
+
This model is part of the **[DistilQwen](https://huggingface.co/collections/reaperdoesntknow/distilqwen-69bf40ec669117e3f069ef1c)** proof-weighted distillation series.
|
| 236 |
+
Collection: **9 models** | **2,788 downloads**
|
| 237 |
+
|
| 238 |
+
### Teacher Variant Comparison
|
| 239 |
+
|
| 240 |
+
| Teacher | Student Size | Strength | Models |
|
| 241 |
+
|---------|-------------|----------|--------|
|
| 242 |
+
| Qwen3-30B-A3B (Instruct) | 1.7B | Instruction following, structured output, legal reasoning | 3 (833 DL) |
|
| 243 |
+
| Qwen3-30B-A3B (Thinking) | 0.6B | Extended deliberation, higher-entropy distributions, proof derivation | 3 (779 DL) |
|
| 244 |
+
| Qwen3-30B-A3B (Coder) | 1.7B | Structured decomposition, STEM derivation, logical inference | 2 (825 DL) |
|
| 245 |
+
|
| 246 |
+
### Methodology
|
| 247 |
+
|
| 248 |
+
All models use proof-weighted knowledge distillation: 55% cross-entropy with decaying proof weights (2.5× → 1.5×), 45% KL divergence at T=2.0. The proof weight amplifies loss on reasoning-critical tokens, forcing the student to allocate capacity to structural understanding rather than surface-level pattern matching.
|
| 249 |
+
|
| 250 |
+
Full methodology: [Structure Over Scale (DOI: 10.57967/hf/8165)](https://doi.org/10.57967/hf/8165)
|
| 251 |
+
|
| 252 |
+
<!-- DISTILQWEN-SPOTLIGHT-END -->
|