Sam Shleifer
566b083eb1
TFMarian, TFMbart, TFPegasus, TFBlenderbot ( #7987 )
...
* Start plumbing
* Marian close
* Small stubs for all children
* Fixed bart
* marian working
* pegasus test is good, but failing
* Checkin tests
* More model files
* Subtle marian, pegasus integration test failures
* Works well
* rm print
* boom boom
* Still failing model2doc
* merge master
* Equivalence test failing, all others fixed
* cleanup
* Fix embed_scale
* Cleanup marian pipeline test
* Undo extra changes
* Smaller delta
* Cleanup model testers
* undo delta
* fix tests import structure
* cross test decorator
* Cleaner set_weights
* Respect authorized_unexpected_keys
* No warnings
* No warnings
* style
* Nest tf import
* black
* Apply suggestions from code review
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
* functional dropout
* fixup
* Fixup
* style_doc
* embs
* shape list
* delete slow force_token_id_to_be_generated func
* fixup
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
2020-10-30 11:23:16 -04:00
Santiago Castro
6279072f5f
Fix typo: s/languaged/language/ ( #8165 )
2020-10-30 11:22:03 -04:00
Lysandre Debut
10f8c63620
Ci test tf super slow ( #8007 )
...
* Test TF GPU CI
* Change cache
* Fix missing torch requirement
* Fix some model tests
Style
* LXMERT
* MobileBERT
* Longformer skip test
* XLNet
* The rest of the tests
* RAG goes OOM in multi gpu setup
* YAML test files
* Last fixes
* Skip doctests
* Fill mask tests
* Yaml files
* Last test fix
* Style
* Update cache
* Change ONNX tests to slow + use tiny model
2020-10-30 10:25:48 -04:00
Nicolas Patry
7e36deec7a
Fixing some warnings in DeBerta ( #8176 )
...
* Fixing some warnings in DeBerta
* Fixing docs with their rewritten version.
2020-10-30 09:15:41 -04:00
Stas Bekman
0538820737
[CI] Better reports #2 ( #8163 )
2020-10-29 19:30:05 -04:00
wlhgtc
9a21b50614
Fix eval ref miss in Chinese WWM. ( #8115 )
...
* ADD: add whole word mask proxy for both eng and chinese
* MOD: adjust format
* MOD: reformat code
* MOD: update import
* MOD: fix bug
* MOD: add import
* MOD: fix bug
* MOD: decouple code and update readme
* MOD: reformat code
* Update examples/language-modeling/README.md
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update examples/language-modeling/README.md
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update examples/language-modeling/run_language_modeling.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update examples/language-modeling/run_language_modeling.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update examples/language-modeling/run_language_modeling.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update examples/language-modeling/run_language_modeling.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* change wwm to whole_word_mask
* reformat code
* reformat
* format
* Code quality
* ADD: update chinese ref readme
* MOD: small changes
* MOD: small changes2
* update readme
* fix eval ref file miss bug
* format file
* MOD: move ref code to contrib
* MOD: add delimeter check
* reformat code
* refomat code
* Update examples/language-modeling/README.md
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Sylvain Gugger <sylvain.gugger@gmail.com>
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
2020-10-29 17:08:39 -04:00
Santiago Castro
fdf893c441
Fix typo: indinces -> indices ( #8159 )
...
* Fix typo: indinces -> indices
* Fix some more
* Fix some more
* Fix some more
* Fix CI
2020-10-29 17:04:20 -04:00
Stas Bekman
c83cec44f8
improve error checking ( #8157 )
2020-10-29 14:05:24 -04:00
Sylvain Gugger
691176283d
Add a template for examples and apply it for mlm and plm examples ( #8153 )
...
* Add a template for example scripts and apply it to mlm
* Formatting
* Fix test
* Add plm script
* Add a template for example scripts and apply it to mlm
* Formatting
* Fix test
* Add plm script
* Add a template for example scripts and apply it to mlm
* Formatting
* Fix test
* Add plm script
* Styling
2020-10-29 13:38:11 -04:00
Sam Shleifer
49e4fece5c
[s2s] distillBART docs for paper replication ( #8150 )
2020-10-29 12:01:15 -04:00
Sylvain Gugger
acf56408d8
Smarter prediction loop and no- -> no_ in console args ( #8151 )
...
* Smarter prediction loop and no- -> no_ in console args
* Fix test
2020-10-29 10:56:25 -04:00
Sylvain Gugger
b0f1c0ee30
Document tokenizer_class in configurations ( #8152 )
2020-10-29 10:43:45 -04:00
Santiago Castro
969859d5f6
Fix doc errors and typos across the board ( #8139 )
...
* Fix doc errors and typos across the board
* Fix a typo
* Fix the CI
* Fix more typos
* Fix CI
* More fixes
* Fix CI
* More fixes
* More fixes
2020-10-29 10:33:33 -04:00
Ethan
4731a00c3e
Update widget examples. ( #8149 )
...
Co-authored-by: yantan <yantan@effyic.com>
2020-10-29 08:49:16 -04:00
dartrevan
238876068c
Update README.md ( #8090 )
2020-10-29 08:31:32 -04:00
Branden Chan
e566adc09c
Add model_cards ( #7969 )
...
* add readme
* add readmes
* Add metadata
2020-10-29 08:29:54 -04:00
dartrevan
cc8941d881
Create README.md ( #8089 )
2020-10-29 08:23:43 -04:00
dartrevan
234a6dc388
Create README.md ( #8088 )
...
* Create README.md
* metadata
Co-authored-by: Julien Chaumond <chaumond@gmail.com>
2020-10-29 08:23:30 -04:00
gurkan08
5d76859531
Create README.md ( #8075 )
...
* Create README.md
* Update model_cards/gurkan08/bert-turkish-text-classification/README.md
Co-authored-by: Julien Chaumond <chaumond@gmail.com>
2020-10-29 08:22:33 -04:00
Ethan
b215090eed
Add two model_cards: ethanyt/guwenbert-base and ethanyt/guwenbert-large ( #8041 )
2020-10-29 08:21:54 -04:00
Ashwani Tanwar
ba2ad3a98a
Model Card for Gujarati-XLM-R-Base ( #8038 )
...
* Add model card for Gujarati-XLM-R-Base
* Update README.md
Add the model card for the Gujarati-XLM-R-Base.
* Apply suggestions from code review
Co-authored-by: Julien Chaumond <chaumond@gmail.com>
2020-10-29 08:21:11 -04:00
Manuel Romero
52cea7de75
Create README.md ( #8017 )
2020-10-29 08:19:47 -04:00
Manuel Romero
ff82a2aa93
Create README.md ( #8015 )
2020-10-29 08:19:35 -04:00
Zhiqi Huang
0a3b9733cb
Add model_cards for DynaBERT ( #8012 )
...
* Update README.md
* Add dynabert_overview.png
* Update README.md
* Create README.md
* Add dynabert_overview.png
* Update README.md
* Update README.md
* Delete dynabert_overview.png
* Update README.md
* Delete dynabert_overview.png
* Update README.md
2020-10-29 08:19:17 -04:00
Patrick von Platen
afa21504b1
add tags ( #8147 )
2020-10-29 12:45:55 +01:00
Stas Bekman
825925dfaa
[s2s test] cleanup ( #8131 )
2020-10-28 16:50:36 -04:00
Santiago Castro
e477eb919f
Fix typo in AutoModelForMaskedLM
docs ( #8129 )
2020-10-28 15:52:28 -04:00
Sean Naren
5e24982e58
Upgrade PyTorch Lightning to 1.0.2 ( #7852 )
...
Co-authored-by: Sam Shleifer <sshleifer@gmail.com>
2020-10-28 14:59:14 -04:00
Lysandre Debut
1b6c8d4811
Update CI cache ( #8126 )
2020-10-28 13:59:43 -04:00
Sylvain Gugger
378142afdf
Rename add_start_docstrings_to_callable ( #8120 )
2020-10-28 13:42:31 -04:00
Sylvain Gugger
6241c873cd
Document the various LM Auto models ( #8118 )
2020-10-28 13:41:56 -04:00
Bram Vanroy
5193172f12
[DOC] Improve pipeline() docstrings for config and tokenizer ( #8123 )
...
* Improve pipeline() docstrings
* make style
* Update wording for config
2020-10-28 13:26:12 -04:00
Boris Dayma
b4cacb7a63
fix(trainer_callback]: typo ( #8121 )
2020-10-28 12:15:30 -04:00
Stas Bekman
5423f2a9d4
[testing] port test_trainer_distributed to distributed pytest + TestCasePlus enhancements ( #8107 )
...
* move the helper code into testing_utils
* port test_trainer_distributed to work with pytest
* improve docs
* simplify notes
* doc
* doc
* style
* doc
* further improvements
* torch might not be available
* real fix
* Apply suggestions from code review
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2020-10-28 11:51:32 -04:00
Sylvain Gugger
47dfa65b0c
New run_clm script ( #8105 )
...
* New run_clm script
* Formatting
* More comments
* Remove unused imports
* Apply suggestions from code review
Co-authored-by: Thomas Wolf <thomwolf@users.noreply.github.com>
* Address review comments
* Change link to the hub
Co-authored-by: Thomas Wolf <thomwolf@users.noreply.github.com>
2020-10-28 10:38:58 -04:00
Stas Bekman
8065fea870
[gh actions] run artifacts job always ( #8110 )
2020-10-28 01:45:19 -04:00
Sylvain Gugger
1e01db3579
Remove header
2020-10-27 17:36:13 -04:00
Sylvain Gugger
b715e40ced
Fix typo
2020-10-27 17:34:05 -04:00
Sylvain Gugger
41cc5f3f59
Move installation instructions to the top ( #8106 )
2020-10-27 17:32:20 -04:00
Joe Davison
556709ad92
rm multiclass option from model card
2020-10-27 17:11:43 -04:00
Sylvain Gugger
c5f3149f95
Adjust setup so that all extras run on Windows ( #8102 )
2020-10-27 14:39:49 -04:00
Davide Fiocco
995006eabb
Add AzureML in integrations via dedicated callback ( #8062 )
...
* first attempt to add AzureML callbacks
* func arg fix
* var name fix, but still won't fix error...
* fixing as in https://discuss.huggingface.co/t/how-to-integrate-an-azuremlcallback-for-logging-in-azure/1713/2
* Avoid lint check of azureml import
* black compliance
* Make isort happy
* Fix point typo in docs
* Add AzureML to Callbacks docs
* Attempt to make sphinx happy
* Format callback docs
* Make documentation style happy
* Make docs compliant to style
Co-authored-by: Davide Fiocco <davide.fiocco@frontiersin.net>
2020-10-27 14:21:54 -04:00
Lysandre Debut
a0906068cf
Fully remove codecov ( #8093 )
2020-10-27 14:14:13 -04:00
Joe Davison
3e58b6b7b8
infer entailment label id on zero shot pipeline ( #8059 )
...
* add entailment dim argument
* rename dim -> id
* fix last name change, style
* rm arg, auto-infer only
* typo
* rm superfluous import
2020-10-27 14:09:55 -04:00
Jason Wolosonovich
9fefdb0751
DEP: pinned sentencepiece to 0.1.91 in setup.py ( #8069 )
...
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
2020-10-27 14:09:31 -04:00
Stas Bekman
edd3721cd4
update/add setup targets ( #8076 )
2020-10-27 13:54:57 -04:00
Julien Chaumond
55bc0c599a
[model_cards] Switch to a more explicit domain for the media bucket
2020-10-27 18:08:05 +01:00
Harutaka Kawamura
7bff0af0a4
Fix a bug for CallbackHandler.callback_list
( #8052 )
...
* Fix callback_list
* Add test
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
* Fix test
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
2020-10-27 10:37:04 -04:00
Harutaka Kawamura
8e28c327fc
Fix assertion error message for MLflowCallback ( #8091 )
2020-10-27 10:34:51 -04:00
Sylvain Gugger
3220f21f14
Styling fix
2020-10-27 10:09:51 -04:00