Skip to content

Commit

Permalink
Update pretrain_bert_demo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
feifeibear authored Dec 8, 2021
1 parent f5fee95 commit 0539721
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/pretrain_bert_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,12 +592,12 @@ def visit_and_register_hooks(module):
SEQ_LEN = 1024
NUM_LAYER = 65
NUM_HEAD = 16
elif MODEL_NAME == "GPT3_18B":
elif MODEL_NAME == "GPT3_15B":
HIDDEN_DIM = 4096
SEQ_LEN = 1024
NUM_LAYER = 78
NUM_HEAD = 16
elif MODEL_NAME == "GPT3_17B":
elif MODEL_NAME == "GPT3_18B":
HIDDEN_DIM = 4096
SEQ_LEN = 1024
NUM_LAYER = 90
Expand Down

0 comments on commit 0539721

Please sign in to comment.