Views
No views yet
Qwen3-Pinion is a standalone merged checkpoint derived from Qwen/Qwen3-1.7B. The training path was LoRA-based SFT, then adapter merge into full weights, so inference does not require a separate LoRA adapter.10.57967/hf/7965https://doi.org/10.57967/hf/7965[!WARNING] This checkpoint is SFT-only and has not been re-aligned with DPO/RLHF after SFT. Safety behavior is weaker than the base model. Treat this as a research artifact, not a production safety-aligned assistant.
| Property | Value |
|---|---|
| Base model | Qwen/Qwen3-1.7B |
| Architecture | Qwen3ForCausalLM |
| Parameters | 2,031,739,904 |
| Hidden size | 2048 |
| Layers | 28 |
| Attention heads | 16 |
| KV heads | 8 |
| Intermediate size | 6144 |
| Max position embeddings | 40,960 |
| Vocab size | 151,936 |
| Saved dtype | float32 |
| Files | 8 safetensor shards + tokenizer/config artifacts |
Qwen/Qwen3-1.7B.merge_and_unload() into safetensors.1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model_id = "Somnus-Sovereign-Systems/qwen3-pinion"
5
6tokenizer = AutoTokenizer.from_pretrained(model_id)
7model = AutoModelForCausalLM.from_pretrained(
8 model_id,
9 torch_dtype=torch.float32,
10 device_map="cpu",
11)
12
13messages = [
14 {"role": "system", "content": "You are a helpful assistant."},
15 {"role": "user", "content": "Explain gradient descent in plain language."},
16]
17
18text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
19inputs = tokenizer(text, return_tensors="pt").to(model.device)
20
21with torch.no_grad():
22 output = model.generate(
23 **inputs,
24 max_new_tokens=256,
25 temperature=0.6,
26 top_k=20,
27 top_p=0.95,
28 do_sample=True,
29 )
30
31print(tokenizer.decode(output[0][inputs.input_ids.shape[-1]:], skip_special_tokens=True))Qwen/Qwen3-1.7BMagpie-Align/Magpie-Pro-300K-Filtered