Skip to content

Commit

Permalink
Tweak the GPTNeoConfigCPU config
Browse files Browse the repository at this point in the history
  • Loading branch information
minimaxir committed Apr 18, 2021
1 parent f2ef5fd commit 791e0e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aitextgen/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@ def GPTNeoConfigCPU(
vocab_size=vocab_size,
max_position_embeddings=64,
hidden_size=256,
attention_types=[[["global", "local"], 4]],
window_size=32,
intermediate_size=256,
attention_types=[[["global", "local"], 2]],
num_layers=4,
num_heads=4,
bos_token_id=bos_token_id,
eos_token_id=eos_token_id,
Expand Down

0 comments on commit 791e0e1

Please sign in to comment.