- 23 Dec, 2022 6 commits
-
-
Arthur authored
get correct checkpoint
-
Younes Belkada authored
* add japanese translation of template * fix japanese translation - fix special cases - fix typos - manually translate special cases Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com> Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com>
-
Jasmijn Bastings authored
* Add script to convert T5X T5 (v1.0 and v1.1) checkpoints to PyTorch * Remove unnecessary check and update docstring * Format docstring * Fix whitespace in docstring
-
Nicolas Patry authored
* Supporting `fp16` for asr pipeline * Adding test. * Style. * Oops. * Flake8 update ? * Fixing flake8 ? * Revert "Flake8 update ?" This reverts commit 0b917fcb520e5f34d1933d9d37d8f32b64553048. * Style (acctidentally deleted flake8 F401.) * Move to a bigger test (no small whisper model, and s2t doesn't seem to accept torch_dtype=fp16). Also we need to use a GPU to actually compute on fp16. * Using BatchFeature capability.
-
Syed Abdul Gaffar Shakhadri authored
poolformer onnx Co-authored-by:syed <syed.abdul@sandlogic.com>
-
Sourab Mangrulkar authored
-
- 22 Dec, 2022 3 commits
-
-
Younes Belkada authored
* fix typo `onnx` * fix test
-
Younes Belkada authored
* add `get_encoder` and `get_decoder` * add additional kwargs support * fix condition * add better checks * better checks * fix embed positions * better test to consider padding * fix debug statement * Apply suggestions from code review Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com> * add arguments on docstring Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com>
-
dhansmair authored
change strings to f-strings
-
- 21 Dec, 2022 13 commits
-
-
Joao Gante authored
* fix doctests * revert unwanted change
-
Yih-Dar authored
fix ci Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Arthur authored
* add fast not use warning * update
-
Arthur authored
* fix doc for generation, dinat, nat and prelayernorm * style * update * fix cpies * use auto config and auto tokenizer Co-authored-by:
sgugger <sylvain.gugger@gmail.com> * als modify roberta and the depending models Co-authored-by:
sgugger <sylvain.gugger@gmail.com>
-
Mohit Sharma authored
* fix_whisper_export * update input * update input
-
Yih-Dar authored
* Fix past CI * Fix past CI Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Maria Khalusova authored
Adding `evaluate` to the list of libraries to be installed for every generated notebook in transformers
-
陌dil S眉lo authored
Adds visual_prompt argument to CLIPSegProcessor to enable image-guided segmentation
-
ValeKnappich authored
* fix past_key_values in GPTNeoXForCausalLM.prepare_inputs_for_generation * fix formatting
-
Yih-Dar authored
Use config.num_channels in CLIP-like modeling files Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
NielsRogge authored
Update big table Co-authored-by:Niels Rogge <nielsrogge@Nielss-MBP.localdomain>
-
NielsRogge authored
* Fix doc tests * Use Auto API * Apply suggestion * Revert "Apply suggestion" This reverts commit cd9507a86644b4877c3e4a3d6c2d5919d9272dd7. Co-authored-by:
Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local> Co-authored-by:
Niels Rogge <nielsrogge@Nielss-MBP.localdomain>
-
Younes Belkada authored
* add new model like * add v1 * v1 * v1 * vision encoder logits match * v2 * fix * add docstring * CI tests pass * fix tests * make fixup * add to `toctree` * fix processors * fix processors * fix doc * fill title * add content doc * remove from tokenization auto * fix config * change order * add `# Copied from` * few fixes - add correct license on modeling text - remove dummy argument * Apply suggestions from code review Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * replace name * refactor a bit * more refactor * remove unused arg * make fixup + remove some `# Adapted from ...` * Apply suggestions from code review Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * more `# Copied from` * Apply suggestions from code review Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * now `generate` supports no prefix * remove `FeatureExtractor` * fix path * correct dependency * fix tests * few fixes * add integration tests * add correct conversion script * Apply suggestions from code review Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * add `blip` to tokenization auto * fix docstrings * fix test + add image * remove processor from uncorrect place * Apply suggestions from code review Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * clean up a bit * Apply suggestions from code review Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * clean pixel mask * clean pixel mask * fix `F` * Update src/transformers/models/blip/modeling_blip.py Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * Apply suggestions from code review Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * fix output * Apply suggestions from code review Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * fix pad token id * remove `token_type_ids` * make fixup * Apply suggestions from code review Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * make fixup * Apply suggestions from code review Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * add comments * Update src/transformers/models/blip/modeling_blip.py Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * remove `token_type_ids` * make fixup * better name * replace with `image_attention_mask` * refactor * make fixup * better docstring * replace `answer_xx` * remove ununsed args * add `labels` * add `labels` * fix processing tests * make fixup * make fixup * put correct repo * remove `pad` * remove `crop` and `center_crop` * Update src/transformers/models/blip/image_processing_blip.py Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * fix * remove `size_divisor` * fix weights `init` * remove unneeded functions * add suggestions * minor changes - change slow test output for PT 1.13 - docstring order * replace `feature_extractor` by `image_processor` * fix doctests * fix weight init order + add fp16 slow test * add `blip` to doctest * add correct repo name and fix test * Update src/transformers/models/blip/processing_blip.py Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * fix tests * use `convert_to_rgb` from `image_transforms` * make fixup * fix large loading issue Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
- 20 Dec, 2022 10 commits
-
-
Steven Liu authored
* embed circle packing chart * trim whitespace from bottom * explain bubble sizes
-
Sanchit Gandhi authored
* [S2T, Whisper] Add copied from statements * rebase and fix-copies
-
Steven Liu authored
* clarify use_fast parameter * make style * remove check frameworks, apply review
-
NielsRogge authored
* Add support for binary segmentation * Fix loss calculation and add test * Remove space * use fstring Co-authored-by:
Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local> Co-authored-by:
Niels Rogge <nielsrogge@Nielss-MBP.localdomain>
-
Yih-Dar authored
remove unused use_cache in config classes Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Matt authored
* Fix incorrect import for the base optimizer for AdamWeightDecay * Fix incorrect import for the base optimizer for AdamWeightDecay
-
Sanchit Gandhi authored
* [mBART] fix erroneous italics in docstring * fix-copies
-
Yih-Dar authored
Removed unused max_position_embeddings in config classes Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
fzyzcjy authored
* Fix typo * Update README.md * Update run_mlm_flax_stream.py * Update README.md
-
Thomas-MMJ authored
fix typo output not ouput typo was causing an error on pytest collection
-
- 19 Dec, 2022 6 commits
-
-
stanleycai95 authored
* Set up overall resources documentation structure * Update vit.mdx * Removing irrelevant sections on text models * Update vit.mdx * Update vit.mdx * Update vit.mdx * Update vit.mdx * Update vit.mdx * Update vit.mdx * Update vit.mdx * Update vit.mdx * Update vit.mdx * Update vit.mdx * Update vit.mdx * Update vit.mdx * Update vit.mdx * Update vit.mdx
-
Stas Bekman authored
* [clip] fix error message * sync
-
amyeroberts authored
Use image_transforms pad
-
Younes Belkada authored
* fix nit - initialization on `_init_weights` - fix copies * add copied from
-
daquexian authored
lazy import torch._softmax_backward_data Signed-off-by:
daquexian <daquexian566@gmail.com> Signed-off-by:
daquexian <daquexian566@gmail.com>
-
Andreas Madsen authored
* Copy RoBERTa * formatting * implement RoBERTa with prelayer normalization * update test expectations * add documentation * add convertion script for DinkyTrain weights * update checkpoint repo Unfortunately the original checkpoints assumes a hacked roberta model * add to RoBERTa-PreLayerNorm docs to toc * run utils/check_copies.py * lint files * remove unused import * fix check_repo reporting wrongly a test is missing * fix import error, caused by rebase * run make fix-copies * add RobertaPreLayerNormConfig to ROBERTA_EMBEDDING_ADJUSMENT_CONFIGS * Fix documentation <Facebook> -> Facebook Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com> * fixup: Fix documentation <Facebook> -> Facebook Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com> * Add missing Flax header Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com> * expected_slice -> EXPECTED_SLICE Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com> * update copies after rebase * add missing copied from statements * make fix-copies * make prelayernorm explicit in code * fix checkpoint path for the original implementation * add flax integration tests * improve docs * update utils/documentation_tests.txt * lint files * Remove Copyright notice Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * make fix-copies * Remove EXPECTED_SLICE calculation comments Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com> Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
- 16 Dec, 2022 2 commits
-
-
Yih-Dar authored
* Install sentencepiece in DS CI image * update Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
NielsRogge authored
* First draft * Add more improvements * Improve forward pass * Fix layernorm * Add upscaler * More improvements * More improvements * More improvements * Improve conversion script * Add preprocessing * Make output match original implementation * Add additional attributes * Add support for more models * Support more models * Add support for real world sr * Add initial Swin2SRFeatureExtractor * Add ImageSuperResolutionOutput * Make more tests pass * Use BaseModelOutput * Fix one more test * Fix more tests * Fix another test * Fix all tests * Rename to Swin2SRImageProcessor * Fix toctree * Fix toctree * Fix rebase * Improve Swin2SRImageProcessor * Remove feature extractor file * Improve model * Improve conversion script * Fix integration test * Fix init * Fix conversion script * Address comments * Improve upsampler * Add NearestConvUpsampler * Improve pixel shuffle upsampler * Improve auxiliary upsampler * Improve conversion script * Rename conv_last to final_convolution * Fix rebase * Improve upsample module * Add padding to image processor * Fix bug * Update padding * Remove print statement and fix integration test * Improve docs * Add image processor tests * Convert all checkpoints, fix tests茅 * Remove print statements * Fix import Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-