- 29 Nov, 2022 8 commits
-
-
Francisco Kurucz authored
-
sandeep kumar authored
Co-authored-by:Sandeep Kumar <sandeep.kumar@woven-planet.global>
-
Billy Lee authored
* replace assert statements with exceptions * made conditions more readable
-
Pi Esposito authored
* add minimal working gpt2 tokenizer * graph mode and output equivalence tests working * not today tensorflow. serialization test passing! * fix style, documentation, docstrings and all that jazz * passing consistency checks * move keras nlp to tf dependencies * fix tf modeling utils and gpt2 attention to enable compiling * fix (I hope) keras nlp dependencies * rever changes on generation * remove debug prints * remove redundant tf dummy objects * add from config, get config and max length settings to address review * let flake ignore the error on distillation you are welcome * test from config * add padding test * address sgugger review
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Sylvain Gugger authored
* Fix init import_structure sorting * Fix rebase
-
fxmarty authored
* fix torch meshgrid warnings * support lower torch versions * don't edit examples * dont edit examples * fix ci * fix style * rebase cleanup * fix ci again
-
amyeroberts authored
* Add Donut image processor * Update src/transformers/image_transforms.py Co-authored-by:
Alara Dirik <8944735+alaradirik@users.noreply.github.com> * Fix docstrings * Full var names in docstring Co-authored-by:
Alara Dirik <8944735+alaradirik@users.noreply.github.com>
-
- 28 Nov, 2022 21 commits
-
-
Yih-Dar authored
* extract warning from CI artifacts * fix path * fix logic * fix comment * update default values Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
NielsRogge authored
* First draft * Fix backwards compatibility * More fixes * More fixes * Make backbone more general * Improve backbone * Improve test * Fix config checkpoint * Address comments * Use model_type * Address more comments * Fix special model names * Remove MaskFormerSwinModel and MaskFormerSwinPreTrainedModel from main init * Fix typo * Update backbone * Apply suggestion Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
Henghui Zhu authored
-
Sayak Paul authored
* chore: add link to the video cls notebook. * chore: segregate as resources.
-
amyeroberts authored
-
NielsRogge authored
* Add hidden states and attentions to backbone outputs * Update ResNet * Fix more tests * Debug test * Fix test_determinism * Fix test_save_load * Remove file * Disable fx tests * Test * Add fx support for backbones Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
Arthur authored
-
Sylvain Gugger authored
* INtegrate safetensos in weight offloading * Use safetensors checkpoint for offload when available * Make naming consistent * Make load faster * Quality * Add default
-
Lianmin Zheng authored
* [FLAX] Add dtype to embedding for bert/bart/opt/t5 * Fix all copies * Add a test case
-
Katie Le authored
* replace 4 asserts with ValueError exception for control flow * Update examples/flax/image-captioning/run_image_captioning_flax.py Co-authored-by:
Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com> * Update examples/flax/image-captioning/run_image_captioning_flax.py Co-authored-by:
Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com> * reformatted file * uninstalled trasformers and applied make style Co-authored-by:
Bibi <Bibi@katies-mac.local> Co-authored-by:
Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com>
-
sha016 authored
* fsmt doctest * Update Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
JuheonChu authored
* Changed assert into 7-8 exceptions * updated syntax error * updated error * updated file (Co-autho: Batese2001) * Successful test on test_modeling_distilbert.py Successful raising errors and exceptions on the revised code in test_modeling_distilbert.py . Co-credit: @batese2001 * Delete test_modeling_distilbert.ipynb * Update modeling_distilbert.py * Successful raising of exceptions with the conditions that are contrary to defined condition that asserts statements (Co-author: Batese2001) * Successful raising of exceptions with the conditions that are contrary to defined condition that asserts statements (Co-author: Batese2001) * committing the reformatted distilbert model * reformatted distilbert model * reformatted distilbert model * reformatted distilbert model * reformatted distilbert model with black * Changed comments that explain better about raising exceptions for not having the even number of multi heads * Changed comments that explain better about raising exceptions for not having the even number of multi heads * changed based on the feedback * Changed line 833 based on the suggestion made from @younesbelkada * Changed line 833 based on the suggestion made from @younesbelkada draft2 * reformatted file * Update src/transformers/models/distilbert/modeling_distilbert.py * Update src/transformers/models/distilbert/modeling_distilbert.py Co-authored-by:Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
-
Patrick von Platen authored
-
Wang, Yi authored
with pytorch cpu only version. without --no_cuda, using --bf16 will trigger error like "Your setup doesn't support bf16/gpu. You need torch>=1.10, using Ampere GPU with cuda>=11.0" (#20445)
-
Wang, Yi authored
-
LiWenhan authored
make tensors in function build_relative_position created on proper device instead of always on cpu (#20434) Co-authored-by:wenhanli <wenhanli@tencent.com>
-
Matt authored
* Add a test to ensure int dummy inputs are int64 * Move the test into the existing int64 test and update a lot of existing dummies * Fix remaining dummies * Fix remaining dummies * Test for int64 serving sigs as well * Update core tests to use tf.int64 * Add better messages to the assertions * Update all serving sigs to int64 * More sneaky hiding tf.int32s * Add an optional int32 signature in save_pretrained * make fixup * Add Amy's suggestions * Switch all serving sigs back to tf.int32 * Switch all dummies to tf.int32 * Adjust tests to check for tf.int32 instead of tf.int64 * Fix base dummy_inputs dtype * Start casting to tf.int32 in input_processing * Change dtype for unpack_inputs test * Add proper tf.int32 test * Make the alternate serving signature int64
-
Matt authored
* Re-enable TF ESM tests, make sure we use facebook checkpoints * make fixup
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
- 26 Nov, 2022 1 commit
-
-
Kamal Raj authored
* Fix typo * Update tokenization_fsmt.py
-
- 25 Nov, 2022 3 commits
-
-
SaulLu authored
* fix docstring * fix 2 * add details
-
Stas Bekman authored
-
Younes Belkada authored
* `accelerate` support for `OwlViT` - added `accelerate` support - added slow `fp16` tests * apply suggestions
-
- 23 Nov, 2022 7 commits
-
-
Sylvain Gugger authored
-
fxmarty authored
-
Ian C authored
* Update _toctree and clone original doc * Forgot to translate (lol) * Translate documentation and update toctree * Add suggested changes from review
-
Yih-Dar authored
* Use updated values Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Younes Belkada authored
* `bnb` ValueError when tries to cast or assign * Apply suggestions from code review Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * remove docstrings * change error log Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
raghavanone authored
* change the way sentinel tokens can retrived * Fix line length for doc string * Fix line length for doc string * Add more stronger test for t5 tokenization * Format file changes * Make a stronger test for filtering sentinel tokens * fix file format issues
-
Younes Belkada authored
-