CoolFace
Modelpublic

Abiray/Sutra-Instruct-v2-350M

sourceHugging Facemitupdated 6mo agoView on Hugging Face
2likes16downloads
Model Card

๐Ÿš€ Sutra-Instruct-v2-350M

Sutra-Instruct-v2-350M is a highly optimized, 350-million parameter language model built for developers and researchers. It has undergone rigorous Continuous Pre-Training (CPT) to dramatically improve its logical reasoning, mathematical deduction, and Python coding capabilities.

Despite its lightweight footprint, Sutra-Instruct-v2 acts as a highly capable "Witty Coder" and educational assistant, punching well above its weight class thanks to a carefully curated, high-IQ dataset recipe.

๐Ÿง  Model Details

  • โ€”Architecture: 350M Parameter Custom Transformer (GPT-style)
  • โ€”Format: Safetensors (Blazing fast, zero-copy loading)
  • โ€”Primary Focus: Python Code Generation, Mathematical Reasoning, Educational QA.
  • โ€”Developer: Abhiray / Jay

๐Ÿ“š Training Data Recipe (Continuous Pre-Training)

To transition the model from a general-purpose base to a reasoning and bit of coding , we executed a Continuous Pre-Training phase using approximately 3.3 Billion high-quality tokens.

The dataset mixture was meticulously balanced to prevent overfitting while maximizing logical deduction:

DatasetSourceFocusTarget Tokens
The Stack Dedupbigcode/the-stack-dedupPure Python Code (content)1.5 Billion
DCLM-EduHuggingFaceTB/dclm-eduHigh-IQ Educational Web Data600 Million
Cosmopedia (Stanford)HuggingFaceTB/cosmopediaSynthetic Textbooks500 Million
Tiny-Codes-QAnampdn-ai/tiny-codesPrompt/Response Coding Tasks500 Million
Tiny-Textbooksnampdn-ai/tiny-textbooksGeneral Knowledge / STEM100 Million
MetaMathQAmeta-math/MetaMathQAMathematical Reasoning100 Million

๐Ÿ› ๏ธ Intended Use Cases

  • โ€”Lightweight Code Copilot: Generating Python scripts, debugging syntax, and writing algorithms locally on low-VRAM hardware.
  • โ€”Edge Devices: Perfect for deployment on Raspberry Pi, older laptops, or mobile devices where massive LLMs cannot run.
  • โ€”Educational QA: Answering STEM, logic, and general knowledge questions.