Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

MiniMind

AI overview

Sign in and the AI will write an overview from our coverage.

Headlines · 2

  1. Hands-On Tutorial Trains a 7.5M-Parameter GPT From Scratch

    A tutorial demonstrates how to train a small GPT from scratch in several hundred lines of code. It covers training a BPE tokenizer, pretraining a 4-layer model with about 7.5 million parameters, monitoring memory use and gradient accumulation, generating text, and supervised fine-tuning. In the author’s demonstration, loss fell from 6.23 to near zero, and the model learned to reproduce the toy corpus. After 300 SFT steps using 12 instruction examples, it responded in a dialogue format and stopped at an end token. The report notes that the model only answered content covered by its training data and produced incoherent responses to out-of-scope questions.

    掘金 · 人工智能 · 🔥 0
  2. MiniMind v3 Opens Full LLM Training Pipeline

    MiniMind v3 is an open-source project for building compact language models, with the main dense model sized at roughly 64M parameters and a MoE variant at 198M-A64M. Its native PyTorch code covers data preparation, pretraining, SFT, LoRA, DPO, PPO, GRPO, CISPO, tool use, agentic RL, adaptive thinking and distillation, alongside MiniMind-V, MiniMind-O, MiniMind-dLM and MiniMind-Linear extensions. The project says its headline figures of two hours and about 3 RMB apply to one SFT epoch on a single NVIDIA 3090, not full pretraining.

    GitHub Trending · Python · 🔥 0

Experience and discussion from the community

Share my MiniMind experienceAsk about MiniMind

minimind: An open-source project for training a small language model from scratch and understanding its complete training pipeline.

What problem it solves Large language models can be difficult for individuals to train, deploy, or understand because of their scale and the abstractions used by many frameworks. The project addresses this by providing native PyTorch implementations, compact model structures, open datasets, and staged workflows for pretraining, fine-tuning, preference optimization, tool use, and agentic training. …

github.comhttps://github.com/jingyaogong/minimind