forked from karpathy/nanoGPT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding a lightweight configurator that may be a terrible mistake lol.…
… also adding configs to evaluate the baseline GPT2 versions released by OpenAI on OWT. we have some ways to go to match those numbers atm
- Loading branch information
Showing
6 changed files
with
96 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# evaluate the base gpt2 | ||
# n_layer=12, n_head=12, n_embd=768 | ||
# 124M parameters | ||
batch_size = 8 | ||
eval_iters = 500 # use more iterations to get good estimate | ||
eval_only = True | ||
wandb_log = False | ||
init_from = 'gpt2' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# evaluate the base gpt2 | ||
# n_layer=36, n_head=20, n_embd=1280 | ||
# 774M parameters | ||
batch_size = 8 | ||
eval_iters = 500 # use more iterations to get good estimate | ||
eval_only = True | ||
wandb_log = False | ||
init_from = 'gpt2-large' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# evaluate the base gpt2 | ||
# n_layer=24, n_head=16, n_embd=1024 | ||
# 350M parameters | ||
batch_size = 8 | ||
eval_iters = 500 # use more iterations to get good estimate | ||
eval_only = True | ||
wandb_log = False | ||
init_from = 'gpt2-medium' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# evaluate the base gpt2 | ||
# n_layer=48, n_head=25, n_embd=1600 | ||
# 1558M parameters | ||
batch_size = 8 | ||
eval_iters = 500 # use more iterations to get good estimate | ||
eval_only = True | ||
wandb_log = False | ||
init_from = 'gpt2-xl' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters