- 15 Mar, 2022 13 commits
-
-
Minh Chien Vu authored
Co-authored-by:ChienVM <chien_vm@detomo.co.jp>
-
Kamal Raj authored
-
Matt authored
* First attempt at TF XLA generation * Fix comments * Update XLA greedy generate with direct XLA calls * Support attention mask, prepare_inputs_for_generation no longer hardcoded for greedy * Handle position_ids correctly * make xla generate work for non xla case * force using xla generate * refactor * more fixes * finish cleaning * finish * finish * clean gpt2 tests * add gpt2 tests * correct more cases * up * finish * finish * more fixes * flake 8 stuff * final rag fix * Update src/transformers/models/rag/modeling_tf_rag.py * finish t5 as well * finish * Update src/transformers/generation_utils.py Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Yih-Dar authored
* fix 2 pytorch vilt docstring examples * add vilt to doctest list file * remove device Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Markus Sagen authored
* Fix inconsistent example variable naming - Example code for a sequence classification in Tensorflow had spelling mistakes and incorrect and inconsistent naming - Changed variable naming to be consistent with the two other TF examples * Fix incorrect incorrect training examples
-
Sylvain Gugger authored
* Use tempaltes for all doc building jobs * Add this branch to the doc build * Switch to main branch
-
Daniel Espejel authored
* Added spanish translation of quicktour.mdx * Suggestions applied in the revision of the translation Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com>
-
Ahmed Elnaggar authored
* Configurable Relative Position Max. Distance * fix missing config Co-authored-by:ahmed-elnaggar <ahmed.elnaggar@allianz.com>
-
marxav authored
-
Patrick von Platen authored
-
Pavel Belevich authored
-
NielsRogge authored
* Add Swin2Bart test * Fix swin tests Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
Francesco Saverio Zuppichini authored
* encoder works * addded files * norm in stage * convertion script * tests * fix copies * make fix-copies * fixed __init__ * make fix-copies * fix * shapiro test needed * make fix-copie * minor changes * make style + quality * minor refactor conversion script * rebase + tests * removed unused variables * updated doc * toctree * CI * doc * Apply suggestions from code review Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * resolved conversations * make fixup * config passed to modules * config passed to modules * Apply suggestions from code review Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * conversations * conversations * copyrights * normal test * tests Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com>
-
- 14 Mar, 2022 27 commits
-
-
Dan Tegzes authored
* Add type hints for SqueezeBert PyTorch * Add type hints for GPTNeo PyTorch * style fixes * chenged List with Tuple
-
Francesco Saverio Zuppichini authored
* first commit * ResNet model correctly implemented. basic modeling + weights conversion is done removed unused doc mdx file doc and conversion script added feature_extractor to auto test minor changes + style + quality doc test Delete process.yml A left over from my attempt of running circleci locally * minor changes * Apply suggestions from code review Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * new test format * minor changes from conversations * minor changes from conversations * make style + quality * readded the tests * test + README * minor changes from conversations * error in README * make fix-copies * removed regression for classification head * make quality * fixed loss control flow * fixed loss control flow * resolved conversations * Apply suggestions from code review Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * READMEs * index.mdx * minor changes * updated tests and models * unused import * outputs * Update docs/source/model_doc/resnet.mdx Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * added embeddings_size * Apply suggestions from code review Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * conversation * added push to hub * test * embedding_size * make fix-copies * resolved conversations * CI * changed organization * minor changes * CI * minor changes * conversations * conversation * doc * tests * removed unused docstring * conversation * removed unused outputs * CI Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com>
-
Kamal Raj authored
-
Joydeep Bhattacharjee authored
-
Sylvain Gugger authored
-
Martin Pan authored
-
Jacob Dineen authored
* clip typhinting #16059 * removed optional type annotations for dataclass in CLIPOutput * type annotation fixes per Rocket - Clip Torch
-
Lysandre Debut authored
* Runtime -> Devel * Torch before DeepSpeed
-
Kamal Raj authored
* Add missing type hints - ELECTRA TF * bool -> Optional[bool]
-
Dan Tegzes authored
* Add type hints for SqueezeBert PyTorch * fixed unused List err * style fixes
-
Hyeonsoo Lee authored
-
Bhavika Tekwani authored
* Add type hints for LukeModel * Add type hints for entitypairclassification * Remove blank space Co-authored-by:bhavika <bhavika@debian-BULLSEYE-live-builder-AMD64>
-
Michael Benayoun authored
* Can choose framework for ONNX export * Fix docstring
-
Pepijn Boers authored
* Add type hints for TFDistilBert * Update src/transformers/models/distilbert/modeling_tf_distilbert.py Co-authored-by:Matt <Rocketknight1@users.noreply.github.com>
-
Bhavika Tekwani authored
* First pass * Fixup * Fix broken tests * Make unpack_inputs the first decorator
-
Bhavika Tekwani authored
* Replace input_processing * move unpack_inputs
-
Yih-Dar authored
* Fix checkpoint name in docstring example Co-authored-by:
ydshieh <ydshieh@users.noreply.github.com> Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
Kamal Raj authored
-
Kamal Raj authored
-
Yhary Arias authored
* Spanish translation of the file training.mdx * Settings - Spanish translation of the file training.mdx * Latest changes to the Spanish translation of the training.mdx file * Delete Hugging.mdx * Last changes to the training fil Espanish version * Latest modifications * Latest changes, document ready for PR * Nits Co-authored-by:
Yhary Arias <yharystefa@gmail.com> Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com>
-
NielsRogge authored
Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
Merve Noyan authored
-
Minh Chien Vu authored
* Change unpacking of TF mobilebert inputs to use decorator * Move unpack_inputs as the top decorator * make fixup Co-authored-by:ChienVM <chien_vm@detomo.co.jp>
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Yih-Dar authored
* Make TF pt-tf equivalence test more aggressive * Fix for TFConvNextModelTest and TFTransfoXLModelTest * fix kwargs for outputs * clean-up * Add docstring for check_outputs() * remove: need to rename encoder-decoder * clean-up * send PyTorch things to the correct device * Add back the accidentally removed test case in test_pt_tf_model_equivalence() * Fix: change to tuple before calling check_outputs() * Fix: tfo could be a list * use to_tuple() * allow tfo only to be tuple or tensor * allow tfo to be list or tuple for now + style change * minor fix * remove np.copy and update comments * tfo -> tf_output, same for pt * Add more detailed comment * remove the incorrect comment Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
tiedemann authored
Configuration `tied-embeddings-all` implies `tied-embeddings-src`
-
Sanchit Gandhi authored
Fix Loading of Flax(Speech)EncoderDecoderModel kwargs from PreTrained Encoder-Decoder Checkpoints (#16056) * Fix Loading of Flax(Speech)EncoderDecoderModel kwargs from PreTrained Encoder-Decoder Checkpoints * change wording
-