This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transformer ELMo config fixes (#131)
* allow multiple token embedders, but only use first with non-empty type * blacken the modified code * update CHANGELOG * Throw an exception if we already know the model isn't going to work. * Update the transformer language model config. * Changelog * Brings back the test for TransformerElmo * Don't reformat a file that's full of tables * Formatting Co-authored-by: Anthony P Panza <[email protected]>
- Loading branch information
Showing
7 changed files
with
8,262 additions
and
42 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
2 changes: 2 additions & 0 deletions
2
test_fixtures/lm/bidirectional_language_model/training_data/sentences1.txt
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,2 @@ | ||
I run the unit test thrice. | ||
I run the unit test four times. |
2 changes: 2 additions & 0 deletions
2
test_fixtures/lm/bidirectional_language_model/training_data/sentences2.txt
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,2 @@ | ||
I run the unit test once. | ||
I run the unit test twice. |
1 change: 1 addition & 0 deletions
1
test_fixtures/lm/bidirectional_language_model/vocab/non_padded_namespaces.txt
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 @@ | ||
*labels\n*tags |
Oops, something went wrong.