LLMs-Zero-to-Hero

LLMs-Zero-to-Hero

开个新坑,从无名小卒到大模型(LLM)大英雄~ 欢迎关注后续!!!

Stars: 54

Visit
 screenshot

LLMs-Zero-to-Hero is a repository dedicated to training large language models (LLMs) from scratch, covering topics such as dense models, MOE models, pre-training, supervised fine-tuning, direct preference optimization, reinforcement learning from human feedback, and deploying large models. The repository provides detailed learning notes for different chapters, code implementations, and resources for training and deploying LLMs. It aims to guide users from being beginners to proficient in building and deploying large language models.

README:

LLMs-Zero-to-Hero

开个新坑,从无名小卒到大模型(LLM)大英雄~ 欢迎关注B站后续更新!!!

目录

  • 大模型基础,介绍大模型训练的流程
    • Dense Model
    • MOE Model
    • ...
  • 完全从零到一训练 LLM (Pre-Training)
  • 完全从零到一微调 LLM (Supervised Fine-Tuning, SFT)
  • 完全从零到一微调 LLM (Direct Preference Optimization, DPO)
  • 完全从零到一微调 LLM (Reinforcement Learning from Human Feedback, RLHF)
  • 用于写 Python 代码的 Code-LLM
  • 大模型的部署
    • 推理优化,量化等
  • ...

代码仓库结构

├── chapter01   # 不同章节的学习笔记,最终会形成一本书籍
│   ├── README.md
│   ├── ...
├── chapter02
│   ├── README.md
│   ├── train.py
│   ├── ...
├── src/
│   ├── hero/  # 最终自研实现的大模型等会放到这个地方;
│   ├── chapter01/  # 这里会存放 chapter01 的代码;
│   ├── chapter02/  # 这里会存放 chapter02 的代码;
│   ├── video/  # 录制视频的时候用到的代码;
├── README.md

陆续会更新,欢迎关注!!!

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for LLMs-Zero-to-Hero

Similar Open Source Tools

For similar tasks

For similar jobs