-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rebase on
curated-transformers
2.0.0 (#19)
* Update requirements and tick version to `0.3.0.dev0` * Re-add `ScalarWeightClassifier` * Rebase all transformer model architectures to `curated-transformers 1.0.0` * Fix `curated-tojenizers 0.9.0` compatibility * Set version to `1.0.0.dev0` * `isort` * Increment min Python version to 3.8 in CI * Fix: do not load full state dict when loading locally This will fail, since state dicts contain unused parameters (e.g. the LM head in the case of encoders). * Update to Curated Transformers 2.0.0.dev1 * Correctness: call `from_hf_hub` on type, not instance * isort * CI: Bump up transformers upper bound * Download config.json in checkpoint loader test * tests: do not fail if start method is already set * tests: skip multiprocessing test when method is not 'spawn' * Update checkpoint loader docstring to mention safetensors --------- Co-authored-by: Daniël de Kok <[email protected]>
- Loading branch information
Showing
12 changed files
with
262 additions
and
118 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
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.