- 07 May, 2023 3 commits
-
-
Robert Baruch authored
Fix hf_argparser.parse_json_file to open file with utf-8 encoding, close file when finished (#23194) * Open json args in utf-8 encoding, close file when finished * black formatted
-
Bartosz Szmelczynski authored
* fix random attention usage for bigbird and pegasus_bigbird * remove staticmethod, update tests target valus * revert style changes
-
Ashwin Mathur authored
* Update docs with arxiv link * Update llama model docs
-
- 06 May, 2023 1 commit
-
-
cyy authored
-
- 05 May, 2023 6 commits
-
-
raghavanone authored
* Add FlaxWhisperForAudioClassification model * Add models to init * Add models to init * Fix copies * Fix automapping * Fix failing test
-
Ashwin Mathur authored
* Add run_mim_no_trainer.py draft from #20412 Add parse_args method and copy over other dependencies Add Method call for sending telemetry Initialize Accelerator Make one log on every process Set seed and Handle repository creation Initialize dataset and Set validation split Create Config Adapt Config Update Config Create Feature Extractor Create model Set column names Create transforms Create mask generator Create method to preprocess images Shuffle datasets if needed and set transforms Create Dataloaders Add optimizer Add learning rate scheduler Prepare everything with our accelerator Tie weights for TPU training Recalculate training steps and training epochs Set accelerator checkpointing steps Initialize trackers and store configuration Set total batch size Fix typo: mlm -> mim Log info at the start of training Load in the weights and states from previous save update the progress_bar if load from checkpoint Define train loop Add evaluation loop to training Add to parse_args method Push repo to hub Save accelerator state End training and save model and feature extractor Remove unused imports Fix trailing whitespace * Update code based on comments, Rename feature_extractor to image_processor * Fix linting * Add argument for learning rate * Add argument for setting number of training epochs * Remove incorrect logger argument * Convert max_train_steps to int for tqdm --------- Co-authored-by:Saad Mahmud <shuvro.mahmud79@gmail.com>
-
Connor Henderson authored
* add fix * address comments * remove error formatting
-
Gabriel Yang authored
* update doctree * doc: ko: translate multiple choice * Update reviews
-
Andrei Filatov authored
-
Perry Huang authored
* Add TrOCR resources * Made fixes suggested by stevhliu
-
- 04 May, 2023 12 commits
-
-
Sylvain Gugger authored
Revert "Add FlaxWhisperForAudioClassification model (#22883)" This reverts commit c8f2c5c5.
-
Joao Gante authored
-
Maria Khalusova authored
* First draft * Some polishing * Text polishing * added TOC entry for TTS * make style * added links to images * fixed links to images * Apply suggestions from code review Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * feedback addressed * feedback from Matthijs addresed * Update docs/source/en/tasks/text-to-speech.mdx Co-authored-by:
Matthijs Hollemans <mail@hollance.com> --------- Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
Matthijs Hollemans <mail@hollance.com>
-
raghavanone authored
* Add FlaxWhisperForAudioClassification model * Add models to init * Add models to init * Fix copies * Fix automapping
-
Sylvain Gugger authored
-
Younes Belkada authored
* fix #23136 * better fix * same fix for `masked_bias`
-
peter-sk authored
* first draft - gives index error in question_answering.py * maturing * no labels * pipeline should know about QA * fixing checks * formatting * fixed docstring * initial commit * formatting * adding the class to many places * towards less unhappy checks * nearly there * and gpt neox for qa * use right model * forgot this one * base_model_prefix is "gpt_neox" for GPTNeoX* models * unnecessary stuff * Update src/transformers/models/gpt_neox/modeling_gpt_neox.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * format * Update src/transformers/models/gpt_neox/modeling_gpt_neox.py Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com> * removed gpt2 stuff --------- Co-authored-by:
Prof. Peter Schneider-Kamp <jps@ordbogen.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com>
-
peter-sk authored
Co-authored-by:Prof. Peter Schneider-Kamp <jps@ordbogen.com>
-
Qingyang Wu authored
* fix resume fsdp * fix rank 0 loading * fix style and quality
-
Victor Geislinger authored
- Excess `w` in the word `bottom`
-
digger-yu authored
change referrred to referred
-
amyeroberts authored
* Add methods to update and verify out_features out_indices * Safe update for config attributes * Fix function names * Save config correctly * PR comments - use property setters * PR comment - directly set attributes * Update test * Add updates to recently merged focalnet backbone
-
- 03 May, 2023 17 commits
-
-
peter-sk authored
* first draft - gives index error in question_answering.py * maturing * no labels * pipeline should know about QA * fixing checks * formatting * fixed docstring * initial commit * formatting * adding the class to many places * towards less unhappy checks * nearly there * Update src/transformers/models/gpt_neo/modeling_gpt_neo.py Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com> * avoid error * moving to device of star/end_logits --------- Co-authored-by:
Prof. Peter Schneider-Kamp <jps@ordbogen.com> Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com>
-
Robert Stone authored
Migration to Evaluate for metric is not quite complete
-
Alara Dirik authored
remove redundant print statements
-
regisss authored
* Enable to use custom tracer in FX `symbolic_trace` * Integrate feedback from review * Formatting Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> --------- Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Alara Dirik authored
Adds FocalNet backbone to return features from all stages
-
Julien Chaumond authored
* [doc] Try a few ≠ ways of linking to Papers, users, and org profiles * Empty commit * Empty commit now that the backend is fixed --------- Co-authored-by:Lysandre <lysandre@huggingface.co>
-
Nayeon Han authored
* docs: ko: update `_toctree.yml` * fix: ko: update toc * fix: resolve suggestions * fix: resolve build issue --------- Co-authored-by:Wonhyeong Seo <wonhseo@kakao.com>
-
Mayank Agarwal authored
* add code for numReturnSeq * add flax support for num return sequences * Make Fix up for changes * add test for num return sequences * lint
-
Xuehai Pan authored
* Support union types `X | Y` syntax for `HfArgumentParser` for Python 3.10+ * Add tests for PEP 604 for `HfArgumentParser` * Reorganize tests
-
Alara Dirik authored
Fixes the parameter naming issue in ConvNextV2GRN module
-
Samin Yasar authored
* add resources for layoutlmv2 * remove
🌎 from some resources -
Joao Gante authored
-
Manuel authored
-
Joao Gante authored
-
Joao Gante authored
-
Younes Belkada authored
fix pix2struct doctest
-
Sylvain Gugger authored
-
- 02 May, 2023 1 commit
-
-
Gregory (Gabriel) Barello authored
Fixed default config for `Pix2Struct` model to set `Pix2StructTextModel` to `is_decoder=True` (#23051) added as default keyword arg. to in order to correctly configure the decoder
-