forked from EleutherAI/elk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial implementation of semi-supervised training (EleutherAI#58)
* Initial implementation of semi-supervised training * Full DDP support * Bug fixes * Add .item() where necessary * Use maybe all gather instead of cat * Shuffle before sharding * Fix typing problems * Revert Fabien's change to shuffle/shard ordering * Send labels to cpu before Linear Regression * Revert "Send labels to cpu before Linear Regression" This reverts commit 47a6c76. * Update README for multi-gpu * Fix README typo * First shuffle, then select max_examples examples * Fix the fix to the typo * Add --supervised-weight cli arg * Silence HF warnings from other ranks --------- Co-authored-by: Fabien Roger <[email protected]>
- Loading branch information
1 parent
da4e023
commit 32e633b
Showing
16 changed files
with
339 additions
and
290 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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 @@ | ||
from .extraction import extract_hiddens | ||
from .prompt_collator import PromptCollator |
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
Oops, something went wrong.