⚡ Vigyan-125M Distilled: DeepSeek-R1 CoT Distillation on Ternary Student
Vigyan-125M Distilled is an experimental research checkpoint demonstrating DeepSeek-R1 Chain-of-Thought (CoT) distillation directly onto a native 1.58-bit ternary student architecture pretrained from token zero from scratch.
🔬 Distillation Dynamics & Student Profile
- Native Ternary Student: 125M parameter BitNet architecture initialized from scratch and pretrained from token 0 ($pprox 50\text{ MB}$ execution RAM).
- Teacher Architecture: DeepSeek-R1 deep reasoning traces using Mode-Seeking Reverse-KL distillation with Top-128 logit truncation.
- Multi-Stage Training:
- Stage 1 (STEM Grounding): Certified loss convergence documented in
certified_scorecard_stage1_step499.json. - Stage 2 (DeepSeek-R1 Distillation): Step-by-step reasoning alignment documented in
certified_scorecard_stage2_r1.json.
- Stage 1 (STEM Grounding): Certified loss convergence documented in
- Hardware Infrastructure: Trained cloud-to-cloud on Google Cloud TPU v3-8 (128 GB HBM) via PyTorch/XLA PJRT.
🚀 Quickstart & Usage
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "shreyansh12183/vigyan-125m-distilled"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
trust_remote_code=True,
device_map="auto"
)
prompt = "Solve for x: 3*x + 14 = 29"
inputs = tokenizer(f"<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant\n<think>\n", return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=False))
📜 Legal & Non-Commercial Licensing
This experimental research release is distributed under the PolyForm Noncommercial License 1.0.0:
- Academic & Non-Commercial Research: Free to download, benchmark, inspect, and evaluate for academic research, edge hardware experimentation, and educational purposes.
- Section 8 AI Model Distillation Restriction: You may not use this model or its outputs to train, fine-tune, distill, or evaluate competing artificial intelligence or commercial foundation models without prior written permission from ExperimentLab AI.
- Commercial Enterprise Licensing: For commercial licensing, hardware OEM integration, or proprietary deployments, contact support@experimentlab.in.