- 23 Mar, 2022 11 commits
-
-
Sylvain Gugger authored
* Make Transformers use cache files when hf.co is down * Fix tests * Was there a random circleCI failure? * Isolate patches * Style * Comment out the failure since it doesn't fail anymore * Better comment
-
OllieBroadhurst authored
* Swap inequalities * Update src/transformers/trainer_callback.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Update src/transformers/trainer_callback.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Joao Gante authored
* revert tf gpt2 * add test for unpack_inputs and fix test case * add changes to vision encoder decoder
-
Sylvain Gugger authored
-
João Gustavo A. Amorim authored
-
Rishav Chandra Varma authored
* added type hints for mbart tensorflow tf implementation * Adding missing type hints for mBART model Tensorflow Implementation model added with missing type hints * Missing Type hints - correction For TF model * Code fixup using make quality tests * Hint types - typo error * make fix-copies and make fixup * type hints * updated files Co-authored-by:matt <rocketknight1@gmail.com>
-
OllieBroadhurst authored
* Initial commit * Reversed signs, adjusted log entery. * Check only when * Cleanup checks * Only trigger if we want to eval * Run * Move changes to callback
-
Patrick von Platen authored
* [FlaxBart] make sure no grads are computed an bias * correct all other seq2seq models
-
Sylvain Gugger authored
* Split file_utils in several submodules * Fixes * Add back more objects * More fixes * Who exactly decided to import that from there? * Second suggestion to code with code review * Revert wront move * Fix imports * Adapt all imports * Adapt all imports everywhere * Revert this import, will fix in a separate commit
-
Patrick von Platen authored
* [T5] Add bash download script * up * up * up * Update src/transformers/models/t5/download_from_gcp.sh
-
Lysandre Debut authored
* Updates the default branch from master to main * Links from `master` to `main` * Typo * Update examples/flax/README.md Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
- 22 Mar, 2022 13 commits
-
-
Steven Liu authored
*
✨ refactor code samples with framework-specific blocks *✨ update training.mdx *🖍 apply feedback -
Omar Sanseviero authored
-
Patrick von Platen authored
-
Jacob Dineen authored
* undo black autoformat * minor fix to rembert forward with default * make fix-copies, make quality * Adding types to template model * Removing List from the template types * Remove `Optional` from a couple of types that don't accept `None` Co-authored-by:matt <rocketknight1@gmail.com>
-
Francesco Saverio Zuppichini authored
-
Clémentine Fourrier authored
* Added type hinting for forward functions in pytorch marian * typo correction * Removed type hints on functions from BART per Suraj Patil request * fix import pb * fix typo * corrected tuple call * ran black * after fix-copies Some optional tags on primitives were removed, past_key_values in MarianForCausalLM changed from Tuple of Tuple to List * Fixing copies to roformer and pegasus Co-authored-by:
Clementine Fourrier <cfourrie@inria.fr> Co-authored-by:
matt <rocketknight1@gmail.com>
-
NielsRogge authored
* Add link to notebook * Add link * Fix bug Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
Dan Tegzes authored
-
Adam Montgomerie authored
* add pt funnel type hints * add tf funnel type hints
-
Dan Tegzes authored
-
Beomseok Lee authored
* Fix bugs for argument typo and positional embedding weight loading * Reflect code review suggestion to cover different missing keys cases
-
Suraj Patil authored
* add xglm conversion script * style * update script
-
NielsRogge authored
* First draft * Fix logits calculation * Improve tests * Add copied from statements * Fix base_model_prefix * Improve implementation, upload new models * Update design * Fix integration test * Add model to README and toctree * Add document image * Apply suggestions from code review * Apply suggestions from code review Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Add decoder_hidden_size attribute * Update design of decoder * Add DepthEstimatorOutput class * Rename in_index to head_in_index and add feature extractor tests * Apply suggestions from code review * Apply suggestions from code review * Update pretrained model name and add to doc tests * Remove test.py script * Update copied from statements and clean up Co-authored-by:
Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
- 21 Mar, 2022 16 commits
-
-
Johnny Greco authored
* Add type annotations for TF Longformer * Update docstring data types to include numpy array * Implement unpack_inputs decorator * fixup after decorator updates * Numpy array -> np.ndarray in docstring Co-authored-by:Johnny Greco <johnny.greco@radpartners.com>
-
Thomas Chaigneau authored
* Add Flaubert to ONNX to make it available for conversion. * Fixed features for FlauBERT. fixup command remove flaubert to docs list. Co-authored-by:ChainYo <t.chaigneau.tc@gmail.com>
-
Joao Gante authored
-
Gunjan Chhablani authored
-
ivanllt authored
-
Anton Lozhkov authored
* update results * per-language metrics * Format the per-language metrics
-
Gunjan Chhablani authored
* Indent Seq2Seq Train Args docs * Add Args keyword to Seq2Seq Train Args docs
-
Johnny Greco authored
-
Suraj Patil authored
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Steven Liu authored
*
📝 first draft *🖍 apply feedback -
NielsRogge authored
* Remove unused attributes * Add link to blog and add clarification about input size * Improve readability of the code Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
Suraj Patil authored
-
Yi Heng Lim authored
* Added type hints for PyTorch T5 model * removed a type hint * ran make style
-
Christopher Akiki authored
* Add typing hints for base model class * Add typing hints for causal LM model class * Add typing hints for double heads model class * Add typing hints for sequence classification model class * Add typing hints for Main Layer * Run fixup
-
Francesco Saverio Zuppichini authored
-