url
stringlengths
62
66
repository_url
stringclasses
1 value
labels_url
stringlengths
76
80
comments_url
stringlengths
71
75
events_url
stringlengths
69
73
html_url
stringlengths
50
56
id
int64
377M
2.15B
node_id
stringlengths
18
32
number
int64
1
29.2k
title
stringlengths
1
487
user
dict
labels
list
state
stringclasses
2 values
locked
bool
2 classes
assignee
dict
assignees
list
comments
list
created_at
int64
1.54k
1.71k
updated_at
int64
1.54k
1.71k
closed_at
int64
1.54k
1.71k
author_association
stringclasses
4 values
active_lock_reason
stringclasses
2 values
body
stringlengths
0
234k
reactions
dict
timeline_url
stringlengths
71
75
state_reason
stringclasses
3 values
draft
bool
2 classes
pull_request
dict
https://api.github.com/repos/huggingface/transformers/issues/21286
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21286/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21286/comments
https://api.github.com/repos/huggingface/transformers/issues/21286/events
https://github.com/huggingface/transformers/issues/21286
1,555,436,734
I_kwDOCUB6oc5cthS-
21,286
Add metric_key_prefix from training_args
{ "login": "marctorsoc", "id": 22045779, "node_id": "MDQ6VXNlcjIyMDQ1Nzc5", "avatar_url": "https://avatars.githubusercontent.com/u/22045779?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marctorsoc", "html_url": "https://github.com/marctorsoc", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "cc @sgugger ", "This seems like a very niche feature which can be achieved by customizing your callback (you can use your own instead of the default ones).", "@sgugger could you elaborate a bit more about what callback(s)? I guess I have to remove one and add mine?\r\n\r\n(oh sorry, I just found https://huggin...
1,674
1,674
1,674
NONE
null
### Feature request Today, if we create a `Trainer` as in ``` trainer = Trainer( model=self.model, # the instantiated 🤗 Transformers model to be trained args=training_args, # training arguments, defined above train_dataset=data_cls["train"], eval_dataset=data_cl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21286/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21286/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21285
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21285/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21285/comments
https://api.github.com/repos/huggingface/transformers/issues/21285/events
https://github.com/huggingface/transformers/issues/21285
1,555,435,363
I_kwDOCUB6oc5ctg9j
21,285
`trainer.predict(dataset)` drops samples when used with multi-gpu setup
{ "login": "fgbelidji", "id": 32633752, "node_id": "MDQ6VXNlcjMyNjMzNzUy", "avatar_url": "https://avatars.githubusercontent.com/u/32633752?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fgbelidji", "html_url": "https://github.com/fgbelidji", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The model used in this notebook (`Roberta0`) does not follow the requirements of the `Trainer` as described [here](https://huggingface.co/docs/transformers/main_classes/trainer) (see the big square in red). The output of the model should be a tuple, a dictionary or a `ModelOutput`, but it can't be a simple tensor....
1,674
1,674
1,674
MEMBER
null
### System Info - `transformers` version: 4.26.0.dev0 - Platform: Linux-4.19.0-23-cloud-amd64-x86_64-with-glibc2.28 - Python version: 3.9.13 - Huggingface_hub version: 0.10.1 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not install...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21285/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21285/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21284
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21284/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21284/comments
https://api.github.com/repos/huggingface/transformers/issues/21284/events
https://github.com/huggingface/transformers/pull/21284
1,555,399,724
PR_kwDOCUB6oc5IcqkA
21,284
Update expected values for doctest
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
MEMBER
null
Manually update expected values from hardware/environment differences for doctest on `task_summary.mdx`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21284/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21284/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21284", "html_url": "https://github.com/huggingface/transformers/pull/21284", "diff_url": "https://github.com/huggingface/transformers/pull/21284.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21284.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21283
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21283/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21283/comments
https://api.github.com/repos/huggingface/transformers/issues/21283/events
https://github.com/huggingface/transformers/pull/21283
1,555,357,611
PR_kwDOCUB6oc5IchpB
21,283
[examples/deepspeed] fix renamed api
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
Fixing the breakages caused by https://github.com/huggingface/transformers/pull/21155
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21283/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21283/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21283", "html_url": "https://github.com/huggingface/transformers/pull/21283", "diff_url": "https://github.com/huggingface/transformers/pull/21283.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21283.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21282
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21282/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21282/comments
https://api.github.com/repos/huggingface/transformers/issues/21282/events
https://github.com/huggingface/transformers/pull/21282
1,555,328,275
PR_kwDOCUB6oc5Icbb3
21,282
[GIT] Add test for batched generation
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Failing test is unrelated, merging." ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? Related to #21087, I've added a test for batched generation with GIT.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21282/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21282/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21282", "html_url": "https://github.com/huggingface/transformers/pull/21282", "diff_url": "https://github.com/huggingface/transformers/pull/21282.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21282.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21281
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21281/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21281/comments
https://api.github.com/repos/huggingface/transformers/issues/21281/events
https://github.com/huggingface/transformers/pull/21281
1,555,319,213
PR_kwDOCUB6oc5IcZhl
21,281
[`t5`] Fix T5 inference in `float16` + `bnb` error
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? Currently on the `main` branch, the inference of `t5` is broken in half-precision. With the introduction of `_keep_in_fp32_modules` attributes in https://github.com/huggingface/transformers/pull/20683 , `wo` layers needs to be upcasted in `float32` for more accurate inference. It appears ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21281/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21281/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21281", "html_url": "https://github.com/huggingface/transformers/pull/21281", "diff_url": "https://github.com/huggingface/transformers/pull/21281.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21281.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21280
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21280/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21280/comments
https://api.github.com/repos/huggingface/transformers/issues/21280/events
https://github.com/huggingface/transformers/issues/21280
1,555,023,156
I_kwDOCUB6oc5cr8U0
21,280
Does "kwargs" actually work in from_pretrained of Tokenizer?
{ "login": "pojurer", "id": 56473157, "node_id": "MDQ6VXNlcjU2NDczMTU3", "avatar_url": "https://avatars.githubusercontent.com/u/56473157?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pojurer", "html_url": "https://github.com/pojurer", "followers_url": "https://api.github.com/users/pojure...
[]
closed
false
null
[]
[]
1,674
1,674
1,674
NONE
null
### System Info Colab transformers==4.25.1 ### Who can help? _No response_ ### Information - [ ] The official example scripts - [x] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21280/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21280/timeline
not_planned
null
null
https://api.github.com/repos/huggingface/transformers/issues/21279
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21279/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21279/comments
https://api.github.com/repos/huggingface/transformers/issues/21279/events
https://github.com/huggingface/transformers/issues/21279
1,555,011,862
I_kwDOCUB6oc5cr5kW
21,279
How to use pre-trained BERT or GPT transformers for CNN based video captioning
{ "login": "adeljalalyousif", "id": 97432157, "node_id": "U_kgDOBc6yXQ", "avatar_url": "https://avatars.githubusercontent.com/u/97432157?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adeljalalyousif", "html_url": "https://github.com/adeljalalyousif", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "Hi,\r\n\r\nI'd recommend checking out the [GIT](https://huggingface.co/docs/transformers/main/en/model_doc/git) model which was just added to the library, as it's the first one in this library that can be used for video captioning. Check out the demo notebook [here](https://github.com/NielsRogge/Transformers-Tutor...
1,674
1,674
1,674
NONE
null
Hello, How to use pre-trained BERT or GPT transformers for video captioning task using CNN features not vision transformer
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21279/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21279/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21278
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21278/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21278/comments
https://api.github.com/repos/huggingface/transformers/issues/21278/events
https://github.com/huggingface/transformers/pull/21278
1,554,887,303
PR_kwDOCUB6oc5Ia8Ql
21,278
Hotifx remove tuple for git config image processor.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Just a question, for [this model](https://huggingface.co/microsoft/git-base-vatex), which uses `VideoMAEImageProcessor`, will the following then always instantiate a `CLIPImageProcessor`?\r\n```\r\nfrom transformers import AutoProces...
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21278/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21278/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21278", "html_url": "https://github.com/huggingface/transformers/pull/21278", "diff_url": "https://github.com/huggingface/transformers/pull/21278.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21278.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21277
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21277/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21277/comments
https://api.github.com/repos/huggingface/transformers/issues/21277/events
https://github.com/huggingface/transformers/pull/21277
1,554,658,515
PR_kwDOCUB6oc5IaKoF
21,277
[W2V2 with LM] Fix decoder test with params
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Indeed the var names are a bit confusing @ydshieh! They follow the same convention throughout the test file, where `decoded_processor` refers to the LM outputs decoded by the HF **processor** class, and `decoded_decoder` refers to th...
1,674
1,687
1,674
CONTRIBUTOR
null
# What does this PR do? Fixes https://github.com/huggingface/transformers/pull/21226. This test started failing due to a PyPI update of pyctcdecode, which incorporated a number of bug fixes to the LM decode method (see https://github.com/kensho-technologies/pyctcdecode/issues/107#issuecomment-1400757049). This P...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21277/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21277/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21277", "html_url": "https://github.com/huggingface/transformers/pull/21277", "diff_url": "https://github.com/huggingface/transformers/pull/21277.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21277.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21276
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21276/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21276/comments
https://api.github.com/repos/huggingface/transformers/issues/21276/events
https://github.com/huggingface/transformers/pull/21276
1,554,609,888
PR_kwDOCUB6oc5IaAPt
21,276
[Doc] fix broken link
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
Fixes https://github.com/huggingface/transformers/issues/21275 I can confirm the link at least works in https://moon-ci-docs.huggingface.co/docs/transformers/pr_21276/en/main_classes/text_generation cc @ydshieh 💯
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21276/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21276/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21276", "html_url": "https://github.com/huggingface/transformers/pull/21276", "diff_url": "https://github.com/huggingface/transformers/pull/21276.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21276.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21275
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21275/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21275/comments
https://api.github.com/repos/huggingface/transformers/issues/21275/events
https://github.com/huggingface/transformers/issues/21275
1,554,534,134
I_kwDOCUB6oc5cqE72
21,275
Text generation link not working
{ "login": "BramVanroy", "id": 2779410, "node_id": "MDQ6VXNlcjI3Nzk0MTA=", "avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BramVanroy", "html_url": "https://github.com/BramVanroy", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "will move this to `transformers`", "Thanks for noticing! should be addressed in #21276" ]
1,674
1,674
1,674
COLLABORATOR
null
I'm not sure if this is the right place to notify such issues. On [this page](https://huggingface.co/docs/transformers/main_classes/text_generation) the link in the second paragraph to "text generation strategies guide" does not work. It should point to: https://huggingface.co/docs/transformers/main/generation_strat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21275/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21275/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21274
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21274/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21274/comments
https://api.github.com/repos/huggingface/transformers/issues/21274/events
https://github.com/huggingface/transformers/issues/21274
1,554,347,163
I_kwDOCUB6oc5cpXSb
21,274
Output `past_key_values` from `TextGenerationPipeline`.
{ "login": "gilljon", "id": 113929785, "node_id": "U_kgDOBspuOQ", "avatar_url": "https://avatars.githubusercontent.com/u/113929785?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gilljon", "html_url": "https://github.com/gilljon", "followers_url": "https://api.github.com/users/gilljon/foll...
[]
closed
false
null
[]
[ "That's interesting, the current pipeline does not support chunking indeed. However, I think adding this would not be really hard cc @Narsil, would go in the `generate_kwargs`, only issue is that it is not going out. ", "That would be nice, but requires pretty much changing `generate` upside down and inside out.\...
1,674
1,677
1,677
NONE
null
### Feature request Currently, `TextGenerationPipeline` does not allow users to extract the `past_key_values` object from its output. It would be nice for us to be able to do so, so that we could then stream the intermediate text in chunks, whilst not having to recalculate the `past_key_values` after every time we yie...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21274/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21274/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21273
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21273/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21273/comments
https://api.github.com/repos/huggingface/transformers/issues/21273/events
https://github.com/huggingface/transformers/pull/21273
1,554,198,632
PR_kwDOCUB6oc5IYo8t
21,273
Use `logger.info` instead of `print` to emit a logging message in `hub.py`
{ "login": "hkiyomaru", "id": 13678589, "node_id": "MDQ6VXNlcjEzNjc4NTg5", "avatar_url": "https://avatars.githubusercontent.com/u/13678589?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hkiyomaru", "html_url": "https://github.com/hkiyomaru", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? I found a line that uses the `print` method to emit a logging message in `transformers/utils/hub.py`. When I was developing a CLI app that outputs results in a specific format to stdout, this line emitted a logging message to stdout, resulting in an error. This PR fixes the line to use the `l...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21273/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21273/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21273", "html_url": "https://github.com/huggingface/transformers/pull/21273", "diff_url": "https://github.com/huggingface/transformers/pull/21273.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21273.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21272
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21272/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21272/comments
https://api.github.com/repos/huggingface/transformers/issues/21272/events
https://github.com/huggingface/transformers/issues/21272
1,553,853,569
I_kwDOCUB6oc5cneyB
21,272
Poor CPU Inference Scalability Possibly Due to Disk IO
{ "login": "jrsperry", "id": 43385427, "node_id": "MDQ6VXNlcjQzMzg1NDI3", "avatar_url": "https://avatars.githubusercontent.com/u/43385427?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jrsperry", "html_url": "https://github.com/jrsperry", "followers_url": "https://api.github.com/users/jrs...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,674
1,677
1,677
NONE
null
### System Info Environment: Python: 3.10.8 Pytorch: 1.12.1 Transformers: 4.24.0 Model Used: cardiffnlp/twitter-roberta-base-sentiment Tests Performed: I created a simple docker image based on this [github repo](https://github.com/jrsperry/transformers-sentiment-test) which would make predictions on sent...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21272/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21272/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21271
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21271/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21271/comments
https://api.github.com/repos/huggingface/transformers/issues/21271/events
https://github.com/huggingface/transformers/issues/21271
1,553,850,489
I_kwDOCUB6oc5cneB5
21,271
issue warning about different batch size being used for --resume_from_checkpoint
{ "login": "tohara-PandoLogic", "id": 108832763, "node_id": "U_kgDOBnyn-w", "avatar_url": "https://avatars.githubusercontent.com/u/108832763?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tohara-PandoLogic", "html_url": "https://github.com/tohara-PandoLogic", "followers_url": "https://api...
[]
closed
false
null
[]
[ "The examples presented in this repo are not feature-complete apps with ironclad error messages, but just that... examples. We keep them with as little code as possible so they can be easily understood and customized. That's why they won't contain warnings for everything that could go wrong.", "OK, so this turns ...
1,674
1,678
1,678
NONE
null
### Feature request According to #7198 pretraining must always use the same batch size: > [15 Dec 21] > [bowen-n] When I resume training from a checkpoint, I use a new batch size different from the previous training and it seems that the number of the skipped epoch is wrong. > ... > [sgugger] That feature is n...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21271/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21271/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21270
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21270/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21270/comments
https://api.github.com/repos/huggingface/transformers/issues/21270/events
https://github.com/huggingface/transformers/pull/21270
1,553,800,669
PR_kwDOCUB6oc5IXTqA
21,270
Adding resource section to GPT-J docs
{ "login": "adit299", "id": 43497982, "node_id": "MDQ6VXNlcjQzNDk3OTgy", "avatar_url": "https://avatars.githubusercontent.com/u/43497982?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adit299", "html_url": "https://github.com/adit299", "followers_url": "https://api.github.com/users/adit29...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hello,\r\n\r\nI have been currently working on finding resources for GPT-J, and mainly I have been using the links mentioned in #20055 and searching GPT-J in each of the links. I found a few links, but I feel this is not the best way...
1,674
1,675
1,675
CONTRIBUTOR
null
# What does this PR do? Adds resources section to the GPT-J documents. <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21270/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21270/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21270", "html_url": "https://github.com/huggingface/transformers/pull/21270", "diff_url": "https://github.com/huggingface/transformers/pull/21270.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21270.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21269
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21269/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21269/comments
https://api.github.com/repos/huggingface/transformers/issues/21269/events
https://github.com/huggingface/transformers/pull/21269
1,553,792,823
PR_kwDOCUB6oc5IXR4k
21,269
[GenerationConfig] add additional kwargs handling
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Also will have to add test + this is apparently breaking a lot of things haha ", "Okay, after talking a bit with @gante and testing, this is not the best, this PR will focus on other missing functionalities. Mostly addition of the ...
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? This add the same support that we have in the `PretrainedConfig`, where additional kwargs are automaticallu updated. This will allow users to re-use the `GenerationConfig` class for most of the use_cases, whithout having to add a model specific class. I was trying to load [the following `gene...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21269/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21269/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21269", "html_url": "https://github.com/huggingface/transformers/pull/21269", "diff_url": "https://github.com/huggingface/transformers/pull/21269.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21269.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21268
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21268/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21268/comments
https://api.github.com/repos/huggingface/transformers/issues/21268/events
https://github.com/huggingface/transformers/pull/21268
1,553,566,677
PR_kwDOCUB6oc5IWfjq
21,268
Supported pipeline tasks update
{ "login": "MKhalusova", "id": 1065417, "node_id": "MDQ6VXNlcjEwNjU0MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MKhalusova", "html_url": "https://github.com/MKhalusova", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
The docstring of the `transformers.pipeline` listed only 16 supported tasks while `SUPPORTED_TASKS` contains 24 tasks. This PR adds the missing tasks to the docstrings so that the generated reference docs accurately list all of the supported tasks here - https://huggingface.co/docs/transformers/main/en/main_classes/pip...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21268/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21268/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21268", "html_url": "https://github.com/huggingface/transformers/pull/21268", "diff_url": "https://github.com/huggingface/transformers/pull/21268.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21268.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21267
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21267/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21267/comments
https://api.github.com/repos/huggingface/transformers/issues/21267/events
https://github.com/huggingface/transformers/pull/21267
1,553,537,042
PR_kwDOCUB6oc5IWZFk
21,267
Remove CLI spams with Whisper FeatureExtractor
{ "login": "qmeeus", "id": 25608944, "node_id": "MDQ6VXNlcjI1NjA4OTQ0", "avatar_url": "https://avatars.githubusercontent.com/u/25608944?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qmeeus", "html_url": "https://github.com/qmeeus", "followers_url": "https://api.github.com/users/qmeeus/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hey, thanks for the contribution! I agree with you, wee should not save the filters as they just depend on the parameters with which they were created, which is why I would be in favor of simply adding the following : \r\n\r\n```pyth...
1,674
1,676
1,676
CONTRIBUTOR
null
# What does this PR do? Whisper feature extractor representation includes the MEL filters, a list of list that is represented as ~16,000 lines. This needlessly spams the command line. I added a `__repr__` method that replaces this list with a string `<array of shape (80, 201)>` ## Who can review? Anyone in the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21267/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21267/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21267", "html_url": "https://github.com/huggingface/transformers/pull/21267", "diff_url": "https://github.com/huggingface/transformers/pull/21267.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21267.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21266
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21266/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21266/comments
https://api.github.com/repos/huggingface/transformers/issues/21266/events
https://github.com/huggingface/transformers/pull/21266
1,553,478,494
PR_kwDOCUB6oc5IWMkj
21,266
Use return_tensors="np" instead of "tf"
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
MEMBER
null
This PR is doing exactly the same thing as the [notebooks PR here](https://github.com/huggingface/notebooks/pull/308). In our TF examples, we use return_tensors="tf" for the data collators. However, `prepare_tf_dataset` and `to_tf_dataset` actually use a NumPy loader internally, which we wrap with a `tf.data.Dataset...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21266/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21266/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21266", "html_url": "https://github.com/huggingface/transformers/pull/21266", "diff_url": "https://github.com/huggingface/transformers/pull/21266.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21266.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21265
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21265/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21265/comments
https://api.github.com/repos/huggingface/transformers/issues/21265/events
https://github.com/huggingface/transformers/pull/21265
1,553,349,589
PR_kwDOCUB6oc5IVwvD
21,265
Notebook examples grouping and update
{ "login": "MKhalusova", "id": 1065417, "node_id": "MDQ6VXNlcjEwNjU0MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MKhalusova", "html_url": "https://github.com/MKhalusova", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
This PR groups the notebook examples on [this page](https://huggingface.co/docs/transformers/main/en/notebooks) by modality for easier navigation. It also adds a few notebooks from the official repo that were not previously listed, e.g. fine-tuning models for image classification, semantic segmentation, video classific...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21265/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21265/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21265", "html_url": "https://github.com/huggingface/transformers/pull/21265", "diff_url": "https://github.com/huggingface/transformers/pull/21265.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21265.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21264
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21264/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21264/comments
https://api.github.com/repos/huggingface/transformers/issues/21264/events
https://github.com/huggingface/transformers/pull/21264
1,553,303,293
PR_kwDOCUB6oc5IVm8A
21,264
Generate: save generation config with the models' `.save_pretrained()`
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
MEMBER
null
# What does this PR do? As originally discussed in #20388, this PR makes `model.save_pretrained()` also call `model.generation_config.save_pretrained()` if it is a generation-capable model (on all 3 frameworks). It also adds a bunch of tests, namely: - tests whether the generation config can be pushed to the hub...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21264/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21264/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21264", "html_url": "https://github.com/huggingface/transformers/pull/21264", "diff_url": "https://github.com/huggingface/transformers/pull/21264.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21264.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21263
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21263/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21263/comments
https://api.github.com/repos/huggingface/transformers/issues/21263/events
https://github.com/huggingface/transformers/pull/21263
1,553,301,588
PR_kwDOCUB6oc5IVmlF
21,263
[Whisper] Add rescaling function with `do_normalize`
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "The test works locally, merging 😉 " ]
1,674
1,677
1,677
COLLABORATOR
null
# What does this PR do? Fixes #19888, by allowing the user to `normalise` the input audio before computing the MEL spectrogra,.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21263/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21263/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21263", "html_url": "https://github.com/huggingface/transformers/pull/21263", "diff_url": "https://github.com/huggingface/transformers/pull/21263.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21263.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21262
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21262/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21262/comments
https://api.github.com/repos/huggingface/transformers/issues/21262/events
https://github.com/huggingface/transformers/issues/21262
1,553,203,083
I_kwDOCUB6oc5ck_-L
21,262
[Whisper] ASR Pipeline with "return_timestamps=True" gives IndexError: index -1 is out of bounds for axis 0 with size 0
{ "login": "MohammedRakib", "id": 31034499, "node_id": "MDQ6VXNlcjMxMDM0NDk5", "avatar_url": "https://avatars.githubusercontent.com/u/31034499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MohammedRakib", "html_url": "https://github.com/MohammedRakib", "followers_url": "https://api.githu...
[]
closed
false
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[ { "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "...
[ "Thanks, this is normal and is currently being fixed 😉 see #21252 ", "I have also the same problem, how you fixed this problem ? ", "@avishai119 Are you running on `transformers@main` ? It should be fixed there.", "what you mean ?\r\nthis is my code:\r\n\r\n`\r\nfrom transformers import AutoProcessor, pipe...
1,674
1,675
1,674
NONE
null
### System Info - `transformers` version: 4.26.0.dev0 - Platform: Linux-5.10.147+-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.11.1 - PyTorch version (GPU?): 1.13.1+cu116 (True) - Tensorflow version (GPU?): 2.9.2 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax v...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21262/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21262/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21261
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21261/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21261/comments
https://api.github.com/repos/huggingface/transformers/issues/21261/events
https://github.com/huggingface/transformers/issues/21261
1,553,133,333
I_kwDOCUB6oc5cku8V
21,261
installation.mdx.
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,674
1,674
1,674
CONTRIBUTOR
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21261/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21261/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21260
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21260/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21260/comments
https://api.github.com/repos/huggingface/transformers/issues/21260/events
https://github.com/huggingface/transformers/pull/21260
1,553,125,653
PR_kwDOCUB6oc5IVBlJ
21,260
Update TF doc test template
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Closed as changes are a subset of changes introduced in #21225 " ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? The PR #21106 introduced failures in some doctests: * src/transformers/models/deit/modeling_tf_deit.py::transformers.models.deit.modeling_tf_deit.TFDeiTForImageClassificationWithTeacher.call * src/transformers/models/resnet/modeling_tf_resnet.py::transformers.models.resnet.modeling_tf_resn...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21260/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21260/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21260", "html_url": "https://github.com/huggingface/transformers/pull/21260", "diff_url": "https://github.com/huggingface/transformers/pull/21260.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21260.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21259
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21259/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21259/comments
https://api.github.com/repos/huggingface/transformers/issues/21259/events
https://github.com/huggingface/transformers/pull/21259
1,553,121,327
PR_kwDOCUB6oc5IVApz
21,259
Add methods to PreTrainedModel to use PyTorch's BetterTransformer
{ "login": "fxmarty", "id": 9808326, "node_id": "MDQ6VXNlcjk4MDgzMjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fxmarty", "html_url": "https://github.com/fxmarty", "followers_url": "https://api.github.com/users/fxmarty/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "as a side note, since in the previous `optimum` versions the `save_pretrained` and `push_to_hub` methods [are not blocked](https://github.com/huggingface/optimum/blob/18e73f3ba4be33071f53650824fe625d3018af40/optimum/bettertransformer...
1,674
1,682
1,682
COLLABORATOR
null
As per title. Should be merged only on the next Optimum release that will include https://github.com/huggingface/optimum/pull/676 ## Before submitting Tests are still to be done. ## Who can review? @younesbelkada @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21259/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21259/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21259", "html_url": "https://github.com/huggingface/transformers/pull/21259", "diff_url": "https://github.com/huggingface/transformers/pull/21259.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21259.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21258
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21258/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21258/comments
https://api.github.com/repos/huggingface/transformers/issues/21258/events
https://github.com/huggingface/transformers/pull/21258
1,553,120,483
PR_kwDOCUB6oc5IVAeO
21,258
Add missing checkpoint for doctest
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? The checkpoint for mobilenetv2 was accidentally removed in #21106 (see file change [here](https://github.com/huggingface/transformers/pull/21106/files#diff-f224d96e46d68f58f9632184f915210b3217a61253c42ff6354763e1b0f34050)), resulting in failing doctests. This adds it back. ## Before submi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21258/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21258/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21258", "html_url": "https://github.com/huggingface/transformers/pull/21258", "diff_url": "https://github.com/huggingface/transformers/pull/21258.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21258.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21257
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21257/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21257/comments
https://api.github.com/repos/huggingface/transformers/issues/21257/events
https://github.com/huggingface/transformers/pull/21257
1,553,114,587
PR_kwDOCUB6oc5IU_Mx
21,257
[ci-daily] Fix pipeline tests
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? Should fix the `automatic_speech_recognition_pipeline` tests. Also using `streaming` dataset to speed up tests. Think it is a good idea if we are only using 1 data.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21257/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21257/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21257", "html_url": "https://github.com/huggingface/transformers/pull/21257", "diff_url": "https://github.com/huggingface/transformers/pull/21257.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21257.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21256
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21256/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21256/comments
https://api.github.com/repos/huggingface/transformers/issues/21256/events
https://github.com/huggingface/transformers/pull/21256
1,553,066,405
PR_kwDOCUB6oc5IU0se
21,256
Fix MaskFormerImageProcessor.post_process_instance_segmentation
{ "login": "alaradirik", "id": 8944735, "node_id": "MDQ6VXNlcjg5NDQ3MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alaradirik", "html_url": "https://github.com/alaradirik", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Thanks for fixing! Should we add a corresponding test for it, which verifies the postprocessed results?\r\n\r\nI added a test but Mask2Former, unlike MaskFormer, outputs segmentation maps of shape (96, 96) instead of the preprocess...
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? Fixes the `post_process_instance_segmentation` method of `MaskFormerImageProcessor`. This issue mainly affects Mask2Former as it uses MaskFormerImageProcessor and there aren't any MaskFormer models trained on instance segmentation datasets. Unlike panoptic segmentation post-processing, the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21256/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21256/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21256", "html_url": "https://github.com/huggingface/transformers/pull/21256", "diff_url": "https://github.com/huggingface/transformers/pull/21256.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21256.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21255
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21255/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21255/comments
https://api.github.com/repos/huggingface/transformers/issues/21255/events
https://github.com/huggingface/transformers/issues/21255
1,553,064,306
I_kwDOCUB6oc5ckeFy
21,255
DistilBertModel to sequence classification
{ "login": "Rane90", "id": 34508332, "node_id": "MDQ6VXNlcjM0NTA4MzMy", "avatar_url": "https://avatars.githubusercontent.com/u/34508332?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rane90", "html_url": "https://github.com/Rane90", "followers_url": "https://api.github.com/users/Rane90/fo...
[]
closed
false
null
[]
[ "Hey! These kind of question have more sense if you ask in the [forum](https://discuss.huggingface.co/), as it is not exactly an issue nor a bug. Nevertheless, IMO you should use `DistilBertForSequenceClassification` and just modify the `max_position_embeddings`. \r\n\r\nClosing as it is not an issue" ]
1,674
1,674
1,674
NONE
null
### System Info Hi, I'm trying to create a ```DistilBertModel ``` model for sequence classification, such that ```max_position_embeddings=1024``` (otherwise I would have used ```DistilBertForSequenceClassification``` which is defult to ```max_position_embeddings=512``` ) I define the model in the following way: ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21255/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21255/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21254
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21254/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21254/comments
https://api.github.com/repos/huggingface/transformers/issues/21254/events
https://github.com/huggingface/transformers/pull/21254
1,553,049,918
PR_kwDOCUB6oc5IUxHT
21,254
Fix reformer CI
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? Some fixes are required for doctest after #21199. See comments in the review.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21254/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21254/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21254", "html_url": "https://github.com/huggingface/transformers/pull/21254", "diff_url": "https://github.com/huggingface/transformers/pull/21254.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21254.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21253
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21253/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21253/comments
https://api.github.com/repos/huggingface/transformers/issues/21253/events
https://github.com/huggingface/transformers/pull/21253
1,552,924,774
PR_kwDOCUB6oc5IUV7t
21,253
[WIP] Adding GPT2 with Multi Query Attention
{ "login": "lvwerra", "id": 8264887, "node_id": "MDQ6VXNlcjgyNjQ4ODc=", "avatar_url": "https://avatars.githubusercontent.com/u/8264887?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lvwerra", "html_url": "https://github.com/lvwerra", "followers_url": "https://api.github.com/users/lvwerra/...
[]
closed
false
null
[]
[ "Regarding tests `test_batch_generation` and `test_batch_generation_2heads`. If token initialisation class is changed form `GPT2Tokenizer` to `GPT2TokenizerFast` the test passes through until generated tokens assertion. Is it intended behaviour or the loading functionality should have rerouted from the default c...
1,674
1,682
1,682
MEMBER
null
# Adding GPT2 with Multi Query Attention This PR adds a GPT2 architecture with Multi Query Attention (MQA). With MQA the V,K weights are shared across heads and only Qs are unique which makes it possible to run the model with very large batches. This is the Architecture used in [BigCode's SantaCoder](https://hugg...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21253/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21253/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21253", "html_url": "https://github.com/huggingface/transformers/pull/21253", "diff_url": "https://github.com/huggingface/transformers/pull/21253.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21253.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21252
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21252/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21252/comments
https://api.github.com/repos/huggingface/transformers/issues/21252/events
https://github.com/huggingface/transformers/pull/21252
1,552,877,795
PR_kwDOCUB6oc5IULuD
21,252
[Whisper] Refactor whisper
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[ { "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "...
[ "_The documentation is not available anymore as the PR was closed or merged._", "\"The language is automatically detected\". From my experience the language detection by Whisper is very unreliable. Will it still be possible to specify language?", "Sure, let's make sure we still allow the language to be past! Th...
1,674
1,706
1,674
COLLABORATOR
null
# What does this PR do? The goal of this PR is to allow the users to do the following : ```python ... whisper_model.generate(audio, return_timestamps = True) whisper_model.generate(audio, return_timestamps = True, task = Transcribe) ``` The language is automatically detected. This also simplifies the pipeline ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21252/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21252/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21252", "html_url": "https://github.com/huggingface/transformers/pull/21252", "diff_url": "https://github.com/huggingface/transformers/pull/21252.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21252.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21251
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21251/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21251/comments
https://api.github.com/repos/huggingface/transformers/issues/21251/events
https://github.com/huggingface/transformers/pull/21251
1,552,872,673
PR_kwDOCUB6oc5IUKoN
21,251
Generate: precision fix in compute_transition_scores doctests
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
MEMBER
null
# What does this PR do? See title -- it was causing doctests to fail.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21251/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21251/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21251", "html_url": "https://github.com/huggingface/transformers/pull/21251", "diff_url": "https://github.com/huggingface/transformers/pull/21251.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21251.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21250
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21250/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21250/comments
https://api.github.com/repos/huggingface/transformers/issues/21250/events
https://github.com/huggingface/transformers/pull/21250
1,552,867,539
PR_kwDOCUB6oc5IUJhf
21,250
[Whisper] fix all issues with unk token
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? Previously, all OOV ( and thus timestamp tokens) outputed by the model are decoded to `<|endoftext|>` by the `xxx.en` whisper models. This does not happen with the multilingual model only because I added `""` to the vocabulary, and the `unk_token_id` is the same `""`. But this does not really m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21250/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21250/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21250", "html_url": "https://github.com/huggingface/transformers/pull/21250", "diff_url": "https://github.com/huggingface/transformers/pull/21250.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21250.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21249
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21249/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21249/comments
https://api.github.com/repos/huggingface/transformers/issues/21249/events
https://github.com/huggingface/transformers/issues/21249
1,552,619,152
I_kwDOCUB6oc5cixaQ
21,249
Unable to use GPU during wav2vec2 decoding
{ "login": "manjuke", "id": 6142443, "node_id": "MDQ6VXNlcjYxNDI0NDM=", "avatar_url": "https://avatars.githubusercontent.com/u/6142443?v=4", "gravatar_id": "", "url": "https://api.github.com/users/manjuke", "html_url": "https://github.com/manjuke", "followers_url": "https://api.github.com/users/manjuke/...
[]
closed
false
null
[]
[ "`pyctcdecode` doesn't support GPU", "Indeed, `pyctcdecode` is a CPU only decoding method. PyTorch recently released a fast beam search decoder with a Flashlight backend: https://pytorch.org/blog/fast-beam-search-decoding-in-pytorch-with-torchaudio-and-flashlight-text/\r\n\r\nWe could look at integrating this int...
1,674
1,678
1,678
NONE
null
### System Info Hi All, I have built a finetuned model for Tamil using facebook/wav2vec2-xls-r-300m. I could do inferencing successfully using CPU. However, Wav2vec2 decoding (with pyctcdecoder) using GPU is not working. I have tried enabling device='gpu' in the decoding script, and also running the decoding script a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21249/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21249/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21248
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21248/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21248/comments
https://api.github.com/repos/huggingface/transformers/issues/21248/events
https://github.com/huggingface/transformers/issues/21248
1,552,604,015
I_kwDOCUB6oc5cittv
21,248
add interface or integration to provide interpretability/explainability of hugging face models
{ "login": "aahmadai", "id": 49294247, "node_id": "MDQ6VXNlcjQ5Mjk0MjQ3", "avatar_url": "https://avatars.githubusercontent.com/u/49294247?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aahmadai", "html_url": "https://github.com/aahmadai", "followers_url": "https://api.github.com/users/aah...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,674
1,677
1,677
NONE
null
### Feature request require model answer requests on training biases and model transparency for interpretability and explainability within workflow of such model processes, currently there is no support for this on the platform e.g. a form of blackbox testing on the models a form of ui interface a way to evalu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21248/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21248/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21246
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21246/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21246/comments
https://api.github.com/repos/huggingface/transformers/issues/21246/events
https://github.com/huggingface/transformers/issues/21246
1,552,330,878
I_kwDOCUB6oc5chrB-
21,246
BERT Embedding Weights VS Last Hidden State
{ "login": "leejiayi098", "id": 51938633, "node_id": "MDQ6VXNlcjUxOTM4NjMz", "avatar_url": "https://avatars.githubusercontent.com/u/51938633?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leejiayi098", "html_url": "https://github.com/leejiayi098", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "After much more digging, I found a superb in-depth explanation by Alexey Kravets in this article: \r\nhttps://towardsdatascience.com/deep-dive-into-the-code-of-bert-model-9f618472353e\r\n\r\nApparently, the last hidden state returns the context-aware representations of the word embeddings, which are calculated fro...
1,674
1,694
1,674
NONE
null
### BERT for Feature Extraction: Embedding Weights VS Last Hidden State I am trying to extract the pretrained BERT token embeddings and get the feature vector for any specific token by indexing the token ID. However, I found that indexing the pretrained embedding matrix returns very different values as compared to fee...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21246/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21246/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21245
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21245/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21245/comments
https://api.github.com/repos/huggingface/transformers/issues/21245/events
https://github.com/huggingface/transformers/pull/21245
1,552,277,100
PR_kwDOCUB6oc5ISMPA
21,245
[GIT] Convert more checkpoints
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? Microsoft open-sourced some more GIT checkpoints (see https://github.com/microsoft/GenerativeImage2Text/issues/34#issuecomment-1374378625), hence I've converted them by extending the conversion script.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21245/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21245/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21245", "html_url": "https://github.com/huggingface/transformers/pull/21245", "diff_url": "https://github.com/huggingface/transformers/pull/21245.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21245.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21244
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21244/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21244/comments
https://api.github.com/repos/huggingface/transformers/issues/21244/events
https://github.com/huggingface/transformers/issues/21244
1,552,257,574
I_kwDOCUB6oc5chZIm
21,244
Models not in eval()-mode when loaded with from_config()
{ "login": "hadsed", "id": 2019168, "node_id": "MDQ6VXNlcjIwMTkxNjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2019168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hadsed", "html_url": "https://github.com/hadsed", "followers_url": "https://api.github.com/users/hadsed/foll...
[]
closed
false
null
[]
[ "A model created with `from_config` will have random weights and is thus not suitable for inference. This is why it is put in training mode, as the documentation clearly states. In any case, it has been the case for such a long time that reverting this would surprise way more users with a breaking change.", "The ...
1,674
1,674
1,674
NONE
null
### System Info The docs say that models loaded with `from_pretrained()` are done so with `model.eval()` mode on by default. But when using `from_config()` that's not the case, even though loading configs and tokenizers would be using `from_pretrained()` like so: ```python config = AutoConfig.from_pretrained( M...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21244/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21244/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21243
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21243/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21243/comments
https://api.github.com/repos/huggingface/transformers/issues/21243/events
https://github.com/huggingface/transformers/issues/21243
1,552,230,382
I_kwDOCUB6oc5chSfu
21,243
How to create distil-opt/bloom
{ "login": "omerarshad", "id": 16164105, "node_id": "MDQ6VXNlcjE2MTY0MTA1", "avatar_url": "https://avatars.githubusercontent.com/u/16164105?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omerarshad", "html_url": "https://github.com/omerarshad", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "This is not an issue, could you maybe ask the question in the [forum](https://discuss.huggingface.co/)? Also, the answer is no. @younesbelkada worked a bit on this so he can answer if you ping him on the forum." ]
1,674
1,674
1,674
NONE
null
Is there any script to create a distilled version of opt or bloom model?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21243/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21243/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21242
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21242/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21242/comments
https://api.github.com/repos/huggingface/transformers/issues/21242/events
https://github.com/huggingface/transformers/pull/21242
1,552,066,891
PR_kwDOCUB6oc5IRi75
21,242
[`pipeline`] add explicit `ValueError` if you don't pass a valid arg
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21242). All of your documentation changes will be reflected on that endpoint." ]
1,674
1,674
1,674
CONTRIBUTOR
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21242/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21242/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21242", "html_url": "https://github.com/huggingface/transformers/pull/21242", "diff_url": "https://github.com/huggingface/transformers/pull/21242.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21242.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21241
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21241/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21241/comments
https://api.github.com/repos/huggingface/transformers/issues/21241/events
https://github.com/huggingface/transformers/pull/21241
1,552,065,438
PR_kwDOCUB6oc5IRiqG
21,241
Add Japanese translation installation.mdx
{ "login": "kambehmw", "id": 22996144, "node_id": "MDQ6VXNlcjIyOTk2MTQ0", "avatar_url": "https://avatars.githubusercontent.com/u/22996144?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kambehmw", "html_url": "https://github.com/kambehmw", "followers_url": "https://api.github.com/users/kam...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? Adds Japanese translation to installation.mdx <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21241/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21241/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21241", "html_url": "https://github.com/huggingface/transformers/pull/21241", "diff_url": "https://github.com/huggingface/transformers/pull/21241.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21241.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21240
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21240/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21240/comments
https://api.github.com/repos/huggingface/transformers/issues/21240/events
https://github.com/huggingface/transformers/issues/21240
1,552,034,771
I_kwDOCUB6oc5cgivT
21,240
AutoTokenizer loading fails with `object has no attribute 'config'`
{ "login": "fdalvi", "id": 859719, "node_id": "MDQ6VXNlcjg1OTcxOQ==", "avatar_url": "https://avatars.githubusercontent.com/u/859719?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fdalvi", "html_url": "https://github.com/fdalvi", "followers_url": "https://api.github.com/users/fdalvi/follow...
[]
closed
false
null
[]
[ "Hi, @fdalvi the code runs as expected if you use `pipeline` instead of `TokenClassificationPipeline`,\r\n```\r\nfrom transformers import AutoTokenizer, AutoModelForTokenClassification, pipeline\r\n\r\nmodel_name = \"QCRI/bert-base-multilingual-cased-pos-english\"\r\ntokenizer = AutoTokenizer.from_pretrained(model_...
1,674
1,674
1,674
NONE
null
### System Info - `transformers` version: 4.25.1 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.9.16 - Huggingface_hub version: 0.11.1 - PyTorch version (GPU?): 1.13.1 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21240/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21240/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21239
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21239/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21239/comments
https://api.github.com/repos/huggingface/transformers/issues/21239/events
https://github.com/huggingface/transformers/pull/21239
1,552,012,846
PR_kwDOCUB6oc5IRZEo
21,239
[WIP] Add UDOP models
{ "login": "raghavanone", "id": 115454562, "node_id": "U_kgDOBuGyYg", "avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4", "gravatar_id": "", "url": "https://api.github.com/users/raghavanone", "html_url": "https://github.com/raghavanone", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger @NielsRogge The model weights are here https://huggingface.co/ZinengTang/Udop/tree/main , But how to get the config for these models ? \r\n", "@raghavanone For reference, someone asked the same question on the UDOP repo:...
1,674
1,682
1,678
CONTRIBUTOR
null
#20650
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21239/reactions", "total_count": 7, "+1": 5, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21239/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21239", "html_url": "https://github.com/huggingface/transformers/pull/21239", "diff_url": "https://github.com/huggingface/transformers/pull/21239.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21239.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21238
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21238/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21238/comments
https://api.github.com/repos/huggingface/transformers/issues/21238/events
https://github.com/huggingface/transformers/issues/21238
1,551,896,514
I_kwDOCUB6oc5cgA_C
21,238
Statement seems to have no effect
{ "login": "daskol", "id": 9336514, "node_id": "MDQ6VXNlcjkzMzY1MTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/9336514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/daskol", "html_url": "https://github.com/daskol", "followers_url": "https://api.github.com/users/daskol/foll...
[]
closed
false
null
[]
[ "It turns out that this is not a function but a property which do some complex initialization. :shrug:\r\n" ]
1,674
1,674
1,674
NONE
null
### System Info transformers from `v4.3.3` to `v4.25.1`. ### Who can help? @sgugger ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) #...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21238/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21238/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21237
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21237/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21237/comments
https://api.github.com/repos/huggingface/transformers/issues/21237/events
https://github.com/huggingface/transformers/pull/21237
1,551,830,527
PR_kwDOCUB6oc5IQ3Hx
21,237
Add support of backward_prefetch and forward_prefetch
{ "login": "raghavanone", "id": 115454562, "node_id": "U_kgDOBuGyYg", "avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4", "gravatar_id": "", "url": "https://api.github.com/users/raghavanone", "html_url": "https://github.com/raghavanone", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger Done, But not sure why this test is failing. Any pointers on how to make this build green would help.", "@sgugger @pacman100 Need pointer on why this test is failing.", "> The test is a flaky one, don't worry about it. ...
1,674
1,675
1,675
CONTRIBUTOR
null
#21156 Adds support for backward_prefetch and forward_prefetch in trainer. @sgugger @pacman100
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21237/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21237/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21237", "html_url": "https://github.com/huggingface/transformers/pull/21237", "diff_url": "https://github.com/huggingface/transformers/pull/21237.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21237.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21236
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21236/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21236/comments
https://api.github.com/repos/huggingface/transformers/issues/21236/events
https://github.com/huggingface/transformers/pull/21236
1,551,813,927
PR_kwDOCUB6oc5IQ0Ba
21,236
Optimize by not computing gradients for parameters set to requires_grad=False
{ "login": "raghavanone", "id": 115454562, "node_id": "U_kgDOBuGyYg", "avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4", "gravatar_id": "", "url": "https://api.github.com/users/raghavanone", "html_url": "https://github.com/raghavanone", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21236). All of your documentation changes will be reflected on that endpoint.", "@sgugger Need to retrigger this build .\r\n" ]
1,674
1,674
1,674
CONTRIBUTOR
null
Fix #21182 @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21236/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21236/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21236", "html_url": "https://github.com/huggingface/transformers/pull/21236", "diff_url": "https://github.com/huggingface/transformers/pull/21236.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21236.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21235
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21235/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21235/comments
https://api.github.com/repos/huggingface/transformers/issues/21235/events
https://github.com/huggingface/transformers/pull/21235
1,551,795,798
PR_kwDOCUB6oc5IQwqm
21,235
WIP porting of lite transformer
{ "login": "raghavanone", "id": 115454562, "node_id": "U_kgDOBuGyYg", "avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4", "gravatar_id": "", "url": "https://api.github.com/users/raghavanone", "html_url": "https://github.com/raghavanone", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "@NielsRogge Needs some help how to go about the conversion script and testing. \r\n\r\nThe original model is not in pytorch hub, I has only Google Drive link. In the conversion script should I download and convert ? ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21...
1,674
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? #19730
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21235/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21235/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21235", "html_url": "https://github.com/huggingface/transformers/pull/21235", "diff_url": "https://github.com/huggingface/transformers/pull/21235.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21235.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21234
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21234/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21234/comments
https://api.github.com/repos/huggingface/transformers/issues/21234/events
https://github.com/huggingface/transformers/pull/21234
1,551,794,547
PR_kwDOCUB6oc5IQwbT
21,234
Speed up `BeamScorer` by 1000%
{ "login": "fzyzcjy", "id": 5236035, "node_id": "MDQ6VXNlcjUyMzYwMzU=", "avatar_url": "https://avatars.githubusercontent.com/u/5236035?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fzyzcjy", "html_url": "https://github.com/fzyzcjy", "followers_url": "https://api.github.com/users/fzyzcjy/...
[]
closed
false
null
[]
[ "I am really unfamiliar with huggingface CI, it errors:\r\n\r\n```\r\nFrom github.com:huggingface/transformers\r\n * [new ref] refs/pull/21234/head -> origin/pull/21234\r\nChecking out branch\r\nfatal: reference is not a tree: 9fb13c79a72d13cdf0dd59d48762cd7c95370b29\r\n\r\nexit status 128\r\n```\r\n\r\...
1,674
1,697
1,677
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21234/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21234/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21234", "html_url": "https://github.com/huggingface/transformers/pull/21234", "diff_url": "https://github.com/huggingface/transformers/pull/21234.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21234.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21233
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21233/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21233/comments
https://api.github.com/repos/huggingface/transformers/issues/21233/events
https://github.com/huggingface/transformers/issues/21233
1,551,782,524
I_kwDOCUB6oc5cflJ8
21,233
IndexError: index out of range in self during ViltForImagesAndTextClassification fine-tuning
{ "login": "shantanu778", "id": 25875992, "node_id": "MDQ6VXNlcjI1ODc1OTky", "avatar_url": "https://avatars.githubusercontent.com/u/25875992?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shantanu778", "html_url": "https://github.com/shantanu778", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "cc @NielsRogge and @alaradirik ", "Hi @shantanu778, your input shapes seem correct but could you provide a minimal code example that reproduces the error?", "As you can see the error is in the forward function. I actually didn't changed a lot in ViltForImagesAndTextClassification class. Here is my CustomModel:...
1,674
1,685
1,678
NONE
null
### System Info I am running on google colab. Though I got the same error for GPU. Here I am showing without GPU information - `transformers` version: 4.25.1 - Platform: Linux-5.10.147+-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.11.1 - PyTorch version (GPU?): 1.13.1+cu116 (False...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21233/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21233/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21232
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21232/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21232/comments
https://api.github.com/repos/huggingface/transformers/issues/21232/events
https://github.com/huggingface/transformers/pull/21232
1,551,744,850
PR_kwDOCUB6oc5IQnWH
21,232
[Mask2Former] Add doc tests
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@ydshieh not sure why CI is failing, running `make fixup` locally doesn't result in any updates. My version is black 22.3", "@NielsRogge mine is also 22.03, but it reformates the modeling file. Not sure why though, do you want me t...
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? This PR ensures that the code snippet's in Mask2Former's docs work as intended, and are tested.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21232/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21232/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21232", "html_url": "https://github.com/huggingface/transformers/pull/21232", "diff_url": "https://github.com/huggingface/transformers/pull/21232.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21232.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21231
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21231/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21231/comments
https://api.github.com/repos/huggingface/transformers/issues/21231/events
https://github.com/huggingface/transformers/issues/21231
1,551,735,414
I_kwDOCUB6oc5cfZp2
21,231
how to fine tune BlipForImageTextRetrieval?
{ "login": "ScottishFold007", "id": 36957508, "node_id": "MDQ6VXNlcjM2OTU3NTA4", "avatar_url": "https://avatars.githubusercontent.com/u/36957508?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ScottishFold007", "html_url": "https://github.com/ScottishFold007", "followers_url": "https://api...
[]
closed
false
null
[]
[ "cc @younesbelkada ", "I'd recommend fine-tuning CLIP if you want to do image-text retrieval using this script: https://github.com/huggingface/transformers/tree/main/examples/pytorch/contrastive-image-text.\r\n\r\nFine-tuning BLIP might be harder as it involves some very specific loss functions.", "Thank you fo...
1,674
1,677
1,677
CONTRIBUTOR
null
### Feature request how to fine tune BlipForImageTextRetrieval? Can you borrow some methods from here to achieve this? https://github.com/salesforce/LAVIS/blob/main/lavis/models/blip_models/blip_retrieval.py ### Motivation Implement a graphical matching model that, due to the filtering of poor quality pairs of mat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21231/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21231/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21230
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21230/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21230/comments
https://api.github.com/repos/huggingface/transformers/issues/21230/events
https://github.com/huggingface/transformers/issues/21230
1,551,727,674
I_kwDOCUB6oc5cfXw6
21,230
when adding tokens for BlipModel,A bug has appeared
{ "login": "ScottishFold007", "id": 36957508, "node_id": "MDQ6VXNlcjM2OTU3NTA4", "avatar_url": "https://avatars.githubusercontent.com/u/36957508?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ScottishFold007", "html_url": "https://github.com/ScottishFold007", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hi @ScottishFold007 \r\nThanks for the issue, I don't really see how the script you provided can add a new vocab to the model, can you either provide the full script or the full traceback of the error? Thanks!", "This issue has been automatically marked as stale because it has not had recent activity. If you thi...
1,674
1,677
1,677
CONTRIBUTOR
null
When I execute the following code to add a vocab, an error is reported - ` import os os.environ['CUDA_VISIBLE_DEVICES'] = '0,1' import sys import logging import pandas as pd from dataclasses import dataclass, field from typing import Optional import torch from datasets import Dataset from datasets imp...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21230/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21230/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21229
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21229/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21229/comments
https://api.github.com/repos/huggingface/transformers/issues/21229/events
https://github.com/huggingface/transformers/pull/21229
1,551,703,898
PR_kwDOCUB6oc5IQf50
21,229
Add scikit-learn dependency to train langage-modeling
{ "login": "mostafaelhoushi", "id": 1451293, "node_id": "MDQ6VXNlcjE0NTEyOTM=", "avatar_url": "https://avatars.githubusercontent.com/u/1451293?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mostafaelhoushi", "html_url": "https://github.com/mostafaelhoushi", "followers_url": "https://api.g...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? In order to run the language modeling training script, we need `scikit-learn` to be installed, so this PR adds it to the requirements.txt ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21229/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21229/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21229", "html_url": "https://github.com/huggingface/transformers/pull/21229", "diff_url": "https://github.com/huggingface/transformers/pull/21229.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21229.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21228
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21228/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21228/comments
https://api.github.com/repos/huggingface/transformers/issues/21228/events
https://github.com/huggingface/transformers/issues/21228
1,551,698,837
I_kwDOCUB6oc5cfQuV
21,228
Issue Importing Image Resolution Models
{ "login": "pravin-santhanam27", "id": 40184835, "node_id": "MDQ6VXNlcjQwMTg0ODM1", "avatar_url": "https://avatars.githubusercontent.com/u/40184835?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pravin-santhanam27", "html_url": "https://github.com/pravin-santhanam27", "followers_url": "ht...
[]
closed
false
null
[]
[ "Hi, @pravin-santhanam27 there seems to be a problem loading `Swin2SRForImageSuperResolution` with stable transformers(4.25.1) which we install from pypi. But this error is not present if you install from the source(4.26.0.dev0). This error is fixed in the source version(which is regularly updated) and will also be...
1,674
1,674
1,674
NONE
null
Hey Everyone, I am tying to import a model from transformers for deblurring images. I am on Python 3.10.9 and just install transformers 4.25.1 The error comes on import `from transformers import AutoImageProcessor, Swin2SRForImageSuperResolution` and the error is: `Traceback (most recent call last):...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21228/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21228/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21227
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21227/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21227/comments
https://api.github.com/repos/huggingface/transformers/issues/21227/events
https://github.com/huggingface/transformers/pull/21227
1,551,650,838
PR_kwDOCUB6oc5IQVUT
21,227
[WIP] Support BLIP and GIT in image-to-text and VQA pipelines
{ "login": "atturaioe", "id": 76523524, "node_id": "MDQ6VXNlcjc2NTIzNTI0", "avatar_url": "https://avatars.githubusercontent.com/u/76523524?v=4", "gravatar_id": "", "url": "https://api.github.com/users/atturaioe", "html_url": "https://github.com/atturaioe", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21227). All of your documentation changes will be reflected on that endpoint.", "Hi @NielsRogge, should I remove the return of the topk scores in the VQA pipeline that used ViltForQuestionAnswering only?", "This issue has...
1,674
1,678
1,678
CONTRIBUTOR
null
# What does this PR do? Support BLIP and GIT models in image-to-text and VQA pipelines. Fixes #21110 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/trans...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21227/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21227/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21227", "html_url": "https://github.com/huggingface/transformers/pull/21227", "diff_url": "https://github.com/huggingface/transformers/pull/21227.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21227.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21226
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21226/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21226/comments
https://api.github.com/repos/huggingface/transformers/issues/21226/events
https://github.com/huggingface/transformers/pull/21226
1,551,650,533
PR_kwDOCUB6oc5IQVQU
21,226
Skip failing test for now
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21226). All of your documentation changes will be reflected on that endpoint." ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? All is said in the title. Test is currently failing on main for no reason (I imagine a new release of one of the deps), more can be found [here](https://app.circleci.com/pipelines/github/huggingface/transformers/55784/workflows/83b929a9-3d0d-482a-a823-806f44824bf8/jobs/673138). cc @sanchit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21226/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21226/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21226", "html_url": "https://github.com/huggingface/transformers/pull/21226", "diff_url": "https://github.com/huggingface/transformers/pull/21226.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21226.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21225
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21225/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21225/comments
https://api.github.com/repos/huggingface/transformers/issues/21225/events
https://github.com/huggingface/transformers/pull/21225
1,551,508,060
PR_kwDOCUB6oc5IP2vF
21,225
Models docstring
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thank you @sgugger for cleaning this up. With all ~250 files, I will trust you instead of look lines by lines, except one question below.\r\n\r\nI would definitely prefer to run a doctest first offline before merging this PR - for wh...
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? This PR cleans up all docstrings following up from #20757 and #21199. It removes the need for the `processor_class` in TensorFlow and Flax generic examples by setting in the examples like #20757 did for PyTorch then makes a full pass across all models to clean up the docstrings (removing the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21225/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21225/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21225", "html_url": "https://github.com/huggingface/transformers/pull/21225", "diff_url": "https://github.com/huggingface/transformers/pull/21225.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21225.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21224
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21224/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21224/comments
https://api.github.com/repos/huggingface/transformers/issues/21224/events
https://github.com/huggingface/transformers/pull/21224
1,551,479,607
PR_kwDOCUB6oc5IPw9t
21,224
[`BLIP`] fix docstring for `BlipTextxxx`
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? Fixes docstrings for `BlipTextModel` and `BlipTextLMHeadModel` to follow the dostring structure of `transformers` and be rendered properly by the `doc-builder` cc @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21224/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21224/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21224", "html_url": "https://github.com/huggingface/transformers/pull/21224", "diff_url": "https://github.com/huggingface/transformers/pull/21224.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21224.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21223
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21223/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21223/comments
https://api.github.com/repos/huggingface/transformers/issues/21223/events
https://github.com/huggingface/transformers/pull/21223
1,551,450,147
PR_kwDOCUB6oc5IPrDL
21,223
Add: TensorFlow example for semantic segmentation task guide
{ "login": "MKhalusova", "id": 1065417, "node_id": "MDQ6VXNlcjEwNjU0MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MKhalusova", "html_url": "https://github.com/MKhalusova", "followers_url": "https://api.github.com/users...
[]
closed
false
{ "login": "MKhalusova", "id": 1065417, "node_id": "MDQ6VXNlcjEwNjU0MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MKhalusova", "html_url": "https://github.com/MKhalusova", "followers_url": "https://api.github.com/users...
[ { "login": "MKhalusova", "id": 1065417, "node_id": "MDQ6VXNlcjEwNjU0MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MKhalusova", "html_url": "https://github.com/MKhalusova", "followers_url": "https://...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
This PR adds a TensorFlow example to the existing [Semantic Segmentation task guide](https://huggingface.co/docs/transformers/main/en/tasks/semantic_segmentation) using the same dataset and fine-tuning steps. This example supplements the existing guide and can be helpful to those who choose TensorFlow over PyTorch ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21223/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21223/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21223", "html_url": "https://github.com/huggingface/transformers/pull/21223", "diff_url": "https://github.com/huggingface/transformers/pull/21223.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21223.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21222
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21222/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21222/comments
https://api.github.com/repos/huggingface/transformers/issues/21222/events
https://github.com/huggingface/transformers/pull/21222
1,551,304,660
PR_kwDOCUB6oc5IPLyW
21,222
Add WhisperTokenizerFast
{ "login": "jonatanklosko", "id": 17034772, "node_id": "MDQ6VXNlcjE3MDM0Nzcy", "avatar_url": "https://avatars.githubusercontent.com/u/17034772?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jonatanklosko", "html_url": "https://github.com/jonatanklosko", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@ArthurZucker thanks for the help! I think now the steps are to update the unknown token in multilangual checkpoints and add `tokenizer.json` to the repos. Let me know if there's anything I can help with :)", "Feel free to open com...
1,674
1,676
1,676
CONTRIBUTOR
null
Adds the fast version of Whisper tokenizer. The Whisper tokenizer is essentially GPT2 tokenizer with special tokens. The main difference is the additional normalizer (which I mirrored from the slow tokenizer) and language/task-dependent prefix tokens. One of the tokenizer tests is failing, it's because there is no `...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21222/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21222/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21222", "html_url": "https://github.com/huggingface/transformers/pull/21222", "diff_url": "https://github.com/huggingface/transformers/pull/21222.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21222.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21221
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21221/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21221/comments
https://api.github.com/repos/huggingface/transformers/issues/21221/events
https://github.com/huggingface/transformers/issues/21221
1,551,278,859
I_kwDOCUB6oc5cdqML
21,221
MobileViT
{ "login": "ludmila3", "id": 67962373, "node_id": "MDQ6VXNlcjY3OTYyMzcz", "avatar_url": "https://avatars.githubusercontent.com/u/67962373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ludmila3", "html_url": "https://github.com/ludmila3", "followers_url": "https://api.github.com/users/lud...
[]
closed
false
null
[]
[ "Answered here: https://github.com/NielsRogge/Transformers-Tutorials/issues/241" ]
1,674
1,674
1,674
NONE
null
### System Info - `transformers` version: 4.26.0.dev0 - Platform: Linux-5.15.0-1027-gcp-x86_64-with-debian-bullseye-sid - Python version: 3.7.12 - Huggingface_hub version: 0.11.0 - PyTorch version (GPU?): 1.12.1 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21221/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21221/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21220
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21220/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21220/comments
https://api.github.com/repos/huggingface/transformers/issues/21220/events
https://github.com/huggingface/transformers/issues/21220
1,551,224,224
I_kwDOCUB6oc5cdc2g
21,220
[Generation Config] General issues
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "1. Agree - I think we should/could allow this functionality.\r\n2. Here I don't think we need to change anything. It's quite intuitive for me that the \"[from_model_config](https://github.com/huggingface/transformers/blob/4e730b387364c9f46b6b1b0c79fdaf0903c42257/src/transformers/generation/configuration_utils.py#L...
1,674
1,693
1,676
COLLABORATOR
null
# Generation config I know it has just been added so it is normal! But the following are missing (and are pretty intuitive w.r.t our other objects such as configs, processors etc): - [ ] `GenerationConfig.from_pretrained("openai/whisper-tiny.en" )` where the path does not already have a `generation_config.json`. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21220/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21220/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21219
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21219/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21219/comments
https://api.github.com/repos/huggingface/transformers/issues/21219/events
https://github.com/huggingface/transformers/pull/21219
1,551,180,409
PR_kwDOCUB6oc5IOxEf
21,219
Microphone live inference catching up when inference is too slow (whisper).
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? When using relatively slow inference models (like whisper, especially the large variants on moderate hardware). The live inference snippets would be so slow that it would feel extremely laggy. This PR fixes it by adding an estimate of what is real time, and simply skip inferences when we're t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21219/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21219/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21219", "html_url": "https://github.com/huggingface/transformers/pull/21219", "diff_url": "https://github.com/huggingface/transformers/pull/21219.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21219.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21218
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21218/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21218/comments
https://api.github.com/repos/huggingface/transformers/issues/21218/events
https://github.com/huggingface/transformers/pull/21218
1,551,166,656
PR_kwDOCUB6oc5IOuFi
21,218
Replace reduce_labels with do_reduce_labels
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? The `reduce_labels` flags for most of the image processors was deprecated for`do_reduce_labels`. This was to keep consistent with the `do_xxx` pattern with other flags. This PR deprecates the flag for any models that still used `reduce_labels`. ## Before submitting - [ ] This PR fix...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21218/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21218/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21218", "html_url": "https://github.com/huggingface/transformers/pull/21218", "diff_url": "https://github.com/huggingface/transformers/pull/21218.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21218.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21217
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21217/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21217/comments
https://api.github.com/repos/huggingface/transformers/issues/21217/events
https://github.com/huggingface/transformers/pull/21217
1,551,149,824
PR_kwDOCUB6oc5IOqYD
21,217
[`BLIP`] fix doctest
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? This PR fixes `BLIP` doctest. Link to failing job: https://github.com/huggingface/transformers/actions/runs/3964164193 The docstring of the `forward` method of `BlipForQuestionAnswering` has been corrected to educate users on how to correctly use this module after https://github.com/h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21217/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21217/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21217", "html_url": "https://github.com/huggingface/transformers/pull/21217", "diff_url": "https://github.com/huggingface/transformers/pull/21217.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21217.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21216
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21216/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21216/comments
https://api.github.com/repos/huggingface/transformers/issues/21216/events
https://github.com/huggingface/transformers/pull/21216
1,551,141,512
PR_kwDOCUB6oc5IOojv
21,216
Skip `test_multi_gpu_data_parallel_forward` for `UperNetModelTest`
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Wait, are you saying that models that using add_module can't leverage multi-GPU training?", "> Wait, are you saying that models that using add_module can't leverage multi-GPU training?\r\n\r\n\r\n(well, just not with the way we use...
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? Same as `BEIT`, this model uses some `add_module` and we need to skip this test.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21216/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21216/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21216", "html_url": "https://github.com/huggingface/transformers/pull/21216", "diff_url": "https://github.com/huggingface/transformers/pull/21216.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21216.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21215
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21215/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21215/comments
https://api.github.com/repos/huggingface/transformers/issues/21215/events
https://github.com/huggingface/transformers/pull/21215
1,551,116,283
PR_kwDOCUB6oc5IOjLP
21,215
Fix OneFormer Docstrings
{ "login": "praeclarumjj3", "id": 54928629, "node_id": "MDQ6VXNlcjU0OTI4NjI5", "avatar_url": "https://avatars.githubusercontent.com/u/54928629?v=4", "gravatar_id": "", "url": "https://api.github.com/users/praeclarumjj3", "html_url": "https://github.com/praeclarumjj3", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? Fixes docstrings for OneFormer. - [x] Checked that all the doctests passed for the following command: ```bash python3 -m pytest -v --make-reports doc_tests_gpu --doctest-modules src/transformers/models/oneformer/ -sv --doctest-continue-on-failure --doctest-glob="*.mdx" ``` ## Before ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21215/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21215/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21215", "html_url": "https://github.com/huggingface/transformers/pull/21215", "diff_url": "https://github.com/huggingface/transformers/pull/21215.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21215.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21214
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21214/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21214/comments
https://api.github.com/repos/huggingface/transformers/issues/21214/events
https://github.com/huggingface/transformers/issues/21214
1,551,004,082
I_kwDOCUB6oc5ccnGy
21,214
Support for OrderedConstraints, TemplateConstraints and LiteralConstraints in force_words_ids
{ "login": "ruanchaves", "id": 14352388, "node_id": "MDQ6VXNlcjE0MzUyMzg4", "avatar_url": "https://avatars.githubusercontent.com/u/14352388?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ruanchaves", "html_url": "https://github.com/ruanchaves", "followers_url": "https://api.github.com/use...
[]
closed
false
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[ { "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.co...
[ "cc @gante", "Hi @ruanchaves 👋 \r\n\r\nI'm not sure whether I understand the issue you described above. Our generation methods return the sequence log probabilities, from which you can compute the sequence perplexity. What would be missing for your use case?\r\n\r\nRegarding `force_words_ids`, I'm reluctant to a...
1,674
1,707
1,707
CONTRIBUTOR
null
### Feature request As raised by @sijunhe in [this blog post](https://huggingface.co/blog/constrained-beam-search), the `force_words_ids` argument of the `model.generate()` method needs to be modified to support `OrderedConstraints` and `TemplateConstraints`. In addition, there is a need for a `LiteralConstraints...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21214/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21214/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21213
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21213/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21213/comments
https://api.github.com/repos/huggingface/transformers/issues/21213/events
https://github.com/huggingface/transformers/pull/21213
1,550,922,808
PR_kwDOCUB6oc5IN58K
21,213
Fix GPTJ doctest
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? In #21178, the checkpoint used for `GPTJForSequenceClassification` is changed back to `_CHECKPOINT_FOR_DOC`, which is `hf-internal-testing/tiny-random-gptj`. That checkpoint has `self.score` with shape `[2, 512]`, but the model has `self.score` with shape `[2, 32]` as `config.n_embd=32`. The ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21213/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21213/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21213", "html_url": "https://github.com/huggingface/transformers/pull/21213", "diff_url": "https://github.com/huggingface/transformers/pull/21213.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21213.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21212
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21212/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21212/comments
https://api.github.com/repos/huggingface/transformers/issues/21212/events
https://github.com/huggingface/transformers/pull/21212
1,550,683,891
PR_kwDOCUB6oc5INGgg
21,212
Update `huggingface_hub` version
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? Update `huggingface_hub` version to `0.12.0rc0` and necessary changes with this version.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21212/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21212/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21212", "html_url": "https://github.com/huggingface/transformers/pull/21212", "diff_url": "https://github.com/huggingface/transformers/pull/21212.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21212.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21211
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21211/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21211/comments
https://api.github.com/repos/huggingface/transformers/issues/21211/events
https://github.com/huggingface/transformers/issues/21211
1,550,628,374
I_kwDOCUB6oc5cbLYW
21,211
Mask-fill pipeline for t5 and flan-t5
{ "login": "Bachstelze", "id": 19904888, "node_id": "MDQ6VXNlcjE5OTA0ODg4", "avatar_url": "https://avatars.githubusercontent.com/u/19904888?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Bachstelze", "html_url": "https://github.com/Bachstelze", "followers_url": "https://api.github.com/use...
[ { "id": 2197722692, "node_id": "MDU6TGFiZWwyMTk3NzIyNjky", "url": "https://api.github.com/repos/huggingface/transformers/labels/t5", "name": "t5", "color": "509fc4", "default": false, "description": "" } ]
closed
false
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[ { "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "...
[ "Hi @ArthurZucker, can I work on this issue? Thank you!", "Sure! Awesome that you want to take this on! Feel free to open a PR and ping me if you need any pointers", "@ArthurZucker I have several questions:\r\n1. Is there any slack channel/discord where we can discuss the details of the issue? \r\n2. About the ...
1,674
1,677
1,675
NONE
null
### Feature request So far it isn't possible to use t5-models with the standard mask-fill-pipeline and everyone is building their own custom workaround. ### Motivation It would save work and reduce complexity if this function is integrated. ### Your contribution There is already a workaround: https://github.com/hu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21211/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21211/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21210
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21210/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21210/comments
https://api.github.com/repos/huggingface/transformers/issues/21210/events
https://github.com/huggingface/transformers/pull/21210
1,550,620,109
PR_kwDOCUB6oc5IM4tL
21,210
Declare __len__ method in PreTrainedTokenizerBase
{ "login": "thomasw21", "id": 24695242, "node_id": "MDQ6VXNlcjI0Njk1MjQy", "avatar_url": "https://avatars.githubusercontent.com/u/24695242?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasw21", "html_url": "https://github.com/thomasw21", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? When type hinting a tokenizer with `PreTrainedTokenizerBase`, it doesn't know supprt `len(tokenizer)`, but both slow and fast version implement `__len__` so we declare it at least to make the type hints happy, we could make this an `abstract_method` as well if needed
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21210/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21210/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21210", "html_url": "https://github.com/huggingface/transformers/pull/21210", "diff_url": "https://github.com/huggingface/transformers/pull/21210.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21210.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21209
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21209/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21209/comments
https://api.github.com/repos/huggingface/transformers/issues/21209/events
https://github.com/huggingface/transformers/pull/21209
1,550,578,312
PR_kwDOCUB6oc5IMvun
21,209
Encode object type in Donut tokens
{ "login": "ts2095", "id": 24903193, "node_id": "MDQ6VXNlcjI0OTAzMTkz", "avatar_url": "https://avatars.githubusercontent.com/u/24903193?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ts2095", "html_url": "https://github.com/ts2095", "followers_url": "https://api.github.com/users/ts2095/fo...
[]
closed
false
null
[]
[ "Not sure why `black` is failing. `make fixup` doesn't change anything for me.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21209). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because i...
1,674
1,682
1,682
NONE
null
# What does this PR do? This makes use of encoded object types in text generated by Donut. It fixes a few issues: - keys of the same name appearing at different levels of the JSON are no longer confused - no more ambiguity between a dict and a list of length 1 containing a dict Additionally, this allows us to...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21209/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21209/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21209", "html_url": "https://github.com/huggingface/transformers/pull/21209", "diff_url": "https://github.com/huggingface/transformers/pull/21209.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21209.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21208
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21208/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21208/comments
https://api.github.com/repos/huggingface/transformers/issues/21208/events
https://github.com/huggingface/transformers/issues/21208
1,550,490,060
I_kwDOCUB6oc5capnM
21,208
UL2 Mixture-of-Denoiser loss
{ "login": "gaceladri", "id": 7850682, "node_id": "MDQ6VXNlcjc4NTA2ODI=", "avatar_url": "https://avatars.githubusercontent.com/u/7850682?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaceladri", "html_url": "https://github.com/gaceladri", "followers_url": "https://api.github.com/users/ga...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,674
1,677
1,677
NONE
null
### Feature request The losses applied to the paper **UL2: Unifying Language Learning Paradigms** The Mixture-of-Denoisers losses are described in the UL2 paper, which can be found at the following link: https://arxiv.org/abs/2205.05131 The code is based on T5x (which is JAX/FLAX): https://github.com/google-research...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21208/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21208/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21207
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21207/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21207/comments
https://api.github.com/repos/huggingface/transformers/issues/21207/events
https://github.com/huggingface/transformers/pull/21207
1,550,345,520
PR_kwDOCUB6oc5IL-jy
21,207
Fix `CONFIG_ARCHIVE_MAP_MAPPING_NAMES`
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I will merge as it is - don't think it matters (at least not at this moment), and eventually this is going to be deprecated." ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? Fix `CONFIG_ARCHIVE_MAP_MAPPING_NAMES` as reported in #21204. Also, `UPERNET_PRETRAINED_CONFIG_ARCHIVE_MAP` doesn't exist. Remark: we have planned deprecation ``` warnings.warn( "ALL_PRETRAINED_CONFIG_ARCHIVE_MAP is deprecated and will be removed in v5 of Transforme...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21207/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21207/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21207", "html_url": "https://github.com/huggingface/transformers/pull/21207", "diff_url": "https://github.com/huggingface/transformers/pull/21207.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21207.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21206
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21206/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21206/comments
https://api.github.com/repos/huggingface/transformers/issues/21206/events
https://github.com/huggingface/transformers/issues/21206
1,550,322,342
I_kwDOCUB6oc5caAqm
21,206
OwlVit gives different results compared to original colab version
{ "login": "darwinharianto", "id": 44696192, "node_id": "MDQ6VXNlcjQ0Njk2MTky", "avatar_url": "https://avatars.githubusercontent.com/u/44696192?v=4", "gravatar_id": "", "url": "https://api.github.com/users/darwinharianto", "html_url": "https://github.com/darwinharianto", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Yes we had a hard time making the Space output the same bounding boxes as in Colab (eventually it worked on the cats image). It had to do with the Pillow version.\r\n\r\nSo I'm guessing there might be a difference in Pillow versions here as well\r\n\r\nCc @alaradirik ", "Do you mean Pillow changes the input valu...
1,674
1,700
1,700
NONE
null
### System Info Using huggingface space and google colab ### Who can help? @adirik ### Information - [x] The official example scripts - [x] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ##...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21206/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21206/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21205
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21205/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21205/comments
https://api.github.com/repos/huggingface/transformers/issues/21205/events
https://github.com/huggingface/transformers/pull/21205
1,550,292,538
PR_kwDOCUB6oc5ILzft
21,205
WIP: Added basic eos token based pooling
{ "login": "isamu-isozaki", "id": 23430101, "node_id": "MDQ6VXNlcjIzNDMwMTAx", "avatar_url": "https://avatars.githubusercontent.com/u/23430101?v=4", "gravatar_id": "", "url": "https://api.github.com/users/isamu-isozaki", "html_url": "https://github.com/isamu-isozaki", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "@ArthurZucker Hi! Just moved to this pr. Just some git issues so switched but this is based on the pr [here](https://github.com/huggingface/transformers/pull/21096)", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21205). All of your documentation changes will be refle...
1,674
1,680
1,680
NONE
null
# What does this PR do? This PR is still a WIP. This is based on [this issue](https://github.com/huggingface/transformers/issues/21029). The main problem is that when new tokens are added to the tokenizer and text model and learned such as with [textual inversion](https://textual-inversion.github.io/) the clip text mo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21205/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21205/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21205", "html_url": "https://github.com/huggingface/transformers/pull/21205", "diff_url": "https://github.com/huggingface/transformers/pull/21205.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21205.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21204
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21204/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21204/comments
https://api.github.com/repos/huggingface/transformers/issues/21204/events
https://github.com/huggingface/transformers/issues/21204
1,550,193,500
I_kwDOCUB6oc5cZhNc
21,204
Typo in XCLIP model
{ "login": "Zhilin123", "id": 29811458, "node_id": "MDQ6VXNlcjI5ODExNDU4", "avatar_url": "https://avatars.githubusercontent.com/u/29811458?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Zhilin123", "html_url": "https://github.com/Zhilin123", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "@Zhilin123 Thank you for reporting. See #21207. However, note that \r\n\r\n```\r\nALL_PRETRAINED_CONFIG_ARCHIVE_MAP is deprecated and will be removed in v5 of Transformers.\r\n```" ]
1,674
1,674
1,674
NONE
null
### System Info transformers version 4.25.1 ### Who can help? @NielsRogge @ydshieh There's a typo/mismatch for the xclip model pretrained config archive map between https://github.com/huggingface/transformers/blob/main/src/transformers/models/auto/configuration_auto.py#L333 and. https://github.com/hugging...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21204/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21204/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21203
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21203/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21203/comments
https://api.github.com/repos/huggingface/transformers/issues/21203/events
https://github.com/huggingface/transformers/issues/21203
1,550,177,424
I_kwDOCUB6oc5cZdSQ
21,203
rename configuration_utils.PretrainedConfig.max_length to max_generation_length
{ "login": "aaronrmm", "id": 1742879, "node_id": "MDQ6VXNlcjE3NDI4Nzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1742879?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aaronrmm", "html_url": "https://github.com/aaronrmm", "followers_url": "https://api.github.com/users/aaron...
[]
closed
false
null
[]
[ "Thanks for raising an issue. Renaming an argument like this which is so widely used is too breaking a change for us to consider however. ", "Makes sense. Perhaps there is something that can be done in the mlflow logger instead. I'll raise a different issue if I have any ideas." ]
1,674
1,674
1,674
NONE
null
### Feature request Max length (and min length) is an overloaded term. This renaming would help disambiguate this parameter from tokenizer max lengths when parameters are logged. https://github.com/huggingface/transformers/blob/862888a35834527fed61beaf42373423ffdbd216/src/transformers/configuration_utils.py#L11...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21203/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21203/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21202
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21202/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21202/comments
https://api.github.com/repos/huggingface/transformers/issues/21202/events
https://github.com/huggingface/transformers/issues/21202
1,550,121,019
I_kwDOCUB6oc5cZPg7
21,202
batched feature extraction pipeline for GPT-style models
{ "login": "davidegraff", "id": 60193893, "node_id": "MDQ6VXNlcjYwMTkzODkz", "avatar_url": "https://avatars.githubusercontent.com/u/60193893?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidegraff", "html_url": "https://github.com/davidegraff", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "cc @Narsil ", "This one is tricky.\r\nIn general GPT-like models should pad on the left, not on the right, meaning your snippet **should** work.\r\nHowever, there's no telling if everything is properly configured simply. (The pipeline does whatever the config is set to do, it doesn't try to do reasoning on it).\...
1,674
1,677
1,677
NONE
null
### Feature request it would be nice to support feature extraction of batched input for GPT-style models using `Pipeline`s ### Motivation I'm currently trying to generate encodings of a large number of sentences using LLMs. I.e.,: ```python classification_token_idx: int fe = pipeline("feature-extraction", model="...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21202/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21202/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21201
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21201/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21201/comments
https://api.github.com/repos/huggingface/transformers/issues/21201/events
https://github.com/huggingface/transformers/pull/21201
1,550,066,102
PR_kwDOCUB6oc5ILEOI
21,201
Fix code example in training tutorial
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
MEMBER
null
The Keras [section](https://huggingface.co/docs/transformers/main/en/training#train-a-tensorflow-model-with-keras) of the training tutorial throws an error because it tokenizes `dataset["text"]` instead of `dataset["sentence"]`. There is no `text` column in this dataset.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21201/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21201/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21201", "html_url": "https://github.com/huggingface/transformers/pull/21201", "diff_url": "https://github.com/huggingface/transformers/pull/21201.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21201.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21200
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21200/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21200/comments
https://api.github.com/repos/huggingface/transformers/issues/21200/events
https://github.com/huggingface/transformers/pull/21200
1,549,803,144
PR_kwDOCUB6oc5IKLIN
21,200
Fix task summary doctest
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
MEMBER
null
The doctests are failing for the updated task summary page because outputs weren't included in the code examples. This PR adds real inputs that can be pipelined instead of the generic `("path/to/data/file")`. I skipped the `text-generation` pipeline, but let me know if you'd prefer setting a seed for it so we can still...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21200/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21200/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21200", "html_url": "https://github.com/huggingface/transformers/pull/21200", "diff_url": "https://github.com/huggingface/transformers/pull/21200.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21200.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21199
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21199/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21199/comments
https://api.github.com/repos/huggingface/transformers/issues/21199/events
https://github.com/huggingface/transformers/pull/21199
1,549,794,414
PR_kwDOCUB6oc5IKJKB
21,199
Remove all hf-internal-testing checkpoints that can be removed
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? This PR continues the work on docstrings and removes all checkpoints from the hf-internal-testing org where they can be removed.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21199/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21199/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21199", "html_url": "https://github.com/huggingface/transformers/pull/21199", "diff_url": "https://github.com/huggingface/transformers/pull/21199.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21199.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21198
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21198/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21198/comments
https://api.github.com/repos/huggingface/transformers/issues/21198/events
https://github.com/huggingface/transformers/pull/21198
1,549,600,846
PR_kwDOCUB6oc5IJe-4
21,198
[Whispe] Fix pipeline after timestamp merges
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? Fix the ASR pipeline for whisper without timestamps by ensuring the `WhisperTimestampProcessor`is not added to the list of logit processors when it is not requested. Fixes #21179
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21198/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21198/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21198", "html_url": "https://github.com/huggingface/transformers/pull/21198", "diff_url": "https://github.com/huggingface/transformers/pull/21198.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21198.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21197
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21197/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21197/comments
https://api.github.com/repos/huggingface/transformers/issues/21197/events
https://github.com/huggingface/transformers/pull/21197
1,549,474,312
PR_kwDOCUB6oc5IJDtZ
21,197
Flax dtype-dependent numerical masking
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "@sgugger this solution was discussed on Slack with the Flax team, hence no added Flax reviewers :)", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
MEMBER
null
# What does this PR do? Fixes #21176 For some models, our Flax numerical masking was incompatible with the desired variable type. This PR fixes it by selecting a numerical mask that is the minimum for the corresponding variable type. This PR is akin to #17306 for PT. Thank you @LysandreJik and @ydshieh for poi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21197/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21197/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21197", "html_url": "https://github.com/huggingface/transformers/pull/21197", "diff_url": "https://github.com/huggingface/transformers/pull/21197.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21197.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21196
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21196/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21196/comments
https://api.github.com/repos/huggingface/transformers/issues/21196/events
https://github.com/huggingface/transformers/pull/21196
1,549,407,611
PR_kwDOCUB6oc5II1Q6
21,196
Enabling live `automatic-speech-recognition` asr for Whisper.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> LGTM but we could add your script somewhere no? Seems like it was asked\r\n\r\nWhere ? \r\nThe `examples` is more focused on fine-tuning/training. It could be in the docstring of ASR pipeline ( which already contain tons of informa...
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? Enables live ASR for Whisper. Inference is slower for ASR than CTC models though, so these demos come with come caveat: **IT will not be live on too small hardware**. Just because it will fall behind in inference times. Simplest fix would be to increase the `stream_chunk_s` parameter. That w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21196/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21196/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21196", "html_url": "https://github.com/huggingface/transformers/pull/21196", "diff_url": "https://github.com/huggingface/transformers/pull/21196.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21196.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21195
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21195/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21195/comments
https://api.github.com/repos/huggingface/transformers/issues/21195/events
https://github.com/huggingface/transformers/pull/21195
1,549,276,772
PR_kwDOCUB6oc5IIYac
21,195
Add class properties with warnings
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? Adds properties with deprecations warnings to image processors for backwards compatibility. This resolves issues users had when trying to reference a deprecated property e.g. `image_processor.reduce_labels`. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can di...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21195/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21195/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21195", "html_url": "https://github.com/huggingface/transformers/pull/21195", "diff_url": "https://github.com/huggingface/transformers/pull/21195.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21195.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21194
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21194/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21194/comments
https://api.github.com/repos/huggingface/transformers/issues/21194/events
https://github.com/huggingface/transformers/pull/21194
1,549,240,163
PR_kwDOCUB6oc5IIQUl
21,194
Rename GLPN image processor tests
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? Renames GLPN feature extractor tests. Missed file in #21140 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CO...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21194/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21194/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21194", "html_url": "https://github.com/huggingface/transformers/pull/21194", "diff_url": "https://github.com/huggingface/transformers/pull/21194.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21194.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21193
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21193/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21193/comments
https://api.github.com/repos/huggingface/transformers/issues/21193/events
https://github.com/huggingface/transformers/pull/21193
1,549,239,255
PR_kwDOCUB6oc5IIQIP
21,193
[`CVT`] Fix module initialization issue
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Regardless of anything else, the initialization should always be done in `_init_weights`. This is the reason we have many flaky failures with tests that check slow/fast init give the same results for instance.", "Thanks everyone fo...
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? This PR fixes the issue described in the PR https://github.com/huggingface/transformers/pull/20803 and this comment: https://github.com/huggingface/transformers/pull/20803#discussion_r1059138540 for `CVT` Before this PR if a user wants to initialize CVT model in half precision with the exa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21193/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21193/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21193", "html_url": "https://github.com/huggingface/transformers/pull/21193", "diff_url": "https://github.com/huggingface/transformers/pull/21193.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21193.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21192
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21192/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21192/comments
https://api.github.com/repos/huggingface/transformers/issues/21192/events
https://github.com/huggingface/transformers/pull/21192
1,549,135,028
PR_kwDOCUB6oc5IH5EV
21,192
Fix device issue in `UperNetModelIntegrationTest`
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? Fix device issue in `UperNetModelIntegrationTest`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21192/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21192/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21192", "html_url": "https://github.com/huggingface/transformers/pull/21192", "diff_url": "https://github.com/huggingface/transformers/pull/21192.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21192.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21191
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21191/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21191/comments
https://api.github.com/repos/huggingface/transformers/issues/21191/events
https://github.com/huggingface/transformers/pull/21191
1,549,048,472
PR_kwDOCUB6oc5IHmMT
21,191
Generate: documented function to compute the transition scores
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger merging as the failing test is a known flaky test (`tests/models/auto/test_modeling_auto.py::AutoModelTest::test_from_pretrained_dynamic_model_distant`)", "Thanks! This function is super helpful for my use case.", "OMG, ...
1,674
1,706
1,674
MEMBER
null
# What does this PR do? Fixes #18616; Addresses comments in #5164, #20008 (and in a few other issues that I've lost track of). ## The issue A few users would like to have a simple function to obtain the transition scores (i.e. the logits for each selected token at generate time). This is very useful for explor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21191/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21191/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21191", "html_url": "https://github.com/huggingface/transformers/pull/21191", "diff_url": "https://github.com/huggingface/transformers/pull/21191.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21191.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21190
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21190/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21190/comments
https://api.github.com/repos/huggingface/transformers/issues/21190/events
https://github.com/huggingface/transformers/pull/21190
1,549,031,507
PR_kwDOCUB6oc5IHicD
21,190
Update year 2020 to 2023
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21190). All of your documentation changes will be reflected on that endpoint." ]
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? Update year 2020 to 2023 for a single file
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21190/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21190/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21190", "html_url": "https://github.com/huggingface/transformers/pull/21190", "diff_url": "https://github.com/huggingface/transformers/pull/21190.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21190.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21189
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21189/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21189/comments
https://api.github.com/repos/huggingface/transformers/issues/21189/events
https://github.com/huggingface/transformers/pull/21189
1,549,009,984
PR_kwDOCUB6oc5IHds2
21,189
workaround documentation rendering bug
{ "login": "hollance", "id": 346853, "node_id": "MDQ6VXNlcjM0Njg1Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/346853?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hollance", "html_url": "https://github.com/hollance", "followers_url": "https://api.github.com/users/hollanc...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? In the doc comments for a number of our models, the following occurs: ```text pad_to_multiple_of: (optional) Integer if set will pad the sequence to a multiple of the provided value. This is especially useful to enable the use of Tensor Core on NVIDIA hardware with compute capability...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21189/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21189/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21189", "html_url": "https://github.com/huggingface/transformers/pull/21189", "diff_url": "https://github.com/huggingface/transformers/pull/21189.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21189.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21188
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21188/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21188/comments
https://api.github.com/repos/huggingface/transformers/issues/21188/events
https://github.com/huggingface/transformers/pull/21188
1,548,993,837
PR_kwDOCUB6oc5IHaJ_
21,188
hertz is already per second
{ "login": "hollance", "id": 346853, "node_id": "MDQ6VXNlcjM0Njg1Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/346853?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hollance", "html_url": "https://github.com/hollance", "followers_url": "https://api.github.com/users/hollanc...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? Small documentation update. The sampling rate was described as "Hertz per second", but hertz (usually not capitalized) already means per second. <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21188/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21188/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21188", "html_url": "https://github.com/huggingface/transformers/pull/21188", "diff_url": "https://github.com/huggingface/transformers/pull/21188.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21188.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21187
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21187/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21187/comments
https://api.github.com/repos/huggingface/transformers/issues/21187/events
https://github.com/huggingface/transformers/pull/21187
1,548,914,776
PR_kwDOCUB6oc5IHIw5
21,187
[Whisper] Fix timestamp processor
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21187). All of your documentation changes will be reflected on that endpoint.", "Tested with a concatenated librispeech (clean, test, 5.4 hours), took 393.1348168849945 seconds, and with a WER 0.030776774096215136. So in th...
1,674
1,674
1,674
COLLABORATOR
null
# What does this PR do? Mostly adds condition when looking in the past and in the futur based on timing information. Fixes the tests
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21187/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21187/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21187", "html_url": "https://github.com/huggingface/transformers/pull/21187", "diff_url": "https://github.com/huggingface/transformers/pull/21187.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21187.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21186
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21186/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21186/comments
https://api.github.com/repos/huggingface/transformers/issues/21186/events
https://github.com/huggingface/transformers/pull/21186
1,548,787,087
PR_kwDOCUB6oc5IGs7X
21,186
Add Japanese translation index.mdx
{ "login": "kambehmw", "id": 22996144, "node_id": "MDQ6VXNlcjIyOTk2MTQ0", "avatar_url": "https://avatars.githubusercontent.com/u/22996144?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kambehmw", "html_url": "https://github.com/kambehmw", "followers_url": "https://api.github.com/users/kam...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@ArthurZucker could you have a look?", "Thanks a lot for this 🚀 " ]
1,674
1,674
1,674
CONTRIBUTOR
null
# What does this PR do? Adds Japanese translation to index.mdx <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21186/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21186/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21186", "html_url": "https://github.com/huggingface/transformers/pull/21186", "diff_url": "https://github.com/huggingface/transformers/pull/21186.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21186.patch", "merged_at...