- 07 Jul, 2021 10 commits
-
-
Sylvain Gugger authored
* Double check for attribute * Use right name
-
Michal Szutenberg authored
It was used in shift_right. After this change TF code is more similar to Pytorch implementations Also, TF graphs are optimized (one node less)
-
Matt authored
Adding prepare_decoder_input_ids_from_labels methods to all ConditionalGeneration TF models (#12560)
-
Nicolas Patry authored
* Adding support for `pipeline("automatic-speech-recognition")`. - Ugly `"config"` choice for AutoModel. It would be great to have the possibility to have something like `AutoModelFor` that would implement the same logic (Load the config, check Architectures and load the first one) * Remove `model_id` was not needed in the end. * Rebased ! * Remove old code. * Rename `nlp`. -
Patrick von Platen authored
* fix_torch_device_generate_test * remove @ * finish
-
Souvic Chakraborty authored
* Validation split percentage to be used for custom data files also Issue same as https://github.com/huggingface/transformers/issues/12406 fixed for pytorch branch run_mlm.py * Validation split added in the right place * Update run_clm.py * validation split added for custom files * Validation split added for custom files * Update run_plm.py * fixed validation split for custom files as input for pytorch examples in lm * Update run_clm_no_trainer.py * args modified
-
shabie authored
-
Kevin Canwen Xu authored
-
Daniel Stancl authored
* Copy BART to MBart and rename some stuff * Add copy statements pointing to FlaxBart * Update/add some common files * Update shift_tokens_rigth + fix imports * Fix shift_tokens_right method according to MBart implementation * Update shift_tokens_right in tests accordingly * Fix the import issue and update docs file * make style quality * Do some minor changes according to patil-suraj suggestions * Change the order of normalization layer and attention * Add some copu statementes * Update generate method and add integration test for mBart * Make a few updates after a review Besides, add `lang_code_to_id` to MBartTokenizeFast * fix-copies; make style quality * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review * fix output type, style * add copied from * resolve conflicts Co-authored-by:Suraj Patil <surajp815@gmail.com>
-
Suraj Patil authored
* add adafactor * Update examples/flax/language-modeling/run_mlm_flax.py Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
- 06 Jul, 2021 9 commits
-
-
Patrick von Platen authored
* fix_torch_device_generate_test * remove @ * up * up * correct * upload Co-authored-by:Patrick von Platen <patrick@huggingface.co>
-
Lysandre authored
-
sadakmed authored
* implementing tflxmertmodel integration test * move import * revert and fix
-
SaulLu authored
-
Patrick von Platen authored
-
Suzana Ili膰 authored
-
Suraj Patil authored
* flax gpt neo * fix query scaling * update generation test * use flax model for test
-
yujun authored
* add RoFormerTokenizerFast into AutoTokenizer * fix typo in roformer docs * make onnx export happy * update RoFormerConfig embedding_size * use jieba not rjieba * fix 12244 and make test_alignement passed * update ARCHIVE_MAP * make style & quality & fixup * update * make style & quality & fixup * make style quality fixup * update * suggestion from LysandreJik Co-authored-by:
Lysandre Debut <lysandre@huggingface.co> * make style * use rjieba Co-authored-by:
Lysandre Debut <lysandre@huggingface.co>
-
Suraj Patil authored
* fix saving and loading * update readme
-
- 05 Jul, 2021 12 commits
-
-
Patrick von Platen authored
* fix_torch_device_generate_test * remove @ * adapt flax pretrain script
-
Patrick von Platen authored
* fix_torch_device_generate_test * remove @ * up
-
Patrick von Platen authored
* fix_torch_device_generate_test * remove @ * push
-
Patrick von Platen authored
* fix_torch_device_generate_test * remove @ * add logging steps * correct training scripts * correct readme * correct
-
Matt authored
* NER example for Tensorflow * Style pass * Style pass * Added metric computation on the evaluation set * Style pass * Fixed label masking * Style pass * Style pass
-
Patrick von Platen authored
* fix_torch_device_generate_test * remove @ * upload * finish dataset streaming * adapt readme * finish * up * up * up * up * Apply suggestions from code review * finish * make style * make style2 * finish Co-authored-by:Patrick von Platen <patrick@huggingface.co>
-
Navjot authored
-
Suraj Patil authored
* begin script * clean example, add readme * update readme * remove decay mask * remove masking * update readme & make flake happy
-
Akmal authored
-
sadakmed authored
* create LxmertModelIntegrationTest * implementation using numpy seeding to fix inputs params. * fix code quality * isort check
-
Suraj Patil authored
* clip style example * fix post init * add requirements * update readme, few small fixes
-
Lysandre Debut authored
-
- 04 Jul, 2021 1 commit
-
-
Patrick von Platen authored
-
- 02 Jul, 2021 7 commits
-
-
Omar Sanseviero authored
-
Patrick von Platen authored
-
Patrick von Platen authored
-
Patrick von Platen authored
Thanks a lot @BirgerMoell
-
Lysandre Debut authored
-
Matthew LeMay authored
-
Sylvain Gugger authored
-
- 01 Jul, 2021 1 commit
-
-
Stas Bekman authored
* fix lm_head.decoder.weight ignore_key handling * fix the mutable class variable * Update src/transformers/models/roberta/modeling_roberta.py Co-authored-by:
Lysandre Debut <lysandre@huggingface.co> * replicate the comment * make deterministic Co-authored-by:
Lysandre Debut <lysandre@huggingface.co>
-