- 07 Sep, 2022 1 commit
-
-
NielsRogge authored
* Simplify code example * Add seed
-
- 06 Sep, 2022 8 commits
-
-
Ekagra Ranjan authored
Fix incorrect size of input for 1st strided window length in `Perplexity of fixed-length models` (#18906) * update the PPL for stride 512 * fix 1st strided window size * linting * fix typo * styling
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Sylvain Gugger authored
* Further reduce the number of alls to head for cached models/tokenizers/pipelines * Fix tests * Address review comments
-
Alara Dirik authored
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Ekagra Ranjan authored
* use tokenizer to output tensor * add preprocessing for decoder_input_ids for bare T5Model * add preprocessing to tf and flax * linting * linting * Update src/transformers/models/t5/modeling_flax_t5.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Update src/transformers/models/t5/modeling_tf_t5.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Update src/transformers/models/t5/modeling_t5.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
arun99481 authored
Co-authored-by:Arun Rajaram <arunrajaram@Aruns-MacBook-Pro.local>
-
Had authored
* add position bias head masking if heads pruned * fix pruning function in t5 encoder * make style * make fix-copies * Revert added folder Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
- 05 Sep, 2022 7 commits
-
-
Joao Gante authored
-
zkep authored
* update the translation
-
Sofia Oliveira authored
* Add type hints to XLM-Roberta-XL models * Format
-
Surya Prakash Sahu authored
-
Patrick von Platen authored
* add first generation tutorial * [Pegasus X] correct naming * [Generation] Remove
-
Lysandre Debut authored
-
Joao Gante authored
* bias as a layer * alias the bias (hah, it rhymes) * add comment with info
-
- 02 Sep, 2022 15 commits
-
-
Steven Liu authored
*
📝 update quicktour *📝 add trainer section *🖍 markdown table, apply feedbacks *✨ make style * add tf training section * make style -
Steven Liu authored
*
📝 first draft * oops add to toctree * make style *📝 add inference section *🖍 make style *📝 add images *🖍 apply feedbacks * remove num_labels and pytorch block * apply feedbacks, add colab notebook Co-authored-by:Steven <stevhliu@gmail.com>
-
Steven Liu authored
*
📝 update docs landing page *🖍 apply feedbacks * apply feedbacks * apply feedbacks, use <br> for list -
Jason Phang authored
* PegasusX Initial commit * rename * pegasus X implementation * pegx update * pegx fix * pegasus-x fixes * pegx updates * cleanup * cleanup * cleanup * tests * stylefixes * Documentation update * Model hub fix * cleanup * update * update * testfix * Check fix * tweaks for merging * style * style * updates for pr * style * change pegasus-x repo
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Joao Gante authored
-
Stas Bekman authored
-
Sylvain Gugger authored
* Fix number of examples for iterable datasets in multiprocessing * Add stronger check
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Sylvain Gugger authored
* Clean up utils.hub using the latest from hf_hub * Adapt test * Address review comment * Fix test
-
NielsRogge authored
Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
NielsRogge authored
* Add clarification * Add another clarification * Apply suggestion Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
OlivierDehaene authored
Co-authored-by:Olivier Dehaene <olivier@huggingface.co>
-
kmckiern authored
-
- 01 Sep, 2022 9 commits
-
-
Steven Liu authored
* update *
🖍 add missing files *📝 add nested sections *🖍 align titles with tasks * oops * remove quotes from titles -
Ankur Goyal authored
* Pin revision for tests * Fixup * Update revision in models * Shorten revisions Co-authored-by:Ankur Goyal <ankur@impira.com>
-
OlivierDehaene authored
* Add Image2TextGenerationPipeline to supported pipelines * Add Flax and Tensorflow support * Add Flax and Tensorflow small tests * Add default model for Tensorflow * Add docstring * Fix doc style * Add tiny models for pytorch and flax * Remove flax from pipeline. Fix tests * Use ydshieh/vit-gpt2-coco-en as a default for both PyTorch and Tensorflow * Fix Tensorflow support Co-authored-by:Olivier Dehaene <olivier@huggingface.co>
-
Sylvain Gugger authored
-
Cody Yu authored
* Cache results of is_torch_tpu_available() * Update src/transformers/utils/import_utils.py * Update src/transformers/utils/import_utils.py
-
Sayak Paul authored
* initial implementation. * add: working model till image classification. * add: initial implementation that passes intg tests. Co-authored-by:
Amy <aeroberts4444@gmail.com> * chore: formatting. * add: tests (still breaking because of config mismatch). Coo-authored-by:
Yih <2521628+ydshieh@users.noreply.github.com> * add: corrected tests and remaning changes. * fix code style and repo consistency. * address PR comments. * address Amy's comments. * chore: remove from_pt argument. * chore: add full-stop. * fix: TFLite model conversion in the doc. * Update src/transformers/models/mobilevit/modeling_tf_mobilevit.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Update src/transformers/models/mobilevit/modeling_tf_mobilevit.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Update src/transformers/models/mobilevit/modeling_tf_mobilevit.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Update src/transformers/models/mobilevit/modeling_tf_mobilevit.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Update src/transformers/models/mobilevit/modeling_tf_mobilevit.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * apply formatting. * chore: remove comments from the example block. * remove identation in the example. Co-authored-by:
Amy <aeroberts4444@gmail.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Gustavo de Rosa authored
* chore(training_args): Adds support for timeout argument. * fix(training_args): Passes make style through changes. * fix(training_args): Removes wrong docstring sentence. * fix(training_args): Fixes timeout not being JSON serializable. * fix(training_args_sm): Also updates timeout to timeout_delta. * fix(training_args): Fixes PR according to suggestions.
-
kumapo authored
* reflect max_new_tokens in gen_kwargs to `trainer.generate()` * reflect max_new_tokens in `Seq2SeqTrainer` * remove unnecessary variable * Trigger CI * fix style
-
Pedro Cuenca authored
-