- 23 Jan, 2023 17 commits
-
-
Arthur authored
* use streaming dataset * fix whisper's test * add rescale argument to chunk_iter
-
Maria Khalusova authored
* wip: adding tf example for semantic segmentation guide * completed the working example in tf * make style * Update docs/source/en/tasks/semantic_segmentation.mdx Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en/tasks/semantic_segmentation.mdx Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * fixed a callback doc links Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
Maria Khalusova authored
* Split the examples by modality, added missing examples * fixed a link
-
amyeroberts authored
* Update imports and test fetcher * Revert but keep test fetcher update * Fix imports * Fix all imports * Replace fe with ip names * Add generate kwargs to `AutomaticSpeechRecognitionPipeline` (#20952) * Add generate kwargs to AutomaticSpeechRecognitionPipeline * Add test for generation kwargs * Update image processor parameters if creating with kwargs (#20866) * Update parameters if creating with kwargs * Shallow copy to prevent mutating input * Pass all args in constructor dict - warnings in init * Fix typo * Rename tester class * Rebase and tidy up * Fixup * Use ImageProcessingSavingTestMixin * Update property ref in tests * Update property ref in tests * Update recently merged in models * Small fix Co-authored-by:bofeng huang <bofenghuang7@gmail.com>
-
amyeroberts authored
* Replace reduce_labels with do_reduce_labels * Replace only for __init__ and preprocess * Update tests
-
Joao Gante authored
-
amyeroberts authored
-
Mostafa Elhoushi authored
-
Kambe Hiroyuki authored
* Add Japanese translation installation.mdx * Fixed for consistency with english version
-
Yih-Dar authored
* fix ReformerForSequenceClassification doc example * fix ReformerForMaskedLM doc example Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
raghavanone authored
* Optimize by not computing gradients for parameters set to requires_grad=False * Make change to retrigger the build * Fix isort issue * Fix issue
-
NielsRogge authored
* Extend conversion script * Remove print statement Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
amyeroberts authored
* Add test_image_processing_common.py * Fix typo * Update imports and test fetcher * Revert but keep test fetcher update * Fix imports * Fix all imports * Formatting fix * Update tests/test_image_processing_common.py
-
Ogundepo Odunayo authored
* add converter for t5x_retrieval model * update args * Update src/transformers/models/t5/convert_t5x_checkpoint_to_pytorch.py Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com> * style editing -> convert t5x to pytorch * make style Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com>
-
NielsRogge authored
* First draft * More improvements * Add conversion script * More improvements * Add docs * Address review * Rename class to ConvEncoder * Address review * Apply suggestion * Apply suggestions from code review Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Update all DETR friends * Add corresponding test * Improve test * Fix bug * Add more tests * Set out_features to last stage by default Co-authored-by:
Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local> Co-authored-by:
Niels Rogge <nielsrogge@Nielss-MBP.localdomain> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Joao Gante authored
-
Younes Belkada authored
* fix `blip` doctest * Update src/transformers/models/blip/modeling_blip.py Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com>
-
- 21 Jan, 2023 1 commit
-
-
Sylvain Gugger authored
skip failing test for now
-
- 20 Jan, 2023 17 commits
-
-
Younes Belkada authored
* fix `blip` docstring * fix typo * fix another typo
-
Nicolas Patry authored
* Microphone live inference catching up when inference is too slow (whisper). * Adding copyright.
-
Sylvain Gugger authored
* Remove all hf-internal-testing checkpoints that can be removed * Fix copies * Put back processor_class in TF example * Address review comment
-
Steven Liu authored
* add outputs to code snippets * fix example text * apply feedback * style changes * make style
-
Jitesh Jain authored
* Fix processor * Fix shape in docstring
-
Yih-Dar authored
* split tests * test CI * add if else Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Steven Liu authored
change text to sentence
-
Thomas Wang authored
-
Yih-Dar authored
Replace the checkpoint - the current one has shape issue Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Yih-Dar authored
fix typo + remove non-existent entry Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Yih-Dar authored
* update huggingface_hub version * revert changes in setup.py Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Susnato Dhar authored
deleted references of self.vocab_size and self.type_vocab_size for multiple models [TF implementation] (#21164)
-
Joao Gante authored
Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
amyeroberts authored
* Update docs examples FE -> IP * Remove _IMAGE_PROCESSOR_FOR_DOC
-
Arthur authored
* pass return_timestamps to pre-process * add a test to test it * test does not need device 0 * remove failing bit * update test
-
Nicolas Patry authored
* Enabling live `automatic-speech-recognition` asr for Whisper. * Dummy change.
-
Bartosz Szmelczynski authored
- Adds EfficientFormer V1 to transformers - PR co-authored by @novice03 and @Bearnardd Co-authored-by:
novice <pranavpulijala@gmail.com> Co-authored-by:
novice <44259234+novice03@users.noreply.github.com>
-
- 19 Jan, 2023 5 commits
-
-
Sylvain Gugger authored
* Add disclaimer for necessary fake models * Address review comments * Use for GPT-NeoX as well
-
Cl茅mentine Fourrier authored
* [FT] First commit for graphormer architecture. The model has no tokenizer, as it uses a collator and preprocessing function for its input management. Architecture to be tested against original one. The arch might need to be changed to fit the checkpoint, but a revert to the original arch will make the code less nice to read. TODO: doc * [FIX] removed test model * [FIX] import error * [FIX] black and flake * [DOC] added paper refs * [FIX] [DOC] * [FIX] black * [DOC] Updated READMEs * [FIX] Order of imports + rm Tokenizer calls * [FIX] Moved assert in class to prevent doc build failure * [FIX] make fix-copies * [Doc] update from code review Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * [FIX] Removed Graphormer from Sequence classification model list * [DOC] Added HF copyright to Cython file * [DOC] Fixed comments * [FIX] typos in class doc + removed config classes. Todo: update doc from paper definitions * [FIX] Removed dependency to fairseq, and replaced all asserts with Exception management * [FIX] Homogeneized initialization of weights to pretrained constructor * [FIX] [CP] Updated multi_hop parameter to get same results as in original implementation * [DOC] Relevant parameter description in the configuration file * [DOC] Updated doc and comments in main graphormer file * [FIX] make style and quality checks * [DOC] Fix doc format * [FIX] [WIP] Updated part of the tests, though still a wip * [FIX] [WIP] * [FIX] repo consistency * [FIX] Changed input names for more understandability * [FIX] [BUG] updated num_classes params for propagation in the model * simplified collator * [FIX] Updated tests to follow new naming pattern * [TESTS] Updated test suite along with model * |FIX] rm tokenizer import * [DOC] add link to graphormerdoc * Changed section in doc from text model to graph model * Apply suggestions from code review Spacing, inits Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * [DOC] Explain algos_graphormer functions * Cython soft import protection * Rm call to Callable in configuration graphormer * [FIX] replaced asserts with Exceptions * Add org to graphormer checkpoints * Prefixed classes with Graphormer * Management of init functions * format * fixes * fix length file * update indent * relaunching ci * Errors for missing cython imports * fix style * fix style doc Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
ydshieh authored
-
Kambe Hiroyuki authored
* Add Japanese translation index.mdx * Fix the year of the license * Change the models list to Japanese
-
Joao Gante authored
-