Skip to content

Commit

Permalink
Make norm_eps in tests same as norm_eps of Mistral7B (1e-5)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandresablayrolles committed Oct 4, 2023
1 parent 5680d3f commit 3703dd1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_generation():
n_heads=4,
n_kv_heads=2,
sliding_window=3,
norm_eps=1e-6,
norm_eps=1e-5,
vocab_size=32_000,
max_batch_size=len(sequences),
)
Expand Down Expand Up @@ -74,7 +74,7 @@ def test_chunks():
n_heads=4,
n_kv_heads=2,
sliding_window=4,
norm_eps=1e-6,
norm_eps=1e-5,
vocab_size=32_000,
max_batch_size=3,
)
Expand All @@ -93,4 +93,4 @@ def test_chunks():

if __name__ == "__main__":
test_generation()
test_chunks()
test_chunks()

0 comments on commit 3703dd1

Please sign in to comment.