GitHub 项目简介: A straightforward method for training your LLM, from downloading data to generating text.
README: I implemented a transformer model from scratch using PyTorch, based on the paper Attention is All You Need. You can use my scripts to train your own billion or million parameter L…
README: If you are a developer, the commands and file paths are all here. You can copy, run, and read the referenced source files directly.
README: The whole journey is one idea repeated: turn text into numbers, predict the next token, then keep changing the data and the loss until the model does what we want.
README: Here is the path we will walk, end to end: raw text -> tokens -> a Transformer -> next-token loss -> a base model base model -> SFT -> Reward Model -> {PPO, DPO} -> GRPO -> evalua…