- 02 Sep, 2022 7 commits
-
-
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 16 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
-
Albert Villanova del Moral authored
* Pin rouge_score * Pin also in dependency_versions_table * Update excluded versions * Revert "Update excluded versions" This reverts commit 0d0362df30a816108835f5c061272ee2bafec270. * Revert "Revert "Update excluded versions"" This reverts commit 66c47af8a6baff253575631b0ba392e0354b6d56.
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Joao Gante authored
-
Yih-Dar authored
Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
ydshieh <ydshieh@users.noreply.github.com>
-
Albert Villanova del Moral authored
-
flozi00 authored
* Create pipeline_tutorial.mdx * Update _toctree.yml
-
Alara Dirik authored
* fix memory leak * fix typos * use singular last hidden state variable names * eliminate double call to self.owlvit to return last hidden states * eliminate 2nd call to self.vision_model in OwlViTModel
-
- 31 Aug, 2022 14 commits
-
-
lewtun authored
* Add security warning about from_pretrained() method * Add sentence about malware scanner Co-authored-by:Julien Chaumond <julien@huggingface.co>
-
NielsRogge authored
* Add ONNX support * Make height and width dynamic axes Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
Ekagra Ranjan authored
* fix args for bram search decoding in generation utils * fix missing PAD token in gpt2 * add PAD EOS change to TF * Update src/transformers/generation_tf_utils.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Update src/transformers/generation_utils.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Update src/transformers/generation_utils.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Felix Schneider authored
Add an option to `HfArgumentParser.parse_{dict,json_file}` to raise an Exception when there extra keys (#18692) * Update parser to track unneeded keys, off by default * Fix formatting * Fix docstrings and defaults in HfArgparser * Fix formatting -
Ekagra Ranjan authored
* Minor typo in GPT2 doc * improve gpt2 label doc * update dim of label in GPT2ForTokenClassification * add change to tf
-
Sylvain Gugger authored
* Pin ffspec * Typo
-
NielsRogge authored
* Add num_channels attribute * Fix code quality Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
Shu Takayama authored
fix bug: register_for_auto_class should be defined on TFPreTrainedModel instead of TFSequenceSummary (#18607)
-
Lysandre Debut authored
-
Zachary Mueller authored
* Check optimizer for device on TPU * Typo
-
Wang, Yi authored
* oob performance improvement for cpu DDP Signed-off-by:
Wang, Yi A <yi.a.wang@intel.com> * add is_psutil_available check Signed-off-by:
Wang, Yi A <yi.a.wang@intel.com> Signed-off-by:
Wang, Yi A <yi.a.wang@intel.com>
-
Peter Jung authored
* Fix loss condition in DetrHungarianMatcher * Fix costs condition in YolosHungarianMatcher
-
Joao Gante authored
-
Ankur Goyal authored
* Add LayoutLMForQuestionAnswering model * Fix output * Remove TF TODOs * Add test cases * Add docs * TF implementation * Fix PT/TF equivalence * Fix loss * make fixup * Fix up documentation code examples * Fix up documentation examples + test them * Remove LayoutLMForQuestionAnswering from the auto mapping * Docstrings * Add better docstrings * Undo whitespace changes * Update tokenizers in comments * Fixup code and remove `from_pt=True` * Fix tests * Revert some unexpected docstring changes * Fix tests by overriding _prepare_for_class Co-authored-by:Ankur Goyal <ankur@impira.com>
-
- 30 Aug, 2022 3 commits
-
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Nicolas Patry authored
* Improving the documentation for "word", within the pipeline. * Quality.
-
Dan Tegzes authored
* Added Doctest for Deberta Pytorch * Added path in documentation test file * Added docstrings for DebertaV2 * Revert "Added docstrings for DebertaV2" This reverts commit 307185e62a21b3bd0923444cc8a8af1747fd2600. * Added DebertaV2 Docstrings
-