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/26430
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26430/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26430/comments
https://api.github.com/repos/huggingface/transformers/issues/26430/events
https://github.com/huggingface/transformers/pull/26430
1,914,710,918
PR_kwDOCUB6oc5bS57B
26,430
Changed warnings.warn with logging.getLogger
{ "login": "hegdeadithyak", "id": 116452077, "node_id": "U_kgDOBvDq7Q", "avatar_url": "https://avatars.githubusercontent.com/u/116452077?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hegdeadithyak", "html_url": "https://github.com/hegdeadithyak", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,695
1,696
1,696
CONTRIBUTOR
null
This should fix the issue #26381
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26430/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/26430/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26430", "html_url": "https://github.com/huggingface/transformers/pull/26430", "diff_url": "https://github.com/huggingface/transformers/pull/26430.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26430.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26429
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26429/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26429/comments
https://api.github.com/repos/huggingface/transformers/issues/26429/events
https://github.com/huggingface/transformers/issues/26429
1,914,505,400
I_kwDOCUB6oc5yHQi4
26,429
pretrained_model_name_or_path cannot be None
{ "login": "rahaazad2", "id": 142936565, "node_id": "U_kgDOCIUJ9Q", "avatar_url": "https://avatars.githubusercontent.com/u/142936565?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rahaazad2", "html_url": "https://github.com/rahaazad2", "followers_url": "https://api.github.com/users/rahaaz...
[]
closed
false
null
[]
[ "Thanks for reporting, can you share the full traceback?", "Sure, here is the complete traceback:\r\n\r\n Traceback (most recent call last):\r\n File \"/home/raha/.conda/envs/myenv/lib/python3.11/site-packages/huggingface_hub/utils/_errors.py\", line 261, in hf_raise_for_status\r\n response.raise_f...
1,695
1,701
1,701
NONE
null
### System Info - `transformers` version: 4.33.2 - Platform: Linux-5.4.0-147-generic-x86_64-with-glibc2.31 - Python version: 3.11.4 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - Accelerate version: 0.23.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu118 (True) - Tensor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26429/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/26429/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26428
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26428/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26428/comments
https://api.github.com/repos/huggingface/transformers/issues/26428/events
https://github.com/huggingface/transformers/issues/26428
1,914,399,129
I_kwDOCUB6oc5yG2mZ
26,428
IDEFICS Cross Attention: Text tokens appearing before images still attend to image embeddings
{ "login": "momergul", "id": 8013984, "node_id": "MDQ6VXNlcjgwMTM5ODQ=", "avatar_url": "https://avatars.githubusercontent.com/u/8013984?v=4", "gravatar_id": "", "url": "https://api.github.com/users/momergul", "html_url": "https://github.com/momergul", "followers_url": "https://api.github.com/users/momer...
[]
closed
false
null
[]
[ "What do you think @leot13 @VictorSanh ?", "Thank you for noticing! It's not easy to detect. We are aware but did training this way. In practice that means the few first tokens with no image are attending to every image instead of none of them, so there's a small information leak.\r\nTo fix this, we could apply t...
1,695
1,700
1,700
NONE
null
### System Info - `transformers` version: 4.33.1 - Platform: Linux-5.4.0-153-generic-x86_64-with-glibc2.31 - Python version: 3.9.18 - Huggingface_hub version: 0.17.1 - Safetensors version: 0.3.3 - Accelerate version: 0.23.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorfl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26428/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/26428/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26427
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26427/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26427/comments
https://api.github.com/repos/huggingface/transformers/issues/26427/events
https://github.com/huggingface/transformers/pull/26427
1,914,150,601
PR_kwDOCUB6oc5bRASk
26,427
Update deepspeed.py
{ "login": "sachinSingh16-09", "id": 97588030, "node_id": "U_kgDOBdETPg", "avatar_url": "https://avatars.githubusercontent.com/u/97588030?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinSingh16-09", "html_url": "https://github.com/sachinSingh16-09", "followers_url": "https://api.gith...
[]
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,695
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? replaces warnings.warn with logging.warning.. <!-- 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 aweso...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26427/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/26427/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26427", "html_url": "https://github.com/huggingface/transformers/pull/26427", "diff_url": "https://github.com/huggingface/transformers/pull/26427.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26427.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26426
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26426/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26426/comments
https://api.github.com/repos/huggingface/transformers/issues/26426/events
https://github.com/huggingface/transformers/issues/26426
1,914,141,463
I_kwDOCUB6oc5yF3sX
26,426
LlamaForCausalLM
{ "login": "Shikamaru5", "id": 86502093, "node_id": "MDQ6VXNlcjg2NTAyMDkz", "avatar_url": "https://avatars.githubusercontent.com/u/86502093?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Shikamaru5", "html_url": "https://github.com/Shikamaru5", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Maybe cc @SunMarc :) ", "Hi @Shikamaru5, if i understood that correctly, you want to be able to load the parameters contained in the state_dict in batches to the GPU. If this is indeed the case, i don't think we have an easy fix. Here is the [line](see code [here](https://github.com/huggingface/transformers/blob...
1,695
1,696
1,695
NONE
null
I'm trying to implement the bitsandbytes library into my script to run a Llama2 model and in this instance it requires that I use a custom device map. I have about 458 layers and most of them need to be sent to the GPU. However, I realized upon the loading the model it seems there's this huge bottleneck of leading ever...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26426/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/26426/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26425
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26425/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26425/comments
https://api.github.com/repos/huggingface/transformers/issues/26425/events
https://github.com/huggingface/transformers/pull/26425
1,913,932,047
PR_kwDOCUB6oc5bQQH-
26,425
Add torch `RMSProp` optimizer
{ "login": "natolambert", "id": 10695622, "node_id": "MDQ6VXNlcjEwNjk1NjIy", "avatar_url": "https://avatars.githubusercontent.com/u/10695622?v=4", "gravatar_id": "", "url": "https://api.github.com/users/natolambert", "html_url": "https://github.com/natolambert", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks, I can't merge it as I don't have write access, so @ArthurZucker or @younesbelkada can do so!" ]
1,695
1,695
1,695
CONTRIBUTOR
null
# What does this PR do? Add torch `RMSProp` for easy use in TRL library, particularly to match the default use case of Direct Preference Optimization. Script is [here](https://github.com/huggingface/trl/blob/main/examples/dpo.py). <!-- Remove if not applicable --> Fixes # (issue) ## Before submitting - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26425/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/26425/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26425", "html_url": "https://github.com/huggingface/transformers/pull/26425", "diff_url": "https://github.com/huggingface/transformers/pull/26425.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26425.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26424
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26424/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26424/comments
https://api.github.com/repos/huggingface/transformers/issues/26424/events
https://github.com/huggingface/transformers/issues/26424
1,913,786,143
I_kwDOCUB6oc5yEg8f
26,424
Flash Attention 2 support for BERT, DistilBERT, and T5
{ "login": "AmenRa", "id": 11797097, "node_id": "MDQ6VXNlcjExNzk3MDk3", "avatar_url": "https://avatars.githubusercontent.com/u/11797097?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AmenRa", "html_url": "https://github.com/AmenRa", "followers_url": "https://api.github.com/users/AmenRa/fo...
[]
closed
false
null
[]
[ "Hey @AmenRa you might be interested in this issue: https://github.com/huggingface/transformers/issues/26350\r\n\r\ncc @younesbelkada ", "Thanks for your interest @AmenRa, I have just added these architectures to the list in #26350", "@LysandreJik thanks for the fast reply.\r\n@younesbelkada thanks for adding t...
1,695
1,698
1,698
NONE
null
Hi and thanks for adding Flash Attention 2! I was wondering if there's any plan to add support for Flash Attention 2 to BERT, DistilBERT, and T5 models. Those models are still the go-to Transformer models in my research community (Information Retrieval). Reducing training/inference time and memory usage of those m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26424/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 4, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/26424/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26423
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26423/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26423/comments
https://api.github.com/repos/huggingface/transformers/issues/26423/events
https://github.com/huggingface/transformers/pull/26423
1,913,772,609
PR_kwDOCUB6oc5bPtK5
26,423
testing doc-builder
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,695
1,695
1,695
CONTRIBUTOR
null
testing https://github.com/huggingface/doc-builder/pull/404
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26423/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/26423/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26423", "html_url": "https://github.com/huggingface/transformers/pull/26423", "diff_url": "https://github.com/huggingface/transformers/pull/26423.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26423.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26422
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26422/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26422/comments
https://api.github.com/repos/huggingface/transformers/issues/26422/events
https://github.com/huggingface/transformers/pull/26422
1,913,766,175
PR_kwDOCUB6oc5bPrwW
26,422
fix_mbart_tied_weights
{ "login": "SunMarc", "id": 57196510, "node_id": "MDQ6VXNlcjU3MTk2NTEw", "avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SunMarc", "html_url": "https://github.com/SunMarc", "followers_url": "https://api.github.com/users/SunMar...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hmm I'm not sure if all mBART weights share all weight matrices with each other. \r\n\r\nWe should make sure that at least for all the following models:\r\nhttps://huggingface.co/models?other=mbart&sort=trending&search=facebook\r\nal...
1,695
1,695
1,695
MEMBER
null
# What does this PR do ? Fixes #26266. This PR fixes the tied weights for mbart model. Before this PR, only `lm_head` was tied to `model.shared`. Now, we also make sure to tie `model.encoder.embed_tokens` and `model.decoder.embed_tokens` to `model.shared` by defining the `_tie_weights` method which will be called whe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26422/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/26422/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26422", "html_url": "https://github.com/huggingface/transformers/pull/26422", "diff_url": "https://github.com/huggingface/transformers/pull/26422.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26422.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26421
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26421/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26421/comments
https://api.github.com/repos/huggingface/transformers/issues/26421/events
https://github.com/huggingface/transformers/pull/26421
1,913,754,520
PR_kwDOCUB6oc5bPpOS
26,421
Fix attention computation when padding mask is not null
{ "login": "zhipeng93", "id": 20766443, "node_id": "MDQ6VXNlcjIwNzY2NDQz", "avatar_url": "https://avatars.githubusercontent.com/u/20766443?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhipeng93", "html_url": "https://github.com/zhipeng93", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Pinging @Rocketknight1 so he can have a look 😉 ", "Will do, but might be tomorrow before I get a chance!", "Hey! I am working on #27114 which should fix the attention computation issue \r\n", "> Hey! I am working on #27114 which should fix the attention computation issue\r\n\r\nHi @ArthurZucker, I am afraid...
1,695
1,702
1,702
NONE
null
# What does this PR do? This PR fixed two problems when using padding mask in `LlamaAttention`. In detail, - Replace the `bfloat.min` with `float("-inf")` as the default value for the mask. - Transpose the non-casual mask. <!-- Congratulations! You've made it this far! You're not quite done yet though. Onc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26421/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/26421/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26421", "html_url": "https://github.com/huggingface/transformers/pull/26421", "diff_url": "https://github.com/huggingface/transformers/pull/26421.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26421.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26420
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26420/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26420/comments
https://api.github.com/repos/huggingface/transformers/issues/26420/events
https://github.com/huggingface/transformers/issues/26420
1,913,735,538
I_kwDOCUB6oc5yEUly
26,420
automatic-speech-recognition pipeline returns unhelpful error when passing inputs
{ "login": "govindrai", "id": 13859249, "node_id": "MDQ6VXNlcjEzODU5MjQ5", "avatar_url": "https://avatars.githubusercontent.com/u/13859249?v=4", "gravatar_id": "", "url": "https://api.github.com/users/govindrai", "html_url": "https://github.com/govindrai", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "@sanchit-gandhi, could you give this a look? :)", "Thanks for the comprehensive issue description @govindrai! I've opened a PR with the proposed changes - feel free to take a look and comment if it looks good to you. Unfortunately, we can't get a more detailed log out for when the audio file read fails. We use `...
1,695
1,696
1,696
NONE
null
### Feature request [Colab Notebook](https://colab.research.google.com/drive/16vg9J-VYU48bu1C_lqfavlzzE01-K2mL?usp=sharing) There are a couple user experience improvements that will really help those that are still in the beginning phases of their HF journey. Following the [HF Pipeline tutorial](https://huggingfa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26420/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/26420/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26419
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26419/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26419/comments
https://api.github.com/repos/huggingface/transformers/issues/26419/events
https://github.com/huggingface/transformers/pull/26419
1,913,600,349
PR_kwDOCUB6oc5bPHNl
26,419
Update semantic_segmentation.md
{ "login": "zekaouinoureddine", "id": 61702091, "node_id": "MDQ6VXNlcjYxNzAyMDkx", "avatar_url": "https://avatars.githubusercontent.com/u/61702091?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zekaouinoureddine", "html_url": "https://github.com/zekaouinoureddine", "followers_url": "https...
[]
closed
false
null
[]
[]
1,695
1,695
1,695
CONTRIBUTOR
null
fixed typo
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26419/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/26419/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26419", "html_url": "https://github.com/huggingface/transformers/pull/26419", "diff_url": "https://github.com/huggingface/transformers/pull/26419.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26419.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26418
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26418/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26418/comments
https://api.github.com/repos/huggingface/transformers/issues/26418/events
https://github.com/huggingface/transformers/pull/26418
1,913,349,021
PR_kwDOCUB6oc5bOQE5
26,418
🚨 🚨 Raise error when no speaker embeddings in speecht5._generate_speech
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for the reviews @sanchit-gandhi and @Vaibhavs10 !\r\n\r\nI'll request @ArthurZucker's reviews on this tiny PR ! :hugs: ", "Hey @ArthurZucker, thanks for the review!\r\n\r\nI'm not an expert on SpeechT5, but as @sanchit-gandh...
1,695
1,697
1,697
COLLABORATOR
null
# What does this PR do? Following the discussion in #26401, this adds a warning when using `_generate_speech` without speaker embeddings. If necessary, and after discussion, we could throw an error instead of a warning! <!-- Remove if not applicable --> Fixes #26401 ## Who can review? cc @Vaibhavs1...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26418/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/26418/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26418", "html_url": "https://github.com/huggingface/transformers/pull/26418", "diff_url": "https://github.com/huggingface/transformers/pull/26418.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26418.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26417
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26417/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26417/comments
https://api.github.com/repos/huggingface/transformers/issues/26417/events
https://github.com/huggingface/transformers/issues/26417
1,913,323,561
I_kwDOCUB6oc5yCwAp
26,417
Every time I run run_glue.py I get stuck in the "sock.connect(sa)" of the code at several places. Why? Is it a network problem?
{ "login": "LLIKKE", "id": 94539160, "node_id": "U_kgDOBaKNmA", "avatar_url": "https://avatars.githubusercontent.com/u/94539160?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LLIKKE", "html_url": "https://github.com/LLIKKE", "followers_url": "https://api.github.com/users/LLIKKE/followers"...
[]
closed
false
null
[]
[ "Hmmm it seems like it could be a connection issue, yes! Do you have the full error code? Do you have the same issue if running in google colab?", "> Hmmm it seems like it could be a connection issue, yes! Do you have the full error code? Do you have the same issue if running in google colab?\n\nI am in China and...
1,695
1,705
1,698
NONE
null
### System Info check_min_version("4.33.0.dev0") ### Who can help? _No response_ ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [X] 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/26417/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/26417/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26415
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26415/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26415/comments
https://api.github.com/repos/huggingface/transformers/issues/26415/events
https://github.com/huggingface/transformers/pull/26415
1,913,297,486
PR_kwDOCUB6oc5bOEwc
26,415
[`FA` / `tests`] Add use_cache tests for FA models
{ "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,695
1,695
1,695
CONTRIBUTOR
null
# What does this PR do? While testing out https://github.com/huggingface/transformers/pull/26414 I realised the current tests silently pass as we only check for the immediate next predicted token For small models FA2 is quite flaky so I have decided to not increase `max_new_tokens` in `test_flash_attn_2_generate_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26415/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/26415/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26415", "html_url": "https://github.com/huggingface/transformers/pull/26415", "diff_url": "https://github.com/huggingface/transformers/pull/26415.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26415.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26416
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26416/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26416/comments
https://api.github.com/repos/huggingface/transformers/issues/26416/events
https://github.com/huggingface/transformers/issues/26416
1,913,303,764
I_kwDOCUB6oc5yCrLU
26,416
RuntimeError: Unable to build docs using doc-builder
{ "login": "ENate", "id": 6941995, "node_id": "MDQ6VXNlcjY5NDE5OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/6941995?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ENate", "html_url": "https://github.com/ENate", "followers_url": "https://api.github.com/users/ENate/follower...
[]
closed
false
null
[]
[ "Hi @ENate , I'm transferring the issue to the `transformers` repo as it seems you are trying to build the docs for this library (instead of `huggingface_hub`). Also cc @mishig25 who worked on the doc builder.", "Hi @Wauplin thanks. Was building the docs after forking the transformers repo. ", "As the error sug...
1,695
1,703
1,703
CONTRIBUTOR
null
I am trying to build the docs with ```doc-builder ``` using the following command ``` doc-builder build transformers docs/source/en --build_dir ~/tmp/test-build ``` but got the following error: ``` Traceback (most recent call last): File "/home/miniconda3/envs/transformers/bin/doc-builder", line 8, in...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26416/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/26416/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26414
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26414/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26414/comments
https://api.github.com/repos/huggingface/transformers/issues/26414/events
https://github.com/huggingface/transformers/pull/26414
1,913,220,887
PR_kwDOCUB6oc5bNz4Y
26,414
[`FA2`] Add flash attention for opt
{ "login": "susnato", "id": 56069179, "node_id": "MDQ6VXNlcjU2MDY5MTc5", "avatar_url": "https://avatars.githubusercontent.com/u/56069179?v=4", "gravatar_id": "", "url": "https://api.github.com/users/susnato", "html_url": "https://github.com/susnato", "followers_url": "https://api.github.com/users/susnat...
[]
closed
false
null
[]
[ "The tests were done using a RTX 3060 (Ampere) which supports Flash Attention 2.\r\n![Screenshot from 2023-09-26 16-23-55](https://github.com/huggingface/transformers/assets/56069179/58562bc0-37e7-45f5-a60c-6dc816cab0da)\r\n", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers...
1,695
1,700
1,700
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/26414/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/26414/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26414", "html_url": "https://github.com/huggingface/transformers/pull/26414", "diff_url": "https://github.com/huggingface/transformers/pull/26414.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26414.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26413
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26413/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26413/comments
https://api.github.com/repos/huggingface/transformers/issues/26413/events
https://github.com/huggingface/transformers/issues/26413
1,913,213,009
I_kwDOCUB6oc5yCVBR
26,413
`resume_from_checkpoint` function fails because "There seems to be not a single sample in your epoch_iterator"
{ "login": "omermazig", "id": 95534441, "node_id": "U_kgDOBbG9aQ", "avatar_url": "https://avatars.githubusercontent.com/u/95534441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omermazig", "html_url": "https://github.com/omermazig", "followers_url": "https://api.github.com/users/omermazi...
[]
open
false
null
[]
[ "Update - I added `ignore_data_skip=True` to `TrainingArguments`, and it was succesfull in running a single epoch, and then failed with:\r\n\r\n> ValueError: 'videomae-finetuned/checkpoint-3000' is not in list\r\n\r\n\r\nCheckpoint 3000 is my best checkpoint (according to my `metric_for_best_model`), so I'm assumin...
1,695
1,707
null
NONE
null
### System Info transformers version - 4.33.2 I'm using the trainer api as such, so it pushes the latest checkpoint to huggingface each epoch: ``` from transformers import TrainingArguments, Trainer new_model_name = "videomae-finetuned" num_epochs = 50 batch_size = 8 steps_per_epoch = train_dataset.num_vi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26413/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/26413/timeline
reopened
null
null
https://api.github.com/repos/huggingface/transformers/issues/26412
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26412/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26412/comments
https://api.github.com/repos/huggingface/transformers/issues/26412/events
https://github.com/huggingface/transformers/issues/26412
1,913,206,874
I_kwDOCUB6oc5yCTha
26,412
How to run Trainer + DeepSpeed + Zero3 + PEFT
{ "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...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
null
[]
[ "Hello @BramVanroy, DeepSpeed is not compatible with BitsandBytes. You can either use Trainer + PEFT + DeepSpeed ZeRO3 or Trainer + PEFT + BitsandBytes/int4/int8. Above, you are trying to do Trainer + PEFT + BitsandBytes 4-bit + DeepSpeed ZeRO3 which isn't supported. For using PEFT with DeepSpeed ZeRO3, please refe...
1,695
1,704
null
COLLABORATOR
null
### System Info - `transformers` version: 4.34.0.dev0 - Platform: Linux-5.14.0-284.25.1.el9_2.x86_64-x86_64-with-glibc2.34 - Python version: 3.11.4 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.3 - Accelerate version: 0.24.0.dev0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26412/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/26412/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/26411
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26411/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26411/comments
https://api.github.com/repos/huggingface/transformers/issues/26411/events
https://github.com/huggingface/transformers/pull/26411
1,913,191,273
PR_kwDOCUB6oc5bNtXi
26,411
[`WIP`] Multi-adapter saving support for PEFT
{ "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_26411). All of your documentation changes will be reflected on that endpoint.", "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...
1,695
1,700
1,700
CONTRIBUTOR
null
# What does this PR do? To be potentially merged after https://github.com/huggingface/transformers/pull/26407 This PR adds the multi-adapter support for `save_pretrained` to be consistent with PEFT API that saves all adapters when calling `save_pretrained`. Note the default adapter is always saved in the root dire...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26411/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/26411/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26411", "html_url": "https://github.com/huggingface/transformers/pull/26411", "diff_url": "https://github.com/huggingface/transformers/pull/26411.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26411.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26410
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26410/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26410/comments
https://api.github.com/repos/huggingface/transformers/issues/26410/events
https://github.com/huggingface/transformers/issues/26410
1,913,153,497
I_kwDOCUB6oc5yCGfZ
26,410
TypeError: LlamaForCausalLM.__init__() got an unexpected keyword argument 'use_flash_attention_2'
{ "login": "timelfrink", "id": 5418946, "node_id": "MDQ6VXNlcjU0MTg5NDY=", "avatar_url": "https://avatars.githubusercontent.com/u/5418946?v=4", "gravatar_id": "", "url": "https://api.github.com/users/timelfrink", "html_url": "https://github.com/timelfrink", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Hi @timelfrink \r\nThanks for your interest in this feature, please use the main build of transformers to use that feature: `pip install -U git+https://github.com/huggingface/transformers.git`", "@younesbelkada thanks for the quick hint and yes that worked!" ]
1,695
1,695
1,695
NONE
null
### System Info - `transformers` version: 4.33.2 - Platform: Linux-4.14.318-241.531.amzn2.x86_64-x86_64-with-glibc2.31 - Python version: 3.10.6 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.3 - Accelerate version: 0.23.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (False...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26410/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/26410/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26409
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26409/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26409/comments
https://api.github.com/repos/huggingface/transformers/issues/26409/events
https://github.com/huggingface/transformers/issues/26409
1,912,963,755
I_kwDOCUB6oc5yBYKr
26,409
Skip part of the dataset when training with trainer
{ "login": "young-chao", "id": 34190033, "node_id": "MDQ6VXNlcjM0MTkwMDMz", "avatar_url": "https://avatars.githubusercontent.com/u/34190033?v=4", "gravatar_id": "", "url": "https://api.github.com/users/young-chao", "html_url": "https://github.com/young-chao", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "![image](https://github.com/huggingface/transformers/assets/34190033/816ba98c-6417-4983-971f-00f28d6879ab)\r\n", "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks! "...
1,695
1,699
1,699
NONE
null
When I used the trainer to train, I encountered some bad data that caused the loss to increase abnormally. I wanted to temporarily skip this part of the data. I directly skipped "self.optimizer.step()" in some steps but it did not take effect. , the trajectory of loss is still consistent with before. I want to know how...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26409/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/26409/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26408
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26408/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26408/comments
https://api.github.com/repos/huggingface/transformers/issues/26408/events
https://github.com/huggingface/transformers/issues/26408
1,912,956,359
I_kwDOCUB6oc5yBWXH
26,408
Use a custom SummaryWriter to record training parameters
{ "login": "young-chao", "id": 34190033, "node_id": "MDQ6VXNlcjM0MTkwMDMz", "avatar_url": "https://avatars.githubusercontent.com/u/34190033?v=4", "gravatar_id": "", "url": "https://api.github.com/users/young-chao", "html_url": "https://github.com/young-chao", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hello @young-chao, the `Trainer`'s initialization method accepts a `callbacks` argument which is a list of `TrainerCallback`s.\r\n\r\nYou can pass a `TensorBoardCallback` to that list that you can initialize with your own `tb_writer`.\r\n\r\nSee its definition here: https://github.com/huggingface/transformers/blob...
1,695
1,696
1,696
NONE
null
When I use trainer, how should I use a custom SummaryWriter to record training parameters, such as grad_norm, loss_scale, etc. I don’t see the setting options in the trainer parameters.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26408/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/26408/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26407
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26407/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26407/comments
https://api.github.com/repos/huggingface/transformers/issues/26407/events
https://github.com/huggingface/transformers/pull/26407
1,912,936,840
PR_kwDOCUB6oc5bM1qm
26,407
[`PEFT`] Fix PEFT multi adapters support
{ "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._", "Thanks for all the reviews, I think I have addressed most of them now, I propose to handle the multi-adapter saving in a follow up PR #26411 to be consistent with PEFT API", "Thanks ! For that we could maybe sync the next PEFT rele...
1,695
1,695
1,695
CONTRIBUTOR
null
# What does this PR do? With https://github.com/huggingface/peft/pull/905 being merged, it added the support for multi-adapter inference (combining multiple adapters at inference). The PR has introduced some changes that are not compatible anymore with peft integration of transformers, for example `active_adapte...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26407/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/26407/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26407", "html_url": "https://github.com/huggingface/transformers/pull/26407", "diff_url": "https://github.com/huggingface/transformers/pull/26407.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26407.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26406
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26406/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26406/comments
https://api.github.com/repos/huggingface/transformers/issues/26406/events
https://github.com/huggingface/transformers/pull/26406
1,912,928,556
PR_kwDOCUB6oc5bMz4w
26,406
change mention of decoder_input_ids to input_ids and same with decode_inputs_embeds
{ "login": "tmabraham", "id": 37097934, "node_id": "MDQ6VXNlcjM3MDk3OTM0", "avatar_url": "https://avatars.githubusercontent.com/u/37097934?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tmabraham", "html_url": "https://github.com/tmabraham", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Could you just run the code quality tool to ensure that the code quality passes? You can install them with the following, from the root of your clone:\r\n```\r\npip install -e \".[quality]\"\r\n```\r\nAnd then run them with:\r\n```\r\nmake fixup\r\n``` ", "Hmm looks like something is wrong? Not sure if I am doin...
1,695
1,695
1,695
CONTRIBUTOR
null
The arguments to Llama2 is `input_ids` and `inputs_embeds` but yet in several places it is mentioned as `decoder_input_ids` and `decoder_inputs_embeds` including in some error messages. This PR fixes that.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26406/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/26406/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26406", "html_url": "https://github.com/huggingface/transformers/pull/26406", "diff_url": "https://github.com/huggingface/transformers/pull/26406.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26406.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26405
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26405/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26405/comments
https://api.github.com/repos/huggingface/transformers/issues/26405/events
https://github.com/huggingface/transformers/pull/26405
1,912,910,869
PR_kwDOCUB6oc5bMwD0
26,405
Update llama error message (decoder_input_ids --> input_ids)
{ "login": "tmabraham", "id": 37097934, "node_id": "MDQ6VXNlcjM3MDk3OTM0", "avatar_url": "https://avatars.githubusercontent.com/u/37097934?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tmabraham", "html_url": "https://github.com/tmabraham", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "oops somehow old commits got pulled in, closing and will fix" ]
1,695
1,695
1,695
CONTRIBUTOR
null
Change: ```python if input_ids is not None and inputs_embeds is not None: raise ValueError("You cannot specify both decoder_input_ids and decoder_inputs_embeds at the same time") ``` to ```python if input_ids is not None and inputs_embeds is not None: raise ValueError("You cann...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26405/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/26405/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26405", "html_url": "https://github.com/huggingface/transformers/pull/26405", "diff_url": "https://github.com/huggingface/transformers/pull/26405.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26405.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26403
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26403/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26403/comments
https://api.github.com/repos/huggingface/transformers/issues/26403/events
https://github.com/huggingface/transformers/issues/26403
1,912,844,162
I_kwDOCUB6oc5yA6-C
26,403
Switching Mask2Former Backbones
{ "login": "alen-smajic", "id": 63591221, "node_id": "MDQ6VXNlcjYzNTkxMjIx", "avatar_url": "https://avatars.githubusercontent.com/u/63591221?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alen-smajic", "html_url": "https://github.com/alen-smajic", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "cc @rafaelpadilla would love it if you could take a look!", "Hi @alen-smajic ,\r\n\r\nThank you for reporting this issue. :) \r\n\r\nThe code you showed is not working because of `out_indices=(-2, -1)`. Try to replace it by:\r\n```python\r\nbackbone_config = FocalNetConfig(out_indices=(1,2,3,4))\r\n```\r\n\r\nFo...
1,695
1,697
1,695
NONE
null
### System Info - `transformers` version: 4.33.1 - Platform: Linux-4.18.0-477.15.1.el8_8.x86_64-x86_64-with-glibc2.17 - Python version: 3.8.17 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.2 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26403/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/26403/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26402
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26402/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26402/comments
https://api.github.com/repos/huggingface/transformers/issues/26402/events
https://github.com/huggingface/transformers/pull/26402
1,912,824,738
PR_kwDOCUB6oc5bMc8h
26,402
Change past_key_values shape of gpt_bigcode
{ "login": "jiqing-feng", "id": 107918818, "node_id": "U_kgDOBm614g", "avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiqing-feng", "html_url": "https://github.com/jiqing-feng", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "WDYT @younesbelkada @ArthurZucker ?", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26402). All of your documentation changes will be reflected on that endpoint.", "Sure. I see [bloom](https://github.com/huggingface/transformers/blob/main/src/transformers/models/blo...
1,695
1,700
1,700
CONTRIBUTOR
null
Hi @ArthurZucker @younesbelkada I found that the shape of `past_key_values` in `gpt_bigcode` is different from others, which will cause inconvenience or unexpected errors in `Optimum` and `Optimum-intel`. Therefore, I added some reshaping operations to make the shape insistent with other models. I have tested it on...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26402/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/26402/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26402", "html_url": "https://github.com/huggingface/transformers/pull/26402", "diff_url": "https://github.com/huggingface/transformers/pull/26402.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26402.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26401
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26401/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26401/comments
https://api.github.com/repos/huggingface/transformers/issues/26401/events
https://github.com/huggingface/transformers/issues/26401
1,912,795,336
I_kwDOCUB6oc5yAvDI
26,401
🚨 [Bug] Text-to-Audio pipeline is broken for Speech T5 TTS
{ "login": "Vaibhavs10", "id": 18682411, "node_id": "MDQ6VXNlcjE4NjgyNDEx", "avatar_url": "https://avatars.githubusercontent.com/u/18682411?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Vaibhavs10", "html_url": "https://github.com/Vaibhavs10", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "cc: @Narsil for vis.", "@ylacombe Maybe ?", "Hey @Narsil and @Vaibhavs10,\r\nAt the moment, you have to pass the speaker embeddings as a forward argument:\r\n\r\n```python\r\nspeaker_embeddings = torch.tensor(embeddings_dataset[7306][\"xvector\"]).unsqueeze(0)\r\nforward_params = {\r\n \"speaker_embeddings\...
1,695
1,697
1,697
MEMBER
null
### System Info - `transformers` version: 4.33.2 - Platform: Linux-5.15.120+-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.17.2 - Safetensors version: 0.3.3 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu118 (False) - Tensorfl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26401/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/26401/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26400
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26400/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26400/comments
https://api.github.com/repos/huggingface/transformers/issues/26400/events
https://github.com/huggingface/transformers/pull/26400
1,912,714,898
PR_kwDOCUB6oc5bMFIo
26,400
remove the assumption: source and target vocab should be shared for Marian model
{ "login": "nana-na-nana-na", "id": 33016235, "node_id": "MDQ6VXNlcjMzMDE2MjM1", "avatar_url": "https://avatars.githubusercontent.com/u/33016235?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nana-na-nana-na", "html_url": "https://github.com/nana-na-nana-na", "followers_url": "https://api...
[]
closed
false
null
[]
[ "cc @ArthurZucker I believe you wanted to dive into this in the days/weeks to come", "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 [contributi...
1,695
1,703
1,703
NONE
null
# Motivation I faced below errors when run https://github.com/huggingface/transformers/blob/b880508440f43f80e35a78ccd2a32f3bde91cb23/src/transformers/models/marian/convert_marian_to_pytorch.py RuntimeError: Error(s) in loading state_dict for MarianMTModel: **size mismatch** for final_logits_bias: copying a param wit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26400/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/26400/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26400", "html_url": "https://github.com/huggingface/transformers/pull/26400", "diff_url": "https://github.com/huggingface/transformers/pull/26400.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26400.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26399
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26399/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26399/comments
https://api.github.com/repos/huggingface/transformers/issues/26399/events
https://github.com/huggingface/transformers/pull/26399
1,912,691,516
PR_kwDOCUB6oc5bMAId
26,399
Replaced with logger.warning
{ "login": "hegdeadithyak", "id": 116452077, "node_id": "U_kgDOBvDq7Q", "avatar_url": "https://avatars.githubusercontent.com/u/116452077?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hegdeadithyak", "html_url": "https://github.com/hegdeadithyak", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,695
1,695
1,695
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/26399/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/26399/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26399", "html_url": "https://github.com/huggingface/transformers/pull/26399", "diff_url": "https://github.com/huggingface/transformers/pull/26399.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26399.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26398
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26398/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26398/comments
https://api.github.com/repos/huggingface/transformers/issues/26398/events
https://github.com/huggingface/transformers/issues/26398
1,912,418,416
I_kwDOCUB6oc5x_TBw
26,398
`resize_token_embeddings` sets `vocab_size` to 0 in Deepspeed mode.
{ "login": "zhouku92", "id": 144086204, "node_id": "U_kgDOCJaUvA", "avatar_url": "https://avatars.githubusercontent.com/u/144086204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhouku92", "html_url": "https://github.com/zhouku92", "followers_url": "https://api.github.com/users/zhouku92/...
[]
closed
false
null
[]
[ "Same issue here with same package versions except deepspeed==0.10.3. Downgrading transformers to 4.30.2 temporarily resolved the issue. ", "Indeed, it seems there is an issue here! Would you mind opening a PR with your proposed fix?", "Ah actually it's already being fixed here: https://github.com/huggingface/t...
1,695
1,695
1,695
NONE
null
### System Info **System Info** * transformers==4.33.2 * accelerate==0.23.0 * deepspeed==0.9.2 I was running a customized script to train a LLaMA model via Deepspeed and encountered the following exception: ``` File "/opt/conda/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 1736, in forward ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26398/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/26398/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26397
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26397/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26397/comments
https://api.github.com/repos/huggingface/transformers/issues/26397/events
https://github.com/huggingface/transformers/issues/26397
1,912,299,853
I_kwDOCUB6oc5x-2FN
26,397
Allow phi 1.5 to accept attention mask as a parameter
{ "login": "bnicholl", "id": 26211830, "node_id": "MDQ6VXNlcjI2MjExODMw", "avatar_url": "https://avatars.githubusercontent.com/u/26211830?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bnicholl", "html_url": "https://github.com/bnicholl", "followers_url": "https://api.github.com/users/bni...
[]
closed
false
null
[]
[ "Hey @bnicholl, phi 1.5 is being added to the library here: https://github.com/huggingface/transformers/pull/26170\r\n\r\nThis will support the attention mask as a parameter.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed ...
1,695
1,698
1,698
NONE
null
### Feature request As of right not, phi-1.5 does not accept attention masking for training or running inferences in batches. Could we get phi-1.5 to accept attention mask as a parameter ### Motivation I would like attention masking for fine tuning ### Your contribution If this isn't planned on getting taken care ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26397/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/26397/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26396
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26396/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26396/comments
https://api.github.com/repos/huggingface/transformers/issues/26396/events
https://github.com/huggingface/transformers/pull/26396
1,912,289,350
PR_kwDOCUB6oc5bKqpa
26,396
Fix padding for IDEFICS
{ "login": "shauray8", "id": 39147312, "node_id": "MDQ6VXNlcjM5MTQ3MzEy", "avatar_url": "https://avatars.githubusercontent.com/u/39147312?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shauray8", "html_url": "https://github.com/shauray8", "followers_url": "https://api.github.com/users/sha...
[]
closed
false
null
[]
[ "sure!", "@ArthurZucker CI looks green, PR's ready for another review.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26396). All of your documentation changes will be reflected on that endpoint.", "thank you @shauray8 !" ]
1,695
1,696
1,695
CONTRIBUTOR
null
# What does this PR do? Fixes padding issues - ```python from transformers import AutoProcessor processor = AutoProcessor.from_pretrained("HuggingFaceM4/idefics-9b", padding_side="right") sents = [["hello world"], [" this is a longer sentence to testing padding"]] # This is the correct behaviour: a = pr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26396/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/26396/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26396", "html_url": "https://github.com/huggingface/transformers/pull/26396", "diff_url": "https://github.com/huggingface/transformers/pull/26396.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26396.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26395
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26395/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26395/comments
https://api.github.com/repos/huggingface/transformers/issues/26395/events
https://github.com/huggingface/transformers/pull/26395
1,912,279,812
PR_kwDOCUB6oc5bKoj4
26,395
test doc-builder
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,695
1,695
1,695
CONTRIBUTOR
null
testing https://github.com/huggingface/doc-builder/pull/408
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26395/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/26395/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26395", "html_url": "https://github.com/huggingface/transformers/pull/26395", "diff_url": "https://github.com/huggingface/transformers/pull/26395.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26395.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26394
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26394/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26394/comments
https://api.github.com/repos/huggingface/transformers/issues/26394/events
https://github.com/huggingface/transformers/pull/26394
1,912,178,700
PR_kwDOCUB6oc5bKSTn
26,394
Deleted duplicate sentence
{ "login": "titi-devv", "id": 66329321, "node_id": "MDQ6VXNlcjY2MzI5MzIx", "avatar_url": "https://avatars.githubusercontent.com/u/66329321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/titi-devv", "html_url": "https://github.com/titi-devv", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,695
1,695
1,695
CONTRIBUTOR
null
# What does this PR do? Deleted duplicate sentence
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26394/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/26394/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26394", "html_url": "https://github.com/huggingface/transformers/pull/26394", "diff_url": "https://github.com/huggingface/transformers/pull/26394.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26394.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26393
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26393/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26393/comments
https://api.github.com/repos/huggingface/transformers/issues/26393/events
https://github.com/huggingface/transformers/pull/26393
1,911,956,022
PR_kwDOCUB6oc5bJhiN
26,393
Fix DeepSpeed issue with Idefics
{ "login": "HugoLaurencon", "id": 44556846, "node_id": "MDQ6VXNlcjQ0NTU2ODQ2", "avatar_url": "https://avatars.githubusercontent.com/u/44556846?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HugoLaurencon", "html_url": "https://github.com/HugoLaurencon", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,695
1,695
1,695
MEMBER
null
# What does this PR do? This PR fixes a bug when trying to do inference with Idefics with DeepSpeed Zero-3. The model was loaded correctly, but the shapes were found to be incorrect using DS at a step in `IdeficsDecoupledLinear` during inference. I checked on different prompts that the output is the same without...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26393/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/26393/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26393", "html_url": "https://github.com/huggingface/transformers/pull/26393", "diff_url": "https://github.com/huggingface/transformers/pull/26393.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26393.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26392
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26392/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26392/comments
https://api.github.com/repos/huggingface/transformers/issues/26392/events
https://github.com/huggingface/transformers/pull/26392
1,911,925,629
PR_kwDOCUB6oc5bJa47
26,392
replaced warnings.warn with logger.warning
{ "login": "hegdeadithyak", "id": 116452077, "node_id": "U_kgDOBvDq7Q", "avatar_url": "https://avatars.githubusercontent.com/u/116452077?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hegdeadithyak", "html_url": "https://github.com/hegdeadithyak", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,695
1,695
1,695
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/26392/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/26392/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26392", "html_url": "https://github.com/huggingface/transformers/pull/26392", "diff_url": "https://github.com/huggingface/transformers/pull/26392.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26392.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26391
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26391/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26391/comments
https://api.github.com/repos/huggingface/transformers/issues/26391/events
https://github.com/huggingface/transformers/pull/26391
1,911,920,109
PR_kwDOCUB6oc5bJZrd
26,391
[WIP]Add ProPainter
{ "login": "shauray8", "id": 39147312, "node_id": "MDQ6VXNlcjM5MTQ3MzEy", "avatar_url": "https://avatars.githubusercontent.com/u/39147312?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shauray8", "html_url": "https://github.com/shauray8", "followers_url": "https://api.github.com/users/sha...
[]
closed
false
null
[]
[ "Hi @shauray8 :)\r\n\r\nPlease, let me know when it is ready for review ", "I'll ping you before the EOD.\r\n\r\n*Update - got caught up with something, Writing tests!*", "@shauray8 Any update on adding this model?", "@amyeroberts it's almost done, I'm stuck with tests rn and I might be able to push it for 1s...
1,695
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? Adds ProPainter to transformers. Author - https://github.com/sczhou/ProPainter hub - https://huggingface.co/shauray/ProPainter-hf/ Fixes https://github.com/huggingface/transformers/issues/26360 *issue contains all the other relevant links* ## Before submitting - [X] Did you read the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26391/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/26391/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26391", "html_url": "https://github.com/huggingface/transformers/pull/26391", "diff_url": "https://github.com/huggingface/transformers/pull/26391.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26391.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26390
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26390/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26390/comments
https://api.github.com/repos/huggingface/transformers/issues/26390/events
https://github.com/huggingface/transformers/pull/26390
1,911,888,302
PR_kwDOCUB6oc5bJSoQ
26,390
Replaced warning.warn with logging.warning
{ "login": "hegdeadithyak", "id": 116452077, "node_id": "U_kgDOBvDq7Q", "avatar_url": "https://avatars.githubusercontent.com/u/116452077?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hegdeadithyak", "html_url": "https://github.com/hegdeadithyak", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,695
1,695
1,695
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/26390/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/26390/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26390", "html_url": "https://github.com/huggingface/transformers/pull/26390", "diff_url": "https://github.com/huggingface/transformers/pull/26390.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26390.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26389
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26389/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26389/comments
https://api.github.com/repos/huggingface/transformers/issues/26389/events
https://github.com/huggingface/transformers/pull/26389
1,911,839,398
PR_kwDOCUB6oc5bJHyj
26,389
Replaced every warnings.warn with logging.warning
{ "login": "hegdeadithyak", "id": 116452077, "node_id": "U_kgDOBvDq7Q", "avatar_url": "https://avatars.githubusercontent.com/u/116452077?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hegdeadithyak", "html_url": "https://github.com/hegdeadithyak", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,695
1,695
1,695
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/26389/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/26389/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26389", "html_url": "https://github.com/huggingface/transformers/pull/26389", "diff_url": "https://github.com/huggingface/transformers/pull/26389.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26389.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26388
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26388/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26388/comments
https://api.github.com/repos/huggingface/transformers/issues/26388/events
https://github.com/huggingface/transformers/issues/26388
1,911,797,964
I_kwDOCUB6oc5x87jM
26,388
Implementation of Git-Rebasin to Huggingface models
{ "login": "NamburiSrinath", "id": 40389487, "node_id": "MDQ6VXNlcjQwMzg5NDg3", "avatar_url": "https://avatars.githubusercontent.com/u/40389487?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NamburiSrinath", "html_url": "https://github.com/NamburiSrinath", "followers_url": "https://api.gi...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[]
1,695
1,698
null
NONE
null
### Feature request Hi, I am not sure if this is even feasible/appropriate request in Huggingface. Recently, there was an ICLR paper titled "Git Rebasin" (https://arxiv.org/abs/2209.04836) which demonstrates a method to effectively merge models. But the authors have implemented it only for plain NN and Resnet k...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26388/reactions", "total_count": 3, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/26388/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/26387
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26387/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26387/comments
https://api.github.com/repos/huggingface/transformers/issues/26387/events
https://github.com/huggingface/transformers/pull/26387
1,911,790,924
PR_kwDOCUB6oc5bI87b
26,387
Fix setting vocab_size when resizing embeddings and using deepspeed zero 3
{ "login": "ppetrushkov", "id": 39625270, "node_id": "MDQ6VXNlcjM5NjI1Mjcw", "avatar_url": "https://avatars.githubusercontent.com/u/39625270?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ppetrushkov", "html_url": "https://github.com/ppetrushkov", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26387). All of your documentation changes will be reflected on that endpoint.", "Hello @ppetrushkov , this merged PR https://github.com/huggingface/transformers/pull/26259 should have fixed this issue. Could you retry from ...
1,695
1,695
1,695
NONE
null
# What does this PR do? Currently there seems to be an issue when training with deepspeed zero stage 3 and resizing the token embeddings. Here is an example I used: ```python from transformers import ( AutoConfig, AutoTokenizer, AutoModelForCausalLM, HfArgumentParser, TrainingArguments, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26387/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/26387/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26387", "html_url": "https://github.com/huggingface/transformers/pull/26387", "diff_url": "https://github.com/huggingface/transformers/pull/26387.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26387.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26386
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26386/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26386/comments
https://api.github.com/repos/huggingface/transformers/issues/26386/events
https://github.com/huggingface/transformers/pull/26386
1,911,624,625
PR_kwDOCUB6oc5bIYT0
26,386
added support for gradient checkpointing in ESM models
{ "login": "sanjeevk-os", "id": 73068589, "node_id": "MDQ6VXNlcjczMDY4NTg5", "avatar_url": "https://avatars.githubusercontent.com/u/73068589?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanjeevk-os", "html_url": "https://github.com/sanjeevk-os", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26386). All of your documentation changes will be reflected on that endpoint." ]
1,695
1,695
1,695
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/26386/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/26386/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26386", "html_url": "https://github.com/huggingface/transformers/pull/26386", "diff_url": "https://github.com/huggingface/transformers/pull/26386.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26386.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26385
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26385/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26385/comments
https://api.github.com/repos/huggingface/transformers/issues/26385/events
https://github.com/huggingface/transformers/pull/26385
1,911,591,101
PR_kwDOCUB6oc5bIQ80
26,385
Fix num. of minimal calls to the Hub with peft for pipeline
{ "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._", "> This seems okay to me generally, would like another review as it's touching critical code.\r\n> \r\n> Not too sure how we could do it, but it would also be nice to have tests for this, as it's the kind of thing that will continue t...
1,695
1,697
1,697
COLLABORATOR
null
# What does this PR do? This is a continuation of #25715 where @sgugger fix `test_cached_model_has_minimum_calls_to_head` but not `test_cached_pipeline_has_minimum_calls_to_head` (as I didn't mention this to him). This PR mostly copies the logic from #25715. The current failing test and the error are ```bas...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26385/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/26385/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26385", "html_url": "https://github.com/huggingface/transformers/pull/26385", "diff_url": "https://github.com/huggingface/transformers/pull/26385.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26385.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26384
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26384/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26384/comments
https://api.github.com/repos/huggingface/transformers/issues/26384/events
https://github.com/huggingface/transformers/issues/26384
1,911,481,332
I_kwDOCUB6oc5x7uP0
26,384
4.33.2 breaks deepspeed_custom_scheduler fixed in 4.33.1
{ "login": "wizyoung", "id": 13296106, "node_id": "MDQ6VXNlcjEzMjk2MTA2", "avatar_url": "https://avatars.githubusercontent.com/u/13296106?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wizyoung", "html_url": "https://github.com/wizyoung", "followers_url": "https://api.github.com/users/wiz...
[]
closed
false
{ "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://api.github.com/users/...
[ { "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://a...
[ "Weird... The github 4.33.1 tag fixed the bug as I mentioned above, but the pypi release 4.33.1 src code still lies the bug, which is inconsistent.", "Hello @wizyoung, this should be fixed in https://github.com/huggingface/transformers/releases/tag/v4.33.3" ]
1,695
1,698
1,698
NONE
null
### System Info - `transformers` version: 4.33.2 - Platform: Linux-4.14.0_1-0-0-44-x86_64-with-glibc2.27 - Python version: 3.9.17 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.2 - Accelerate version: 0.23.0 - Accelerate config: not found - PyTorch version (GPU?): 1.13.1+cu117 (True) - Tensorf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26384/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/26384/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26383
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26383/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26383/comments
https://api.github.com/repos/huggingface/transformers/issues/26383/events
https://github.com/huggingface/transformers/issues/26383
1,911,414,435
I_kwDOCUB6oc5x7d6j
26,383
RuntimeError: result type Float can't be cast to the desired output type Byte
{ "login": "LuciferianInk", "id": 94832312, "node_id": "U_kgDOBacGuA", "avatar_url": "https://avatars.githubusercontent.com/u/94832312?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LuciferianInk", "html_url": "https://github.com/LuciferianInk", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "cc @younesbelkada as well", "Hi @LuciferianInk \r\nThanks for the issue, I recently made https://github.com/huggingface/transformers/pull/26134 that should fix all issues related with RWKV and 4bit, please install transformers from source `pip install -U git+https://github.com/huggingface/transformers.git` and l...
1,695
1,697
1,697
NONE
null
### System Info - `transformers` version: 4.33.2 - Platform: Linux-6.5.3-arch1-1-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.17.2 - Safetensors version: 0.3.3 - Accelerate version: 0.23.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26383/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/26383/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26382
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26382/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26382/comments
https://api.github.com/repos/huggingface/transformers/issues/26382/events
https://github.com/huggingface/transformers/issues/26382
1,911,318,223
I_kwDOCUB6oc5x7GbP
26,382
`Helsinki-NLP/opus-mt-it-en` isn't on HuggingFace Hub
{ "login": "KickItLikeShika", "id": 54319724, "node_id": "MDQ6VXNlcjU0MzE5NzI0", "avatar_url": "https://avatars.githubusercontent.com/u/54319724?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KickItLikeShika", "html_url": "https://github.com/KickItLikeShika", "followers_url": "https://api...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[]
1,695
1,695
null
CONTRIBUTOR
null
### Model description I have found lots of Opus translation model on HuggingFace Hub but couldn't find Portuguese to English model, however the model already exists in Helsinki repo https://github.com/Helsinki-NLP/OPUS-MT-train/tree/master/models/pt-en#opus-2019-12-05zip is that something can be added quickly? ##...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26382/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/26382/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/26381
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26381/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26381/comments
https://api.github.com/repos/huggingface/transformers/issues/26381/events
https://github.com/huggingface/transformers/issues/26381
1,911,225,961
I_kwDOCUB6oc5x6v5p
26,381
Remove usage of warnings.warn
{ "login": "osanseviero", "id": 7246357, "node_id": "MDQ6VXNlcjcyNDYzNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osanseviero", "html_url": "https://github.com/osanseviero", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Hi @osanseviero I want to work on this issue. Can you please this issue to me so that I can start working on it?\r\n", "If I understand correctly, we should use `logger.warning` where `logger = logging.get_logger(__name__)` ? ", "I can work on this!!\r\n", "hey @osanseviero, I have started solving the issue....
1,695
1,697
1,697
MEMBER
null
Usage of `warnings.warn` has been deprecated in favor of `logging.warning`, which is managed by the `transformers.logging` utility. * https://github.com/search?q=repo%3Ahuggingface%2Ftransformers+%22warnings.warn%22&type=code * https://github.com/search?q=repo%3Ahuggingface%2Ftransformers%20UserWarning&type=code ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26381/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 3, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/26381/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26380
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26380/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26380/comments
https://api.github.com/repos/huggingface/transformers/issues/26380/events
https://github.com/huggingface/transformers/issues/26380
1,911,208,923
I_kwDOCUB6oc5x6rvb
26,380
Padding changes the output of forward pass in Bloom models
{ "login": "tonitervo", "id": 93580599, "node_id": "U_kgDOBZPtNw", "avatar_url": "https://avatars.githubusercontent.com/u/93580599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tonitervo", "html_url": "https://github.com/tonitervo", "followers_url": "https://api.github.com/users/toniterv...
[]
closed
false
null
[]
[ "The problem is not present in BERT model ('TurkuNLP/bert-base-finnish-cased-v1').", "I tried to track down the problem and it seems that there is a major change from transformers 4.21.3 to 4.22.0.\r\nEven with these older versions the logits seem to differ a lot when using batch of one. So I modified the script ...
1,695
1,700
1,700
NONE
null
### System Info - `transformers` version: 4.33.2 - Platform: Linux-4.14.322-246.539.amzn2.x86_64-x86_64-with-glibc2.26 - Python version: 3.9.5 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.3 - Accelerate version: 0.23.0 - Accelerate config: not found - PyTorch version (GPU?): 1.13.1+cu117 (Tru...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26380/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/26380/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26379
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26379/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26379/comments
https://api.github.com/repos/huggingface/transformers/issues/26379/events
https://github.com/huggingface/transformers/pull/26379
1,910,980,666
PR_kwDOCUB6oc5bGLfk
26,379
Add OWLv2
{ "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
[]
[ "I would go for simply adding `config.add_objectness_head` in the existing `OwlViT` model file(s).", "I think current implementation is better than creating another class for OWLv2. One suggestion is to use more descriptive flag for OWLv2 something like `owlvit_v2=True` which enable the objectness head", "Sorry...
1,695
1,696
1,696
CONTRIBUTOR
null
# What does this PR do? This PR adds the OWLv2 checkpoints, and investigates why results weren't the same as the original Colab for v1 as pointed out in #21206. After investigation, it turns out that 1) the model returns the exact same logits as the original implementation on the same input data, but 2) the image pr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26379/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/26379/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26379", "html_url": "https://github.com/huggingface/transformers/pull/26379", "diff_url": "https://github.com/huggingface/transformers/pull/26379.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26379.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26404
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26404/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26404/comments
https://api.github.com/repos/huggingface/transformers/issues/26404/events
https://github.com/huggingface/transformers/issues/26404
1,912,889,095
I_kwDOCUB6oc5yBF8H
26,404
cannot import name 'is_essentia_available' from 'transformers.utils'
{ "login": "philschmid", "id": 32632186, "node_id": "MDQ6VXNlcjMyNjMyMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/32632186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/philschmid", "html_url": "https://github.com/philschmid", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "cc @pacman100 ", "solved ✅", "Transfering to `transformers` as it's a `transformers` issue underneath", "> solved ✅\r\n\r\nHi,I got the same error when I import diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion. \r\n`RuntimeError: Failed to import diffusers.pipelines.stable_diffusion.pipeline_st...
1,695
1,701
1,695
MEMBER
null
### System Info ```Shell - `Accelerate` version: 0.23.0 - Platform: macOS-12.5-arm64-arm-64bit - Python version: 3.8.12 - Numpy version: 1.21.4 - PyTorch version (GPU?): 2.0.0 (False) - PyTorch XPU available: False - PyTorch NPU available: False - System RAM: 32.00 GB - `Accelerate` default config: No...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26404/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/26404/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26378
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26378/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26378/comments
https://api.github.com/repos/huggingface/transformers/issues/26378/events
https://github.com/huggingface/transformers/issues/26378
1,910,908,584
I_kwDOCUB6oc5x5iao
26,378
Bug in Trainer for PeftModel multi-gpu training by accelerate
{ "login": "Orion-Zheng", "id": 62330719, "node_id": "MDQ6VXNlcjYyMzMwNzE5", "avatar_url": "https://avatars.githubusercontent.com/u/62330719?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Orion-Zheng", "html_url": "https://github.com/Orion-Zheng", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "cc @pacman100 :)", "Hey! Would recommend you to update to the latest version of both packages and see if this is fixed! ", "Hello, \r\n\r\nI think @younesbelkada should have a better idea about this.", "Thanks! Will look into it", "Hi @Orion-Zheng \r\nThanks for the issue, I was not able to reproduce the i...
1,695
1,704
1,704
NONE
null
### System Info When using the accelerate library to fine-tune LLaMA2 by QLoRA on multiple GPUs, I met an error when I set load_best_model_at_end=True in the TrainingArguments. <img width="1115" alt="image" src="https://github.com/huggingface/transformers/assets/62330719/a2e7a49b-3627-4249-8fb2-bc8a61f0ede1"> It ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26378/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/26378/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26377
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26377/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26377/comments
https://api.github.com/repos/huggingface/transformers/issues/26377/events
https://github.com/huggingface/transformers/issues/26377
1,910,667,809
I_kwDOCUB6oc5x4noh
26,377
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn
{ "login": "phamkhactu", "id": 42369268, "node_id": "MDQ6VXNlcjQyMzY5MjY4", "avatar_url": "https://avatars.githubusercontent.com/u/42369268?v=4", "gravatar_id": "", "url": "https://api.github.com/users/phamkhactu", "html_url": "https://github.com/phamkhactu", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hey @phamkhactu, we'd love to help but there is a significant amount of code here.\r\n\r\nWould you mind sharing a reproducible code example so that we may investigate the issue? Thanks!", "Hi @LysandreJik \r\n\r\nI will share with you about my task. I want to fine-tune llama2 with peft. when I load pretrain mod...
1,695
1,698
1,698
NONE
null
### System Info transformers: 4.32.0 ### Who can help? _No response_ ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (give details below) ### Reproduction...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26377/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/26377/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26376
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26376/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26376/comments
https://api.github.com/repos/huggingface/transformers/issues/26376/events
https://github.com/huggingface/transformers/issues/26376
1,910,646,925
I_kwDOCUB6oc5x4iiN
26,376
Early stopping Abnormality
{ "login": "GeorgeBGM", "id": 26595839, "node_id": "MDQ6VXNlcjI2NTk1ODM5", "avatar_url": "https://avatars.githubusercontent.com/u/26595839?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GeorgeBGM", "html_url": "https://github.com/GeorgeBGM", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "Maybe cc @pacman100 regarding the `Trainer`", "Dear @pacman100,\r\n\r\n Thanks in advance, I'm looking forward for your reply.\r\n \r\n Best,Du" ]
1,695
1,708
null
NONE
null
### System Info Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points. - `transformers` version: 4.32.1 - Platform: Linux-4.18.0-372.9.1.el8_lustre.x86_64-x86_64-with-glibc2.17 - Python version: 3.11.5 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.2 - Accelerate v...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26376/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/26376/timeline
reopened
null
null
https://api.github.com/repos/huggingface/transformers/issues/26375
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26375/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26375/comments
https://api.github.com/repos/huggingface/transformers/issues/26375/events
https://github.com/huggingface/transformers/issues/26375
1,910,597,551
I_kwDOCUB6oc5x4Wev
26,375
[LLM Tokenizer] Tokenizer loads too slowly
{ "login": "Sakurakdx", "id": 48399040, "node_id": "MDQ6VXNlcjQ4Mzk5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/48399040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sakurakdx", "html_url": "https://github.com/Sakurakdx", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hey @Sakurakdx, by \"loading speed\", are you talking about the model or the tokenizer? Would you have a reproducible code snippet I could try to see what you mean?", "Sorry, my statement may not be accurate. The following is a clarification: When I use `AutoTokenizer` to load the tokenzier of LLAMA2, I need to ...
1,695
1,695
1,695
NONE
null
When I use LLM such as LLAMA's tokenzier, its loading speed is very slow, even taking half an hour. I would like to ask how long is the normal loading time and is there any way to speed up the loading?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26375/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/26375/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26374
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26374/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26374/comments
https://api.github.com/repos/huggingface/transformers/issues/26374/events
https://github.com/huggingface/transformers/pull/26374
1,910,584,899
PR_kwDOCUB6oc5bE15T
26,374
Control first downsample stride in ResNet
{ "login": "jiqing-feng", "id": 107918818, "node_id": "U_kgDOBm614g", "avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiqing-feng", "html_url": "https://github.com/jiqing-feng", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @ArthurZucker @rafaelpadilla .\r\n\r\nThanks for your advice. The resnet backbone which downsamples in bottleneck layer can be found in [resnet](https://huggingface.co/Jiqing/resnet-backbone-downsample_in_bottleneck).", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr...
1,695
1,700
1,696
CONTRIBUTOR
null
Hi @ArthurZucker Relate to [25856](https://github.com/huggingface/transformers/pull/25856). I added a new parameter in config to control the stride for the first bottleneck layer in stages. Would you please help me review it? Thx!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26374/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/26374/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26374", "html_url": "https://github.com/huggingface/transformers/pull/26374", "diff_url": "https://github.com/huggingface/transformers/pull/26374.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26374.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26373
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26373/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26373/comments
https://api.github.com/repos/huggingface/transformers/issues/26373/events
https://github.com/huggingface/transformers/issues/26373
1,910,469,237
I_kwDOCUB6oc5x33J1
26,373
Use github.com/apssouza22/chatflow as a conversational layer. It would enable actual API requests to be carried out from natural language inputs.
{ "login": "GiovanniSmokes", "id": 138458840, "node_id": "U_kgDOCEC22A", "avatar_url": "https://avatars.githubusercontent.com/u/138458840?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GiovanniSmokes", "html_url": "https://github.com/GiovanniSmokes", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hey @GiovanniSmokes, we're happy to provide support in case you would like to integrate `transformers` within `chatflow`. \r\n\r\nWe have a lot of requests so we prefer to centralize everything in our GitHub issues, feel free to open an issue in case you run into problems! Thank you :hugs: ", "This issue has bee...
1,695
1,698
1,698
NONE
null
### Feature request Adding this conversational UI would enable people to 'talk' directly with the backend and API requests to be carried out more effectively. RAG can help with some of the problems function calling by language models face at the moment. https://youtu.be/r3cegH2kviQ ### Motivation I'm trying t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26373/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/26373/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26372
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26372/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26372/comments
https://api.github.com/repos/huggingface/transformers/issues/26372/events
https://github.com/huggingface/transformers/pull/26372
1,910,408,060
PR_kwDOCUB6oc5bEQbK
26,372
testing doc-builder
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,695
1,695
1,695
CONTRIBUTOR
null
testing https://github.com/huggingface/doc-builder/pull/404
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26372/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/26372/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26372", "html_url": "https://github.com/huggingface/transformers/pull/26372", "diff_url": "https://github.com/huggingface/transformers/pull/26372.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26372.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26371
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26371/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26371/comments
https://api.github.com/repos/huggingface/transformers/issues/26371/events
https://github.com/huggingface/transformers/pull/26371
1,910,275,026
PR_kwDOCUB6oc5bD2e6
26,371
testing doc-builder svelte kit migration
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,695
1,695
1,695
CONTRIBUTOR
null
testing https://github.com/huggingface/doc-builder/pull/396
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26371/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/26371/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26371", "html_url": "https://github.com/huggingface/transformers/pull/26371", "diff_url": "https://github.com/huggingface/transformers/pull/26371.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26371.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26370
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26370/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26370/comments
https://api.github.com/repos/huggingface/transformers/issues/26370/events
https://github.com/huggingface/transformers/pull/26370
1,910,247,787
PR_kwDOCUB6oc5bDxJ-
26,370
Fix MusicGen logging error
{ "login": "osanseviero", "id": 7246357, "node_id": "MDQ6VXNlcjcyNDYzNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osanseviero", "html_url": "https://github.com/osanseviero", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,695
1,695
1,695
MEMBER
null
# What does this PR do? Issue: #26369 Loading ```python pipe = pipeline("text-to-audio", model="facebook/musicgen-small") data = pipe("latin salsa with violins") ``` at the moment, throws a large error ## Who can review? @ylacombe @sanchit-gandhi
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26370/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/26370/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26370", "html_url": "https://github.com/huggingface/transformers/pull/26370", "diff_url": "https://github.com/huggingface/transformers/pull/26370.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26370.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26369
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26369/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26369/comments
https://api.github.com/repos/huggingface/transformers/issues/26369/events
https://github.com/huggingface/transformers/issues/26369
1,910,247,472
I_kwDOCUB6oc5x3BAw
26,369
MusicGen with TextToAudioPipeline issues
{ "login": "osanseviero", "id": 7246357, "node_id": "MDQ6VXNlcjcyNDYzNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osanseviero", "html_url": "https://github.com/osanseviero", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "cc @Narsil as well :)", "Re: the issue with `max_new_tokens` - We should take care of this in the `santize_parameters` function, right?\r\n\r\n`max_new_tokens` is part of the `generate_kwargs` - It should be considered as here: https://github.com/huggingface/transformers/blob/546e7679e7f692ebeefcfc5063cec271a55b...
1,695
1,698
1,698
MEMBER
null
### System Info - `transformers` version: 4.33.2 - Platform: Linux-5.15.120+-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.17.2 - Safetensors version: 0.3.3 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu118 (True) - Tensorf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26369/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/26369/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26368
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26368/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26368/comments
https://api.github.com/repos/huggingface/transformers/issues/26368/events
https://github.com/huggingface/transformers/pull/26368
1,910,222,187
PR_kwDOCUB6oc5bDsOM
26,368
feat: add enable_gradient_checkpoint for roberta
{ "login": "pphuc25", "id": 81808312, "node_id": "MDQ6VXNlcjgxODA4MzEy", "avatar_url": "https://avatars.githubusercontent.com/u/81808312?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pphuc25", "html_url": "https://github.com/pphuc25", "followers_url": "https://api.github.com/users/pphuc2...
[]
closed
false
null
[]
[ "Hey @pphuc25 - I believe that the `enable_gradient_checkpointing()` method is working for Flax Roberta. See code snippet below that demonstrates:\r\n```python\r\nfrom transformers import FlaxRobertaForMaskedLM\r\n\r\nmodel = FlaxRobertaForMaskedLM.from_pretrained(\"hf-internal-testing/tiny-random-roberta\", from_p...
1,695
1,695
1,695
CONTRIBUTOR
null
# What does this PR do? While reviewing the "run_mlm_flax.py" file, I encountered an issue when attempting to execute the "model.enable_gradient_checkpointing()" function. Upon further investigation, I observed that there was no "enable_gradient_checkpointing" available. As a solution, I configured FlaxRobertaForMas...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26368/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/26368/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26368", "html_url": "https://github.com/huggingface/transformers/pull/26368", "diff_url": "https://github.com/huggingface/transformers/pull/26368.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26368.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26367
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26367/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26367/comments
https://api.github.com/repos/huggingface/transformers/issues/26367/events
https://github.com/huggingface/transformers/pull/26367
1,910,217,028
PR_kwDOCUB6oc5bDrOZ
26,367
testing doc-builder
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,695
1,695
1,695
CONTRIBUTOR
null
testing https://github.com/huggingface/doc-builder/pull/401
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26367/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/26367/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26367", "html_url": "https://github.com/huggingface/transformers/pull/26367", "diff_url": "https://github.com/huggingface/transformers/pull/26367.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26367.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26366
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26366/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26366/comments
https://api.github.com/repos/huggingface/transformers/issues/26366/events
https://github.com/huggingface/transformers/issues/26366
1,910,202,237
I_kwDOCUB6oc5x2199
26,366
add_tokens misses to add some certain words in tokenizer vocab
{ "login": "Kushdesh", "id": 10446551, "node_id": "MDQ6VXNlcjEwNDQ2NTUx", "avatar_url": "https://avatars.githubusercontent.com/u/10446551?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kushdesh", "html_url": "https://github.com/Kushdesh", "followers_url": "https://api.github.com/users/Kus...
[]
closed
false
null
[]
[ "I am really sorry I found that 'abs' is already in T5Tokenizer.from_pretrained(\"t5-small\", legacy=False). I checked by running following\r\n```python\r\nfrom transformers import T5Tokenizer\r\ntokenizer = T5Tokenizer.from_pretrained(\"t5-small\", legacy=False)\r\ntokenizer.get_vocab()['abs']\r\n```\r\nwhich pri...
1,695
1,695
1,695
NONE
null
### System Info transformers : 4.33.2 torch: 2.1.0a0+29c30b1 Python: 3.10.12 OS: Ubuntu 22.04.3 LTS ### Who can help? @ArthurZucker ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26366/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/26366/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26365
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26365/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26365/comments
https://api.github.com/repos/huggingface/transformers/issues/26365/events
https://github.com/huggingface/transformers/pull/26365
1,910,150,705
PR_kwDOCUB6oc5bDec7
26,365
Update add_new_model.md
{ "login": "NinoRisteski", "id": 95188570, "node_id": "U_kgDOBax2Wg", "avatar_url": "https://avatars.githubusercontent.com/u/95188570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NinoRisteski", "html_url": "https://github.com/NinoRisteski", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[]
1,695
1,695
1,695
CONTRIBUTOR
null
fixed typos
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26365/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/26365/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26365", "html_url": "https://github.com/huggingface/transformers/pull/26365", "diff_url": "https://github.com/huggingface/transformers/pull/26365.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26365.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26364
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26364/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26364/comments
https://api.github.com/repos/huggingface/transformers/issues/26364/events
https://github.com/huggingface/transformers/pull/26364
1,910,150,575
PR_kwDOCUB6oc5bDebX
26,364
supporting different position embeddings
{ "login": "michalozeryflato", "id": 104420142, "node_id": "U_kgDOBjlTLg", "avatar_url": "https://avatars.githubusercontent.com/u/104420142?v=4", "gravatar_id": "", "url": "https://api.github.com/users/michalozeryflato", "html_url": "https://github.com/michalozeryflato", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "@ArthurZucker @zhangjunyi111 I forked transformers for investigating different positional embeddings in a bioinformatics study. I created the PR to highlight code changes to my colleagues. I did not intend to suggest merging my code changes into transformers. I changed the PR to a draft mode. Let me know if I ne...
1,695
1,698
1,698
NONE
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/26364/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/26364/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26364", "html_url": "https://github.com/huggingface/transformers/pull/26364", "diff_url": "https://github.com/huggingface/transformers/pull/26364.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26364.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26363
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26363/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26363/comments
https://api.github.com/repos/huggingface/transformers/issues/26363/events
https://github.com/huggingface/transformers/issues/26363
1,910,150,197
I_kwDOCUB6oc5x2pQ1
26,363
training t5-11b on 32GB GPU V100
{ "login": "Arij-Aladel", "id": 68355048, "node_id": "MDQ6VXNlcjY4MzU1MDQ4", "avatar_url": "https://avatars.githubusercontent.com/u/68355048?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Arij-Aladel", "html_url": "https://github.com/Arij-Aladel", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "@stas00 Just quick question please: could we use the same steps to finetune t5-11b or ul2 on single gpu with 32GB memory V100? Or I need 40GB memory? \r\nif yes, what is maximim input length which can I use?\r\nToday I have tried to finetune t5-11b using this yaml config\r\n\r\n`\r\ncompute_environment: LOCAL_MAC...
1,695
1,695
1,695
NONE
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26363/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/26363/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26362
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26362/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26362/comments
https://api.github.com/repos/huggingface/transformers/issues/26362/events
https://github.com/huggingface/transformers/issues/26362
1,910,119,139
I_kwDOCUB6oc5x2hrj
26,362
[CLAP] Acc drop after converting "HTSAT-base" type from origin model to huggingface model
{ "login": "happylittlecat2333", "id": 43379755, "node_id": "MDQ6VXNlcjQzMzc5NzU1", "avatar_url": "https://avatars.githubusercontent.com/u/43379755?v=4", "gravatar_id": "", "url": "https://api.github.com/users/happylittlecat2333", "html_url": "https://github.com/happylittlecat2333", "followers_url": "ht...
[]
closed
false
null
[]
[ "cc @younesbelkada ", "Hi @happylittlecat2333, thanks for the very thorough analysis here!\r\n\r\nI've opened a PR (#27153) to convert the weights from the new clap checkpoints. I believe that you missed some parameters when you converted the weights!\r\n\r\nYou can find the converted weights ([here](https://hugg...
1,695
1,701
1,701
NONE
null
### System Info ### Question Description I want to use CLAP in huggingface model style but only find ["laion/clap-htsat-unfused"](https://huggingface.co/laion/clap-htsat-fused) and ["laion/clap-htsat-fused"](https://huggingface.co/laion/clap-htsat-unfused) in huggingface Models. However, I wish to use the music CLA...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26362/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/26362/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26361
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26361/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26361/comments
https://api.github.com/repos/huggingface/transformers/issues/26361/events
https://github.com/huggingface/transformers/pull/26361
1,910,111,426
PR_kwDOCUB6oc5bDW6n
26,361
docs: change dataset name
{ "login": "pphuc25", "id": 81808312, "node_id": "MDQ6VXNlcjgxODA4MzEy", "avatar_url": "https://avatars.githubusercontent.com/u/81808312?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pphuc25", "html_url": "https://github.com/pphuc25", "followers_url": "https://api.github.com/users/pphuc2...
[]
closed
false
null
[]
[]
1,695
1,695
1,695
CONTRIBUTOR
null
# What does this PR do? In the sample code for running a language model in the Flax framework, I believe that "unshuffled_deduplicated_no" is not a suitable example due to its size, which consists of 3.18M samples. Loading such a large dataset can be time-consuming, especially for beginners. Therefore, I suggest cha...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26361/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/26361/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26361", "html_url": "https://github.com/huggingface/transformers/pull/26361", "diff_url": "https://github.com/huggingface/transformers/pull/26361.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26361.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26360
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26360/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26360/comments
https://api.github.com/repos/huggingface/transformers/issues/26360/events
https://github.com/huggingface/transformers/issues/26360
1,909,970,070
I_kwDOCUB6oc5x19SW
26,360
Add ProPainter to transformers
{ "login": "shauray8", "id": 39147312, "node_id": "MDQ6VXNlcjM5MTQ3MzEy", "avatar_url": "https://avatars.githubusercontent.com/u/39147312?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shauray8", "html_url": "https://github.com/shauray8", "followers_url": "https://api.github.com/users/sha...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[ "LGTM, I would also like to be a part this contrib... @shauray8 ", "@mahimairaja of course, let's wait for approval from a core maintainer.", "Looks good :)\r\n\r\nWhat do you think @rafaelpadilla ?", "Great suggestion @shauray8! \r\nThe original repo has 1.4k stars in 3 weeks. I thiink it is a great model to...
1,695
1,697
null
CONTRIBUTOR
null
### Model description ProPainter can be an excellent addition to Transformers given its impressive inpainting capabilities. *Relevant Links* Paper - https://arxiv.org/abs/2309.03897 Project Page - https://shangchenzhou.com/projects/ProPainter/ Original Code - https://github.com/sczhou/ProPainter Weights - ht...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26360/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/26360/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/26359
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26359/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26359/comments
https://api.github.com/repos/huggingface/transformers/issues/26359/events
https://github.com/huggingface/transformers/pull/26359
1,909,932,186
PR_kwDOCUB6oc5bCz5S
26,359
Adding a new model AugViT
{ "login": "ushareng", "id": 34335028, "node_id": "MDQ6VXNlcjM0MzM1MDI4", "avatar_url": "https://avatars.githubusercontent.com/u/34335028?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ushareng", "html_url": "https://github.com/ushareng", "followers_url": "https://api.github.com/users/ush...
[ { "id": 5724035499, "node_id": "LA_kwDOCUB6oc8AAAABVS3Zqw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Model%20on%20the%20Hub", "name": "Model on the Hub", "color": "9CA0E9", "default": false, "description": "" } ]
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,695
1,701
1,701
NONE
null
### Model description I would like to contribute AugViT Tensorflow implementation to the Transformers library. You can find the implementation in TensorFlow here https://github.com/ushareng/AugViT I have created Model card here https://huggingface.co/tensorgirl/TFaugvit/tree/main Kindly let me know if the abov...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26359/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/26359/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26359", "html_url": "https://github.com/huggingface/transformers/pull/26359", "diff_url": "https://github.com/huggingface/transformers/pull/26359.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26359.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26358
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26358/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26358/comments
https://api.github.com/repos/huggingface/transformers/issues/26358/events
https://github.com/huggingface/transformers/issues/26358
1,909,910,316
I_kwDOCUB6oc5x1uss
26,358
[Flax][BART Example] Always do map to generate cache files each run when running examples/flax/language-modeling/run_bart_dlm_flax.py
{ "login": "jameszhouyi", "id": 7697925, "node_id": "MDQ6VXNlcjc2OTc5MjU=", "avatar_url": "https://avatars.githubusercontent.com/u/7697925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jameszhouyi", "html_url": "https://github.com/jameszhouyi", "followers_url": "https://api.github.com/us...
[]
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,695
1,705
1,705
NONE
null
### System Info Hi, I am running Flax BRAT example model on Ubuntun 22.04 with run_bart_dlm_flax.py(commit ID: 0afa5071bd84e44301750fdc594e33db102cf374). But I found it always do Map like below before each running training model even if there are already cache* file in local disk. It causes lots of caches file will...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26358/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/26358/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26357
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26357/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26357/comments
https://api.github.com/repos/huggingface/transformers/issues/26357/events
https://github.com/huggingface/transformers/issues/26357
1,909,795,083
I_kwDOCUB6oc5x1SkL
26,357
DataCollatorForLanguageModeling ignores manual -100 labels for loss masking
{ "login": "kabachuha", "id": 14872007, "node_id": "MDQ6VXNlcjE0ODcyMDA3", "avatar_url": "https://avatars.githubusercontent.com/u/14872007?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kabachuha", "html_url": "https://github.com/kabachuha", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hey @kabachuha, this seems like a reasonable feature request! Would you like to open a PR to offer your fix?", "Thanks for your interest! Sure, I can, it is quite short.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed pl...
1,695
1,698
1,698
NONE
null
### System Info transformers version https://github.com/huggingface/transformers/commit/5936c8c57ccb2bda3b3f28856a7ef992c5c9f451 Kubuntu 22.04 LTS NVIDIA 4090 ### Who can help? _No response_ ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26357/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/26357/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26356
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26356/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26356/comments
https://api.github.com/repos/huggingface/transformers/issues/26356/events
https://github.com/huggingface/transformers/issues/26356
1,909,768,155
I_kwDOCUB6oc5x1L_b
26,356
During distributed training, there are unused parameters
{ "login": "aihao2000", "id": 51043929, "node_id": "MDQ6VXNlcjUxMDQzOTI5", "avatar_url": "https://avatars.githubusercontent.com/u/51043929?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aihao2000", "html_url": "https://github.com/aihao2000", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,695
1,696
1,696
NONE
null
discard
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26356/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/26356/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26355
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26355/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26355/comments
https://api.github.com/repos/huggingface/transformers/issues/26355/events
https://github.com/huggingface/transformers/issues/26355
1,909,754,755
I_kwDOCUB6oc5x1IuD
26,355
Tranformers Entire documentation translation to Japanese 🇯🇵
{ "login": "rajveer43", "id": 64583161, "node_id": "MDQ6VXNlcjY0NTgzMTYx", "avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rajveer43", "html_url": "https://github.com/rajveer43", "followers_url": "https://api.github.com/users/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
closed
false
null
[]
[]
1,695
1,697
1,697
CONTRIBUTOR
null
<!-- Note: Please search to see if an issue already exists for the language you are trying to translate. --> Hi! Let's bring the documentation to all the Japanese-speaking community 🌐 Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26355/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 4, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/26355/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26354
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26354/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26354/comments
https://api.github.com/repos/huggingface/transformers/issues/26354/events
https://github.com/huggingface/transformers/issues/26354
1,909,716,290
I_kwDOCUB6oc5x0_VC
26,354
IDEFICS Processor will not respect `padding_side="right"` when `padding="longest"`
{ "login": "xhluca", "id": 21180505, "node_id": "MDQ6VXNlcjIxMTgwNTA1", "avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xhluca", "html_url": "https://github.com/xhluca", "followers_url": "https://api.github.com/users/xhluca/fo...
[]
closed
false
null
[]
[ "@VictorSanh @ArthurZucker Not sure, but maybe this is because idefics processor forces the tokenizer to take the prompts one by one and for `padding=\"longest\"` to work it has to take all the prompts at once.\r\n\r\nhttps://github.com/huggingface/transformers/blob/main/src/transformers/models/idefics/processing_i...
1,695
1,695
1,695
CONTRIBUTOR
null
### System Info - `transformers` version: 4.33.2 - Platform: Linux-5.15.0-56-generic-x86_64-with-glibc2.34 - Python version: 3.8.16 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.3 - Accelerate version: 0.22.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26354/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/26354/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26353
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26353/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26353/comments
https://api.github.com/repos/huggingface/transformers/issues/26353/events
https://github.com/huggingface/transformers/pull/26353
1,909,545,452
PR_kwDOCUB6oc5bBltI
26,353
Timm to ViT Model conversion fix #26219
{ "login": "prabhuteja12", "id": 11191577, "node_id": "MDQ6VXNlcjExMTkxNTc3", "avatar_url": "https://avatars.githubusercontent.com/u/11191577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prabhuteja12", "html_url": "https://github.com/prabhuteja12", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "@rwightman do you agree with this change?", "Just wanted to check in if a review has been possible. ", "It looks like an improvement on the original w/ better coverage, but there are less 'hard coded' ways of grabbing the needed dims and params from the timm model, avoiding model dependent ifs, etc", "Can yo...
1,695
1,699
1,699
NONE
null
A problem with timm to Vit converter code was identified in #26219 This is caused by a rather strict index based parsing of the timm model identifier which fails for several cases. This PR does two things: 1. Fixes that issue by using a regex parser for patch and image size. 2. Fixes ViT configuration differen...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26353/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/26353/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26353", "html_url": "https://github.com/huggingface/transformers/pull/26353", "diff_url": "https://github.com/huggingface/transformers/pull/26353.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26353.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26352
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26352/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26352/comments
https://api.github.com/repos/huggingface/transformers/issues/26352/events
https://github.com/huggingface/transformers/issues/26352
1,909,489,197
I_kwDOCUB6oc5x0H4t
26,352
Failed to import transformers.trainer, cannot import name 'TypedDict' from 'huggingface_hub.utils._typing'
{ "login": "texasdave2", "id": 34406740, "node_id": "MDQ6VXNlcjM0NDA2NzQw", "avatar_url": "https://avatars.githubusercontent.com/u/34406740?v=4", "gravatar_id": "", "url": "https://api.github.com/users/texasdave2", "html_url": "https://github.com/texasdave2", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "having same issue did you find the solution???", "Hello both! Please try upgrading the `huggingface_hub` library and let us know if this fixes your issue?\r\n\r\nYou can do so with the following command:\r\n```\r\npip install -U huggingface_hub\r\n```\r\n\r\nIf not, please share the contents of your environment ...
1,695
1,699
1,699
NONE
null
### System Info Hello, thanks again for looking over this, always appreciate the help. Was running a notebook that uses peft and lora. @muellerzr @pacman100 Transformers version: 4.34.0.dev0 Python version: 3.9.17 ``` !pip install bitsandbytes datasets accelerate loralib !pip install git+ht...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26352/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/26352/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26351
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26351/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26351/comments
https://api.github.com/repos/huggingface/transformers/issues/26351/events
https://github.com/huggingface/transformers/pull/26351
1,909,462,019
PR_kwDOCUB6oc5bBTrp
26,351
Updated convert_llama_weights_to_hf.py to support llama2 chat models and default llama director name
{ "login": "varunfb", "id": 21091406, "node_id": "MDQ6VXNlcjIxMDkxNDA2", "avatar_url": "https://avatars.githubusercontent.com/u/21091406?v=4", "gravatar_id": "", "url": "https://api.github.com/users/varunfb", "html_url": "https://github.com/varunfb", "followers_url": "https://api.github.com/users/varunf...
[]
closed
false
null
[]
[ "Closing the request due to errors. Will create a new request post fixing the issue. " ]
1,695
1,695
1,695
NONE
null
# What does this PR do? When running the ./downloads.sh the options available to download are ("7B,13B,70B,7B-chat,13B-chat,70B-chat"). The download.sh script creates the folder in the following format based on the model chosen ('llama-2' + model_size.lower()) Hugging face script does not support the above direct...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26351/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/26351/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26351", "html_url": "https://github.com/huggingface/transformers/pull/26351", "diff_url": "https://github.com/huggingface/transformers/pull/26351.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26351.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26350
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26350/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26350/comments
https://api.github.com/repos/huggingface/transformers/issues/26350/events
https://github.com/huggingface/transformers/issues/26350
1,909,152,925
I_kwDOCUB6oc5xy1yd
26,350
Community contribution: Adding Flash Attention 2 support for more architectures
{ "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...
[ { "id": 2392046359, "node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue", "name": "Good Second Issue", "color": "dd935a", "default": false, "description": "Issues that are more difficult to do than \"Good First...
open
false
null
[]
[ "Hi @younesbelkada - I want to work on adding Flash Attention 2 support for GPTBigCode (Starcoder). Can I take this task? Can you please assign this task to me?\r\n", "Will definitely take a look next week \r\nGreat to see it merged now 💪", "I would like to work on `MPT` @younesbelkada ", "I would like to wo...
1,695
1,707
null
CONTRIBUTOR
null
### Feature request Flash Attention 2 is a library that provides attention operation kernels for faster and more memory efficient inference and training: https://github.com/Dao-AILab/flash-attention ![Screenshot 2023-09-22 at 17 49 18](https://github.com/huggingface/transformers/assets/49240599/1395f962-26ca-4728...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26350/reactions", "total_count": 25, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 25, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/26350/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/26349
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26349/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26349/comments
https://api.github.com/repos/huggingface/transformers/issues/26349/events
https://github.com/huggingface/transformers/pull/26349
1,909,096,258
PR_kwDOCUB6oc5bAGEm
26,349
[Wav2Vec2] Fix tokenizer set lang
{ "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._", "Sorry to hear that @andergisomon - note that running `transformers` on the latest PyPi version should bypass this error. It's only on `main` at the moment:\r\n```\r\npip uninstall transformers -y\r\npip install --upgrade transformers...
1,695
1,696
1,696
CONTRIBUTOR
null
# What does this PR do? The PR #23909 removed `unique_no_split_tokens` as an attribute of the Wav2Vec2 tokenizer, however it is required to set the language in the method `.set_target_lang`: https://github.com/huggingface/transformers/blob/dcbfd93d7aeb14f8ff08a48866d2a68950d4c69a/src/transformers/models/wav2vec2/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26349/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/26349/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26349", "html_url": "https://github.com/huggingface/transformers/pull/26349", "diff_url": "https://github.com/huggingface/transformers/pull/26349.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26349.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26348
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26348/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26348/comments
https://api.github.com/repos/huggingface/transformers/issues/26348/events
https://github.com/huggingface/transformers/pull/26348
1,909,086,323
PR_kwDOCUB6oc5bAD7l
26,348
[TTA Pipeline] Fix MusicGen test
{ "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._" ]
1,695
1,695
1,695
CONTRIBUTOR
null
# What does this PR do? The PR #26136 added the `sampling_rate` as a **property** to the MusicGen config, such that it is compatible with the TTA pipeline. However, using a property means it is not registered when we call `config.to_dict()`, since it is not an attribute of the config. This PR updates the TTA pipe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26348/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/26348/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26348", "html_url": "https://github.com/huggingface/transformers/pull/26348", "diff_url": "https://github.com/huggingface/transformers/pull/26348.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26348.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26347
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26347/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26347/comments
https://api.github.com/repos/huggingface/transformers/issues/26347/events
https://github.com/huggingface/transformers/pull/26347
1,909,081,504
PR_kwDOCUB6oc5bAC4g
26,347
[docs] removed MaskFormerSwin and TimmBackbone from the table on index.md
{ "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,695
1,695
1,695
CONTRIBUTOR
null
# What does this PR do? The PR addresses #25967: `MaskFormerSwin` and `TimmBackbone` should not be listed in the framework support table on the index.md page because these models are backbones and so not meant to be loaded and used on their own. Instead, they define architectures which can be loaded using the Au...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26347/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/26347/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26347", "html_url": "https://github.com/huggingface/transformers/pull/26347", "diff_url": "https://github.com/huggingface/transformers/pull/26347.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26347.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26346
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26346/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26346/comments
https://api.github.com/repos/huggingface/transformers/issues/26346/events
https://github.com/huggingface/transformers/pull/26346
1,909,073,055
PR_kwDOCUB6oc5bABDV
26,346
[AMD] Add initial version for run_tests_multi_gpu
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,695
1,696
1,696
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26346/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/26346/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26346", "html_url": "https://github.com/huggingface/transformers/pull/26346", "diff_url": "https://github.com/huggingface/transformers/pull/26346.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26346.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26345
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26345/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26345/comments
https://api.github.com/repos/huggingface/transformers/issues/26345/events
https://github.com/huggingface/transformers/pull/26345
1,909,070,242
PR_kwDOCUB6oc5bAAcI
26,345
Add initial version for run_tests_multi_gpu for AMDGPU
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[]
1,695
1,695
1,695
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26345/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/26345/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26345", "html_url": "https://github.com/huggingface/transformers/pull/26345", "diff_url": "https://github.com/huggingface/transformers/pull/26345.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26345.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26344
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26344/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26344/comments
https://api.github.com/repos/huggingface/transformers/issues/26344/events
https://github.com/huggingface/transformers/issues/26344
1,908,955,342
I_kwDOCUB6oc5xyFjO
26,344
usage of past_key_values produces different output than the whole sequence at once
{ "login": "IvanSedykh", "id": 46825716, "node_id": "MDQ6VXNlcjQ2ODI1NzE2", "avatar_url": "https://avatars.githubusercontent.com/u/46825716?v=4", "gravatar_id": "", "url": "https://api.github.com/users/IvanSedykh", "html_url": "https://github.com/IvanSedykh", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hey! Thanks for opening and issue. This is pretty much a duplicate of #25420, where we deep dive into this!", "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 ...
1,695
1,700
1,700
CONTRIBUTOR
null
### System Info transformers 4.33.1 ### Who can help? @ArthurZucker @younesbelkada @gan ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (give ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26344/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/26344/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26343
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26343/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26343/comments
https://api.github.com/repos/huggingface/transformers/issues/26343/events
https://github.com/huggingface/transformers/pull/26343
1,908,907,439
PR_kwDOCUB6oc5a_dYW
26,343
[doc] fixed indices in obj detection example
{ "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,695
1,695
1,695
CONTRIBUTOR
null
# What does this PR do? PR addresses #25662, and fixes the indices in the doc example
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26343/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/26343/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26343", "html_url": "https://github.com/huggingface/transformers/pull/26343", "diff_url": "https://github.com/huggingface/transformers/pull/26343.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26343.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26342
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26342/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26342/comments
https://api.github.com/repos/huggingface/transformers/issues/26342/events
https://github.com/huggingface/transformers/pull/26342
1,908,893,566
PR_kwDOCUB6oc5a_aX-
26,342
Update __init__.py
{ "login": "zhangjunyi111", "id": 67990935, "node_id": "MDQ6VXNlcjY3OTkwOTM1", "avatar_url": "https://avatars.githubusercontent.com/u/67990935?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhangjunyi111", "html_url": "https://github.com/zhangjunyi111", "followers_url": "https://api.githu...
[]
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,695
1,700
1,700
NONE
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/26342/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/26342/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26342", "html_url": "https://github.com/huggingface/transformers/pull/26342", "diff_url": "https://github.com/huggingface/transformers/pull/26342.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26342.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26341
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26341/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26341/comments
https://api.github.com/repos/huggingface/transformers/issues/26341/events
https://github.com/huggingface/transformers/pull/26341
1,908,813,538
PR_kwDOCUB6oc5a_I_Y
26,341
Add AMD daily CI workflow file
{ "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._", "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 gu...
1,695
1,698
1,698
COLLABORATOR
null
# What does this PR do? AMD daily CI workflow file. There are something to do with the runners and report channels, but nothing is big.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26341/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/26341/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26341", "html_url": "https://github.com/huggingface/transformers/pull/26341", "diff_url": "https://github.com/huggingface/transformers/pull/26341.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26341.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26340
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26340/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26340/comments
https://api.github.com/repos/huggingface/transformers/issues/26340/events
https://github.com/huggingface/transformers/issues/26340
1,908,731,962
I_kwDOCUB6oc5xxPA6
26,340
AttributeError: 'InternLMTokenizer' object has no attribute 'sp_model'
{ "login": "KnutJaegersberg", "id": 17965169, "node_id": "MDQ6VXNlcjE3OTY1MTY5", "avatar_url": "https://avatars.githubusercontent.com/u/17965169?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KnutJaegersberg", "html_url": "https://github.com/KnutJaegersberg", "followers_url": "https://api...
[]
closed
false
null
[]
[ "same error", "Hey! You are probably using `main` which introduced #23909. The InternLM repo relies on `\"transformers_version\": \"4.33.1\",` as you can see from the `config.json`! Don't worry, internLM will be add to transformers super soon see #26302 ", "Thank you. After installing 4.33.1, I get another exce...
1,695
1,702
1,702
NONE
null
### System Info - `transformers` version: 4.34.0.dev0 - Platform: Linux-5.10.194-1-MANJARO-x86_64-with-glibc2.38 - Python version: 3.9.12 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - Accelerate version: 0.21.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26340/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/26340/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26339
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26339/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26339/comments
https://api.github.com/repos/huggingface/transformers/issues/26339/events
https://github.com/huggingface/transformers/pull/26339
1,908,712,752
PR_kwDOCUB6oc5a-y6O
26,339
Add numpy alternative to FE using torchaudio
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hey @ArthurZucker and @sanchit-gandhi, thanks for the review!\r\n\r\nHowever, I'm not sure about what you meant [here](https://github.com/huggingface/transformers/pull/26339#pullrequestreview-1643752078):\r\n\r\n> Looks good to me, a...
1,695
1,699
1,699
COLLABORATOR
null
# What does this PR do? Following on from #26182, which ported `torchaudio.compliance.kaldi.fbank` to `numpy` in `audio_utils`, this PR aims to enable the use of numpy porting in previous Feature Extractors (AST and SpeechToText) that used `torchaudio`. It was discussed [here](https://github.com/huggingface/transfo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26339/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/26339/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26339", "html_url": "https://github.com/huggingface/transformers/pull/26339", "diff_url": "https://github.com/huggingface/transformers/pull/26339.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26339.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26338
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26338/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26338/comments
https://api.github.com/repos/huggingface/transformers/issues/26338/events
https://github.com/huggingface/transformers/issues/26338
1,908,606,413
I_kwDOCUB6oc5xwwXN
26,338
RuntimeError: Error(s) in loading state_dict for the converted MarianMTModel due to the source vocab not different with target vocab
{ "login": "nana-na-nana-na", "id": 33016235, "node_id": "MDQ6VXNlcjMzMDE2MjM1", "avatar_url": "https://avatars.githubusercontent.com/u/33016235?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nana-na-nana-na", "html_url": "https://github.com/nana-na-nana-na", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hey! I'll have a look 😉 ", "> Hey! I'll have a look 😉\r\n\r\nHi, Arthur, I create a PR to fix the issue. Could you please help me review it? \r\n", "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 t...
1,695
1,707
1,707
NONE
null
### System Info WARNING:tensorflow:From d:\git\transformers\src\transformers\commands\env.py:100: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.config.list_physical_devices('GPU')` instead. 2023-09-22 17:41:23....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26338/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/26338/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26337
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26337/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26337/comments
https://api.github.com/repos/huggingface/transformers/issues/26337/events
https://github.com/huggingface/transformers/issues/26337
1,908,381,606
I_kwDOCUB6oc5xv5em
26,337
transformer bark error
{ "login": "wanglg007", "id": 40556406, "node_id": "MDQ6VXNlcjQwNTU2NDA2", "avatar_url": "https://avatars.githubusercontent.com/u/40556406?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wanglg007", "html_url": "https://github.com/wanglg007", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hey! According to the contribution guidelines we need a full reproducer to be able to help you! ", "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 ...
1,695
1,698
1,698
NONE
null
### System Info transformer bark error ### Who can help? _No response_ ### 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) ### Reproducti...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26337/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/26337/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26336
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26336/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26336/comments
https://api.github.com/repos/huggingface/transformers/issues/26336/events
https://github.com/huggingface/transformers/issues/26336
1,908,320,921
I_kwDOCUB6oc5xvqqZ
26,336
TabR: Retrieval-Augmented Tabular Deep Learning
{ "login": "Samoed", "id": 36135455, "node_id": "MDQ6VXNlcjM2MTM1NDU1", "avatar_url": "https://avatars.githubusercontent.com/u/36135455?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Samoed", "html_url": "https://github.com/Samoed", "followers_url": "https://api.github.com/users/Samoed/fo...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[]
1,695
1,707
1,707
NONE
null
### Model description TabR is a retrieval-augmented transformer model specifically designed for tabular data tasks. I would like to add this model, but I'm not sure if it would fit in Transformers or if it should be a separate library. ### Open source status - [X] The model implementation is available - [ ] The...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26336/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/26336/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26335
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26335/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26335/comments
https://api.github.com/repos/huggingface/transformers/issues/26335/events
https://github.com/huggingface/transformers/issues/26335
1,908,237,477
I_kwDOCUB6oc5xvWSl
26,335
Slow tokenizer decode
{ "login": "peregilk", "id": 9079808, "node_id": "MDQ6VXNlcjkwNzk4MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/9079808?v=4", "gravatar_id": "", "url": "https://api.github.com/users/peregilk", "html_url": "https://github.com/peregilk", "followers_url": "https://api.github.com/users/pereg...
[]
closed
false
null
[]
[ "Hey! That is indeed a long decoding time! I believe that #26299 fixes this! ", "Running on a local MacBook with `transformers` on main now that https://github.com/huggingface/transformers/pull/26299 is merged:\r\n```\r\nTime taken for encoding: 0.6956140995025635 seconds\r\nTime taken for decoding: 0.01034617424...
1,695
1,695
1,695
CONTRIBUTOR
null
### System Info transformers 4.34.0.dev0. Running this on tpu v4-8. Might happen on other plattforms as well. ### Who can help? @ArthurZucker ### Reproduction Decoding is extremely slow using Transformers 4.34.0.dev0. A small script to reproduce: ``` import argparse, time from transformers import A...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26335/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/26335/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26334
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26334/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26334/comments
https://api.github.com/repos/huggingface/transformers/issues/26334/events
https://github.com/huggingface/transformers/issues/26334
1,908,007,649
I_kwDOCUB6oc5xueLh
26,334
[peft] model will have no weight with `require_grads=True` if gradient checkpointing is enabled after PeftModel is created
{ "login": "yundai424", "id": 43726198, "node_id": "MDQ6VXNlcjQzNzI2MTk4", "avatar_url": "https://avatars.githubusercontent.com/u/43726198?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yundai424", "html_url": "https://github.com/yundai424", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "should be fixed by https://github.com/huggingface/transformers/pull/25846/ already" ]
1,695
1,697
1,697
CONTRIBUTOR
null
### System Info peft==0.5.0 transformers==4.33.2 torch==2.0.1 ### Who can help? trainer: @muellerzr and @pacman100 ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26334/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/26334/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26333
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26333/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26333/comments
https://api.github.com/repos/huggingface/transformers/issues/26333/events
https://github.com/huggingface/transformers/pull/26333
1,907,958,230
PR_kwDOCUB6oc5a8Qta
26,333
Simplify getting the number of embedding tokens.
{ "login": "kwonmha", "id": 8953934, "node_id": "MDQ6VXNlcjg5NTM5MzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/8953934?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kwonmha", "html_url": "https://github.com/kwonmha", "followers_url": "https://api.github.com/users/kwonmha/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26333). All of your documentation changes will be reflected on that endpoint.", "@pacman100 \r\nhello, please have a look at this PR.\r\nIt's been a while since I created this PR.", "From #26112, I understood that `weight...
1,695
1,700
1,700
CONTRIBUTOR
null
Simplifies the way to get the number of embedding tokens. Following additional discussions on PR #26024 ## Who can review? @ArthurZucker
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26333/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/26333/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26333", "html_url": "https://github.com/huggingface/transformers/pull/26333", "diff_url": "https://github.com/huggingface/transformers/pull/26333.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26333.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/26332
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26332/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26332/comments
https://api.github.com/repos/huggingface/transformers/issues/26332/events
https://github.com/huggingface/transformers/issues/26332
1,907,778,994
I_kwDOCUB6oc5xtmWy
26,332
Beam Search Fails for Llama 70b
{ "login": "jconley-deloitte", "id": 116034543, "node_id": "U_kgDOBuqL7w", "avatar_url": "https://avatars.githubusercontent.com/u/116034543?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jconley-deloitte", "html_url": "https://github.com/jconley-deloitte", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "I also tried installing from github and received the same error. See the update environment below (same script/error)\r\nCopy-and-paste the text below in your GitHub issue and FILL OUT the two last points.\r\n\r\n- `transformers` version: 4.34.0.dev0\r\n- Platform: Linux-5.15.0-1041-aws-x86_64-with-glibc2.35\r\n- ...
1,695
1,697
1,697
NONE
null
### System Info - `transformers` version: 4.33.2 - Platform: Linux-5.15.0-1041-aws-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.17.2 - Safetensors version: 0.3.3 - Accelerate version: 0.23.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26332/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/26332/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/26331
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/26331/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/26331/comments
https://api.github.com/repos/huggingface/transformers/issues/26331/events
https://github.com/huggingface/transformers/pull/26331
1,907,749,984
PR_kwDOCUB6oc5a7ktl
26,331
add option to use peft for training
{ "login": "prathikr", "id": 31260940, "node_id": "MDQ6VXNlcjMxMjYwOTQw", "avatar_url": "https://avatars.githubusercontent.com/u/31260940?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prathikr", "html_url": "https://github.com/prathikr", "followers_url": "https://api.github.com/users/pra...
[]
closed
false
null
[]
[ "Hey! I'm afraid we can't do this! As the doc for our exemple folder mentions:\r\n\r\n> While we strive to present as many use cases as possible, the scripts in this folder are just examples. It is expected that they won’t work out-of-the box on your specific problem and that you will be required to change a few li...
1,695
1,695
1,695
CONTRIBUTOR
null
This PR adds an option to use peft for finetuning text-classification task. It is required to run meta-llama/Llama-2-7b-hf which we would like to add to our internal benchmarking pipelines. Also adds an explicit padding token which resolves padding issues.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/26331/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/26331/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/26331", "html_url": "https://github.com/huggingface/transformers/pull/26331", "diff_url": "https://github.com/huggingface/transformers/pull/26331.diff", "patch_url": "https://github.com/huggingface/transformers/pull/26331.patch", "merged_at...