Run this model with HF Jobs

Run LaferriereJC/minimind3-1m-v2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/LaferriereJC/minimind3-1m-v2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/LaferriereJC/minimind3-1m-v2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/LaferriereJC/minimind3-1m-v2. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/LaferriereJC/minimind3-1m-v2. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

MiniMind-3 1M v2 ( 6 Trunk, d>=128 Net2Net Bootstrapped)

Compact 1.08M-parameter (d_model=152, _layers=3, _loops=2, 1,000-token vocab) causal language model trained with the validated MiniMind-3 v6 trunk (Pre-RMSNorm, GQA, Q/K RMSNorm, Sigmoid Attn Output Gate, 3:1 Local SWA w=128 + Global NoPE, 1.5x ReLU^2 FFN, loop_step_emb + Sigmoid loop_gate, MTP t+2 w=0.3).

Training & Results

  • Bootstrapping (F-15): 512K (d=128, L=2, 50 TPP, PPMI-SVD) -> 1/k Net2Net -> 1M (d=152, L=3, 150 TPP WSD + Phase 1.5 annealing).
  • Curriculum (REQ-254): 3-Class overlapping KDE with TinyStories + Cosmopedia-simple in early (mu=0.15), ivypanda-essays + wikitext + definitions + minipile in mid/late, and Natural-Unit <|im_end|>.
  • Metrics (--stop-after sft):
    • CPT al_ntp (100%): 2.2788 (51.5 min on RTX 5000)
    • SFT (2,500 Low-effort rows, --boundary-weight 3.0): arget_nll=3.8501, top1=1.0, EOS top1=1.0, free-run strict_order=3/8 (37.5%), EOS=7/8 (87.5%).

Datasets Used

  • Early CPT (mu=0.15): oneneldan/TinyStories (60K), HuggingFaceTB/cosmopedia (stories, 40K), Abirate/english_quotes (2.5K), NLTK rown (57.3K sentences)
  • Mid / Late CPT (mu=0.50, mu=0.88): qwedsacf/ivypanda-essays (128.3K), Salesforce/wikitext (wikitext-103-raw-v1, 20K), marksverdhei/wordnet-definitions-en-2021 (25K), JeanKaddour/minipile (60K), HuggingFaceFW/fineweb-edu (sample-10BT, 80K)
  • Phase 1.5 Annealing: HuggingFaceTB/cosmopedia-100k (25K), stanfordnlp/snli (30K), asksource/icl-symbol-tuning-instruct (20K), wordnet-definitions-en-2021 bidirectional (20K)
  • SFT: 2,500 Low-effort rows across Math, Code, ReadingComp, and Instruction (--boundary-weight 3.0)

Sample Generations

CPT Mid-Sentence (cpt_hf, T=0.8, top_p=0.95)

  • Prompt: 'Although the weather had turned cold, she'
    • Output: ' was damaged to be armed with breaking her infrared problems. Although they were illustrated. She drew family to the law, she had to be armed with temperature and pay'
  • Prompt: 'When the train arrived at the station,'
    • Output: ' it had another arrival at the age of years.

The fourth guns were identified as the popularity of both their ceremonies and the location.

The state was us'

  • Prompt: 'The scientist carefully examined the'
    • Output: ' divided published vulnerable water, which was the human behavior of the body of the label of the air. Paul’s occurrence published and publ'

SFT Samples (sft, T=0.7, rep=1.15)

  • Prompt: 'Simplify: $\sqrt{50} + \sqrt{18}$.'
    • Output: 'To get total, and he need to need to use at the resting without all the case.<|im_end|>'
  • Prompt: 'What is 15 * 12?'
    • Output: 'Assessment: 3 3 3 3 3÷ 3 = 13.

Total: 2 2 + 13 = 5

\boxed{5}<|im_end|>'

Downloads last month
47
Safetensors
Model size
1.08M params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train LaferriereJC/minimind3-1m-v2