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/25120
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25120/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25120/comments
https://api.github.com/repos/huggingface/transformers/issues/25120/events
https://github.com/huggingface/transformers/pull/25120
1,822,647,564
PR_kwDOCUB6oc5WdHwd
25,120
Fix `.push_to_hub` and cleanup `get_full_repo_name` usage
{ "login": "Wauplin", "id": 11801849, "node_id": "MDQ6VXNlcjExODAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Wauplin", "html_url": "https://github.com/Wauplin", "followers_url": "https://api.github.com/users/Waupli...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for the review @ydshieh. I added some comments and fix a bug where token was not used (well done finding this one! :wink:). So I think we're good to go now. I'll merge the PR once CI is green :) ", "@Wauplin Thanks for the u...
1,690
1,690
1,690
CONTRIBUTOR
null
A few (vaguely) related changes in this PR. The main goal was to fix a bug when `.push_to_hub` is used with a repo_id in the form `"organization/repo_name"` that is also a local working directory. The organization gets removed which pushes the model to `"username/repo_name"` instead of under the organization. This bug ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25120/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/25120/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25120", "html_url": "https://github.com/huggingface/transformers/pull/25120", "diff_url": "https://github.com/huggingface/transformers/pull/25120.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25120.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25119
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25119/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25119/comments
https://api.github.com/repos/huggingface/transformers/issues/25119/events
https://github.com/huggingface/transformers/issues/25119
1,822,594,048
I_kwDOCUB6oc5sopQA
25,119
Support End LR for Cosine LR Scheduler
{ "login": "yqy2001", "id": 55196500, "node_id": "MDQ6VXNlcjU1MTk2NTAw", "avatar_url": "https://avatars.githubusercontent.com/u/55196500?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yqy2001", "html_url": "https://github.com/yqy2001", "followers_url": "https://api.github.com/users/yqy200...
[]
closed
false
null
[]
[ "You can pass along your custom scheduler to the `Trainer` :-)", "OK, Thank you." ]
1,690
1,690
1,690
CONTRIBUTOR
null
### Feature request Customize the end learning rate of a cosine LR scheduler, as a non-zero end lr is commonly used now (e.g., LLaMA-2 use 10% of peak lr as end lr). ![image](https://github.com/huggingface/transformers/assets/55196500/4a07777f-968c-47da-b836-0f84dfd07a4d) ### Motivation non-zero end lr is commo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25119/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/25119/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25118
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25118/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25118/comments
https://api.github.com/repos/huggingface/transformers/issues/25118/events
https://github.com/huggingface/transformers/pull/25118
1,822,591,665
PR_kwDOCUB6oc5Wc7g8
25,118
Fix ViT docstring regarding default dropout values.
{ "login": "ebezzam", "id": 4757445, "node_id": "MDQ6VXNlcjQ3NTc0NDU=", "avatar_url": "https://avatars.githubusercontent.com/u/4757445?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ebezzam", "html_url": "https://github.com/ebezzam", "followers_url": "https://api.github.com/users/ebezzam/...
[]
closed
false
null
[]
[ "Related to https://github.com/huggingface/transformers/issues/25108 @ydshieh ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25118). All of your documentation changes will be reflected on that endpoint." ]
1,690
1,690
1,690
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/25118/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/25118/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25118", "html_url": "https://github.com/huggingface/transformers/pull/25118", "diff_url": "https://github.com/huggingface/transformers/pull/25118.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25118.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25117
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25117/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25117/comments
https://api.github.com/repos/huggingface/transformers/issues/25117/events
https://github.com/huggingface/transformers/issues/25117
1,822,577,619
I_kwDOCUB6oc5solPT
25,117
EsmForMaskedLM no performance gain from batch processing
{ "login": "M-J-Murray", "id": 13166228, "node_id": "MDQ6VXNlcjEzMTY2MjI4", "avatar_url": "https://avatars.githubusercontent.com/u/13166228?v=4", "gravatar_id": "", "url": "https://api.github.com/users/M-J-Murray", "html_url": "https://github.com/M-J-Murray", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "When I run a profiler it seems there is a bottleneck in the `apply_rotary_pos_emb` function called from the ESM sequence embedding. It could be that this is such a large bottle neck, that changing the batch size almost has no effect.", "cc @Rocketknight1 ", "Hi\r\n\r\nIt would be good to provide a full code sn...
1,690
1,690
1,690
NONE
null
### System Info Transformers version: 4.30.2 Python version: 3.9.16 This occurs on both: MacBook Pro M2: MacOS 13.2.1 (22D68), ran using mps AND Debian 4.19.171-2 x86_64 GNU/Linux, ran using gpu ### Who can help? @ArthurZucker and @younesbelkada ### Information - [X] The official example scripts - [ ] My ow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25117/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/25117/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25116
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25116/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25116/comments
https://api.github.com/repos/huggingface/transformers/issues/25116/events
https://github.com/huggingface/transformers/pull/25116
1,822,526,923
PR_kwDOCUB6oc5WcteT
25,116
[`MptConfig`] support from pretrained args
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "cc @sgugger " ]
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? Adds a setter for `attn_config` to allow passing dict when initializing for backward compatibility Fixes https://github.com/huggingface/transformers/issues/25114
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25116/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/25116/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25116", "html_url": "https://github.com/huggingface/transformers/pull/25116", "diff_url": "https://github.com/huggingface/transformers/pull/25116.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25116.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25115
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25115/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25115/comments
https://api.github.com/repos/huggingface/transformers/issues/25115/events
https://github.com/huggingface/transformers/pull/25115
1,822,426,288
PR_kwDOCUB6oc5WcXoX
25,115
Fix beam search to sample at least 1 non eos token (#25103)
{ "login": "yonigottesman", "id": 4004127, "node_id": "MDQ6VXNlcjQwMDQxMjc=", "avatar_url": "https://avatars.githubusercontent.com/u/4004127?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yonigottesman", "html_url": "https://github.com/yonigottesman", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "done", "ok now done :) \r\nsorry for all the force pushes I just wasn't sure how you guys merge so I preferred to keep 1 clean commit", "> sorry for all the force pushes I just wasn't sure how you guys merge so I preferred to keep 1 clean commit\r\n\r\n@yonigottesman no worries, we squash before merging ;)", ...
1,690
1,690
1,690
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/25115/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/25115/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25115", "html_url": "https://github.com/huggingface/transformers/pull/25115", "diff_url": "https://github.com/huggingface/transformers/pull/25115.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25115.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25114
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25114/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25114/comments
https://api.github.com/repos/huggingface/transformers/issues/25114/events
https://github.com/huggingface/transformers/issues/25114
1,822,380,204
I_kwDOCUB6oc5sn1Cs
25,114
MptForCausalLM.from_pretrained gives error 'dict' object has no attribute 'softmax_scale'
{ "login": "abacaj", "id": 7272343, "node_id": "MDQ6VXNlcjcyNzIzNDM=", "avatar_url": "https://avatars.githubusercontent.com/u/7272343?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abacaj", "html_url": "https://github.com/abacaj", "followers_url": "https://api.github.com/users/abacaj/foll...
[]
closed
false
null
[]
[ "cc @younesbelkada and @ArthurZucker ", "Hey! Thanks for reporting. Indeed this does not work as the `attn_config` object does not seem to get converted to a `MptAttentionConfig` object. The `MptAttention` still needs the full config. \r\nWill open a PR to fix this as I guess this was previously working! ", "It...
1,690
1,690
1,690
NONE
null
### System Info Creating model MPT: ``` model = MptForCausalLM.from_pretrained( model_args.model_name_or_path, cache_dir=training_args.cache_dir, torch_dtype=torch.bfloat16, use_cache=False, init_device=f"cuda:{local_rank}", attn_config=dict(attn_impl="flas...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25114/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/25114/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25113
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25113/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25113/comments
https://api.github.com/repos/huggingface/transformers/issues/25113/events
https://github.com/huggingface/transformers/pull/25113
1,822,358,668
PR_kwDOCUB6oc5WcJLb
25,113
Fix past CI after #24334
{ "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
[]
[ "@ydshieh thank you for fixing it ๐Ÿ™ ", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? Fix dtype issue in past CI (pytorch 1.11 and 1.10) after #24334 cc @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25113/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/25113/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25113", "html_url": "https://github.com/huggingface/transformers/pull/25113", "diff_url": "https://github.com/huggingface/transformers/pull/25113.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25113.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25112
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25112/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25112/comments
https://api.github.com/repos/huggingface/transformers/issues/25112/events
https://github.com/huggingface/transformers/issues/25112
1,822,275,811
I_kwDOCUB6oc5snbjj
25,112
`Gradient clipping` function is not compatible with upgrade
{ "login": "Baibaifan", "id": 39549453, "node_id": "MDQ6VXNlcjM5NTQ5NDUz", "avatar_url": "https://avatars.githubusercontent.com/u/39549453?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Baibaifan", "html_url": "https://github.com/Baibaifan", "followers_url": "https://api.github.com/users/...
[]
closed
false
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api...
[ "The `unscale_gradients` is done in the first screenshot a couple of lines above. I'm not sure what it is you are reporting as a bug.", "> unscale_gradients\r\n\r\nI run the same code in the same environment, the difference is the version of transformers.\r\n\r\ntransformers4.28.1 running normally\r\n![Pasted Gra...
1,690
1,690
1,690
NONE
null
### System Info `Gradient clipping` function is not compatible with upgrade. transformers4.28.1๏ผš ![image](https://github.com/huggingface/transformers/assets/39549453/52744be1-ebaf-4259-aacd-438e495bf9d2) Transformers4.30.2: ![image](https://github.com/huggingface/transformers/assets/39549453/b8b9fe7a-ca3e-4b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25112/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/25112/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25111
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25111/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25111/comments
https://api.github.com/repos/huggingface/transformers/issues/25111/events
https://github.com/huggingface/transformers/issues/25111
1,822,255,937
I_kwDOCUB6oc5snWtB
25,111
ValueError: Connection error, and we cannot find the requested files in the cached path
{ "login": "teamwong111", "id": 47851024, "node_id": "MDQ6VXNlcjQ3ODUxMDI0", "avatar_url": "https://avatars.githubusercontent.com/u/47851024?v=4", "gravatar_id": "", "url": "https://api.github.com/users/teamwong111", "html_url": "https://github.com/teamwong111", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey! Pretty sure this was just a temporary failure! It is back up for me! ", "Thanks for your reply. But the problem still exists for me. \r\nI debugged the code of Transformers 4.8.1 and found there is an variable called `vocab_files` in PreTrainedTokenizerBase.from_pretrained method.\r\n`vocab_files` contains ...
1,690
1,695
1,694
NONE
null
### System Info transformers version: 4.8.1 python version: 3.8 platform: Ubuntu 20.04.1 LTS ### Who can help? @ArthurZucker, @younesbelkada ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25111/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/25111/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25110
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25110/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25110/comments
https://api.github.com/repos/huggingface/transformers/issues/25110/events
https://github.com/huggingface/transformers/issues/25110
1,822,227,833
I_kwDOCUB6oc5snP15
25,110
Feature request: Adding einops as a Dependency
{ "login": "OhadRubin", "id": 4252994, "node_id": "MDQ6VXNlcjQyNTI5OTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/4252994?v=4", "gravatar_id": "", "url": "https://api.github.com/users/OhadRubin", "html_url": "https://github.com/OhadRubin", "followers_url": "https://api.github.com/users/Oh...
[]
closed
false
null
[]
[ "There is actually a (recent) discussion\r\n\r\n> There have been lots of discussions on this in the past, the TLDR is that we aren't supporting it cause it causes issues with things like ONNX\r\n\r\nand the approach is more\r\n\r\n> just re-wrote that part in pure pytorch,\r\n\r\n", "For me there is no reason t...
1,690
1,705
1,693
NONE
null
### Feature request I propose that the einops library be added as a dependency in the HuggingFace Transformers library. einops (Einstein Notation Operations) is a Python library that provides a more expressive language for tensor operations. This would offer highly readable and maintainable code for complex tensor res...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25110/reactions", "total_count": 7, "+1": 7, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/25110/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25109
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25109/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25109/comments
https://api.github.com/repos/huggingface/transformers/issues/25109/events
https://github.com/huggingface/transformers/pull/25109
1,822,214,249
PR_kwDOCUB6oc5Wbp3e
25,109
๐Ÿšจ๐Ÿšจ๐ŸšจChange default from `adamw_hf` to `adamw_torch` ๐Ÿšจ๐Ÿšจ๐Ÿšจ
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? This PR changes the default from `adamw_hf` to `adamw_torch`, as noted in https://github.com/huggingface/transformers/issues/25006 which fixes some breaking issues. Note that https://github.com/huggingface/transformers/issues/22141 still needs to be fulfilled once torch 2.1.0 is released (som...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25109/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/25109/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25109", "html_url": "https://github.com/huggingface/transformers/pull/25109", "diff_url": "https://github.com/huggingface/transformers/pull/25109.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25109.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25108
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25108/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25108/comments
https://api.github.com/repos/huggingface/transformers/issues/25108/events
https://github.com/huggingface/transformers/issues/25108
1,822,174,979
I_kwDOCUB6oc5snC8D
25,108
Wrong default values according to docstrings?
{ "login": "ebezzam", "id": 4757445, "node_id": "MDQ6VXNlcjQ3NTc0NDU=", "avatar_url": "https://avatars.githubusercontent.com/u/4757445?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ebezzam", "html_url": "https://github.com/ebezzam", "followers_url": "https://api.github.com/users/ebezzam/...
[]
closed
false
null
[]
[ "Hi @ebezzam \r\n\r\nI am not sure I understand the question. Could you describe it more precisely? Thanks.", "Hi @ydshieh thank you for your quick response.\r\n\r\nThe docstring of [ViTConfig](https://github.com/huggingface/transformers/blob/d941f07a4e3bc7b61b7afbd25d6e2e8427fccc6d/src/transformers/models/vit/co...
1,690
1,690
1,690
CONTRIBUTOR
null
https://github.com/huggingface/transformers/blob/d941f07a4e3bc7b61b7afbd25d6e2e8427fccc6d/src/transformers/models/vit/configuration_vit.py#L100 https://github.com/huggingface/transformers/blob/d941f07a4e3bc7b61b7afbd25d6e2e8427fccc6d/src/transformers/models/vit/configuration_vit.py#L101
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25108/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/25108/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25107
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25107/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25107/comments
https://api.github.com/repos/huggingface/transformers/issues/25107/events
https://github.com/huggingface/transformers/pull/25107
1,822,134,342
PR_kwDOCUB6oc5WbYZx
25,107
add util for ram efficient loading of model when using fsdp
{ "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/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@pacman100 Hi, I've tried to run Llama2 with the two PR but it seems something went wrong. Plz check, thx!\r\n\r\nWhile copying the parameter named \"model.layers.29.self_attn.v_proj.weight\", whose dimensions in the model are torch....
1,690
1,707
1,692
CONTRIBUTOR
null
# What does this PR do? 1. Fixes an issue explained in https://github.com/pytorch/pytorch/issues/105840 when using FSDP for training very large models. Should be merged after https://github.com/huggingface/accelerate/pull/1777 Currently, when using FSDP, the model is loaded for each of the N processes completely on...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25107/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/25107/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25107", "html_url": "https://github.com/huggingface/transformers/pull/25107", "diff_url": "https://github.com/huggingface/transformers/pull/25107.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25107.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25106
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25106/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25106/comments
https://api.github.com/repos/huggingface/transformers/issues/25106/events
https://github.com/huggingface/transformers/pull/25106
1,822,061,831
PR_kwDOCUB6oc5WbIrt
25,106
Fix `PvtModelIntegrationTest::test_inference_fp16`
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? Failing ```bash FAILED tests/models/pvt/test_modeling_pvt.py::PvtModelIntegrationTest::test_inference_fp16 - ValueError: PvtForImageClassification does not support `device_map='auto'`. To implement support, the modelclass needs to implement the `_no_split_modules` attribute. ``` A fix...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25106/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/25106/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25106", "html_url": "https://github.com/huggingface/transformers/pull/25106", "diff_url": "https://github.com/huggingface/transformers/pull/25106.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25106.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25105
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25105/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25105/comments
https://api.github.com/repos/huggingface/transformers/issues/25105/events
https://github.com/huggingface/transformers/pull/25105
1,821,757,803
PR_kwDOCUB6oc5WaHEv
25,105
fix get_keys_to_not_convert() to return correct modules for full precision inference
{ "login": "ranchlai", "id": 5043767, "node_id": "MDQ6VXNlcjUwNDM3Njc=", "avatar_url": "https://avatars.githubusercontent.com/u/5043767?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ranchlai", "html_url": "https://github.com/ranchlai", "followers_url": "https://api.github.com/users/ranch...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "cc @younesbelkada for a first look", "@younesbelkada Looks like that you have fixed this in #25047 two days ago. Great work. My bad for not using latest code. \r\n", "Alright. I am diving deeper into the code.\r\n\r\nCould you tr...
1,690
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? This PR fixes `get_keys_to_not_convert()` and returns the correct modules that should not be quantized for numerical stability reasons. For GPT2 and bloom, both the current(1st output) and new version(2nd output) work well. GPT2 ``` >>> filtered_module_names_old is ['transformer.wte', 'l...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25105/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/25105/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25105", "html_url": "https://github.com/huggingface/transformers/pull/25105", "diff_url": "https://github.com/huggingface/transformers/pull/25105.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25105.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25104
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25104/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25104/comments
https://api.github.com/repos/huggingface/transformers/issues/25104/events
https://github.com/huggingface/transformers/issues/25104
1,821,740,143
I_kwDOCUB6oc5slYxv
25,104
Inconsistent Rotation Base for Dynamic NTK Scaling RoPE
{ "login": "NormXU", "id": 33339685, "node_id": "MDQ6VXNlcjMzMzM5Njg1", "avatar_url": "https://avatars.githubusercontent.com/u/33339685?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NormXU", "html_url": "https://github.com/NormXU", "followers_url": "https://api.github.com/users/NormXU/fo...
[]
closed
false
null
[]
[ "cc @ArthurZucker who works more on this (kind of) model(s).\r\n\r\nHowever, @NormXU, could you provide a short but self-contained code snippet to demonstrate the `inconsistency` you mentioned? Thanks.", "Sure\r\n\r\nThe inconsistency happens here:\r\n\r\nhttps://github.com/huggingface/transformers/blob/a5cc30d72...
1,690
1,691
1,691
CONTRIBUTOR
null
### System Info - `transformers` version: 4.31.0 - Platform: Linux-5.19.0-42-generic-x86_64-with-glibc2.27 - Python version: 3.8.0 - PyTorch version (GPU?): 2.0.0+cu117 (True) ### Who can help? @ArthurZucker @younesbelkada ### Information - [X] The official example scripts - [ ] My own modified scrip...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25104/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/25104/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25103
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25103/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25103/comments
https://api.github.com/repos/huggingface/transformers/issues/25103/events
https://github.com/huggingface/transformers/issues/25103
1,821,646,332
I_kwDOCUB6oc5slB38
25,103
Beam search genereation with len(eos_token_id) > 1 throws exceptions
{ "login": "yonigottesman", "id": 4004127, "node_id": "MDQ6VXNlcjQwMDQxMjc=", "avatar_url": "https://avatars.githubusercontent.com/u/4004127?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yonigottesman", "html_url": "https://github.com/yonigottesman", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "I think maybe the point of following line was to be sure there are enough tokens that are not eos:\r\n[`generation/utils.py:2976`](https://github.com/huggingface/transformers/blame/main/src/transformers/generation/utils.py#L3072)\r\n~~~\r\n# Sample 2 next tokens for each beam (so we have some spare tokens and matc...
1,690
1,692
1,692
CONTRIBUTOR
null
### System Info - `transformers` version: 4.31.0 - Platform: Linux-5.13.0-1031-aws-x86_64-with-glibc2.31 - Python version: 3.10.5 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - Te...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25103/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/25103/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25102
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25102/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25102/comments
https://api.github.com/repos/huggingface/transformers/issues/25102/events
https://github.com/huggingface/transformers/pull/25102
1,821,498,750
PR_kwDOCUB6oc5WZRbc
25,102
documentation for llama2 models
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "changes incorporated!" ]
1,690
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? Adds some documentation for 'f' models. Fixes #25090 ## Before submitting - [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). ## Who can review? @ArthurZucker ** I'm not sure if this is even the right way to include the documenta...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25102/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/25102/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25102", "html_url": "https://github.com/huggingface/transformers/pull/25102", "diff_url": "https://github.com/huggingface/transformers/pull/25102.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25102.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25101
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25101/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25101/comments
https://api.github.com/repos/huggingface/transformers/issues/25101/events
https://github.com/huggingface/transformers/pull/25101
1,821,153,681
PR_kwDOCUB6oc5WYIwH
25,101
fix tied_params for meta tensor
{ "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._" ]
1,690
1,690
1,690
MEMBER
null
# What does this PR do? This PR fix the retrieval of `tied_params` when we load a model with accelerate. The issue was that we were not able to retrieve the tied parameters by using the `id` function to check equality between meta `tensor`. Instead, we use `find_tied_parameters` from accelerate library. Solves [#1...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25101/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/25101/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25101", "html_url": "https://github.com/huggingface/transformers/pull/25101", "diff_url": "https://github.com/huggingface/transformers/pull/25101.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25101.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25100
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25100/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25100/comments
https://api.github.com/repos/huggingface/transformers/issues/25100/events
https://github.com/huggingface/transformers/issues/25100
1,821,124,224
I_kwDOCUB6oc5sjCaA
25,100
Trainer/accelerate crashes when loading checkpoint using FSDP: sync_module_states ValueError
{ "login": "chenchenygu", "id": 63085075, "node_id": "MDQ6VXNlcjYzMDg1MDc1", "avatar_url": "https://avatars.githubusercontent.com/u/63085075?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chenchenygu", "html_url": "https://github.com/chenchenygu", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hello, as the error mentions, `sync_module_states` needs to be True. For this please use the accelerate launcher with the related accelerate config as specified in the docs here: https://huggingface.co/docs/transformers/main_classes/trainer#using-accelerate-launcher-with-trainer", "Thank you, I will try that. Is...
1,690
1,695
1,695
NONE
null
### System Info - `transformers` version: 4.31.0 - Platform: Linux-5.15.0-41-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.21.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25100/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/25100/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25099
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25099/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25099/comments
https://api.github.com/repos/huggingface/transformers/issues/25099/events
https://github.com/huggingface/transformers/issues/25099
1,821,118,294
I_kwDOCUB6oc5sjA9W
25,099
Missing '1' token for the Donut Processor checkpoints
{ "login": "arnaudstiegler", "id": 26485052, "node_id": "MDQ6VXNlcjI2NDg1MDUy", "avatar_url": "https://avatars.githubusercontent.com/u/26485052?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arnaudstiegler", "html_url": "https://github.com/arnaudstiegler", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Not sure this is something wrong in Transformers, sounds like it's the model repos that are missing something. cc @younesbelkada ", "> Note that this behavior is not present for the tokenizer mentioned as a pretrained base on the [donut github repo](https://github.com/clovaai/donut/blob/master/donut/model.py#L15...
1,690
1,692
1,692
CONTRIBUTOR
null
### System Info `transformers==4.31.0` `python=3.9` ### 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, ...) - [ ] My own task or dataset (give details below) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25099/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/25099/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25098
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25098/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25098/comments
https://api.github.com/repos/huggingface/transformers/issues/25098/events
https://github.com/huggingface/transformers/pull/25098
1,821,117,869
PR_kwDOCUB6oc5WYAzn
25,098
Bump certifi from 2022.12.7 to 2023.7.22 in /examples/research_projects/decision_transformer
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
CONTRIBUTOR
null
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.12.7 to 2023.7.22. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/certifi/python-certifi/commit/8fb96ed81f71e7097ed11bc4d9b19afd7ea5c909"><code>8fb96ed</code></a> 2023.07.22</li> <li><a href="https://github.com/certifi/pytho...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25098/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/25098/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25098", "html_url": "https://github.com/huggingface/transformers/pull/25098", "diff_url": "https://github.com/huggingface/transformers/pull/25098.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25098.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25097
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25097/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25097/comments
https://api.github.com/repos/huggingface/transformers/issues/25097/events
https://github.com/huggingface/transformers/pull/25097
1,821,117,519
PR_kwDOCUB6oc5WYAuo
25,097
Bump certifi from 2022.12.7 to 2023.7.22 in /examples/research_projects/visual_bert
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
CONTRIBUTOR
null
[//]: # (dependabot-start) โš ๏ธ **Dependabot is rebasing this PR** โš ๏ธ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [certifi](https://github.com/certifi/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25097/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/25097/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25097", "html_url": "https://github.com/huggingface/transformers/pull/25097", "diff_url": "https://github.com/huggingface/transformers/pull/25097.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25097.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25096
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25096/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25096/comments
https://api.github.com/repos/huggingface/transformers/issues/25096/events
https://github.com/huggingface/transformers/pull/25096
1,821,116,843
PR_kwDOCUB6oc5WYAlF
25,096
Bump certifi from 2022.12.7 to 2023.7.22 in /examples/research_projects/lxmert
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
CONTRIBUTOR
null
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.12.7 to 2023.7.22. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/certifi/python-certifi/commit/8fb96ed81f71e7097ed11bc4d9b19afd7ea5c909"><code>8fb96ed</code></a> 2023.07.22</li> <li><a href="https://github.com/certifi/pytho...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25096/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/25096/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25096", "html_url": "https://github.com/huggingface/transformers/pull/25096", "diff_url": "https://github.com/huggingface/transformers/pull/25096.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25096.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25095
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25095/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25095/comments
https://api.github.com/repos/huggingface/transformers/issues/25095/events
https://github.com/huggingface/transformers/pull/25095
1,820,990,741
PR_kwDOCUB6oc5WXk-e
25,095
Migrate Trainer from `Repository` to `upload_folder`
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "Note that the Hub tests are failing because `upload_folder` seems very slow on moon-staging (with 503 errors and multiple retries for each push). Might be worth putting everything in blocking mode for those tests (though we won't test the fact that jobs properly run in the background then)", "_The documentation ...
1,690
1,691
1,691
COLLABORATOR
null
# What does this PR do? This PR migrates the internal of the push to Hub strategy inside the Trainer to the upload methods instead of the old git approach. The goal is to benefit from the improvements in terms of speed (for instance `upload_folder` is faster than `Repository` on Colab) and avoid some weird sync erro...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25095/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/25095/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25095", "html_url": "https://github.com/huggingface/transformers/pull/25095", "diff_url": "https://github.com/huggingface/transformers/pull/25095.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25095.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25094
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25094/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25094/comments
https://api.github.com/repos/huggingface/transformers/issues/25094/events
https://github.com/huggingface/transformers/pull/25094
1,820,922,089
PR_kwDOCUB6oc5WXV-E
25,094
Add bloom flax
{ "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._", "Thanks for the clinical review! Merging ๐Ÿ‘" ]
1,690
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? Adds the Flax BLOOM model, superseding #18022 (where force pushing to Younes' branch after rebase closed the PR branch and created a new one)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25094/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/25094/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25094", "html_url": "https://github.com/huggingface/transformers/pull/25094", "diff_url": "https://github.com/huggingface/transformers/pull/25094.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25094.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25093
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25093/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25093/comments
https://api.github.com/repos/huggingface/transformers/issues/25093/events
https://github.com/huggingface/transformers/pull/25093
1,820,899,775
PR_kwDOCUB6oc5WXQ_I
25,093
Add mask2former fp16 support
{ "login": "pedrohml", "id": 2963875, "node_id": "MDQ6VXNlcjI5NjM4NzU=", "avatar_url": "https://avatars.githubusercontent.com/u/2963875?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pedrohml", "html_url": "https://github.com/pedrohml", "followers_url": "https://api.github.com/users/pedro...
[]
closed
false
null
[]
[ "Hi @pedrohml, thanks for opening this PR! \r\n\r\nCould you add some tests for these models e.g. [like this one for ViT](https://github.com/huggingface/transformers/blob/dd9d45b6ecc0861847e21d461187711331a56138/tests/models/vit/test_modeling_vit.py#L320)", "@amyeroberts thanks for review. do you mind to double c...
1,690
1,691
1,691
CONTRIBUTOR
null
# What does this PR do? Add float16 support to mask2former module and derivatives Some operations and conversions were fixed in order to propagate the chosen user _dtype_ (ex: float32, float16) for input and embeddings. In this way, we can pass in fp16 tensors for inference. ## Who can review? Similar PRs wer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25093/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/25093/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25093", "html_url": "https://github.com/huggingface/transformers/pull/25093", "diff_url": "https://github.com/huggingface/transformers/pull/25093.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25093.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25092
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25092/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25092/comments
https://api.github.com/repos/huggingface/transformers/issues/25092/events
https://github.com/huggingface/transformers/pull/25092
1,820,880,302
PR_kwDOCUB6oc5WXMv0
25,092
fix idefics vision config
{ "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._", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25092). All of your documentation changes will be reflected on that endpoint." ]
1,690
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? As discussed offline, this should refactor the vision config args. We need to address similar changes as https://huggingface.co/HuggingFaceM4/tiny-random-idefics/discussions/2 to make it work with other checkpoints cc @stas00
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25092/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/25092/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25092", "html_url": "https://github.com/huggingface/transformers/pull/25092", "diff_url": "https://github.com/huggingface/transformers/pull/25092.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25092.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25091
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25091/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25091/comments
https://api.github.com/repos/huggingface/transformers/issues/25091/events
https://github.com/huggingface/transformers/pull/25091
1,820,857,068
PR_kwDOCUB6oc5WXHuC
25,091
Hotfix for failing `MusicgenForConditionalGeneration` tests
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? A exceptional case (for `MusicgenForConditionalGeneration`) is not detected by the CI triggered in #24927. Test is currently failing on `main`, see https://app.circleci.com/pipelines/github/huggingface/transformers/68971/workflows/503866ea-e425-4817-9849-52c6e7fd2865/jobs/863722
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25091/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/25091/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25091", "html_url": "https://github.com/huggingface/transformers/pull/25091", "diff_url": "https://github.com/huggingface/transformers/pull/25091.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25091.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25090
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25090/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25090/comments
https://api.github.com/repos/huggingface/transformers/issues/25090/events
https://github.com/huggingface/transformers/issues/25090
1,820,837,546
I_kwDOCUB6oc5sh8aq
25,090
Need documentation for understanding the difference between `7B` and `7Bf`
{ "login": "scottfleming", "id": 11773823, "node_id": "MDQ6VXNlcjExNzczODIz", "avatar_url": "https://avatars.githubusercontent.com/u/11773823?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scottfleming", "html_url": "https://github.com/scottfleming", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "cc @ArthurZucker ", "Sure, we can add a bit of documentation, mentioning that this is specific to llama2 official release ๐Ÿ˜‰ " ]
1,690
1,690
1,690
NONE
null
Unclear what the tradeoffs are between using eg `7B` and `7Bf` as an argument for `model_size` in the `convert_llama_weights_to_hf.py` script: https://github.com/huggingface/transformers/blob/f9cc333805c47665c6afee8b5867931e54abe0c6/src/transformers/models/llama/convert_llama_weights_to_hf.py#L65
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25090/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/25090/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25089
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25089/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25089/comments
https://api.github.com/repos/huggingface/transformers/issues/25089/events
https://github.com/huggingface/transformers/pull/25089
1,820,787,716
PR_kwDOCUB6oc5WW4on
25,089
Move common image processing methods to BaseImageProcessor
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? Moves out the `rescale` and `normalize` methods of the image processors to the BaseImageProcessor class, which all the image processors inherit from. Reason for moving `rescale` and `normalize`: * Standard image processing steps * Used by (almost) all image processors * Few cases wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25089/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/25089/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25089", "html_url": "https://github.com/huggingface/transformers/pull/25089", "diff_url": "https://github.com/huggingface/transformers/pull/25089.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25089.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25088
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25088/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25088/comments
https://api.github.com/repos/huggingface/transformers/issues/25088/events
https://github.com/huggingface/transformers/pull/25088
1,820,768,107
PR_kwDOCUB6oc5WW0d6
25,088
[`resize_embedding`] Introduce `pad_to_multiple_of` and guidance
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,693
1,692
COLLABORATOR
null
# What does this PR do? Fixes #22312. After internal discussions, it appears that adding the possibility to pad with `-1` to `tokenizers` is not really feasible ( nor is it desirable). However, what we can do is by default resize the embedding layer to the nearest size that is optimal for the dtype of the model [f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25088/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/25088/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25088", "html_url": "https://github.com/huggingface/transformers/pull/25088", "diff_url": "https://github.com/huggingface/transformers/pull/25088.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25088.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25087
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25087/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25087/comments
https://api.github.com/repos/huggingface/transformers/issues/25087/events
https://github.com/huggingface/transformers/pull/25087
1,820,671,628
PR_kwDOCUB6oc5WWfvG
25,087
Edit err message and comment in `test_model_is_small`
{ "login": "connor-henderson", "id": 78612354, "node_id": "MDQ6VXNlcjc4NjEyMzU0", "avatar_url": "https://avatars.githubusercontent.com/u/78612354?v=4", "gravatar_id": "", "url": "https://api.github.com/users/connor-henderson", "html_url": "https://github.com/connor-henderson", "followers_url": "https://...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25087). All of your documentation changes will be reflected on that endpoint." ]
1,690
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? Tiny error message and comment update to bring into alignment with 1M param max mentioned in https://github.com/huggingface/transformers/pull/24824#issue-1804886584 <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25087/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/25087/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25087", "html_url": "https://github.com/huggingface/transformers/pull/25087", "diff_url": "https://github.com/huggingface/transformers/pull/25087.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25087.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25086
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25086/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25086/comments
https://api.github.com/repos/huggingface/transformers/issues/25086/events
https://github.com/huggingface/transformers/pull/25086
1,820,598,445
PR_kwDOCUB6oc5WWPwb
25,086
Generate: return `past_key_values`
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This is a killer feature :+1: ", "@gante Hi! Thanks for PR!\r\nDid you test feeding output past_key_values into .generate() method? Like take first 250 tokens input, run .generate(), get output past_key_values, take another 50 toke...
1,690
1,702
1,698
MEMBER
null
# What does this PR do? Enables returning `past_key_values` from `generate`, if `return_dict_in_generate=True` (otherwise only the generated `input_ids` are returned) and `use_cache=True` (otherwise there is no cache to return ;) ). In more abstract terms, this enables features like: 1. continuing a given genera...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25086/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/25086/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25086", "html_url": "https://github.com/huggingface/transformers/pull/25086", "diff_url": "https://github.com/huggingface/transformers/pull/25086.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25086.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25085
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25085/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25085/comments
https://api.github.com/repos/huggingface/transformers/issues/25085/events
https://github.com/huggingface/transformers/pull/25085
1,820,522,237
PR_kwDOCUB6oc5WV_BY
25,085
[`TF`] Also apply patch to support left padding
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25085). All of your documentation changes will be reflected on that endpoint." ]
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? Fixes red test on main GPTj test equivalence. Follows #24979
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25085/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/25085/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25085", "html_url": "https://github.com/huggingface/transformers/pull/25085", "diff_url": "https://github.com/huggingface/transformers/pull/25085.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25085.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25084
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25084/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25084/comments
https://api.github.com/repos/huggingface/transformers/issues/25084/events
https://github.com/huggingface/transformers/issues/25084
1,820,522,199
I_kwDOCUB6oc5sgvbX
25,084
AttributeError: 'GenerationConfig' object has no attribute 'task_to_id'
{ "login": "AmgadHasan", "id": 109704569, "node_id": "U_kgDOBon1eQ", "avatar_url": "https://avatars.githubusercontent.com/u/109704569?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AmgadHasan", "html_url": "https://github.com/AmgadHasan", "followers_url": "https://api.github.com/users/Amg...
[]
closed
false
null
[]
[ "Also cc @sanchit-gandhi since it comes from the audio course.", "Can you link the full stacktrace if possible ? This might help us narrow it down faster.", "+1 on the full stack-trace. It might require an update to your generation config since this is a fine-tuned checkpoint and the API was updated to take the...
1,690
1,691
1,690
NONE
null
### System Info I am following the [Audio course](https://huggingface.co/learn/audio-course/chapter5/asr_models#longform-transcription-and-timestamps) course and tried to perform translation using the automatic speech recognition pipeline but got a weird error. Code: ``` from transformers import pipeline asr =...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25084/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/25084/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25083
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25083/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25083/comments
https://api.github.com/repos/huggingface/transformers/issues/25083/events
https://github.com/huggingface/transformers/pull/25083
1,820,478,951
PR_kwDOCUB6oc5WV1jH
25,083
update `use_auth_token` -> `token`
{ "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._", "In some training example script, (for example, `examples/tensorflow/contrastive-image-text/run_clip.py`) there are \r\n\r\n```python\r\n use_auth_token: bool = field(\r\n default=False,\r\n metadata={\r\n ...
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? Fix #25008 @sgugger This should be ready for a review. There are still a few places that use `use_auth_token`, but only during the calls to relevant methods. I will change those calls to use `token` before merge.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25083/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/25083/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25083", "html_url": "https://github.com/huggingface/transformers/pull/25083", "diff_url": "https://github.com/huggingface/transformers/pull/25083.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25083.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25082
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25082/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25082/comments
https://api.github.com/repos/huggingface/transformers/issues/25082/events
https://github.com/huggingface/transformers/issues/25082
1,820,469,086
I_kwDOCUB6oc5sgide
25,082
LLaMA Tokenizer does not compute word_ids
{ "login": "ikergarcia1996", "id": 18737249, "node_id": "MDQ6VXNlcjE4NzM3MjQ5", "avatar_url": "https://avatars.githubusercontent.com/u/18737249?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ikergarcia1996", "html_url": "https://github.com/ikergarcia1996", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hey! Thanks for reporting this. This seems to be related to the backend tokenizer, so most probably the `tokenizers` library. cc @Narsil if you have a quick idea, otherwise, I'll investigate", "Oh it's simple.\r\n\r\nIt's just that what you call \"word\" doesn't exist for this tokenizer...\r\nA lot of tokenizers...
1,690
1,690
1,690
CONTRIBUTOR
null
### System Info - `transformers` version: 4.31.0.dev0 - Platform: Linux-4.18.0-477.10.1.el8_8.x86_64-x86_64-with-glibc2.28 - Python version: 3.9.7 - Huggingface_hub version: 0.14.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.1.0.dev20230515+cu117 (True) - Tensorflow version (GPU?): not installed (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25082/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/25082/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25081
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25081/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25081/comments
https://api.github.com/repos/huggingface/transformers/issues/25081/events
https://github.com/huggingface/transformers/pull/25081
1,820,418,224
PR_kwDOCUB6oc5WVoZu
25,081
[`split_special_tokens`] Add support for `split_special_tokens` argument to encode
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,692
1,692
COLLABORATOR
null
# What does this PR do? Argument name is totally debatable. Will also require a pull request in `tokenizers`. The goal is to be able to simply activate and de-activate the special token splitting. Feature was asked in #22490, and is required for some production type cases, where users pass inputs and we don't want t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25081/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/25081/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25081", "html_url": "https://github.com/huggingface/transformers/pull/25081", "diff_url": "https://github.com/huggingface/transformers/pull/25081.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25081.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25080
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25080/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25080/comments
https://api.github.com/repos/huggingface/transformers/issues/25080/events
https://github.com/huggingface/transformers/pull/25080
1,820,296,958
PR_kwDOCUB6oc5WVN_i
25,080
fix bug : add global_step when call self.lr_scheduler.step
{ "login": "SuperCB", "id": 82354186, "node_id": "MDQ6VXNlcjgyMzU0MTg2", "avatar_url": "https://avatars.githubusercontent.com/u/82354186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuperCB", "html_url": "https://github.com/SuperCB", "followers_url": "https://api.github.com/users/SuperC...
[]
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,690
1,693
1,693
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/25080/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/25080/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25080", "html_url": "https://github.com/huggingface/transformers/pull/25080", "diff_url": "https://github.com/huggingface/transformers/pull/25080.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25080.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25079
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25079/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25079/comments
https://api.github.com/repos/huggingface/transformers/issues/25079/events
https://github.com/huggingface/transformers/issues/25079
1,820,294,585
I_kwDOCUB6oc5sf325
25,079
Forget to put the global-step in lr scheduler in train.py
{ "login": "SuperCB", "id": 82354186, "node_id": "MDQ6VXNlcjgyMzU0MTg2", "avatar_url": "https://avatars.githubusercontent.com/u/82354186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuperCB", "html_url": "https://github.com/SuperCB", "followers_url": "https://api.github.com/users/SuperC...
[]
closed
false
null
[]
[ "cc @pacman100 ", "Hello, a minimal reproducer for this please. The checkpointing test loads back the correct lr: https://github.com/huggingface/accelerate/actions/runs/5651936442/job/15310803049#step:5:2259", "> Hello, a minimal reproducer for this please. The checkpointing test loads back the correct lr: http...
1,690
1,697
1,697
NONE
null
### System Info - ` transformers` version: 4.30.2 - Platform: Linux-3.10.0-1160.83.1.el7.x86_64-x86_64-with-glibc2.35 - Python version: 3.10.6 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.0 (True) - Tensorflow version (GPU?): not installed (NA) - Flax versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25079/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/25079/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25078
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25078/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25078/comments
https://api.github.com/repos/huggingface/transformers/issues/25078/events
https://github.com/huggingface/transformers/pull/25078
1,820,172,996
PR_kwDOCUB6oc5WUyoA
25,078
replace `per_gpu_eval_batch_size` with `per_device_eval_batch_size` in readme of multiple-choice task
{ "login": "statelesshz", "id": 28150734, "node_id": "MDQ6VXNlcjI4MTUwNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/statelesshz", "html_url": "https://github.com/statelesshz", "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_25078). All of your documentation changes will be reflected on that endpoint." ]
1,690
1,694
1,690
CONTRIBUTOR
null
### What does this PR do? replace `per_gpu_eval_batch_size` with `per_device_eval_batch_size` in readme of multiple-choice task as the training arguments `per_gpu_*` is deprecated. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25078/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/25078/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25078", "html_url": "https://github.com/huggingface/transformers/pull/25078", "diff_url": "https://github.com/huggingface/transformers/pull/25078.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25078.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25077
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25077/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25077/comments
https://api.github.com/repos/huggingface/transformers/issues/25077/events
https://github.com/huggingface/transformers/pull/25077
1,820,099,126
PR_kwDOCUB6oc5WUitT
25,077
[`PEFT`] Peft integration alternative design
{ "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._", "Mmmm, but know we can't do `model = AutoModelForCausalLM.from_pretrained(\"ybelkada/opt-350m-lora\")` despite the checkpoint having all the correct info to load the model (compared to the alternative PR). Can we still add the necessa...
1,690
1,704
1,692
CONTRIBUTOR
null
# What does this PR do? From the offline discussion + the comments from @patrickvonplaten in https://github.com/huggingface/transformers/pull/24827#issuecomment-1641750464 I propose a new design for tightly integrating PEFT into transformers. This integration enables loading any PEFT adapter that is saved locally ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25077/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/25077/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25077", "html_url": "https://github.com/huggingface/transformers/pull/25077", "diff_url": "https://github.com/huggingface/transformers/pull/25077.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25077.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25076
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25076/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25076/comments
https://api.github.com/repos/huggingface/transformers/issues/25076/events
https://github.com/huggingface/transformers/issues/25076
1,820,091,573
I_kwDOCUB6oc5sfGS1
25,076
Evaluation resulting in "RuntimeError: Tensors must be contiguous".
{ "login": "notrichardren", "id": 34405553, "node_id": "MDQ6VXNlcjM0NDA1NTUz", "avatar_url": "https://avatars.githubusercontent.com/u/34405553?v=4", "gravatar_id": "", "url": "https://api.github.com/users/notrichardren", "html_url": "https://github.com/notrichardren", "followers_url": "https://api.githu...
[]
closed
false
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api...
[ "You should debug the code to find which tensor PyTorch complains about and make sure you add the `contiguous` as requested.\r\n\r\nBut we could also make sure to add it in `gather` directly @muellerzr ", "@notrichardren try running again, installing accelerate via `pip install git+https://github.com/huggingface/...
1,690
1,690
1,690
NONE
null
### System Info Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points. - `transformers` version: 4.31.0 - Platform: Linux-5.15.0-1037-aws-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - Accelerate version: 0.21.0 - A...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25076/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/25076/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25075
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25075/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25075/comments
https://api.github.com/repos/huggingface/transformers/issues/25075/events
https://github.com/huggingface/transformers/pull/25075
1,820,088,185
PR_kwDOCUB6oc5WUgVL
25,075
Set `TF32` flag for PyTorch cuDNN backend
{ "login": "XuehaiPan", "id": 16078332, "node_id": "MDQ6VXNlcjE2MDc4MzMy", "avatar_url": "https://avatars.githubusercontent.com/u/16078332?v=4", "gravatar_id": "", "url": "https://api.github.com/users/XuehaiPan", "html_url": "https://github.com/XuehaiPan", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
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/25075/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/25075/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25075", "html_url": "https://github.com/huggingface/transformers/pull/25075", "diff_url": "https://github.com/huggingface/transformers/pull/25075.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25075.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25074
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25074/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25074/comments
https://api.github.com/repos/huggingface/transformers/issues/25074/events
https://github.com/huggingface/transformers/pull/25074
1,820,073,677
PR_kwDOCUB6oc5WUdN3
25,074
Fix: repeat per sample for SAM image embeddings
{ "login": "xk-huang", "id": 33593707, "node_id": "MDQ6VXNlcjMzNTkzNzA3", "avatar_url": "https://avatars.githubusercontent.com/u/33593707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xk-huang", "html_url": "https://github.com/xk-huang", "followers_url": "https://api.github.com/users/xk-...
[]
closed
false
null
[]
[ "cc @younesbelkada since you added the model.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25074). All of your documentation changes will be reflected on that endpoint." ]
1,690
1,690
1,690
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/25074/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/25074/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25074", "html_url": "https://github.com/huggingface/transformers/pull/25074", "diff_url": "https://github.com/huggingface/transformers/pull/25074.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25074.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25073
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25073/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25073/comments
https://api.github.com/repos/huggingface/transformers/issues/25073/events
https://github.com/huggingface/transformers/issues/25073
1,819,986,324
I_kwDOCUB6oc5sesmU
25,073
Slow Tokenizer adds whitespace after special token
{ "login": "g588928812", "id": 128976718, "node_id": "U_kgDOB7AHTg", "avatar_url": "https://avatars.githubusercontent.com/u/128976718?v=4", "gravatar_id": "", "url": "https://api.github.com/users/g588928812", "html_url": "https://github.com/g588928812", "followers_url": "https://api.github.com/users/g58...
[]
closed
false
null
[]
[ "Hey! My first suggestion would be to not use the legacy behaviour by setting `legacy = False` when you initialize the tokenizer. \r\nSecond, the `txt_encoded == txt_encoded_decoded` assumption is not always true for all tokenizers. In this case, the decoding adds an extra space, maybe because it is based on the pr...
1,690
1,707
1,707
NONE
null
### System Info Python 3.10.6 Transformers 4.31.0 <class 'transformers.models.llama.tokenization_llama.LlamaTokenizer'> ### Who can help? @ArthurZucker @younesbelkada ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25073/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/25073/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25072
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25072/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25072/comments
https://api.github.com/repos/huggingface/transformers/issues/25072/events
https://github.com/huggingface/transformers/pull/25072
1,819,918,244
PR_kwDOCUB6oc5WT648
25,072
[Docs] fix rope_scaling doc string
{ "login": "kashif", "id": 8100, "node_id": "MDQ6VXNlcjgxMDA=", "avatar_url": "https://avatars.githubusercontent.com/u/8100?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kashif", "html_url": "https://github.com/kashif", "followers_url": "https://api.github.com/users/kashif/followers", ...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
CONTRIBUTOR
null
The `rope_scaling` supports *two* scaling strategies not three.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25072/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/25072/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25072", "html_url": "https://github.com/huggingface/transformers/pull/25072", "diff_url": "https://github.com/huggingface/transformers/pull/25072.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25072.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25071
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25071/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25071/comments
https://api.github.com/repos/huggingface/transformers/issues/25071/events
https://github.com/huggingface/transformers/issues/25071
1,819,894,446
I_kwDOCUB6oc5seWKu
25,071
evaluation_strategy and eval_steps does not work
{ "login": "nkjulia", "id": 15606158, "node_id": "MDQ6VXNlcjE1NjA2MTU4", "avatar_url": "https://avatars.githubusercontent.com/u/15606158?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nkjulia", "html_url": "https://github.com/nkjulia", "followers_url": "https://api.github.com/users/nkjuli...
[]
closed
false
null
[]
[ "Please provide a reproducer we can execute. We do not have your `train_file` and `validation_file`.", "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 foll...
1,690
1,695
1,693
NONE
null
### System Info - `transformers` version: 4.27.1 - Platform: Linux-4.15.0-200-generic-x86_64-with-debian-buster-sid - Python version: 3.7.16 - Huggingface_hub version: 0.13.2 - PyTorch version (GPU?): 1.13.1+cu117 (True) - Tensorflow version (GPU?): 2.4.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25071/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/25071/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25070
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25070/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25070/comments
https://api.github.com/repos/huggingface/transformers/issues/25070/events
https://github.com/huggingface/transformers/issues/25070
1,819,786,262
I_kwDOCUB6oc5sd7wW
25,070
Param grad None despite model training with requires_grad=True
{ "login": "Remorax", "id": 26062692, "node_id": "MDQ6VXNlcjI2MDYyNjky", "avatar_url": "https://avatars.githubusercontent.com/u/26062692?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Remorax", "html_url": "https://github.com/Remorax", "followers_url": "https://api.github.com/users/Remora...
[]
closed
false
null
[]
[ "cc @sanchit-gandhi since this is an audio model.", "Hey @Remorax - the print statements you've added are in the forward pass of the model, where the gradients will always be zero. The gradients are only computed in the back prop, which is triggered once the forward pass is completed. Once the back propagation is...
1,690
1,690
1,690
NONE
null
### System Info - `transformers` version: 4.32.0.dev0 - Platform: Linux-3.10.0-1160.80.1.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.9.17 - 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 (False) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25070/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/25070/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25069
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25069/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25069/comments
https://api.github.com/repos/huggingface/transformers/issues/25069/events
https://github.com/huggingface/transformers/issues/25069
1,819,640,842
I_kwDOCUB6oc5sdYQK
25,069
Fast and normal tokenizer generate different output when handling consecutive spaces.
{ "login": "torshie", "id": 1214465, "node_id": "MDQ6VXNlcjEyMTQ0NjU=", "avatar_url": "https://avatars.githubusercontent.com/u/1214465?v=4", "gravatar_id": "", "url": "https://api.github.com/users/torshie", "html_url": "https://github.com/torshie", "followers_url": "https://api.github.com/users/torshie/...
[]
closed
false
null
[]
[ "cc @ArthurZucker ", "This seems to be pretty close to #24918. \r\nI don't know how they converted the fast tokenizer but it seems wrong. I suggest you open an issue at https://hf.co/openlm-research/open_llama_7b/discussions, as if you use the `huggyllama/llama-7b` model, you will not have this issue: \r\n\r\n```...
1,690
1,693
1,693
NONE
null
### System Info Transformer version: 4.29.2 ### 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) ### Repro...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25069/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/25069/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25068
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25068/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25068/comments
https://api.github.com/repos/huggingface/transformers/issues/25068/events
https://github.com/huggingface/transformers/pull/25068
1,819,637,916
PR_kwDOCUB6oc5WS-S2
25,068
change vocab_size in deberta-v2 default config
{ "login": "codingchild2424", "id": 45235027, "node_id": "MDQ6VXNlcjQ1MjM1MDI3", "avatar_url": "https://avatars.githubusercontent.com/u/45235027?v=4", "gravatar_id": "", "url": "https://api.github.com/users/codingchild2424", "html_url": "https://github.com/codingchild2424", "followers_url": "https://api...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25068). 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,690
1,693
1,693
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/25068/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/25068/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25068", "html_url": "https://github.com/huggingface/transformers/pull/25068", "diff_url": "https://github.com/huggingface/transformers/pull/25068.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25068.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25067
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25067/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25067/comments
https://api.github.com/repos/huggingface/transformers/issues/25067/events
https://github.com/huggingface/transformers/pull/25067
1,819,493,115
PR_kwDOCUB6oc5WSfFn
25,067
Fix broken link in README_hd.md
{ "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 documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
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/25067/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/25067/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25067", "html_url": "https://github.com/huggingface/transformers/pull/25067", "diff_url": "https://github.com/huggingface/transformers/pull/25067.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25067.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25066
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25066/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25066/comments
https://api.github.com/repos/huggingface/transformers/issues/25066/events
https://github.com/huggingface/transformers/pull/25066
1,819,467,505
PR_kwDOCUB6oc5WSZo_
25,066
fix: add TOC anchor link
{ "login": "eenzeenee", "id": 71638597, "node_id": "MDQ6VXNlcjcxNjM4NTk3", "avatar_url": "https://avatars.githubusercontent.com/u/71638597?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eenzeenee", "html_url": "https://github.com/eenzeenee", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
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/25066/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/25066/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25066", "html_url": "https://github.com/huggingface/transformers/pull/25066", "diff_url": "https://github.com/huggingface/transformers/pull/25066.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25066.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25065
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25065/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25065/comments
https://api.github.com/repos/huggingface/transformers/issues/25065/events
https://github.com/huggingface/transformers/issues/25065
1,819,397,539
I_kwDOCUB6oc5scc2j
25,065
llama2 training has nan
{ "login": "LZY-the-boys", "id": 72137647, "node_id": "MDQ6VXNlcjcyMTM3NjQ3", "avatar_url": "https://avatars.githubusercontent.com/u/72137647?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LZY-the-boys", "html_url": "https://github.com/LZY-the-boys", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "What are you setting as your `pad_token`? I was getting `nan` while running batched inference (see post [here](https://discuss.huggingface.co/t/llama2-pad-token-for-batched-inference/48020)) and am wondering if this might be related to your issue?", "I set tokenizer.pad_token_id = 0, which is the same as llama1 ...
1,690
1,702
1,694
NONE
null
### System Info - `transformers` version: 4.31.0 - Platform: Linux-5.19.0-42-generic-x86_64-with-glibc2.35 - Python version: 3.9.16 - Huggingface_hub version: 0.14.1 - Safetensors version: 0.3.1 - Accelerate version: 0.21.0 - Accelerate config: - compute_environment: LOCAL_MACHINE - distributed_type:...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25065/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/25065/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25064
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25064/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25064/comments
https://api.github.com/repos/huggingface/transformers/issues/25064/events
https://github.com/huggingface/transformers/pull/25064
1,819,366,664
PR_kwDOCUB6oc5WSDhR
25,064
Feature/forward
{ "login": "t46", "id": 19530191, "node_id": "MDQ6VXNlcjE5NTMwMTkx", "avatar_url": "https://avatars.githubusercontent.com/u/19530191?v=4", "gravatar_id": "", "url": "https://api.github.com/users/t46", "html_url": "https://github.com/t46", "followers_url": "https://api.github.com/users/t46/followers", ...
[]
closed
false
null
[]
[]
1,690
1,690
1,690
NONE
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25064/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/25064/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25064", "html_url": "https://github.com/huggingface/transformers/pull/25064", "diff_url": "https://github.com/huggingface/transformers/pull/25064.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25064.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25063
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25063/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25063/comments
https://api.github.com/repos/huggingface/transformers/issues/25063/events
https://github.com/huggingface/transformers/issues/25063
1,819,325,953
I_kwDOCUB6oc5scLYB
25,063
model.generate does not work when using a AlbertModel
{ "login": "anujsahani01", "id": 83875986, "node_id": "MDQ6VXNlcjgzODc1OTg2", "avatar_url": "https://avatars.githubusercontent.com/u/83875986?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anujsahani01", "html_url": "https://github.com/anujsahani01", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "I don't know what more you want me to say. As the error clearly states, this is not a model that supports `.generate`. ALBERT was trained on a masked language modeling objective so none of its variants are compatible with `.generate()`." ]
1,690
1,690
1,690
NONE
null
### System Info - `transformers` version: 4.31.0 - Platform: Linux-5.15.109+-x86_64-with-glibc2.35 - Python version: 3.10.6 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu118 (False) - Tensorf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25063/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/25063/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25062
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25062/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25062/comments
https://api.github.com/repos/huggingface/transformers/issues/25062/events
https://github.com/huggingface/transformers/pull/25062
1,819,258,811
PR_kwDOCUB6oc5WRsBY
25,062
GPTQ integration
{ "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._", "> 2- Would it make sense to slowly \"deprecate\" the args load_in_4bit and load_in_8bit as it might lead to confusion for users (because technically you can do 4bit / 8bit with GPTQ as well) - not sure about the right approach here\r...
1,690
1,691
1,691
MEMBER
null
# What does this PR do? This PR adds the possibility to perform GTPQ quantization with transformers model using [optimum](https://github.com/huggingface/optimum) library. The backend relies on [auto_gptq](https://github.com/PanQiWei/AutoGPTQ) library where we use `GTPQ` and `QuantLinear` class. Here's the related [...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25062/reactions", "total_count": 5, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 5, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/25062/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25062", "html_url": "https://github.com/huggingface/transformers/pull/25062", "diff_url": "https://github.com/huggingface/transformers/pull/25062.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25062.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25061
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25061/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25061/comments
https://api.github.com/repos/huggingface/transformers/issues/25061/events
https://github.com/huggingface/transformers/pull/25061
1,819,256,856
PR_kwDOCUB6oc5WRrlk
25,061
Generation refactor: new interface, new classes.
{ "login": "manueldeprada", "id": 6536835, "node_id": "MDQ6VXNlcjY1MzY4MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4", "gravatar_id": "", "url": "https://api.github.com/users/manueldeprada", "html_url": "https://github.com/manueldeprada", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "Hi @manueldeprada ๐Ÿ‘‹ \r\n\r\nThank you for the proposal, but this PR adds further parameterization to `generate()`, and we want to go in the opposite direction whenever possible -- `.generate()` already has too many possible arguments. \r\n\r\nRelated to this PR: we are internally discussing how to refactor `.gene...
1,690
1,699
1,693
CONTRIBUTOR
null
## Summary This PR introduces an updated `generate()` interface for the Huggingface Transformers library. The update focuses on enhancing extensibility and enabling the explicit declaration of the generation strategy, while ensuring backward compatibility. ## Detailed Description ### Introducing the "generatio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25061/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/25061/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25061", "html_url": "https://github.com/huggingface/transformers/pull/25061", "diff_url": "https://github.com/huggingface/transformers/pull/25061.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25061.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25060
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25060/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25060/comments
https://api.github.com/repos/huggingface/transformers/issues/25060/events
https://github.com/huggingface/transformers/issues/25060
1,819,188,771
I_kwDOCUB6oc5sbp4j
25,060
LlaVa model in transformers
{ "login": "RajeshRadha", "id": 3087574, "node_id": "MDQ6VXNlcjMwODc1NzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/3087574?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RajeshRadha", "html_url": "https://github.com/RajeshRadha", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Hi @RajeshRadha Thank you for the feature request.\r\n\r\nAs @ArthurZucker mentioning to me, the repo. has reached 4K starts and 300 fork, it seems this is quite popular.\r\n\r\nWill leave our core maintainers @amyeroberts and @sgugger to see if this qualifies the model to be in `transformers` or we still prefer t...
1,690
1,707
1,704
NONE
null
### Feature request Support to Llava model in transformers? https://github.com/haotian-liu/LLaVA Similar to InstructBlip w/ connector module between image embeddings and LLM's ### Motivation Llava is performing really well in MLLM related tasks and for folks to try out InstructBlip vs Llava models it makes it easier...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25060/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/25060/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25059
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25059/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25059/comments
https://api.github.com/repos/huggingface/transformers/issues/25059/events
https://github.com/huggingface/transformers/pull/25059
1,818,924,956
PR_kwDOCUB6oc5WQjXL
25,059
Fix `token` in auto classes
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25059). All of your documentation changes will be reflected on that endpoint.", "Good catch. I guess I have to deal with the internal usages of those `kwargs`", "Yes, ideally we want to only use `token` everywhere now :-)...
1,690
1,693
1,690
COLLABORATOR
null
# What does this PR do? Fix `token` in auto classes. Fix #25008 We (me) should start to: - add (some) explicit arguments to `from_pretrained` for auto classes - (probably) clean-up the usage of `use_auth_token` even internally But let's do this in separate PR(s), I promise.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25059/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/25059/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25059", "html_url": "https://github.com/huggingface/transformers/pull/25059", "diff_url": "https://github.com/huggingface/transformers/pull/25059.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25059.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25058
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25058/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25058/comments
https://api.github.com/repos/huggingface/transformers/issues/25058/events
https://github.com/huggingface/transformers/pull/25058
1,818,919,029
PR_kwDOCUB6oc5WQiJI
25,058
Fix last models for common tests that are too big.
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? This PR fixes the last batch of models that are too big for common tests. After it, only two classes override the common test to skip it: - timm-backbone - layoutlmv2 In the first case, it's because there is no timm model small enough to work (I did switch to the smallest resnet though) an...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25058/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/25058/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25058", "html_url": "https://github.com/huggingface/transformers/pull/25058", "diff_url": "https://github.com/huggingface/transformers/pull/25058.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25058.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25057
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25057/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25057/comments
https://api.github.com/repos/huggingface/transformers/issues/25057/events
https://github.com/huggingface/transformers/pull/25057
1,818,854,366
PR_kwDOCUB6oc5WQT03
25,057
fix deepspeed load best model at end when the model gets sharded
{ "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/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? 1. Fixes https://github.com/huggingface/transformers/issues/25027
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25057/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/25057/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25057", "html_url": "https://github.com/huggingface/transformers/pull/25057", "diff_url": "https://github.com/huggingface/transformers/pull/25057.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25057.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25056
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25056/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25056/comments
https://api.github.com/repos/huggingface/transformers/issues/25056/events
https://github.com/huggingface/transformers/pull/25056
1,818,782,634
PR_kwDOCUB6oc5WQELq
25,056
[`IDEFICS`]ย Fix idefics ci
{ "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._", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25056). All of your documentation changes will be reflected on that endpoint." ]
1,690
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? Attempt to fix IDEFICS failing CI as discussed offline @stas00 - more info coming soon original PR: https://github.com/huggingface/transformers/pull/24796
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25056/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/25056/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25056", "html_url": "https://github.com/huggingface/transformers/pull/25056", "diff_url": "https://github.com/huggingface/transformers/pull/25056.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25056.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25055
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25055/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25055/comments
https://api.github.com/repos/huggingface/transformers/issues/25055/events
https://github.com/huggingface/transformers/pull/25055
1,818,781,524
PR_kwDOCUB6oc5WQD8D
25,055
[`RWKV`] Add note in doc on `RwkvStoppingCriteria`
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? Given the usage of RWKV, decide to go with a tip in the doc rather than changing the `generate` and adding `RwkvStoppingCriteria` to the library. Adresses #23852
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25055/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/25055/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25055", "html_url": "https://github.com/huggingface/transformers/pull/25055", "diff_url": "https://github.com/huggingface/transformers/pull/25055.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25055.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25054
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25054/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25054/comments
https://api.github.com/repos/huggingface/transformers/issues/25054/events
https://github.com/huggingface/transformers/issues/25054
1,818,768,482
I_kwDOCUB6oc5saDRi
25,054
removed_unused_columns = True deletes dataset for custom loss func
{ "login": "notrichardren", "id": 34405553, "node_id": "MDQ6VXNlcjM0NDA1NTUz", "avatar_url": "https://avatars.githubusercontent.com/u/34405553?v=4", "gravatar_id": "", "url": "https://api.github.com/users/notrichardren", "html_url": "https://github.com/notrichardren", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "I did some further investigation and found that this dataset seems to work _if_ and only if you set remove_unused_columns = False in the training arguments.\r\n\r\n**It seems very odd that \"remove_unused_columns = True\" would result in the entire dataset being wiped, given that the features in the dataset are ['...
1,690
1,690
1,690
NONE
null
Feel free to see the[ second comment](https://github.com/huggingface/transformers/issues/25054#issuecomment-1648263249) directly. The original issue was on confusion for the training dataset seemingly not working -- I narrowed it down to the ```removed_unused_columns = True``` dataset deleting an entire dataset, which ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25054/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/25054/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25053
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25053/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25053/comments
https://api.github.com/repos/huggingface/transformers/issues/25053/events
https://github.com/huggingface/transformers/pull/25053
1,818,765,711
PR_kwDOCUB6oc5WQAf5
25,053
[ `PreTrainedTokenizerFast`] Keep properties from fast tokenizer
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Yes, currently everything is ignored" ]
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? Start a potential fix to #24179, ended up being releated to #24441, calling modifies the values of the underlying tokenizer, but never changes anything on the surface so will probably add some kind of warning in the documentation. TLDR; adds the possibility of initialize a `PreTrainedToken...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25053/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/25053/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25053", "html_url": "https://github.com/huggingface/transformers/pull/25053", "diff_url": "https://github.com/huggingface/transformers/pull/25053.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25053.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25052
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25052/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25052/comments
https://api.github.com/repos/huggingface/transformers/issues/25052/events
https://github.com/huggingface/transformers/pull/25052
1,818,677,318
PR_kwDOCUB6oc5WPtTe
25,052
MaskFormer - enable return_dict in order to compile
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "cc @merveenoyan who highlighted the compiling issue ๐Ÿ™ ", "@sgugger Yep! I'll update that", "@sgugger Most of the custom tests aren't easy to remove, unfortunately. As MaskFormer combines hidden states from different modules -- e...
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? Is was previously not possible to use `torch.compile` on Maskformer as some modules always returned a dataclass, instead of a tuple. This PR adds a `return_dict` argument to these modules, which defaults to `True` to maintain the previous behaviour. Tested with: ```python import req...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25052/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/25052/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25052", "html_url": "https://github.com/huggingface/transformers/pull/25052", "diff_url": "https://github.com/huggingface/transformers/pull/25052.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25052.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25051
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25051/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25051/comments
https://api.github.com/repos/huggingface/transformers/issues/25051/events
https://github.com/huggingface/transformers/pull/25051
1,818,587,090
PR_kwDOCUB6oc5WPZpA
25,051
Add ViTMatte
{ "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
[]
[ "@sgugger apart from the toctree issue which I'm still investigating, all comments are addressed.\r\n\r\n", "Before I start reviewing - could you separate out the addition of VitDet and VitMatte? They should have their own respective PRs. " ]
1,690
1,693
1,693
CONTRIBUTOR
null
# What does this PR do? This PR adds the ViTMatte model, an elegant approach to image matting, entirely relying on the Vision Transformer backbone doing the heavy work, with a lightweight head on top. Here's a Colab notebook showcasing inference: https://colab.research.google.com/drive/1pWTn3Iur-NR2xUIyDE31dBgng_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25051/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/25051/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25051", "html_url": "https://github.com/huggingface/transformers/pull/25051", "diff_url": "https://github.com/huggingface/transformers/pull/25051.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25051.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25050
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25050/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25050/comments
https://api.github.com/repos/huggingface/transformers/issues/25050/events
https://github.com/huggingface/transformers/issues/25050
1,818,571,193
I_kwDOCUB6oc5sZTG5
25,050
Trainer does not properly read "label" column.
{ "login": "notrichardren", "id": 34405553, "node_id": "MDQ6VXNlcjM0NDA1NTUz", "avatar_url": "https://avatars.githubusercontent.com/u/34405553?v=4", "gravatar_id": "", "url": "https://api.github.com/users/notrichardren", "html_url": "https://github.com/notrichardren", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "You are using a model which does not accept `labels` in its forward pass: `AutoModel` gives you the base model, it is only suitable to extract the last hidden state generated by the model, not for training.", "By default, am I supposed to pass a model to Trainer that is able to accept \"labels\" in its forward p...
1,690
1,692
1,692
NONE
null
### System Info When I have a HuggingFace dataset with 'input_ids', 'attention_mask', and 'labels', the current HuggingFace Trainer does not properly read 'labels' and separate the labels from the inputs in the forward pass. I also tried a 'label' (as opposed to 'labels') column and it does not work with this eit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25050/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/25050/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25049
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25049/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25049/comments
https://api.github.com/repos/huggingface/transformers/issues/25049/events
https://github.com/huggingface/transformers/pull/25049
1,818,525,506
PR_kwDOCUB6oc5WPMQz
25,049
Better error message when signal is not supported on OS
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? This PR adds a `try`/`except` block around the logic asking the user whether they want to execute the code on a distant repo when they don't set `trust_remote_code=True` to give a helpful error message. Fixes #25029
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25049/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/25049/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25049", "html_url": "https://github.com/huggingface/transformers/pull/25049", "diff_url": "https://github.com/huggingface/transformers/pull/25049.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25049.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25048
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25048/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25048/comments
https://api.github.com/repos/huggingface/transformers/issues/25048/events
https://github.com/huggingface/transformers/pull/25048
1,818,524,881
PR_kwDOCUB6oc5WPMH4
25,048
[DOCS] add docstrings to TypicalLogitsWarper
{ "login": "akshayamadhuri", "id": 76612327, "node_id": "MDQ6VXNlcjc2NjEyMzI3", "avatar_url": "https://avatars.githubusercontent.com/u/76612327?v=4", "gravatar_id": "", "url": "https://api.github.com/users/akshayamadhuri", "html_url": "https://github.com/akshayamadhuri", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "@akshayamadhuri you probably need to run `make fixup` on your terminal and then commit the changes to make our CI happy :D " ]
1,690
1,690
1,690
NONE
null
# What does this PR do? Added some doc string to TypicalLogitsWarper with some examples as well. @gante let me know if there's anything else should be add or remove from the docs. Fixes #24783 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25048/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/25048/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25048", "html_url": "https://github.com/huggingface/transformers/pull/25048", "diff_url": "https://github.com/huggingface/transformers/pull/25048.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25048.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25047
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25047/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25047/comments
https://api.github.com/repos/huggingface/transformers/issues/25047/events
https://github.com/huggingface/transformers/pull/25047
1,818,510,641
PR_kwDOCUB6oc5WPJAP
25,047
[`8bit`] Fix 8bit corner case with Blip2 8bit
{ "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._", "Tests are green, merging!" ]
1,690
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? Fixes https://github.com/huggingface/transformers/issues/25011 Fixes https://github.com/huggingface/transformers/issues/25026 https://github.com/huggingface/transformers/pull/24095/ introduced a new check for retrieving the list of modules that are not needed to be quantized (e.g. LM head...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25047/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/25047/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25047", "html_url": "https://github.com/huggingface/transformers/pull/25047", "diff_url": "https://github.com/huggingface/transformers/pull/25047.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25047.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25046
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25046/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25046/comments
https://api.github.com/repos/huggingface/transformers/issues/25046/events
https://github.com/huggingface/transformers/pull/25046
1,818,509,786
PR_kwDOCUB6oc5WPI0G
25,046
[DOCS] add example NoBadWordsLogitsProcessor
{ "login": "SoyGema", "id": 24204714, "node_id": "MDQ6VXNlcjI0MjA0NzE0", "avatar_url": "https://avatars.githubusercontent.com/u/24204714?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SoyGema", "html_url": "https://github.com/SoyGema", "followers_url": "https://api.github.com/users/SoyGem...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "(@SoyGema did a minor edit on the PR header: the word \"fixes\" before an issue number on a PR automatically closes the issue when the PR is merged)" ]
1,690
1,690
1,690
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/25046/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/25046/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25046", "html_url": "https://github.com/huggingface/transformers/pull/25046", "diff_url": "https://github.com/huggingface/transformers/pull/25046.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25046.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25045
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25045/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25045/comments
https://api.github.com/repos/huggingface/transformers/issues/25045/events
https://github.com/huggingface/transformers/pull/25045
1,818,491,358
PR_kwDOCUB6oc5WPEx-
25,045
Fix some bugs for two stage training of deformable detr
{ "login": "jypjypjypjyp", "id": 34328687, "node_id": "MDQ6VXNlcjM0MzI4Njg3", "avatar_url": "https://avatars.githubusercontent.com/u/34328687?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jypjypjypjyp", "html_url": "https://github.com/jypjypjypjyp", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "@jypjypjypjyp Thanks for opening this PR! Could you: share a minimal code snippet in the PR which triggers the errors on main and which this PR resolves? ", "> @jypjypjypjyp Thanks for opening this PR! Could you: share a minimal code snippet in the PR which triggers the errors on main and which this PR resolves?...
1,690
1,690
1,690
CONTRIBUTOR
null
Hello @amyeroberts: There are some issues encountered when training with the two-stage method using Deformable DETR, for which I have made modifications.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25045/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/25045/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25045", "html_url": "https://github.com/huggingface/transformers/pull/25045", "diff_url": "https://github.com/huggingface/transformers/pull/25045.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25045.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25044
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25044/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25044/comments
https://api.github.com/repos/huggingface/transformers/issues/25044/events
https://github.com/huggingface/transformers/pull/25044
1,818,470,611
PR_kwDOCUB6oc5WPAM3
25,044
compute_loss in trainer failing to label shift for PEFT model when label smoothing enabled.
{ "login": "njbrake", "id": 33383515, "node_id": "MDQ6VXNlcjMzMzgzNTE1", "avatar_url": "https://avatars.githubusercontent.com/u/33383515?v=4", "gravatar_id": "", "url": "https://api.github.com/users/njbrake", "html_url": "https://github.com/njbrake", "followers_url": "https://api.github.com/users/njbrak...
[]
closed
false
null
[]
[ "No we cannot add this like that, as this is not a model that lives in Transformers.\r\ncc @younesbelkada ", "@njbrake thanks for the PR, can you elaborate more on the label shifting issue? \r\nhttps://github.com/huggingface/transformers/blob/main/src/transformers/models/llama/modeling_llama.py#L832 should be aut...
1,690
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? When training LlamaForCausalLM with PEFT enabled, I noticed that the compute_loss function of the trainer with label_smoothing enabled was not shifting the labels. Further investigation found that `unwrap_model(model)._get_name()` returned "PeftModelForCausalLM", and the `MODEL_FOR_CAUSAL_LM_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25044/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/25044/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25044", "html_url": "https://github.com/huggingface/transformers/pull/25044", "diff_url": "https://github.com/huggingface/transformers/pull/25044.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25044.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25043
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25043/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25043/comments
https://api.github.com/repos/huggingface/transformers/issues/25043/events
https://github.com/huggingface/transformers/issues/25043
1,818,464,047
I_kwDOCUB6oc5sY48v
25,043
Can't Reproduce GLUE scores using official BERT implementation
{ "login": "BiEchi", "id": 60613238, "node_id": "MDQ6VXNlcjYwNjEzMjM4", "avatar_url": "https://avatars.githubusercontent.com/u/60613238?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BiEchi", "html_url": "https://github.com/BiEchi", "followers_url": "https://api.github.com/users/BiEchi/fo...
[]
closed
false
null
[]
[ "The results you will get are very sensitive to the seed used.", "Hi @sgugger , so it means that as long as I get the same results as on the huggingface README, my model is nearly identical to the paper, right?\r\nAlso a follow-up: in our paper we shall also include this score. Do you remember anyone ever reprodu...
1,690
1,692
1,692
NONE
null
### System Info - `transformers` version: 4.32.0.dev0 - Platform: Linux-5.15.0-1036-aws-x86_64-with-glibc2.31 - Python version: 3.9.16 - 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) - Ten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25043/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/25043/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25042
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25042/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25042/comments
https://api.github.com/repos/huggingface/transformers/issues/25042/events
https://github.com/huggingface/transformers/pull/25042
1,818,454,965
PR_kwDOCUB6oc5WO8x4
25,042
Generate - add beam indices output in contrained beam search
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
MEMBER
null
# What does this PR do? Fixes #25000 This PR adds the `beam_indices` output to constrained beam search, just like in the other beam methods. The changes are (mostly) copy-paste from beam search, and they pipe `beam_indices` all the way to the output. Script for reproducibility (didn't work before, works after ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25042/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/25042/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25042", "html_url": "https://github.com/huggingface/transformers/pull/25042", "diff_url": "https://github.com/huggingface/transformers/pull/25042.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25042.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25041
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25041/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25041/comments
https://api.github.com/repos/huggingface/transformers/issues/25041/events
https://github.com/huggingface/transformers/issues/25041
1,818,432,449
I_kwDOCUB6oc5sYxPB
25,041
LlamaTokenizerFast report vocab_size info not correct
{ "login": "apachemycat", "id": 8221103, "node_id": "MDQ6VXNlcjgyMjExMDM=", "avatar_url": "https://avatars.githubusercontent.com/u/8221103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/apachemycat", "html_url": "https://github.com/apachemycat", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "cc @ArthurZucker ", "Hey! Sorry, the formatting of the issue is a bit strange I do not understand the problem. \r\nCould you try to reformulate the issue with a minimal reproducing script using a model path? ", "OK , base_model=/models/WizardLM-13B-V1.0-Merged \r\n\r\n model = AutoModelForCausalLM.from_pre...
1,690
1,693
1,693
NONE
null
### System Info Linux ### 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) ### Reproduction model = ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25041/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/25041/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25040
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25040/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25040/comments
https://api.github.com/repos/huggingface/transformers/issues/25040/events
https://github.com/huggingface/transformers/issues/25040
1,818,411,189
I_kwDOCUB6oc5sYsC1
25,040
Add ViTMatte model
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" }, { "id": 5769473378, "node_id": "LA_kwDOCUB6oc8AAAABV-Mt...
open
false
null
[]
[]
1,690
1,690
null
COLLABORATOR
null
### Model description ViTMatte is a recently released model for alpha matting on images i.e. background removal. The model accepts an input image and trimap (manually labelled grayscale image outlining the rough border of the foreground object) and predicts the alpha mate for each pixel. It introduces a series...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25040/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/25040/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/25039
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25039/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25039/comments
https://api.github.com/repos/huggingface/transformers/issues/25039/events
https://github.com/huggingface/transformers/pull/25039
1,818,410,776
PR_kwDOCUB6oc5WOzEC
25,039
Add test when downloading from gated repo
{ "login": "Wauplin", "id": 11801849, "node_id": "MDQ6VXNlcjExODAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Wauplin", "html_url": "https://github.com/Wauplin", "followers_url": "https://api.github.com/users/Waupli...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger The fix is merged and deployed server-side so the test can now be added in `transformers` :)" ]
1,690
1,690
1,690
CONTRIBUTOR
null
Following PR after https://github.com/huggingface/transformers/pull/25034. Goal is to add a test to check that accessing a gated repo raises a custom message for the user. Cannot be merged yet as the server returns "RepoNotFound" when user is not authenticated, even when it's a public gated repo. Once server implement...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25039/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/25039/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25039", "html_url": "https://github.com/huggingface/transformers/pull/25039", "diff_url": "https://github.com/huggingface/transformers/pull/25039.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25039.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25038
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25038/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25038/comments
https://api.github.com/repos/huggingface/transformers/issues/25038/events
https://github.com/huggingface/transformers/pull/25038
1,818,382,088
PR_kwDOCUB6oc5WOsy-
25,038
Add dispatch_batches to training arguments
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25038). All of your documentation changes will be reflected on that endpoint." ]
1,690
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? This PR adds the option to set `Accelerator`'s `dispatch_batches` argument through the `TrainingArguments`. This is needed in cases such as https://github.com/huggingface/transformers/issues/24999, when `dispatch_batches=False` is needed on the streaming dataset Fixes # (issue) Solves h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25038/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/25038/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25038", "html_url": "https://github.com/huggingface/transformers/pull/25038", "diff_url": "https://github.com/huggingface/transformers/pull/25038.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25038.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25037
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25037/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25037/comments
https://api.github.com/repos/huggingface/transformers/issues/25037/events
https://github.com/huggingface/transformers/pull/25037
1,818,374,544
PR_kwDOCUB6oc5WOrKn
25,037
Add offload support to Bark
{ "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._", "Why not leverage Accelerate here as is done in Diffusers pipeline? (cc @patrickvonplaten )", "Hi @sgugger, thank you for taking part! \r\nDiffusers pipeline is using [`accelerate's cpu_offload`](https://github.com/huggingface/accel...
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? Bark is a TTS model recently added by #24086. It is made of is of 4 main sub-models, which are sequentially called during generation (`BarkModel.generate`). When a sub-model is used, the other models remain unused, taking up a lot of space on the GPU. This PR thus propose a simple, yet...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25037/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/25037/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25037", "html_url": "https://github.com/huggingface/transformers/pull/25037", "diff_url": "https://github.com/huggingface/transformers/pull/25037.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25037.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25036
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25036/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25036/comments
https://api.github.com/repos/huggingface/transformers/issues/25036/events
https://github.com/huggingface/transformers/issues/25036
1,818,214,248
I_kwDOCUB6oc5sX79o
25,036
[BUG] RecursionError: maximum recursion depth exceeded when loading LLaMA-1 but success loading LLaMA-2
{ "login": "SingL3", "id": 20473466, "node_id": "MDQ6VXNlcjIwNDczNDY2", "avatar_url": "https://avatars.githubusercontent.com/u/20473466?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SingL3", "html_url": "https://github.com/SingL3", "followers_url": "https://api.github.com/users/SingL3/fo...
[]
closed
false
null
[]
[ "I set a small recursion limit to 50 and I now got this trace back for loading LLaMA-1:\r\n```\r\n File \"/mnt/home//Open-Assistant/model/model_training/trainer_sft.py\", line 481, in <module>\r\n main()\r\n File \"/mnt/home//Open-Assistant/model/model_training/trainer_sft.py\", line 333, in main\r\n tokeni...
1,690
1,699
1,695
NONE
null
### System Info - `transformers` version: 4.31.0 - Platform: Linux-4.18.0-425.3.1.el8.x86_64-x86_64-with-glibc2.31 - Python version: 3.10.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/25036/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/25036/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25035
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25035/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25035/comments
https://api.github.com/repos/huggingface/transformers/issues/25035/events
https://github.com/huggingface/transformers/pull/25035
1,818,130,231
PR_kwDOCUB6oc5WN1gh
25,035
fix(integrations): store serialized `TrainingArgs` to `wandb.config` without sanitization.
{ "login": "parambharat", "id": 12809212, "node_id": "MDQ6VXNlcjEyODA5MjEy", "avatar_url": "https://avatars.githubusercontent.com/u/12809212?v=4", "gravatar_id": "", "url": "https://api.github.com/users/parambharat", "html_url": "https://github.com/parambharat", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,704
1,690
CONTRIBUTOR
null
Allows resuming training runs when reusing the wandb config. # What does this PR do? Currently the `WandbLogger` uses the `to_sanitized_dict()` method in `TrainingArguments` to serialize the training hyperparameters. This converts nested objects and `NoneType` objects to `str` for safe serialization. However, u...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25035/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/25035/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25035", "html_url": "https://github.com/huggingface/transformers/pull/25035", "diff_url": "https://github.com/huggingface/transformers/pull/25035.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25035.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25034
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25034/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25034/comments
https://api.github.com/repos/huggingface/transformers/issues/25034/events
https://github.com/huggingface/transformers/pull/25034
1,818,084,947
PR_kwDOCUB6oc5WNreU
25,034
Support GatedRepoError + use raise from
{ "login": "Wauplin", "id": 11801849, "node_id": "MDQ6VXNlcjExODAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Wauplin", "html_url": "https://github.com/Wauplin", "followers_url": "https://api.github.com/users/Waupli...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger thanks for the review :)\r\nI made the requested change and updated another error message as well to use `token` instead of `use_auth_token` (the error message for generic `RepoNotFoundError`)" ]
1,690
1,690
1,690
CONTRIBUTOR
null
(PR started after comment from @osanseviero [on slack](https://huggingface.slack.com/archives/C03V11RNS7P/p1690185858721759?thread_ts=1689956871.406059&cid=C03V11RNS7P) -private link) This PR adds 2 things: - raise a more custom error in case of `GatedRepoError` when downloading a file. `GatedRepoError` is a subcla...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25034/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/25034/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25034", "html_url": "https://github.com/huggingface/transformers/pull/25034", "diff_url": "https://github.com/huggingface/transformers/pull/25034.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25034.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25033
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25033/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25033/comments
https://api.github.com/repos/huggingface/transformers/issues/25033/events
https://github.com/huggingface/transformers/pull/25033
1,818,042,103
PR_kwDOCUB6oc5WNiF7
25,033
[`logging.py`] set default `stderr` path if `None`
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Monkey patching globals like `sys.stdout` and `sys.stderr` is more of an emergency hack than a fix that libraries should be using. The proper way to handle Python windowed mode is to guard any direct usage of `sys.stderr` in `if sys....
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? Attempt to fix #24047 Thanks to contributors, seems like the issue [is known](https://github.com/pyinstaller/pyinstaller/issues/7334#issuecomment-1357447176). Though it is not entirely related to `transformers`, adding a safeguard seems like a good practice
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25033/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/25033/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25033", "html_url": "https://github.com/huggingface/transformers/pull/25033", "diff_url": "https://github.com/huggingface/transformers/pull/25033.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25033.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25032
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25032/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25032/comments
https://api.github.com/repos/huggingface/transformers/issues/25032/events
https://github.com/huggingface/transformers/issues/25032
1,818,019,097
I_kwDOCUB6oc5sXMUZ
25,032
Allow resuming of logging to WANDB with the Trainer
{ "login": "BramVanroy", "id": 2779410, "node_id": "MDQ6VXNlcjI3Nzk0MTA=", "avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BramVanroy", "html_url": "https://github.com/BramVanroy", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "cc @parambharat who has done a lot of work on the Wandb integration", "Hi @BramVanroy , Thanks for bringing this up. If I understood the issue correctly, you want to resume a wandb run while resuming training. There are two solutions I can think of that don't require changing `TrainingArguments`. Can you try the...
1,690
1,692
1,692
COLLABORATOR
null
### Feature request As far as I can tell, it is currently not possible to resume a training run and continue logging to the same run on WANDB when using the Trainer. The reason is that WANDB would [require](https://github.com/wandb/wandb/blob/a32638cb1c6ab775e9ed431d9a9b4b8a30685453/wandb/sdk/wandb_init.py#L1036-L10...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25032/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/25032/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25031
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25031/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25031/comments
https://api.github.com/repos/huggingface/transformers/issues/25031/events
https://github.com/huggingface/transformers/pull/25031
1,818,014,116
PR_kwDOCUB6oc5WNb-Z
25,031
Fix doctest
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? Fix a doctest (that is recently added): precision issue
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25031/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/25031/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25031", "html_url": "https://github.com/huggingface/transformers/pull/25031", "diff_url": "https://github.com/huggingface/transformers/pull/25031.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25031.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25030
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25030/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25030/comments
https://api.github.com/repos/huggingface/transformers/issues/25030/events
https://github.com/huggingface/transformers/pull/25030
1,817,994,455
PR_kwDOCUB6oc5WNXvT
25,030
[`generate`] Only warn users if the `generation_config`'s `max_length` is set to the default value
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger as discussed on Slack with @ArthurZucker: `max_new_tokens` can't be used to set a default `generation_config` that works well out of the box -- `max_length` does. As such, let's adapt the warning to enable us (and the users)...
1,690
1,690
1,690
COLLABORATOR
null
# What does this PR do? Updates the condition for raising a warning in generate to warn users if the `generation_config`'s `max_length` is set to the default value.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25030/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/25030/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25030", "html_url": "https://github.com/huggingface/transformers/pull/25030", "diff_url": "https://github.com/huggingface/transformers/pull/25030.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25030.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25029
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25029/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25029/comments
https://api.github.com/repos/huggingface/transformers/issues/25029/events
https://github.com/huggingface/transformers/issues/25029
1,817,828,264
I_kwDOCUB6oc5sWduo
25,029
Bug in autotokenizer some open source models such as falcon.
{ "login": "Alkahwaji", "id": 23569519, "node_id": "MDQ6VXNlcjIzNTY5NTE5", "avatar_url": "https://avatars.githubusercontent.com/u/23569519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Alkahwaji", "html_url": "https://github.com/Alkahwaji", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hey! Could you provide a full trace to know where the error come from?\r\nI cannot reproduce the error with the script you provided. Make sure you are using the latest version of transformers too! ", "Thanks. \r\n\r\n![image](https://github.com/huggingface/transformers/assets/23569519/4921397e-8ae2-4cfe-925e-841...
1,690
1,690
1,690
NONE
null
### System Info I want to get the sentence difference and use autotokenizer a falcon model 40B and 7B but usually, I receive an attribute error bug: model 'signal' has no attribute 'SIGALRM'. ![image](https://github.com/huggingface/transformers/assets/23569519/75d671dd-8b57-4447-acf2-5c093b79eddd) @younesbel...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25029/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/25029/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25028
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25028/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25028/comments
https://api.github.com/repos/huggingface/transformers/issues/25028/events
https://github.com/huggingface/transformers/issues/25028
1,817,672,611
I_kwDOCUB6oc5sV3uj
25,028
[docs] duplicate table of contents in perf_infer_gpu_one.mdx
{ "login": "eenzeenee", "id": 71638597, "node_id": "MDQ6VXNlcjcxNjM4NTk3", "avatar_url": "https://avatars.githubusercontent.com/u/71638597?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eenzeenee", "html_url": "https://github.com/eenzeenee", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "I can't see this on the main branch, maybe this was fixed by the recent refactor of this guide?", "Good catch! I don't think this [doc](https://huggingface.co/docs/transformers/main/en/perf_infer_gpu_one) was refactored in the recent PR (it was just moved), and I'm getting the same error on the `main` branch.\r\...
1,690
1,690
1,690
CONTRIBUTOR
null
## Description There are duplicate titles [**Requirements**] in `perf_infer_gpu_one.md` from line 51 and 117 causing an error occurs when moving the table of contents. ## Document / Language `perf_infer_gpu_one.md` / en ## Suggestion line 51 As is : ```### Requirements``` To be : ```### Requirement...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25028/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/25028/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25027
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25027/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25027/comments
https://api.github.com/repos/huggingface/transformers/issues/25027/events
https://github.com/huggingface/transformers/issues/25027
1,817,488,181
I_kwDOCUB6oc5sVKs1
25,027
LIama-2 7B fine-tuning with DeepSpeed OOM error during loading the best model at end when `load_best_model_at_end` specified as True.
{ "login": "Neo9061", "id": 8206465, "node_id": "MDQ6VXNlcjgyMDY0NjU=", "avatar_url": "https://avatars.githubusercontent.com/u/8206465?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Neo9061", "html_url": "https://github.com/Neo9061", "followers_url": "https://api.github.com/users/Neo9061/...
[]
closed
false
null
[]
[ "Hello, I'm able to run the following minimal example with any issues:\r\n\r\n```\r\nexport WANDB_DISABLED=\"true\"\r\nexport CUDA_VISIBLE_DEVICES=\"0,1\"\r\ncd transformers\r\ndeepspeed --num_nodes 1 --num_gpus 2 --master_port 10999 /home/sourab/transformers/examples/pytorch/language-modeling/run_clm.py --mode...
1,690
1,690
1,690
NONE
null
### System Info Hi Community! I am using `run_clm.py` with `deepspeed` to fine-tune LIama 7B on `g5.12xlarge` EC2 instance (4 GPU, Total GPU memory 96 GB, vCPUs 48 with 192 GB). * Transformer version: 4.28.1 * DeepSpeed version: 0.10.0 (lastest) * Instance: `g5.12xlarge` EC2 instance (4 GPU, Total GPU memor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25027/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/25027/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25026
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25026/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25026/comments
https://api.github.com/repos/huggingface/transformers/issues/25026/events
https://github.com/huggingface/transformers/issues/25026
1,817,213,569
I_kwDOCUB6oc5sUHqB
25,026
load_in_8bit=True broken with new transformers
{ "login": "pseudotensor", "id": 2249614, "node_id": "MDQ6VXNlcjIyNDk2MTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2249614?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pseudotensor", "html_url": "https://github.com/pseudotensor", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "cc @younesbelkada ", "Hi @pseudotensor \r\nThanks for the issue and the clean reproducer, I can confirm the issue persists on the current main brach of transformers and does not occur with #25047 - once that PR merged your issue will be fixed\r\n\r\nAlso, there is no need to specify `load_in_8bit=True` and `devi...
1,690
1,690
1,690
NONE
null
### System Info - `transformers` version: 4.31.0 - Platform: Linux-5.4.0-150-generic-x86_64-with-glibc2.31 - Python version: 3.10.12 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - Accelerate version: 0.20.3 - Accelerate config: - compute_environment: LOCAL_MACHINE - distributed_ty...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25026/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/25026/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25025
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25025/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25025/comments
https://api.github.com/repos/huggingface/transformers/issues/25025/events
https://github.com/huggingface/transformers/issues/25025
1,817,191,483
I_kwDOCUB6oc5sUCQ7
25,025
KeyError: 'eval_loss' when doing LukeForMaskedLM
{ "login": "higopires", "id": 66256549, "node_id": "MDQ6VXNlcjY2MjU2NTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/66256549?v=4", "gravatar_id": "", "url": "https://api.github.com/users/higopires", "html_url": "https://github.com/higopires", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "This example might need adjustments to be used on Luke, as the model has an API that is slightly different from BERT.", "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 issue...
1,690
1,693
1,693
NONE
null
### System Info - `transformers` version: 4.30.2 - Platform: Linux-5.14.21-150400.24.55-default-x86_64-with-glibc2.31 - Python version: 3.10.10 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 1.13.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax ve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25025/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/25025/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25024
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25024/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25024/comments
https://api.github.com/repos/huggingface/transformers/issues/25024/events
https://github.com/huggingface/transformers/issues/25024
1,817,158,547
I_kwDOCUB6oc5sT6OT
25,024
Weights of BlipModel are not initialized from the model checkpoint
{ "login": "Vibhu04", "id": 29009031, "node_id": "MDQ6VXNlcjI5MDA5MDMx", "avatar_url": "https://avatars.githubusercontent.com/u/29009031?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Vibhu04", "html_url": "https://github.com/Vibhu04", "followers_url": "https://api.github.com/users/Vibhu0...
[]
closed
false
null
[]
[ "Also cc @ydshieh who was just discussing this internally :-)", "Hi @Vibhu04 \r\nThanks for the issue, \r\nindeed there is a problem with `BlipModel` classes. Note that BlipModel would stand for the \"pre-trained\" versions of Blip to extract raw logits / hidden states from text and vision input. That class has b...
1,690
1,690
1,690
NONE
null
### System Info - `transformers` version: 4.31.0.dev0 - Platform: Linux-5.15.0-76-generic-x86_64-with-debian-bullseye-sid - Python version: 3.7.15 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 1.13.1+cu117 (True) - Tensorflow version (GPU?): 2.11.0 (False) - Flax ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25024/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/25024/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25023
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25023/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25023/comments
https://api.github.com/repos/huggingface/transformers/issues/25023/events
https://github.com/huggingface/transformers/pull/25023
1,817,055,299
PR_kwDOCUB6oc5WKUd6
25,023
๐ŸŒ [i18n-KO] Translated `tokenizer_summary.md` to Korean
{ "login": "HanNayeoniee", "id": 33839093, "node_id": "MDQ6VXNlcjMzODM5MDkz", "avatar_url": "https://avatars.githubusercontent.com/u/33839093?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HanNayeoniee", "html_url": "https://github.com/HanNayeoniee", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25023). All of your documentation changes will be reflected on that endpoint.", "๋ฆฌ๋ทฐ๋ฅผ ๋‚จ๊ธฐ๊ณ  submit์„ ์•ˆ ํ–ˆ์—ˆ๋„ค์š” .. ใ… ", "> ๋ฆฌ๋ทฐ๋ฅผ ๋‚จ๊ธฐ๊ณ  submit์„ ์•ˆ ํ–ˆ์—ˆ๋„ค์š” .. ใ… \r\n\r\nใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ ๋‹คํ–‰ํžˆ ์ง€๊ธˆ ๋ฒˆ์—ญ ์ˆ˜์ •์ค‘์ด๋ผ์„œ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค!", "> ๋‚˜์—ฐ๋‹˜ ํ•ญ์ƒ ์•Œ๊ธฐ ์‰ฌ์šด ๋ง๋กœ ๋ฒˆ์—ญํ•ด์ฃผ์…”์„œ ์ข‹์•„์š”! ๊ฒŒ๋‹ค๊ฐ€ ์ด...
1,690
1,695
1,695
CONTRIBUTOR
null
<!-- PR์˜ ์ œ๋ชฉ์€ "๐ŸŒ [i18n-KO] Translated `<your_file>.md` to Korean" ์œผ๋กœ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค --> # What does this PR do? Translated the `<tokenizer_summary>.md` file of the documentation to Korean. Thank you in advance for your review. Part of https://github.com/huggingface/transformers/issues/20179 <!-- ๋ฉ”์ธ ์ด์Šˆ์— ๊ธฐ๋ก์ด ๋‚จ์•„์š”! ๊ฐ€์งœ์—ฐ๊ตฌ์†Œ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25023/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/25023/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/25023", "html_url": "https://github.com/huggingface/transformers/pull/25023", "diff_url": "https://github.com/huggingface/transformers/pull/25023.diff", "patch_url": "https://github.com/huggingface/transformers/pull/25023.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/25022
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25022/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25022/comments
https://api.github.com/repos/huggingface/transformers/issues/25022/events
https://github.com/huggingface/transformers/issues/25022
1,817,054,171
I_kwDOCUB6oc5sTgvb
25,022
Incorrect padding_side Setting as 'left' in Llama Family Model
{ "login": "voidful", "id": 10904842, "node_id": "MDQ6VXNlcjEwOTA0ODQy", "avatar_url": "https://avatars.githubusercontent.com/u/10904842?v=4", "gravatar_id": "", "url": "https://api.github.com/users/voidful", "html_url": "https://github.com/voidful", "followers_url": "https://api.github.com/users/voidfu...
[]
closed
false
null
[]
[ "Hey! Indeed, as it was written in the documentation a padding token is required. Seems that by default the padding side is set to `left`. We cannot update the `tokenization` file (for backward compatibility reasons) but we can update the tokenizers online to make sure they use `padding_side = right` by default. ",...
1,690
1,695
1,690
CONTRIBUTOR
null
### System Info - `transformers` version: 4.30.2 - Platform: Linux-5.15.0-1041-azure-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.16.2 - Safetensors version: 0.3.1 ### Who can help? text models: @ArthurZucker and @younesbelkada generate: @gante ### Information - [ ] The official ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25022/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/25022/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/25021
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/25021/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/25021/comments
https://api.github.com/repos/huggingface/transformers/issues/25021/events
https://github.com/huggingface/transformers/issues/25021
1,817,030,907
I_kwDOCUB6oc5sTbD7
25,021
fp16 DDP training in 4.31.0
{ "login": "getao", "id": 12735658, "node_id": "MDQ6VXNlcjEyNzM1NjU4", "avatar_url": "https://avatars.githubusercontent.com/u/12735658?v=4", "gravatar_id": "", "url": "https://api.github.com/users/getao", "html_url": "https://github.com/getao", "followers_url": "https://api.github.com/users/getao/follow...
[]
closed
false
null
[]
[ "Similar problem here. When using fp16 to train Llama2 with LoRA, always nan. Bf16 works well, but official Llama2 uses fp16.", "Oh, I understand! It doesn't use the cuda.amp but uses accelerator to automatically handle the loss scale, right?\r\n\r\nAnd the reason why fp16's gradient is large is that they're scal...
1,690
1,693
1,693
NONE
null
### System Info pytorch 1.13.1 transformers==4.31.0 ### Who can help? Hi @sgugger , I used the 4.31.0 to train a Llama model with LoRA. I observe some problems with --fp16 training and I'm not sure if it is a bug in Trainer.py: My model is like: ``` class MyModel(nn.Module): def __init__(self, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/25021/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/25021/timeline
completed
null
null