-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Allow parsing parameters from a config file (#141) * Allow parsing parameters from a config file * Address nits * Support for beam search and kv_cache * Added tiny test + black * separate tiny generate test from generate test * set dataset version to avoid error: AttributeError: module 'threading' has no attribute '_Condition'. * compatible datasets version and unified python versions to 3.10 * Using xformers LowerTriangularFromBottomRightMask instead of custom mask * revert back to using custom mask because it is not compatible with the xformers version that we need * added tiny beam generation test and fixed cache reorder (thanks Rui) --------- Co-authored-by: Achal Dave <[email protected]>
- Loading branch information
1 parent
81aeb87
commit e016855
Showing
21 changed files
with
734 additions
and
185 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 |
---|---|---|
|
@@ -138,4 +138,5 @@ eval/*.jsonl_tmp | |
weights* | ||
out* | ||
tests/assets/* | ||
.vscode/ | ||
.vscode/ | ||
checkpoints/ |
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
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
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,13 @@ | ||
{ | ||
"hidden_dim": 2048, | ||
"n_layers": 24, | ||
"n_heads": 16, | ||
"seq_len": 2048, | ||
"vocab_size": 50432, | ||
"post_embed_norm": false, | ||
"weight_tying": false, | ||
"qk_norm": false, | ||
"ffn_type": "swiglu", | ||
"model_norm": "default_layer_norm", | ||
"positional_embedding_type": "head_rotary" | ||
} |
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
Oops, something went wrong.