karpathy/llm.c

init from scratch

Open

#243 创建于 2024年4月24日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)Cuda (3,626 fork)github user discovery
good first issue

仓库指标

Star
 (30,145 star)
PR 合并指标
 (PR 指标待抓取)

描述

Follow the GPT-2 reference .py file and initialize the weights in C from scratch in the exact same way. Allow init from scratch instead of init from checkpoint when building the GPT-2. Add argparse flag to configure which way to go. Ok to only change the mainline development file train_gpt2.cu.

贡献者指南