- 01 Jul, 2020 13 commits
-
-
Patrick von Platen authored
-
Patrick von Platen authored
* refactor naming * add small slow test * refactor * refactor naming * rename selected to extra * big global attention refactor * make style * refactor naming * save intermed * refactor functions * finish function refactor * fix tests * fix longformer * fix longformer * fix longformer * fix all tests but one * finish longformer * address sams and izs comments * fix transpose
-
Sam Shleifer authored
-
Funtowicz Morgan authored
* Added PipelineException Signed-off-by:
Morgan Funtowicz <funtowiczmo@gmail.com> * fill-mask pipeline raises exception when more than one mask_token detected. Signed-off-by:
Morgan Funtowicz <funtowiczmo@gmail.com> * Put everything in a function. Signed-off-by:
Morgan Funtowicz <funtowiczmo@gmail.com> * Added tests on pipeline fill-mask when input has != 1 mask_token Signed-off-by:
Morgan Funtowicz <funtowiczmo@gmail.com> * Fix numel() computation for TF Signed-off-by:
Morgan Funtowicz <funtowiczmo@gmail.com> * Addressing PR comments. Signed-off-by:
Morgan Funtowicz <funtowiczmo@gmail.com> * Remove function typing to avoid import on specific framework. Signed-off-by:
Morgan Funtowicz <funtowiczmo@gmail.com> * Quality. Signed-off-by:
Morgan Funtowicz <funtowiczmo@gmail.com> * Retry typing with @julien-c tip. Signed-off-by:
Morgan Funtowicz <funtowiczmo@gmail.com> * Quality虏. Signed-off-by:
Morgan Funtowicz <funtowiczmo@gmail.com> * Simplify fill-mask mask_token checking. Signed-off-by:
Morgan Funtowicz <funtowiczmo@gmail.com> * Trigger CI
-
Sylvain Gugger authored
* Trigger CI * Fix dropdown bug in searches
-
Sylvain Gugger authored
* Cleanup and unify Trainer/TFTrainer * Forgot to adapt TFTrainingArgs * In tf scripts n_gpu -> n_replicas * Update src/transformers/training_args.py Co-authored-by:
Lysandre Debut <lysandre@huggingface.co> * Address review comments * Formatting * Fix typo Co-authored-by:
Lysandre Debut <lysandre@huggingface.co>
-
Sam Shleifer authored
-
Sam Shleifer authored
-
sgugger authored
-
Sylvain Gugger authored
* Add support for past states * Style and forgotten self * You mean, documenting is not enough? I have to actually add it too? * Add memory support during evaluation * Fix tests in eval and add TF support * No need to change this line anymore
-
Sylvain Gugger authored
-
Moseli Motsoehli authored
* Create README.md * Update model_cards/MoseliMotsoehli/TswanaBert/README.md Co-authored-by:Julien Chaumond <chaumond@gmail.com>
-
Jay authored
-
- 30 Jun, 2020 18 commits
-
-
Julien Plu authored
* fix TensorFlow generator * Better features handling * Apply style * Apply style * Fix squad as well * Apply style * Better factorization of TF Tensors creation
-
Hong Xu authored
Otherwise, if label is not specified, the following error occurs: Traceback (most recent call last): File "run_ner.py", line 303, in <module> main() File "run_ner.py", line 101, in main model_args, data_args, training_args = parser.parse_json_file(json_file=os.path.abspath(sys.argv[1])) File "/home/user/anaconda3/envs/bert/lib/python3.7/site-packages/transformers/hf_argparser.py", line 159, in parse_json_file obj = dtype(**inputs) TypeError: __init__() missing 1 required positional argument: 'labels'
-
Sam Shleifer authored
-
Sam Shleifer authored
-
Sam Shleifer authored
-
Sam Shleifer authored
-
Sam Shleifer authored
-
Sam Shleifer authored
-
Sylvain Gugger authored
* Documentation for the Trainer API * Address review comments * Address comments
-
Yacine Jernite authored
* separate_generation_code * isort * renamed * rename_files * move_shapelit
-
Lysandre authored
-
Sylvain Gugger authored
* How to share model cards * Switch the two options * Fix bad copy/cut * Julien's suggestion
-
Kevin Canwen Xu authored
-
Manuel Romero authored
- Fix missing ```-``` in language meta - T5 pic uploaded to a more permanent place
-
Manuel Romero authored
- T5 pic uploaded to a more permanent place
-
Manuel Romero authored
- Model pic uploaded to a more permanent place
-
Manuel Romero authored
- Fix missing ```-``` in language meta - T5 pic uploaded to a more permanent place
-
MichaelJanz authored
* Fix the bug 'Attempted relative import with no known parent package' when using the bertabs example. Also change the used model from bertabs-finetuned-cnndm, since it seems not be accessible anymore * Update run_summarization.py Co-authored-by:Kevin Canwen Xu <canwenxu@126.com>
-
- 29 Jun, 2020 9 commits
-
-
Sylvain Gugger authored
* Mention openAI model card and merge content * Fix sentence
-
chrisliu authored
* Merge upstream * Merge upstream * Add generate.py link * Merge upstream * Merge upstream * Fix folder name
-
chrisliu authored
* Merge upstream * Merge upstream * Add generate.py link
-
Lysandre Debut authored
* Doc for v3.0.0 * Update docs/source/_static/js/custom.js Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Update docs/source/_static/js/custom.js Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Lysandre authored
-
Sam Shleifer authored
-
Patrick von Platen authored
* first doc version * add benchmark docs * fix typos * improve README * Update docs/source/benchmarks.rst Co-authored-by:
Lysandre Debut <lysandre@huggingface.co> * fix naming and docs Co-authored-by:
Lysandre Debut <lysandre@huggingface.co>
-
Sylvain Gugger authored
-
Clement authored
-