J.P Lee
2b60a26b46
Update examples/ner/run_ner.py to use AutoModel ( #3305 )
...
* Update examples/ner/run_ner.py to use AutoModel
* Fix missing code and apply `make style` command
2020-03-17 12:30:10 -04:00
Manuel Romero
e41212c715
Create model card for CodeBERTaPy ( #3309 )
2020-03-17 12:29:11 -04:00
Julien Chaumond
0f1bc0d68e
[model_cards] Add google thumbnail
2020-03-17 12:02:51 -04:00
Nathan Raw
930c9412b4
[WIP] Lightning glue example ( #3290 )
...
* ✨ Alter base pl transformer to use automodels
* 🐛 Add batch size env variable to function call
* 💄 Apply black code style from Makefile
* 🚚 Move lightning base out of ner directory
* ✨ Add lightning glue example
* 💄 self
* move _feature_file to base class
* ✨ Move eval logging to custom callback
* 💄 Apply black code style
* 🐛 Add parent to pythonpath, remove copy command
* 🐛 Add missing max_length kwarg
2020-03-17 11:46:42 -04:00
Patrick von Platen
e8f44af5bf
[generate] do_sample default back to False ( #3298 )
...
* change do_samples back
* None better default as boolean
* adapt do_sample to True in test example
* make style
2020-03-17 10:52:37 -04:00
Thomas Wolf
2187c49f5c
CPU/GPU memory benchmarking utilities - Remove support for python 3.5 (now only 3.6+) ( #3186 )
...
* memory benchmark rss
* have both forward pass and line-by-line mem tracing
* cleaned up tracing
* refactored and cleaning up API
* no f-strings yet...
* add GPU mem logging
* fix GPU memory monitoring
* style and quality
* clean up and doc
* update with comments
* Switching to python 3.6+
* fix quality
2020-03-17 10:17:11 -04:00
Jannes
bd3feddf67
Create README.md ( #3306 )
...
* Create README.md
* Updated README.md
2020-03-17 09:05:11 -04:00
Julien Chaumond
68ef0a111f
[model_cards] Symlink all Google AI's BERT Miniatures to source model card
2020-03-16 23:37:42 -04:00
Sam Shleifer
b2c1a447fe
[BART] Delete redundant unit test ( #3302 )
2020-03-16 23:09:10 -04:00
iuliaturc-google
b2028cc26b
Add model card for Google AI's BERT Miniatures ( #3301 )
...
This model card is intended to be shared among all models under google/bert_uncased_*
(We'll need some support from HuggingFace to get this card cross-linked from all models)
2020-03-16 21:51:46 -04:00
Patrick von Platen
4759176313
add camembert for Question answering for examples
2020-03-16 14:42:11 -04:00
Sam Shleifer
11573231c6
[BART] generation_mode as a kwarg not a class attribute ( #3278 )
2020-03-16 12:47:53 -04:00
Manuel Romero
de697935a2
Create model card for spanbert-finetuned-squadv2
2020-03-16 12:32:46 -04:00
Manuel Romero
3ddd2029bc
Create CodeBERTaJS model card
2020-03-16 12:23:01 -04:00
Julien Plu
879e1d3234
Add TF2 version of FlauBERT ( #2700 )
...
* Add TF2 version of FlauBERT
* Add TF2 version of FlauBERT
* Add documentation
* Apply style and quality
* Apply style once again
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
2020-03-16 09:29:21 -04:00
Patrick von Platen
af471ce5e8
Improved Error message when loading config/model with .from_pretrained() ( #3247 )
...
* better error message
* better error message
* update to model identifier instead of url
* update to model identifier instead of ur
2020-03-16 09:48:30 +01:00
Sam Shleifer
5ea8ba67b4
[BART] Remove unused kwargs ( #3279 )
...
* Remove unused kwargs
* dont call forward in tests
2020-03-15 23:00:44 -04:00
Thomas Wolf
3814e167d9
Merge pull request #3225 from patrickvonplaten/finalize_merge_bart_generate_into_default_generate
...
Complete merge Seq-2-Seq generation into default generation
2020-03-14 15:08:59 +01:00
Sam Shleifer
2bd79e23de
[BART] FP16 testing fixes ( #3266 )
2020-03-13 19:48:26 -04:00
Julien Chaumond
8320feec09
[model_cards] CodeBERTa
2020-03-13 18:28:09 -04:00
Patrick von Platen
ab756f713c
add gpt2-xl for tf
2020-03-13 16:40:35 -04:00
Patrick von Platen
4f75d380a4
make style
2020-03-13 16:35:52 +01:00
Patrick von Platen
c2ee3840ae
update file to new starting token logic
2020-03-13 16:34:44 +01:00
Benjamin Muller
cc4c37952a
Create camembert-base-README.md
2020-03-13 09:35:53 -04:00
dependabot[bot]
afea70c01c
Bump psutil from 5.6.3 to 5.6.6 in /examples/distillation
...
Bumps [psutil](https://github.com/giampaolo/psutil ) from 5.6.3 to 5.6.6.
- [Release notes](https://github.com/giampaolo/psutil/releases )
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst )
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.6.3...release-5.6.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-03-12 21:14:56 -04:00
Sam Shleifer
087465b943
add BART to README ( #3255 )
2020-03-12 19:38:05 -04:00
Patrick von Platen
6a82f774f2
fix typo
2020-03-12 21:10:51 +01:00
Patrick von Platen
f1c71da115
fix eos_token_ids in test
2020-03-12 21:00:54 +01:00
Patrick von Platen
6047f46b19
re-add eos token to get good bart results
2020-03-12 20:17:50 +01:00
Patrick von Platen
c11160114a
small clean-up
2020-03-12 20:02:35 +01:00
Sam Shleifer
2e81b9d8d7
Bart: update example for #3140 compatibility ( #3233 )
...
* Update bart example docs
2020-03-12 10:36:37 -04:00
Julien Chaumond
72768b6b9c
[model_cards] polbert: simplify usage example with pipelines
...
Co-Authored-By: Darek Kłeczek <darek.kleczek@gmail.com>
2020-03-12 10:05:40 -04:00
Julien Chaumond
a4c75f1492
[ci] last resort
2020-03-11 19:11:19 -04:00
Julien Chaumond
824e320d96
[ci] Fixup c6cf925
2020-03-11 18:52:10 -04:00
Julien Chaumond
c6cf925ff8
[ci] last resort
...
while looking for fix to https://twitter.com/julien_c/status/1237864185821708291
2020-03-11 18:49:19 -04:00
Stefan Schweter
14e455b716
[model_cards] 🇹🇷 Add new (cased) DistilBERTurk model
2020-03-11 18:40:38 -04:00
Emily Alsentzer
f65f74bbce
Create README.md ( #3230 )
2020-03-11 12:37:00 -04:00
Emily Alsentzer
324292cfc7
Add Bio+ Clinical BERT model card ( #3229 )
...
* Create README.md
* Update README.md
2020-03-11 12:36:33 -04:00
Julien Chaumond
e43afb1bb8
[model_cards] DialoGPT: How to use + thumbnail + conversational tag
...
cc @dreasysnail
Co-Authored-By: Patrick von Platen <patrick.v.platen@gmail.com>
2020-03-11 11:36:47 -04:00
Julien Chaumond
5085df995f
[model_cards] PolBERT tweaks
2020-03-11 09:29:22 -04:00
Darek Kłeczek
19a63d8245
Create Readme.md model card ( #3221 )
2020-03-11 09:12:48 -04:00
Yizhe
dc848c2994
Create README.md
2020-03-11 09:10:57 -04:00
Yizhe
6ad221daf3
Create README.md
2020-03-11 09:10:23 -04:00
Yizhe
735180aa14
Create README.md
2020-03-11 09:10:13 -04:00
Manuel Romero
6c61c0801e
Create README.md
2020-03-11 09:03:30 -04:00
Manuel Romero
235616686a
Update README.md
...
- Update title
- Remove metrics
2020-03-11 09:03:20 -04:00
Manuel Romero
5bb00c817f
Update README.md
...
Change title to clarify the model description
2020-03-11 09:03:07 -04:00
Manuel Romero
601e424750
Update README.md
2020-03-11 09:02:56 -04:00
Manuel Romero
1b9e765b21
Update README.md
...
- Remove metrics until tested on other xquad benchmarks
2020-03-11 09:02:18 -04:00
Thomas Wolf
db29ffc978
Merge pull request #3140 from patrickvonplaten/merge_bart_generate_into_default_generate
...
Merge bart generate into default generate
2020-03-11 13:21:53 +01:00