karpathy/llm.c

init from scratch

Open

#243 ouverte le 24 avr. 2024

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)Cuda (3 626 forks)github user discovery
good first issue

Métriques du dépôt

Stars
 (30 145 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur