Commit Graph
6125 Commits
Author SHA1 Message Date
Lysandre 054f023bfb Calm flake8 down 2020-12-11 14:26:39 -05:00
Lysandre c05e5fd78e Set to slow + minify 2020-12-11 14:08:17 -05:00
Lysandre 0e06a3d2c8 Test PyTorch scatter 2020-12-11 14:03:31 -05:00
Rogge Niels d9ec541aa7 Some more docs improvements 2020-12-11 18:29:53 +01:00
Rogge Niels 4e8df2d322 Fix some URLs 2020-12-11 18:02:50 +01:00
Rogge Niels 729cf9b1ba More much needed docs improvements 2020-12-11 17:47:23 +01:00
LysandreJik c67071b67a Truncate when overflowing 2020-12-11 17:47:23 +01:00
LysandreJik 57aa4fe87a Fix the masked LM model 2020-12-11 17:47:22 +01:00
LysandreJik f4eae58dd9 Test the Masked LM model 2020-12-11 17:47:22 +01:00
LysandreJik ee28e0dab0 Address CI needs 2020-12-11 17:47:22 +01:00
LysandreJik 13e9e26323 Quality 2020-12-11 17:47:22 +01:00
Rogge Niels 309292791e Make style & make quality 2020-12-11 17:47:22 +01:00
Lysandre 4c976c5b1d Disable torchscript test 2020-12-11 17:47:21 +01:00
Lysandre 2f1540d6b6 Fix truncation when no max length is specified 2020-12-11 17:47:21 +01:00
Rogge Niels 29af69aeae Added more model names 2020-12-11 17:47:21 +01:00
Rogge Niels 89a06d4a0f Update PRETRAINED_VOCAB_FILES_MAP and PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES 2020-12-11 17:47:21 +01:00
Rogge Niels 2bc720a767 Comment out positional embedding sizes 2020-12-11 17:47:21 +01:00
Rogge Niels 6956f2eff5 Change position embeddings sizes to 512 instead of 1024 2020-12-11 17:47:21 +01:00
LysandreJik dc6e8661b9 Fix remaining tests 2020-12-11 17:47:20 +01:00
Rogge Niels 57a66b2aeb Incorporate suggestions by Google authors 2020-12-11 17:47:20 +01:00
Rogge Niels 65003b4732 Add test for convert_logits_to_predictions method of TapasTokenizer 2020-12-11 17:47:20 +01:00
Rogge Niels b411f8746c Remove print statement 2020-12-11 17:47:20 +01:00
Rogge Niels eb99dc72b9 All model integration tests pass 2020-12-11 17:47:20 +01:00
Rogge Niels 122923db24 Fix multiple bugs with integration tests 2020-12-11 17:47:20 +01:00
Rogge Niels 086be40757 Remove model cards as they are already on the hub 2020-12-11 17:47:19 +01:00
Rogge Niels da846e6c3b First draft model cards of base sized models 2020-12-11 17:47:19 +01:00
Rogge Niels 71c87ae730 Use Python 3 inheritance rather than Python 2 2020-12-11 17:47:19 +01:00
Rogge Niels fb4bf22251 Improve testing by adding torch_device to inputs and adding dependency on scatter 2020-12-11 17:47:19 +01:00
Rogge Niels 5299d57154 Fix multiple bugs including soft dependency and new structure of the library 2020-12-11 17:47:18 +01:00
Rogge Niels 450d9b93c4 First commit: adding all files from tapas_v3 2020-12-11 17:47:18 +01:00
Patrick von Platen 9cc9f4122e Make ProphetNetModel really compatible with EncoderDecoder (#9033)
* improve

* finish

* upload model

* fix lm head

* fix test
2020-12-11 16:59:54 +01:00
dependabot[bot] 24f6cdeab6 Bump notebook in /examples/research_projects/movement-pruning/lxmert (#9062)
Bumps [notebook](https://github.com/jupyter/jupyterhub) from 6.1.4 to 6.1.5.
- [Release notes](https://github.com/jupyter/jupyterhub/releases)
- [Changelog](https://github.com/jupyterhub/jupyterhub/blob/master/CHECKLIST-Release.md)
- [Commits](https://github.com/jupyter/jupyterhub/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 10:32:43 -05:00
Lysandre Debut 91fa707217 Remove docs only check (#9065) 2020-12-11 10:27:31 -05:00
Sylvain Gugger 70527ba694 Fix PreTrainedTokenizer.pad when first inputs are empty (#9018)
* Fix PreTrainedTokenizer.pad when first inputs are empty

* Handle empty inputs case
2020-12-11 10:25:00 -05:00
783d7d2629 Reorganize examples (#9010)
* Reorganize example folder

* Continue reorganization

* Change requirements for tests

* Final cleanup

* Finish regroup with tests all passing

* Copyright

* Requirements and readme

* Make a full link for the documentation

* Address review comments

* Apply suggestions from code review

Co-authored-by: Lysandre Debut <lysandre@huggingface.co>

* Add symlink

* Reorg again

* Apply suggestions from code review

Co-authored-by: Thomas Wolf <thomwolf@users.noreply.github.com>

* Adapt title

* Update to new strucutre

* Remove test

* Update READMEs

Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
Co-authored-by: Thomas Wolf <thomwolf@users.noreply.github.com>
2020-12-11 10:07:02 -05:00
Suraj Patil 86896de064 update tatoeba workflow (#9051) 2020-12-11 20:29:15 +05:30
Ganesh KharadandJulien Chaumond 7c8f5f6487 Create README.md (#8096)
* Create README.md

* Fix model card

Co-authored-by: Julien Chaumond <julien@huggingface.co>
2020-12-11 09:45:12 -05:00
RamonMamonandJulien Chaumond 5527f78721 Create README.md (#8281)
* Create README.md

* Update model_cards/kiri-ai/distiluse-base-multilingual-cased-et/README.md

Co-authored-by: Julien Chaumond <chaumond@gmail.com>
2020-12-11 09:41:29 -05:00
joanginesandJulien Chaumond c615df7422 Create README.md (#8751)
* Create README.md

* Update model_cards/Cinnamon/electra-small-japanese-generator/README.md

Co-authored-by: Julien Chaumond <chaumond@gmail.com>
2020-12-11 09:40:14 -05:00
76df559383 QARiB Arabic and dialects models (#8796)
* Add QARiB models

* fix README.md

* Fix README.md

* Fix README.md

* Fix README.md

* Fix QARiB files

* add models card for QARiB models 860k, 1790k, and 1970k

* try to fix PR

* re-add files

* links aren't allowed here :)

Co-authored-by: Ahmed Abdelali <aabdelali@hbku.edu.qa>
Co-authored-by: Julien Chaumond <julien@huggingface.co>
2020-12-11 09:38:38 -05:00
moniquebm b161f1ae54 Update README.md (#8820) 2020-12-11 09:24:21 -05:00
Panggi Libersa Jasri Akadol 649d389dab Initial README for t5-base-indonesian-summarization-cased model (#9028)
* Create README.md

Initial README for `t5-base-indonesian-summarization-cased` model

* Update README for t5-base-indonesian-summarization-cased

Typo in README, change from `small` to `base`
2020-12-11 09:18:16 -05:00
Panggi Libersa Jasri Akadol 5e794b6628 Create README.md (#9030)
Initial README for `t5-small-indonesian-summarization-cased` model
2020-12-11 09:17:29 -05:00
Cola 935e346959 🎨 Change nn.dropout to layer.Dropout (#9047) 2020-12-11 10:40:25 +01:00
Julien Plu b01ddc9577 Remove value error (#8985)
* Remove value error

* Try a fix for parameter ordering

* Restore previous behavior

* Add documentation

* Review the comment
2020-12-10 17:17:19 -05:00
NatLun137 91ab02af28 Fix typo #9012 (#1) (#9038)
There is a tiny typo in the code "transformers/examples/language-modeling/run_mlm_wwm.py" at line 284. [Details.](https://github.com/huggingface/transformers/issues/9012)
2020-12-10 16:41:00 -05:00
Sylvain Gugger 8d4bb02056 Refactor FLAX tests (#9034) 2020-12-10 15:57:39 -05:00
Sylvain Gugger 1310e1a758 Enforce all objects in the main init are documented (#9014) 2020-12-10 11:57:12 -05:00
Sylvain Gugger 51e81e5895 MPNet copyright files (#9015) 2020-12-10 09:29:38 -05:00
Sylvain Gugger 35bffd70e2 Fix documention of book in LayoutLM (#9017) 2020-12-10 09:28:49 -05:00