- 10 Apr, 2020 3 commits
-
-
Julien Chaumond authored
* [examples] Generate argparsers from type hints on dataclasses * [HfArgumentParser] way simpler API * Restore run_language_modeling.py for easier diff * [HfArgumentParser] final tweaks from code review
-
Sam Shleifer authored
- support mbart-en-ro weights - add MBartTokenizer
-
Julien Chaumond authored
* Big cleanup of `glue_convert_examples_to_features` * Use batch_encode_plus * Cleaner wrapping of glue_convert_examples_to_features for TF @lysandrejik * Cleanup syntax, thanks to @mfuntowicz * Raise explicit error in case of user error
-
- 09 Apr, 2020 5 commits
-
-
Patrick von Platen authored
* initial commit to add decoder caching for T5 * better naming for caching * finish T5 decoder caching * correct test * added extensive past testing for T5 * clean files * make tests cleaner * improve docstring * improve docstring * better reorder cache * make style * Update src/transformers/modeling_t5.py Co-Authored-By:
Yacine Jernite <yjernite@users.noreply.github.com> * make set output past work for all layers * improve docstring * improve docstring Co-authored-by:
Yacine Jernite <yjernite@users.noreply.github.com>
-
calpt authored
-
Julien Chaumond authored
-
LysandreJik authored
cc @julien-c
-
Teven authored
-
- 08 Apr, 2020 6 commits
-
-
Lysandre Debut authored
* Updating modeling tf files; adding tests * Merge `encode_plus` and `batch_encode_plus`
-
LysandreJik authored
-
Julien Chaumond authored
-
Seyone Chithrananda authored
* created readme.md * update readme with fixes Fixes from PR comments
-
Lorenzo Ampil authored
-
- 07 Apr, 2020 8 commits
-
-
Sam Shleifer authored
-
Sam Shleifer authored
-
Patrick von Platen authored
* fix egde gase for bert tokenization * add Lysandres comments for improvement * use new is_pretokenized_flag
-
Patrick von Platen authored
* improve and add features to benchmark utils * update benchmark style * remove output files
-
Michael Pang authored
* Optimize causal mask using torch.where Instead of multiplying by 1.0 float mask, use torch.where with a bool mask for increased performance. * Maintain compatiblity with torch 1.0.0 - thanks for PR feedback * Fix typo * reformat line for CI
-
Sam Shleifer authored
-
Myle Ott authored
-
Julien Chaumond authored
Close #3639 + spurious warning mentioned in #3227 cc @lysandrejik @thomwolf
-
- 06 Apr, 2020 18 commits
-
-
Teven authored
Co-authored-by:TevenLeScao <teven.lescao@gmail.com>
-
Funtowicz Morgan authored
* Renamed num_added_tokens to num_special_tokens_to_add Signed-off-by:
Morgan Funtowicz <morgan@huggingface.co> * Cherry-Pick: Partially fix space only input without special tokens added to the output #3091 Signed-off-by:
Morgan Funtowicz <morgan@huggingface.co> * Added property is_fast on PretrainedTokenizer and PretrainedTokenizerFast Signed-off-by:
Morgan Funtowicz <morgan@huggingface.co> * Make fast tokenizers unittests work on Windows. * Entirely refactored unittest for tokenizers fast. * Remove ABC class for CommonFastTokenizerTest * Added embeded_special_tokens tests from allenai @dirkgr * Make embeded_special_tokens tests from allenai more generic * Uniformize vocab_size as a property for both Fast and normal tokenizers * Move special tokens handling out of PretrainedTokenizer (SpecialTokensMixin) * Ensure providing None input raise the same ValueError than Python tokenizer + tests. * Fix invalid input for assert_padding when test...
-
Ethan Perez authored
* Fix RoBERTa/XLNet Pad Token in run_multiple_choice.py `convert_examples_to_fes atures` sets `pad_token=0` by default, which is correct for BERT but incorrect for RoBERTa (`pad_token=1`) and XLNet (`pad_token=5`). I think the other arguments to `convert_examples_to_features` are correct, but it might be helpful if someone checked who is more familiar with this part of the codebase. * Simplifying change to match recent commits
-
ktrapeznikov authored
-
Manuel Romero authored
-
Manuel Romero authored
-
Manuel Romero authored
-
Manuel Romero authored
* Add model card * Fix model name in fine-tuning script
-
Manuel Romero authored
* Create model card * Fix model name in fine-tuning script
-
Manuel Romero authored
-
MichalMalyska authored
-
jjacampos authored
* Add model card for BERTeus * Update README
-
Suchin authored
* added model card * updated README * updated README * updated README * added evals * removed pico eval * Tweaks Co-authored-by:Julien Chaumond <chaumond@gmail.com>
-
Lysandre Debut authored
* Update notebooks * From local to global link * from local links to *actual* global links
-
Julien Chaumond authored
Co-Authored-By:
Kevin Clark <clarkkev@users.noreply.github.com> Co-Authored-By:
Lysandre Debut <lysandre.debut@reseau.eseo.fr>
-
LysandreJik authored
-
LysandreJik authored
-
LysandreJik authored
-