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/27950
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27950/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27950/comments
https://api.github.com/repos/huggingface/transformers/issues/27950/events
https://github.com/huggingface/transformers/pull/27950
2,035,788,688
PR_kwDOCUB6oc5hsDNQ
27,950
[`Awq`] Enable the possibility to skip quantization for some target modules
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27950). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "This PR enables compatiblity with Mixtral AWQ ! \r\nhttps://github.com/casper-hans...
1,702
1,703
1,703
CONTRIBUTOR
null
# What does this PR do? Adds the possibility to load AWQ models if some modules of the model are skipped for quantization. E.g. for whisper, Llava, Mixtral, we respectively don't want to quantize the encoder, vision encoder and the gate layer to ensure inference stability. Let's merge it once AWQ makes the 0.1...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27950/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27950/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27950", "html_url": "https://github.com/huggingface/transformers/pull/27950", "diff_url": "https://github.com/huggingface/transformers/pull/27950.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27950.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27949
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27949/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27949/comments
https://api.github.com/repos/huggingface/transformers/issues/27949/events
https://github.com/huggingface/transformers/pull/27949
2,035,770,836
PR_kwDOCUB6oc5hr_Sj
27,949
In PreTrainedTokenizerBase add missing word in error message
{ "login": "petergtz", "id": 3618401, "node_id": "MDQ6VXNlcjM2MTg0MDE=", "avatar_url": "https://avatars.githubusercontent.com/u/3618401?v=4", "gravatar_id": "", "url": "https://api.github.com/users/petergtz", "html_url": "https://github.com/petergtz", "followers_url": "https://api.github.com/users/peter...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27949). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,703
1,702
CONTRIBUTOR
null
# What does this PR do? This is a minor cosmetic change in the error message when invoking the tokenizer: "text input must of type" -> "text input must be of type" ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27949/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27949/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27949", "html_url": "https://github.com/huggingface/transformers/pull/27949", "diff_url": "https://github.com/huggingface/transformers/pull/27949.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27949.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27948
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27948/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27948/comments
https://api.github.com/repos/huggingface/transformers/issues/27948/events
https://github.com/huggingface/transformers/pull/27948
2,035,739,062
PR_kwDOCUB6oc5hr4Ou
27,948
Hot-fix-mixstral-loss
{ "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
[]
[ "Actually will compute on GPU!" ]
1,702
1,702
1,702
COLLABORATOR
null
# What does this PR do? Fixes ```python load_balancing_loss_func gate_logits = torch.cat(gate_logits, dim=0) RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:3 and cuda:7! (when checking argument for argument tensors in method wrapper_cat) gate_logits = t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27948/reactions", "total_count": 7, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 7, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27948/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27948", "html_url": "https://github.com/huggingface/transformers/pull/27948", "diff_url": "https://github.com/huggingface/transformers/pull/27948.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27948.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27947
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27947/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27947/comments
https://api.github.com/repos/huggingface/transformers/issues/27947/events
https://github.com/huggingface/transformers/pull/27947
2,035,719,098
PR_kwDOCUB6oc5hrzzR
27,947
Fix test for auto_find_batch_size on multi-GPU
{ "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
[]
[]
1,702
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? The new test added in https://github.com/huggingface/transformers/pull/27568 doesn't account for multi-GPU, when the `bs` is multiplied by `n_gpu` for the effective train batch size. This PR modifies the test slightly as a result to work on any number of GPUs (and CPU) Fixes # (issue) F...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27947/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27947/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27947", "html_url": "https://github.com/huggingface/transformers/pull/27947", "diff_url": "https://github.com/huggingface/transformers/pull/27947.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27947.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27946
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27946/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27946/comments
https://api.github.com/repos/huggingface/transformers/issues/27946/events
https://github.com/huggingface/transformers/pull/27946
2,035,678,553
PR_kwDOCUB6oc5hrq4b
27,946
Update import message
{ "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
[]
[]
1,702
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? Currently, if you do have Accelerate installed, but you don't have the `min_version` specified [here](https://github.com/huggingface/transformers/blob/56be5e80e6cd5264012eb9ea84bd589233a503d9/src/transformers/utils/import_utils.py#L671), you will get a message saying Accelerate is not install...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27946/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27946/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27946", "html_url": "https://github.com/huggingface/transformers/pull/27946", "diff_url": "https://github.com/huggingface/transformers/pull/27946.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27946.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27945
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27945/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27945/comments
https://api.github.com/repos/huggingface/transformers/issues/27945/events
https://github.com/huggingface/transformers/pull/27945
2,035,613,327
PR_kwDOCUB6oc5hrccI
27,945
Fix parameter count in readme for mixtral 45b
{ "login": "CyberTimon", "id": 78795905, "node_id": "MDQ6VXNlcjc4Nzk1OTA1", "avatar_url": "https://avatars.githubusercontent.com/u/78795905?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CyberTimon", "html_url": "https://github.com/CyberTimon", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27945). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,702
1,702
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/27945/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27945/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27945", "html_url": "https://github.com/huggingface/transformers/pull/27945", "diff_url": "https://github.com/huggingface/transformers/pull/27945.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27945.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27944
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27944/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27944/comments
https://api.github.com/repos/huggingface/transformers/issues/27944/events
https://github.com/huggingface/transformers/pull/27944
2,035,356,548
PR_kwDOCUB6oc5hqjWg
27,944
Update bounding box format everywhere
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27944). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? This PR fixes an issue pointed out by https://discuss.huggingface.co/t/owl-vit-postprocess-api-bbox-conversion/65309/2, namely we state that we postprocess to the COCO API, but effectively we're using the Pascal VOC format. A [very nice blog post](https://albumentations.ai/docs/getting_sta...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27944/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27944/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27944", "html_url": "https://github.com/huggingface/transformers/pull/27944", "diff_url": "https://github.com/huggingface/transformers/pull/27944.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27944.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27943
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27943/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27943/comments
https://api.github.com/repos/huggingface/transformers/issues/27943/events
https://github.com/huggingface/transformers/pull/27943
2,035,267,751
PR_kwDOCUB6oc5hqPz_
27,943
Fix PatchTSMixer Docstrings
{ "login": "vijaye12", "id": 25958261, "node_id": "MDQ6VXNlcjI1OTU4MjYx", "avatar_url": "https://avatars.githubusercontent.com/u/25958261?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vijaye12", "html_url": "https://github.com/vijaye12", "followers_url": "https://api.github.com/users/vij...
[]
closed
false
null
[]
[ "@kashif ", "thanks! @amyeroberts \r\n" ]
1,702
1,702
1,702
CONTRIBUTOR
null
Fix PatchTSMixer Docstring indentation issues.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27943/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27943/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27943", "html_url": "https://github.com/huggingface/transformers/pull/27943", "diff_url": "https://github.com/huggingface/transformers/pull/27943.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27943.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27942
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27942/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27942/comments
https://api.github.com/repos/huggingface/transformers/issues/27942/events
https://github.com/huggingface/transformers/pull/27942
2,035,251,962
PR_kwDOCUB6oc5hqMaD
27,942
[`Add Mixtral`] Adds support for the Mixtral MoE
{ "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
[]
[ "Are there any other aux losses apart from the LM loss?", "The auxiliary loss can be computed with `output_router_logits = True` automatically, other losses like `z_loss` can be imported from Switch transformers modeling code! Custom losses should be able to use the router_logits returned by the model" ]
1,702
1,702
1,702
COLLABORATOR
null
# What does this PR do? Adds the latest MoE model from mistral AI
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27942/reactions", "total_count": 62, "+1": 26, "-1": 0, "laugh": 0, "hooray": 18, "confused": 0, "heart": 18, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27942/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27942", "html_url": "https://github.com/huggingface/transformers/pull/27942", "diff_url": "https://github.com/huggingface/transformers/pull/27942.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27942.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27941
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27941/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27941/comments
https://api.github.com/repos/huggingface/transformers/issues/27941/events
https://github.com/huggingface/transformers/issues/27941
2,035,248,886
I_kwDOCUB6oc55T272
27,941
The "source" button in docs points to 404
{ "login": "R-N", "id": 1442761, "node_id": "MDQ6VXNlcjE0NDI3NjE=", "avatar_url": "https://avatars.githubusercontent.com/u/1442761?v=4", "gravatar_id": "", "url": "https://api.github.com/users/R-N", "html_url": "https://github.com/R-N", "followers_url": "https://api.github.com/users/R-N/followers", "f...
[]
closed
false
null
[]
[ "Hi @R-N, \r\n\r\nThanks for raising this issue! The link should now work as v4.36 has been released. ", "> Hi @R-N,\r\n> \r\n> Thanks for raising this issue! The link should now work as v4.36 has been released.\r\n\r\nConfirmed, it works now. Thank you" ]
1,702
1,702
1,702
NONE
null
### System Info Windows 11 64 bit 21h2 Google chrome latest ### Who can help? @stevhliu ### 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 (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27941/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27941/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27940
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27940/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27940/comments
https://api.github.com/repos/huggingface/transformers/issues/27940/events
https://github.com/huggingface/transformers/pull/27940
2,035,220,555
PR_kwDOCUB6oc5hqFdH
27,940
Fix SDPA dispatch & make SDPA CI compatible with torch<2.1.1
{ "login": "fxmarty", "id": 9808326, "node_id": "MDQ6VXNlcjk4MDgzMjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fxmarty", "html_url": "https://github.com/fxmarty", "followers_url": "https://api.github.com/users/fxmarty/...
[]
closed
false
null
[]
[]
1,702
1,702
1,702
COLLABORATOR
null
As per title. On torch==2.0.1, these do pass ``` RUN_SLOW=1 pytest tests/models/bart -s -vvvvv -k "torchscript" RUN_SLOW=1 pytest tests/models/llama -s -vvvvv -k "torchscript" RUN_SLOW=1 pytest tests/models/whisper -s -vvvvv -k "torchscript" RUN_SLOW=1 CUDA_VISIBLE_DEVICES=0 pytest tests/models/bert -s -vvvvv ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27940/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27940/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27940", "html_url": "https://github.com/huggingface/transformers/pull/27940", "diff_url": "https://github.com/huggingface/transformers/pull/27940.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27940.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27939
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27939/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27939/comments
https://api.github.com/repos/huggingface/transformers/issues/27939/events
https://github.com/huggingface/transformers/pull/27939
2,034,958,797
PR_kwDOCUB6oc5hpLtK
27,939
fix cpm-ant tokenizer name
{ "login": "jq460494839", "id": 4471203, "node_id": "MDQ6VXNlcjQ0NzEyMDM=", "avatar_url": "https://avatars.githubusercontent.com/u/4471203?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jq460494839", "html_url": "https://github.com/jq460494839", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[]
1,702
1,704
1,703
NONE
null
# What does this PR do? After comparison, I found that the names in the config file on HuggingFace and in the transformers library are inconsistent Fixes #27938 @ArthurZucker @zh-zheng
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27939/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27939/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27939", "html_url": "https://github.com/huggingface/transformers/pull/27939", "diff_url": "https://github.com/huggingface/transformers/pull/27939.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27939.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27938
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27938/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27938/comments
https://api.github.com/repos/huggingface/transformers/issues/27938/events
https://github.com/huggingface/transformers/issues/27938
2,034,954,335
I_kwDOCUB6oc55SvBf
27,938
ValueError: Tokenizer class CPMAntTokenizer does not exist or is not currently imported.
{ "login": "jq460494839", "id": 4471203, "node_id": "MDQ6VXNlcjQ0NzEyMDM=", "avatar_url": "https://avatars.githubusercontent.com/u/4471203?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jq460494839", "html_url": "https://github.com/jq460494839", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "```python\r\nfrom transformers import CpmAntTokenizer\r\n```\r\n\r\nis what you are looking for", "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 t...
1,702
1,704
1,704
NONE
null
### System Info transformers==4.35.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, ...) - [X] My own task or dataset (give details below) ### Reproduction...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27938/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27938/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27937
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27937/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27937/comments
https://api.github.com/repos/huggingface/transformers/issues/27937/events
https://github.com/huggingface/transformers/issues/27937
2,034,800,258
I_kwDOCUB6oc55SJaC
27,937
Whisper Large-v3 has problems with language detection
{ "login": "gau-nernst", "id": 26946864, "node_id": "MDQ6VXNlcjI2OTQ2ODY0", "avatar_url": "https://avatars.githubusercontent.com/u/26946864?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gau-nernst", "html_url": "https://github.com/gau-nernst", "followers_url": "https://api.github.com/use...
[]
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,702
1,707
1,707
CONTRIBUTOR
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-5.15.0-89-generic-x86_64-with-glibc2.35 - Python version: 3.10.13 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - Accelerate version: 0.22.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1 (True) - Tensorflow ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27937/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27937/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27936
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27936/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27936/comments
https://api.github.com/repos/huggingface/transformers/issues/27936/events
https://github.com/huggingface/transformers/issues/27936
2,034,584,228
I_kwDOCUB6oc55RUqk
27,936
Problems importing LlavaForConditionalGeneration
{ "login": "ppsmk388", "id": 60417397, "node_id": "MDQ6VXNlcjYwNDE3Mzk3", "avatar_url": "https://avatars.githubusercontent.com/u/60417397?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ppsmk388", "html_url": "https://github.com/ppsmk388", "followers_url": "https://api.github.com/users/pps...
[]
closed
false
null
[]
[ "Hey! 👋 llava is no part of the latest release! You need to install from source or wait until tomorrow! 🤗", "ok, thank you for your reply" ]
1,702
1,702
1,702
NONE
null
### System Info transformers version: 4.35.2 Platform: Linux-5.10.0-26-cloud-amd64-x86_64-with-glibc2.31 Python version: 3.9.2 Huggingface_hub version: 0.19.4 Safetensors version: 0.4.1 Accelerate version: 0.25.0 PyTorch version (GPU?): 2.1.1+cu121 (True) ### Who can help? _No response_ ### Information - [...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27936/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27936/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27935
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27935/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27935/comments
https://api.github.com/repos/huggingface/transformers/issues/27935/events
https://github.com/huggingface/transformers/pull/27935
2,034,508,529
PR_kwDOCUB6oc5hnrHn
27,935
Fix tensor-parallelism link
{ "login": "steilgedacht", "id": 89748204, "node_id": "MDQ6VXNlcjg5NzQ4MjA0", "avatar_url": "https://avatars.githubusercontent.com/u/89748204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/steilgedacht", "html_url": "https://github.com/steilgedacht", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Can you run `make style`? ", "running `make style` makes no changes, do you have any ideas on what to change?", "Make sure you have `ruff==0.1.5` 🤗 and that you rebased on main! ", "Okay, I have already `ruff=0.1.5` and rebased it, am I doing anything wrong here? 😅\r\n\r\n![image](https://github.com/huggin...
1,702
1,705
1,705
NONE
null
# What does this PR do? Replaces the old link in the llama configuration file to the new section on the website. Clean PR of #27840 ## 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? @stevhliu
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27935/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27935/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27935", "html_url": "https://github.com/huggingface/transformers/pull/27935", "diff_url": "https://github.com/huggingface/transformers/pull/27935.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27935.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27934
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27934/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27934/comments
https://api.github.com/repos/huggingface/transformers/issues/27934/events
https://github.com/huggingface/transformers/pull/27934
2,034,454,834
PR_kwDOCUB6oc5hngpN
27,934
[BEiT] Fix test
{ "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
[]
[]
1,702
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? This PR fixes the failing test_forward_signature test for `BeitBackbone`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27934/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27934/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27934", "html_url": "https://github.com/huggingface/transformers/pull/27934", "diff_url": "https://github.com/huggingface/transformers/pull/27934.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27934.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27933
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27933/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27933/comments
https://api.github.com/repos/huggingface/transformers/issues/27933/events
https://github.com/huggingface/transformers/issues/27933
2,034,416,293
I_kwDOCUB6oc55Qrql
27,933
Migrate to Pydantic v2
{ "login": "lmmx", "id": 2979452, "node_id": "MDQ6VXNlcjI5Nzk0NTI=", "avatar_url": "https://avatars.githubusercontent.com/u/2979452?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lmmx", "html_url": "https://github.com/lmmx", "followers_url": "https://api.github.com/users/lmmx/followers", ...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
closed
false
null
[]
[ "please migrate to pydantic v2 🤗", "Please do this!", "Hi @lmmx, thanks for raising this! \r\n\r\nWe can certainly think about having v2 with v1 fallback support. However, I suspect the previous difficulty being raised was that it's hard to manage fallbacks when there's an incompatibility with a third-party li...
1,702
1,706
1,706
NONE
null
### Feature request Pydantic v2 was released five months ago in June 2023. Transformers has pinned to v1 (#24596), which should only be used as a temporary solution. Leaving it this way means that the many new features of Pydantic 2 are missed, and leaves little hope for the library to keep pace as a roadmap t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27933/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/27933/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27932
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27932/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27932/comments
https://api.github.com/repos/huggingface/transformers/issues/27932/events
https://github.com/huggingface/transformers/pull/27932
2,034,339,234
PR_kwDOCUB6oc5hnJXa
27,932
Adds VIP-llava to transformers
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27932). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? VIP-llava is a new Llava variant. It seems the only difference between Llava and VIP-Llava is that VIP-llava uses a projector layernorm before passing the hidden states into the MM projector. It also concatenates many hidden states from the image encoder before passing it to the multi-modal p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27932/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27932/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27932", "html_url": "https://github.com/huggingface/transformers/pull/27932", "diff_url": "https://github.com/huggingface/transformers/pull/27932.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27932.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27931
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27931/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27931/comments
https://api.github.com/repos/huggingface/transformers/issues/27931/events
https://github.com/huggingface/transformers/pull/27931
2,034,296,431
PR_kwDOCUB6oc5hnAoy
27,931
[`Core generation`] Adds support for static KV cache
{ "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_27931). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "If I understand correctly, this PR should close the existing gap between inference...
1,702
1,707
1,707
COLLABORATOR
null
# ~4x speedups with cuda graphs! 🥳 Currently getting ~4x speedups compare to dynamic cache with torch.compile for a single forward pass (agnostic to batch but faster for smaller batch) Forward is very very very fast, but materializing the input costs a bit! ~10ms / forward is what we get to! - [x] Refact...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27931/reactions", "total_count": 21, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 12, "rocket": 9, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27931/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27931", "html_url": "https://github.com/huggingface/transformers/pull/27931", "diff_url": "https://github.com/huggingface/transformers/pull/27931.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27931.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27930
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27930/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27930/comments
https://api.github.com/repos/huggingface/transformers/issues/27930/events
https://github.com/huggingface/transformers/issues/27930
2,034,262,567
I_kwDOCUB6oc55QGIn
27,930
An error when creating test_dataloader in Time series transformer
{ "login": "kkckk1110", "id": 144304282, "node_id": "U_kgDOCJnomg", "avatar_url": "https://avatars.githubusercontent.com/u/144304282?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kkckk1110", "html_url": "https://github.com/kkckk1110", "followers_url": "https://api.github.com/users/kkckk1...
[]
closed
false
{ "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", ...
[ { "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/k...
[ "Hey! Could you make sure you provide a reproducer, isolating the bug? We can't really debug your code in your stead 🤗 ", "Thanks to your quick reply! Here are my detailed codes related to the bug.\r\n\r\n```python\r\nfrom transformers import TimeSeriesTransformerConfig, TimeSeriesTransformerForPrediction\r\n\r\...
1,702
1,702
1,702
NONE
null
### System Info I am running a time series transformer following the tutorial in Huggingface. I have dynamic_features_real = 48 in my dataset. However, I came across an error when creating the test_dataloader: ```python ValueError: all the input array dimensions except for the concatenation axis must match exact...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27930/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27930/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27929
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27929/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27929/comments
https://api.github.com/repos/huggingface/transformers/issues/27929/events
https://github.com/huggingface/transformers/pull/27929
2,034,210,195
PR_kwDOCUB6oc5hmvSt
27,929
fix: handle multiprocess properly in trainer checkpointing
{ "login": "thundergolfer", "id": 12058921, "node_id": "MDQ6VXNlcjEyMDU4OTIx", "avatar_url": "https://avatars.githubusercontent.com/u/12058921?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thundergolfer", "html_url": "https://github.com/thundergolfer", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Test failures are for \"documentation\" and \"transformers metadata\", same as last time (https://github.com/huggingface/transformers/pull/27820#issuecomment-1841186551)", "> have you confirmed this works on a multi-GPU system?\r\n\r\nYes, that's detailed in the PR description, starting with the sentence: \"I di...
1,702
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? Follow-up to https://github.com/huggingface/transformers/pull/27820 which is bugged for multi-device/multiprocess training. I made the error of thinking that in multiprocess training the `._save_checkpoint()` method was already restricted to a single writer. I've fixed that now and augment...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27929/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/27929/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27929", "html_url": "https://github.com/huggingface/transformers/pull/27929", "diff_url": "https://github.com/huggingface/transformers/pull/27929.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27929.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27928
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27928/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27928/comments
https://api.github.com/repos/huggingface/transformers/issues/27928/events
https://github.com/huggingface/transformers/issues/27928
2,034,199,269
I_kwDOCUB6oc55P2rl
27,928
[Question] What is the main difference between "AutoModelForCasualLM" and "PeftModelForCausalLM"?
{ "login": "daehuikim", "id": 40377750, "node_id": "MDQ6VXNlcjQwMzc3NzUw", "avatar_url": "https://avatars.githubusercontent.com/u/40377750?v=4", "gravatar_id": "", "url": "https://api.github.com/users/daehuikim", "html_url": "https://github.com/daehuikim", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "cc @younesbelkada ", "Hmm looks interesting. I think, when you print it out, first thing is considering original+ adapter and last thing is considering only structure of it’s backbone. \r\nDid you considered a random state, before inference?\r\n\r\nSometimes, same input’s result can be different when you inferen...
1,702
1,706
1,706
NONE
null
I also wrote it down in peft repo. However this issue is also related to transformers. So i write my question here again. issue is here in peft(https://github.com/huggingface/peft/issues/1245) Hello, Sorry for naive question. I noticed that the``model.generate()`` function performed differently when inferrence rig...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27928/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27928/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27927
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27927/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27927/comments
https://api.github.com/repos/huggingface/transformers/issues/27927/events
https://github.com/huggingface/transformers/issues/27927
2,034,137,763
I_kwDOCUB6oc55Pnqj
27,927
Terminate TextIteratorStreamer Before Done
{ "login": "fakerybakery", "id": 76186054, "node_id": "MDQ6VXNlcjc2MTg2MDU0", "avatar_url": "https://avatars.githubusercontent.com/u/76186054?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fakerybakery", "html_url": "https://github.com/fakerybakery", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hey! I don't think this is possible through the TextIteratorStreamer but should be handled within gradio 🤗 ", "Ok, thanks for the suggestion! I'll close this issue then" ]
1,702
1,702
1,702
NONE
null
Hi, Is there any way to terminate a TextIteratorStreamer before the text has finished generating? Related to [this](https://github.com/gradio-app/gradio/issues/6724). Thank you!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27927/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27927/timeline
not_planned
null
null
https://api.github.com/repos/huggingface/transformers/issues/27925
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27925/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27925/comments
https://api.github.com/repos/huggingface/transformers/issues/27925/events
https://github.com/huggingface/transformers/issues/27925
2,033,911,870
I_kwDOCUB6oc55Owg-
27,925
Save model checkpoint error when multi-gpu training
{ "login": "Cospui", "id": 36847795, "node_id": "MDQ6VXNlcjM2ODQ3Nzk1", "avatar_url": "https://avatars.githubusercontent.com/u/36847795?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Cospui", "html_url": "https://github.com/Cospui", "followers_url": "https://api.github.com/users/Cospui/fo...
[]
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...
[ "I had this same issue, I temporarily fixed it by neutering the different staging directory:\r\n\r\n```python\r\nif os.path.exists(output_dir) and len(os.listdir(output_dir)) > 0:\r\n logger.warning(\r\n f\"Checkpoint destination directory {output_dir} already exists and is non-empty.\"\r\n \"Savin...
1,702
1,705
1,702
NONE
null
### System Info - `transformers` version: 4.36.0.dev0 - Platform: Linux-6.2.0-1017-azure-x86_64-with-glibc2.35 - Python version: 3.10.13 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.0 - Accelerate version: 0.24.1 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu118 (True) -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27925/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/27925/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27924
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27924/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27924/comments
https://api.github.com/repos/huggingface/transformers/issues/27924/events
https://github.com/huggingface/transformers/pull/27924
2,033,894,083
PR_kwDOCUB6oc5hltZg
27,924
Adding FA2 support for MusicGen
{ "login": "staghado", "id": 84044788, "node_id": "MDQ6VXNlcjg0MDQ0Nzg4", "avatar_url": "https://avatars.githubusercontent.com/u/84044788?v=4", "gravatar_id": "", "url": "https://api.github.com/users/staghado", "html_url": "https://github.com/staghado", "followers_url": "https://api.github.com/users/sta...
[]
open
false
null
[]
[ "Hey @staghado, thanks for taking care of this, let us know when it's ready to be reviewed!", "I have conducted some tests on an A10 GPU : \r\n - The code seems to work without errors when `_supports_flash_attn_2` is set to `True` for `MusicgenForConditionalGeneration` but does not load the model with FA2 if n...
1,702
1,708
null
CONTRIBUTOR
null
# What does this PR do? This PR adds Flash Attention 2 support for MusicGen model. It is based on Bart example and it is a WIP for now. I could not test the model because FA2 is not supported yet for T4 GPUs. Fixes #27552 @sanchit-gandhi @ylacombe
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27924/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27924/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27924", "html_url": "https://github.com/huggingface/transformers/pull/27924", "diff_url": "https://github.com/huggingface/transformers/pull/27924.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27924.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27926
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27926/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27926/comments
https://api.github.com/repos/huggingface/transformers/issues/27926/events
https://github.com/huggingface/transformers/issues/27926
2,033,979,191
I_kwDOCUB6oc55PA83
27,926
Can't get add_generation_prompt to work correctly in apply_chat_template
{ "login": "odellus", "id": 4686956, "node_id": "MDQ6VXNlcjQ2ODY5NTY=", "avatar_url": "https://avatars.githubusercontent.com/u/4686956?v=4", "gravatar_id": "", "url": "https://api.github.com/users/odellus", "html_url": "https://github.com/odellus", "followers_url": "https://api.github.com/users/odellus/...
[]
closed
false
null
[]
[ "cc @Rocketknight1 if you have time to look at this! ", "I'm using `transformers==4.34.0`", "Upgrading to 4.35.2 fixed this issue for me. Closing." ]
1,702
1,702
1,702
CONTRIBUTOR
null
I'm having trouble getting the `add_generation_prompt` feature working with `tokenizer.apply_chat_template`. I'm working with stablelm-zephyr-3b right now. I raised an issue on their HF model page, but I don't think the problem is with their chat template. Their chat template looks correct. https://huggingface.co/st...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27926/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27926/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27923
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27923/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27923/comments
https://api.github.com/repos/huggingface/transformers/issues/27923/events
https://github.com/huggingface/transformers/issues/27923
2,033,804,530
I_kwDOCUB6oc55OWTy
27,923
SafetensorError: Error while deserializing header: HeaderTooLarge
{ "login": "KyrieCui", "id": 37808472, "node_id": "MDQ6VXNlcjM3ODA4NDcy", "avatar_url": "https://avatars.githubusercontent.com/u/37808472?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KyrieCui", "html_url": "https://github.com/KyrieCui", "followers_url": "https://api.github.com/users/Kyr...
[]
closed
false
null
[]
[ "Hey, could you try to use the latest release of safetensors? \r\nOtherwise not sure I can help you with a checkpoint that is private ! ", "Hello, Sir. \r\nI met this error when loading the 6th checkpoint, so I re-downloaded the sixth safetensors file. But still the same error. Should I try to re- download all of...
1,702
1,702
1,702
NONE
null
### System Info transformers version: 4.35.0 Platform: Linux-4.18.0-477.27.1.el8_8.x86_64.x86_64-x86_64-with-glibc2.28 Python version: 3.9.16 Huggingface_hub version:0.16.4 Accelerate version: 0.21.0 Safetensors version: 0.3.1 PyTorch version (GPU?): 22.0.1+cu117 (True) ### Who can help? @ArthurZucker...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27923/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27923/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27922
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27922/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27922/comments
https://api.github.com/repos/huggingface/transformers/issues/27922/events
https://github.com/huggingface/transformers/issues/27922
2,033,681,878
I_kwDOCUB6oc55N4XW
27,922
add system prompt option in .apply_chat_template()
{ "login": "ONE-THING-9", "id": 123763769, "node_id": "U_kgDOB2B8OQ", "avatar_url": "https://avatars.githubusercontent.com/u/123763769?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ONE-THING-9", "html_url": "https://github.com/ONE-THING-9", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hey, I think it already supports this! see [here](https://huggingface.co/docs/transformers/chat_templating) (you just need to customize the roles) ", "Got it, i missed that.", "There is a big problem here. Some of these models reject the system prompt in their chat template. It's wildly inconsistent and ther...
1,702
1,704
1,703
NONE
null
### Feature request Currently, I cannot find the option of adding a system prompt while doing tokenizer.apply_chat_template(). ### Motivation Because of this I have to avoid using apply_chat_template ### Your contribution we can add this in {'role':'system'..........}
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27922/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27922/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27921
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27921/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27921/comments
https://api.github.com/repos/huggingface/transformers/issues/27921/events
https://github.com/huggingface/transformers/pull/27921
2,033,645,816
PR_kwDOCUB6oc5hk5mU
27,921
Add LayoutLM processor
{ "login": "gau-nernst", "id": 26946864, "node_id": "MDQ6VXNlcjI2OTQ2ODY0", "avatar_url": "https://avatars.githubusercontent.com/u/26946864?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gau-nernst", "html_url": "https://github.com/gau-nernst", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "The tests are failing because when I copy LayoutLMv2Tokenizer to LayoutLMTokenizer, `bbox` input is required. To preserve backward-compatibility, we need to check if `bbox` is None, and apply the old logic in that case. I'm not familiar with the tokenizer code, so help would be appreciated 🙏.", "(feel free to p...
1,702
1,707
1,707
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/27921/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27921/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27921", "html_url": "https://github.com/huggingface/transformers/pull/27921", "diff_url": "https://github.com/huggingface/transformers/pull/27921.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27921.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27920
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27920/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27920/comments
https://api.github.com/repos/huggingface/transformers/issues/27920/events
https://github.com/huggingface/transformers/pull/27920
2,033,635,445
PR_kwDOCUB6oc5hk3VO
27,920
fixed typos (issue 27919)
{ "login": "asusevski", "id": 77211520, "node_id": "MDQ6VXNlcjc3MjExNTIw", "avatar_url": "https://avatars.githubusercontent.com/u/77211520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/asusevski", "html_url": "https://github.com/asusevski", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,702
1,702
1,702
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/27920/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27920/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27920", "html_url": "https://github.com/huggingface/transformers/pull/27920", "diff_url": "https://github.com/huggingface/transformers/pull/27920.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27920.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27919
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27919/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27919/comments
https://api.github.com/repos/huggingface/transformers/issues/27919/events
https://github.com/huggingface/transformers/issues/27919
2,033,624,429
I_kwDOCUB6oc55NqVt
27,919
Typos with Knowledge Distillation for Computer Vision documentation
{ "login": "asusevski", "id": 77211520, "node_id": "MDQ6VXNlcjc3MjExNTIw", "avatar_url": "https://avatars.githubusercontent.com/u/77211520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/asusevski", "html_url": "https://github.com/asusevski", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,702
1,702
1,702
CONTRIBUTOR
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-5.15.133.1-microsoft-standard-WSL2-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 1.12.0+cu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27919/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27919/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27918
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27918/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27918/comments
https://api.github.com/repos/huggingface/transformers/issues/27918/events
https://github.com/huggingface/transformers/pull/27918
2,033,540,619
PR_kwDOCUB6oc5hkjQ5
27,918
Fix typo
{ "login": "f4hy", "id": 36440, "node_id": "MDQ6VXNlcjM2NDQw", "avatar_url": "https://avatars.githubusercontent.com/u/36440?v=4", "gravatar_id": "", "url": "https://api.github.com/users/f4hy", "html_url": "https://github.com/f4hy", "followers_url": "https://api.github.com/users/f4hy/followers", "follo...
[]
closed
false
null
[]
[ "thanks" ]
1,702
1,702
1,702
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/27918/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27918/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27918", "html_url": "https://github.com/huggingface/transformers/pull/27918", "diff_url": "https://github.com/huggingface/transformers/pull/27918.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27918.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27917
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27917/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27917/comments
https://api.github.com/repos/huggingface/transformers/issues/27917/events
https://github.com/huggingface/transformers/issues/27917
2,033,530,579
I_kwDOCUB6oc55NTbT
27,917
LLava not working with accelerate dispatch: "Expected all tensors to be on the same device"
{ "login": "py4", "id": 747819, "node_id": "MDQ6VXNlcjc0NzgxOQ==", "avatar_url": "https://avatars.githubusercontent.com/u/747819?v=4", "gravatar_id": "", "url": "https://api.github.com/users/py4", "html_url": "https://github.com/py4", "followers_url": "https://api.github.com/users/py4/followers", "fol...
[]
closed
false
null
[]
[ "cc @younesbelkada I think this worked / works on main no? \r\n\r\nFYI @gante and @tomaarsen we'll work on a fix with @younesbelkada " ]
1,702
1,702
1,702
NONE
null
### System Info - `transformers` version: 4.36.0.dev0 - Platform: Linux-5.10.0-26-cloud-amd64-x86_64-with-glibc2.31 - Python version: 3.9.2 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - PyTorch version (GPU?): 2.1.1+cu121 (True) ### Who can help? @pacman...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27917/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27917/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27916
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27916/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27916/comments
https://api.github.com/repos/huggingface/transformers/issues/27916/events
https://github.com/huggingface/transformers/issues/27916
2,033,389,088
I_kwDOCUB6oc55Mw4g
27,916
Question about the output of the decision transformer
{ "login": "Pulsar110", "id": 125087940, "node_id": "U_kgDOB3SwxA", "avatar_url": "https://avatars.githubusercontent.com/u/125087940?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Pulsar110", "html_url": "https://github.com/Pulsar110", "followers_url": "https://api.github.com/users/Pulsar...
[]
closed
false
null
[]
[ "Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co/) instead? I'm sure the community will be of help!\r\n\r\nThanks!", "Thank you. I have created a post here: https://discuss.huggingface.co/...
1,702
1,703
1,703
NONE
null
From the code in here: https://github.com/huggingface/transformers/blob/v4.35.2/src/transformers/models/decision_transformer/modeling_decision_transformer.py#L920-L927 ``` # reshape x so that the second dimension corresponds to the original # returns (0), states (1), or actions (2); i.e. x[:,1,...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27916/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27916/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27915
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27915/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27915/comments
https://api.github.com/repos/huggingface/transformers/issues/27915/events
https://github.com/huggingface/transformers/issues/27915
2,033,135,988
I_kwDOCUB6oc55LzF0
27,915
dMoE support
{ "login": "AlpinDale", "id": 52078762, "node_id": "MDQ6VXNlcjUyMDc4NzYy", "avatar_url": "https://avatars.githubusercontent.com/u/52078762?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AlpinDale", "html_url": "https://github.com/AlpinDale", "followers_url": "https://api.github.com/users/...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[ "I've been using a quick drop-in replacement lifted from the dmoe.py implementation from megablocks.\r\n\r\nRunning `torch.cat` for the expert weights on each forward pass adds a ~5% overhead, since I didn't want to deal with managing the state dicts. Overall training is 2-3x faster.\r\n\r\n```python\r\nclass Mixtr...
1,702
1,703
null
CONTRIBUTOR
null
### Feature request MistralAI recently [released their new model](https://twitter.com/MistralAI/status/1733150512395038967), a Mixture of Experts based on [megablocks](https://github.com/stanford-futuredata/megablocks), a type of dropless Mixture of Experts. ### Motivation It's very likely that the future of open so...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27915/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/27915/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27914
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27914/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27914/comments
https://api.github.com/repos/huggingface/transformers/issues/27914/events
https://github.com/huggingface/transformers/pull/27914
2,032,919,310
PR_kwDOCUB6oc5hibuH
27,914
Fix: [SeamlessM4T - S2TT] Bug in batch loading of audio in torch.Tensor format in the SeamlessM4TFeatureExtractor class
{ "login": "nicholasneo78", "id": 45549785, "node_id": "MDQ6VXNlcjQ1NTQ5Nzg1", "avatar_url": "https://avatars.githubusercontent.com/u/45549785?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nicholasneo78", "html_url": "https://github.com/nicholasneo78", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Awesome @nicholasneo78!", "cc @ylacombe ", "Hi @ylacombe,\r\n\r\nYes this works for me. Have updated the code `feature_extraction_seamless_m4t.py` and added test in `test_feature_extraction_seamless_m4t.py`\r\n\r\nThanks for the suggestion!", "The docs for this PR live [here](https://moon-ci-docs.huggingface...
1,702
1,703
1,703
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/27914/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/27914/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27914", "html_url": "https://github.com/huggingface/transformers/pull/27914", "diff_url": "https://github.com/huggingface/transformers/pull/27914.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27914.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27913
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27913/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27913/comments
https://api.github.com/repos/huggingface/transformers/issues/27913/events
https://github.com/huggingface/transformers/pull/27913
2,032,904,981
PR_kwDOCUB6oc5hiYby
27,913
Fixing Value error question_answering.py
{ "login": "khyatikhandelwal", "id": 65815098, "node_id": "MDQ6VXNlcjY1ODE1MDk4", "avatar_url": "https://avatars.githubusercontent.com/u/65815098?v=4", "gravatar_id": "", "url": "https://api.github.com/users/khyatikhandelwal", "html_url": "https://github.com/khyatikhandelwal", "followers_url": "https://...
[]
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,702
1,705
1,705
NONE
null
On running this pipeline, the value error is always raised even if a dict/SquadExample is passed as there was no 'else' condition. Now it will only be raised when input is not dict/SquadExample. # What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merge...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27913/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27913/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27913", "html_url": "https://github.com/huggingface/transformers/pull/27913", "diff_url": "https://github.com/huggingface/transformers/pull/27913.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27913.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27912
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27912/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27912/comments
https://api.github.com/repos/huggingface/transformers/issues/27912/events
https://github.com/huggingface/transformers/pull/27912
2,032,860,518
PR_kwDOCUB6oc5hiOtH
27,912
Skip `UnivNetModelTest::test_multi_gpu_data_parallel_forward`
{ "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
[]
[]
1,702
1,702
1,702
COLLABORATOR
null
# What does this PR do? `test_multi_gpu_data_parallel_forward` is known to fail, and it uses `nn.DataParallel` which is not recommended by pyttorch. Let's skip it for now.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27912/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27912/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27912", "html_url": "https://github.com/huggingface/transformers/pull/27912", "diff_url": "https://github.com/huggingface/transformers/pull/27912.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27912.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27911
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27911/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27911/comments
https://api.github.com/repos/huggingface/transformers/issues/27911/events
https://github.com/huggingface/transformers/pull/27911
2,032,822,044
PR_kwDOCUB6oc5hiGTN
27,911
Fix M4T v2 integration tests
{ "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
[]
[ "OC, I've already verified that the tests pass (on a 24GB TITAN RTX)! I've also monitored by hand GPU utilization (around 10GB) so I believe it should pass on a 16GB GPU.\r\n\r\nFYI, the tests that I've changed verify that every task-specific model has a 1-to-1 correspondence with the task-agnostic model" ]
1,702
1,702
1,702
COLLABORATOR
null
# What does this PR do? Some M4T-v2 integration tests are [causing GPUs OOM](https://github.com/huggingface/transformers/actions/runs/7054968060/job/19204890066). It happens when we load two models together. I thus shifted some integration tests to half precision which should solve the issue. cc @ydshieh @ArthurZ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27911/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27911/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27911", "html_url": "https://github.com/huggingface/transformers/pull/27911", "diff_url": "https://github.com/huggingface/transformers/pull/27911.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27911.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27910
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27910/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27910/comments
https://api.github.com/repos/huggingface/transformers/issues/27910/events
https://github.com/huggingface/transformers/pull/27910
2,032,739,953
PR_kwDOCUB6oc5hh0DZ
27,910
Llama conversion script: adjustments for Llama Guard
{ "login": "pcuenca", "id": 1177582, "node_id": "MDQ6VXNlcjExNzc1ODI=", "avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pcuenca", "html_url": "https://github.com/pcuenca", "followers_url": "https://api.github.com/users/pcuenca/...
[]
closed
false
null
[]
[]
1,702
1,702
1,702
MEMBER
null
# What does this PR do? Small adjustments to the Llama 2 conversion script so it works with the original Llama Guard weights. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27910/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27910/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27910", "html_url": "https://github.com/huggingface/transformers/pull/27910", "diff_url": "https://github.com/huggingface/transformers/pull/27910.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27910.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27909
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27909/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27909/comments
https://api.github.com/repos/huggingface/transformers/issues/27909/events
https://github.com/huggingface/transformers/pull/27909
2,032,734,928
PR_kwDOCUB6oc5hhy59
27,909
fix llava
{ "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_27909). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,702
1,702
COLLABORATOR
null
# What does this PR do? Fix the prepare inputs for generationa after the cache PR.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27909/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27909/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27909", "html_url": "https://github.com/huggingface/transformers/pull/27909", "diff_url": "https://github.com/huggingface/transformers/pull/27909.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27909.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27908
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27908/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27908/comments
https://api.github.com/repos/huggingface/transformers/issues/27908/events
https://github.com/huggingface/transformers/issues/27908
2,032,726,259
I_kwDOCUB6oc55KPDz
27,908
Mistral: CUDA error when generating text with a batch of inputs
{ "login": "plroit", "id": 1734563, "node_id": "MDQ6VXNlcjE3MzQ1NjM=", "avatar_url": "https://avatars.githubusercontent.com/u/1734563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/plroit", "html_url": "https://github.com/plroit", "followers_url": "https://api.github.com/users/plroit/foll...
[]
closed
false
null
[]
[ "Hey, you added a new token, this you need to resize the token embedding layer of the model with `model.resize_token_embeddings(len(tokenizer))`", "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....
1,702
1,705
1,705
NONE
null
### System Info I'm trying to decode a batch of outputs from a batch of inputs, with code that is working correctly with any encoder-decoder model (i.e. T5). I get the following error when I'm using Mistral: ` CUDA error: device-side assert triggered` stack trace: ```python File ~/miniconda3/lib/python3.11/site-...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27908/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27908/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27907
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27907/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27907/comments
https://api.github.com/repos/huggingface/transformers/issues/27907/events
https://github.com/huggingface/transformers/pull/27907
2,032,684,189
PR_kwDOCUB6oc5hhnqy
27,907
Generate: SinkCache can handle iterative prompts
{ "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
[]
[ "Some additional results @gante \r\n\r\n![image](https://github.com/huggingface/transformers/assets/37621491/36b8ef6c-c5fa-418a-acc4-6193c4abc2c3)\r\n\r\n* `transformers_old` refers to before #27700 (thanks @kevinhu for the change!)\r\n* `transformers_56be5e80` refers to commit 56be5e80, i.e. near main\r\n* `transf...
1,702
1,702
1,702
MEMBER
null
# What does this PR do? Fixes the case where `SinkCache` is used in a chat bot, receiving new prompts after giving an answer. Fix developed with @tomaarsen Here's an example of a script that works after this PR: ```py from transformers import AutoTokenizer, SinkCache, AutoModelForCausalLM, TextStreamer import...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27907/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27907/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27907", "html_url": "https://github.com/huggingface/transformers/pull/27907", "diff_url": "https://github.com/huggingface/transformers/pull/27907.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27907.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27906
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27906/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27906/comments
https://api.github.com/repos/huggingface/transformers/issues/27906/events
https://github.com/huggingface/transformers/pull/27906
2,032,423,360
PR_kwDOCUB6oc5hgvQh
27,906
mark `test_initialization` as flaky in 2 model 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
[]
[ "For the record: below code shows the issue\r\n\r\n```python\r\nimport torch\r\n\r\nDIM = 32\r\nSTD = 1e-10\r\nB = 2\r\nN_ITER = 100\r\n\r\n\r\nfor _ in range(100):\r\n for pow in range(4, 15):\r\n m = 0\r\n seq_len = 2 ** pow\r\n for i in range(N_ITER):\r\n t = torch.zeros(size=(...
1,702
1,702
1,702
COLLABORATOR
null
# What does this PR do? `torch.nn.init.trunc_normal_` is flaky and sometimes produce large value even if `mean=0.0` and `std=1e-10).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27906/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27906/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27906", "html_url": "https://github.com/huggingface/transformers/pull/27906", "diff_url": "https://github.com/huggingface/transformers/pull/27906.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27906.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27905
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27905/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27905/comments
https://api.github.com/repos/huggingface/transformers/issues/27905/events
https://github.com/huggingface/transformers/pull/27905
2,032,418,365
PR_kwDOCUB6oc5hguKt
27,905
[Seamless] Fix links in docs
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27905). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? Relative links were broken, updated to absolute URL ones.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27905/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27905/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27905", "html_url": "https://github.com/huggingface/transformers/pull/27905", "diff_url": "https://github.com/huggingface/transformers/pull/27905.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27905.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27904
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27904/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27904/comments
https://api.github.com/repos/huggingface/transformers/issues/27904/events
https://github.com/huggingface/transformers/issues/27904
2,032,397,437
I_kwDOCUB6oc55I-x9
27,904
ERROR: Could not build wheels for safetensors, tokenizers, which is required to install pyproject.toml-based projects
{ "login": "zhaosheng-thu", "id": 144892591, "node_id": "U_kgDOCKLirw", "avatar_url": "https://avatars.githubusercontent.com/u/144892591?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhaosheng-thu", "html_url": "https://github.com/zhaosheng-thu", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "hey which version of python are you working with? And what hardware are you using? ", "> hey which version of python are you working with? And what hardware are you using?\r\n\r\nthanks a lot! I have just solved this problem, and wish you a good day!", "How did you solve this?\r\n", "> hey which version of p...
1,702
1,705
1,703
NONE
null
### System Info `pip install transformers` ### Who can help? _No response_ ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Reprod...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27904/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27904/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27903
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27903/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27903/comments
https://api.github.com/repos/huggingface/transformers/issues/27903/events
https://github.com/huggingface/transformers/pull/27903
2,032,323,741
PR_kwDOCUB6oc5hgZaW
27,903
Fix `notification_service.py`
{ "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
[]
[]
1,702
1,702
1,702
COLLABORATOR
null
# What does this PR do? Fix a tiny issue in #27881
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27903/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27903/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27903", "html_url": "https://github.com/huggingface/transformers/pull/27903", "diff_url": "https://github.com/huggingface/transformers/pull/27903.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27903.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27902
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27902/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27902/comments
https://api.github.com/repos/huggingface/transformers/issues/27902/events
https://github.com/huggingface/transformers/issues/27902
2,032,276,433
I_kwDOCUB6oc55IhPR
27,902
Trainer logging_first_step not evaluate on first step as it is documented
{ "login": "RmZeta2718", "id": 42400165, "node_id": "MDQ6VXNlcjQyNDAwMTY1", "avatar_url": "https://avatars.githubusercontent.com/u/42400165?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RmZeta2718", "html_url": "https://github.com/RmZeta2718", "followers_url": "https://api.github.com/use...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" }, { "id": 3551105283, "node_id": "LA_kwDO...
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,702
1,707
1,707
NONE
null
### System Info `transformers` version: 4.35.2 ### Who can help? trainer: @muellerzr and @pacman100 ### 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 d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27902/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27902/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27901
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27901/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27901/comments
https://api.github.com/repos/huggingface/transformers/issues/27901/events
https://github.com/huggingface/transformers/pull/27901
2,032,120,031
PR_kwDOCUB6oc5hfsP8
27,901
[Bugfix] non_attended_tokens index
{ "login": "okotaku", "id": 24734142, "node_id": "MDQ6VXNlcjI0NzM0MTQy", "avatar_url": "https://avatars.githubusercontent.com/u/24734142?v=4", "gravatar_id": "", "url": "https://api.github.com/users/okotaku", "html_url": "https://github.com/okotaku", "followers_url": "https://api.github.com/users/okotak...
[]
closed
false
null
[]
[ "@ArthurZucker Here is the minimum code.\r\n\r\n```\r\nimport torch\r\nfrom transformers.models.llava.modeling_llava import LlavaForConditionalGeneration\r\n\r\n\r\nclass TestLlavaForConditionalGeneration(LlavaForConditionalGeneration):\r\n def forward(\r\n self,\r\n input_ids= None,\r\n pix...
1,702
1,705
1,705
NONE
null
# What does this PR do? ``` batch_index, non_attended_tokens = torch.where(first_layer_past_key_value == 0) # Get the target length target_seqlen = first_layer_past_key_value.shape[-1] + 1 extended_attention_mask = torch.ones( (attention_mask.shape[0], target_seqlen - attention_mask.shape[1]), dtype=...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27901/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27901/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27901", "html_url": "https://github.com/huggingface/transformers/pull/27901", "diff_url": "https://github.com/huggingface/transformers/pull/27901.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27901.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27900
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27900/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27900/comments
https://api.github.com/repos/huggingface/transformers/issues/27900/events
https://github.com/huggingface/transformers/issues/27900
2,032,092,580
I_kwDOCUB6oc55H0Wk
27,900
Weird Tokenization when Training New Tokenizer from Llama 2 Tokenizer using `train_new_from_iterator`
{ "login": "phoongkhangzhie", "id": 25717121, "node_id": "MDQ6VXNlcjI1NzE3MTIx", "avatar_url": "https://avatars.githubusercontent.com/u/25717121?v=4", "gravatar_id": "", "url": "https://api.github.com/users/phoongkhangzhie", "html_url": "https://github.com/phoongkhangzhie", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Ahhh I'll have a look that looks a bit nasty indeed\r\n", "Hi @ArthurZucker , any updates on this? Thank you!", "Hey, I can't reproduce this yet. I don't have your local dataset, and I don't have the loading script so \r\n```python\r\ndef python_generator():\r\n # Load local files for code_search_net/python...
1,702
1,705
1,705
NONE
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-5.4.0-105-generic-x86_64-with-glibc2.31 - Python version: 3.10.13 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): not installed (NA) -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27900/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/27900/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27899
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27899/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27899/comments
https://api.github.com/repos/huggingface/transformers/issues/27899/events
https://github.com/huggingface/transformers/pull/27899
2,031,983,998
PR_kwDOCUB6oc5hfOn0
27,899
fix typo in image_processing_blip.py Wwhether -> Whether
{ "login": "zhc7", "id": 53651354, "node_id": "MDQ6VXNlcjUzNjUxMzU0", "avatar_url": "https://avatars.githubusercontent.com/u/53651354?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhc7", "html_url": "https://github.com/zhc7", "followers_url": "https://api.github.com/users/zhc7/followers"...
[]
closed
false
null
[]
[]
1,702
1,702
1,702
CONTRIBUTOR
null
# fix typo in image_processing_blip.py Wwhether -> Whether <!-- 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 contribut...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27899/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27899/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27899", "html_url": "https://github.com/huggingface/transformers/pull/27899", "diff_url": "https://github.com/huggingface/transformers/pull/27899.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27899.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27898
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27898/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27898/comments
https://api.github.com/repos/huggingface/transformers/issues/27898/events
https://github.com/huggingface/transformers/issues/27898
2,031,880,725
I_kwDOCUB6oc55HAoV
27,898
optimizer.param_groups[0]['params'][0].dtype IndexError: list index out of range
{ "login": "wandouguo", "id": 9603390, "node_id": "MDQ6VXNlcjk2MDMzOTA=", "avatar_url": "https://avatars.githubusercontent.com/u/9603390?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wandouguo", "html_url": "https://github.com/wandouguo", "followers_url": "https://api.github.com/users/wa...
[]
closed
false
null
[]
[ "Hello, if you want our help we are going to need a full reproducer (as the contribution guidelines point out)", "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 d...
1,702
1,705
1,705
NONE
null
### System Info errors happened: deepspeed 0.12.3 transformers 4.35.2 normal: transformers 4.33.2 deepspeed 0.12.3 ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27898/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27898/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27897
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27897/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27897/comments
https://api.github.com/repos/huggingface/transformers/issues/27897/events
https://github.com/huggingface/transformers/pull/27897
2,031,752,315
PR_kwDOCUB6oc5hedag
27,897
fix bug in mask2former: cost matrix is infeasible
{ "login": "xuchenhao001", "id": 20737194, "node_id": "MDQ6VXNlcjIwNzM3MTk0", "avatar_url": "https://avatars.githubusercontent.com/u/20737194?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xuchenhao001", "html_url": "https://github.com/xuchenhao001", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[]
1,701
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? As per the title, fix a bug that causes the error of ``ValueError: cost matrix is infeasible``. <!-- 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 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27897/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/27897/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27897", "html_url": "https://github.com/huggingface/transformers/pull/27897", "diff_url": "https://github.com/huggingface/transformers/pull/27897.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27897.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27896
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27896/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27896/comments
https://api.github.com/repos/huggingface/transformers/issues/27896/events
https://github.com/huggingface/transformers/pull/27896
2,031,737,201
PR_kwDOCUB6oc5heaTe
27,896
[docs] Fused AWQ modules
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[]
closed
false
null
[]
[]
1,701
1,704
1,702
MEMBER
null
Streamlines the quantization docs a bit with the latest AWQ-fused module update :) - I think the reintroduced Benchmarks in the AWQ section is a duplicate because it's already currently at the end of the doc. I moved the Benchmarks to the end because I think comparing the results of all the quantization schemes make...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27896/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27896/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27896", "html_url": "https://github.com/huggingface/transformers/pull/27896", "diff_url": "https://github.com/huggingface/transformers/pull/27896.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27896.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27895
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27895/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27895/comments
https://api.github.com/repos/huggingface/transformers/issues/27895/events
https://github.com/huggingface/transformers/pull/27895
2,031,459,951
PR_kwDOCUB6oc5hdeXJ
27,895
[LLaVa] Some improvements
{ "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
[]
[ "They are failing on my setup:\r\n```\r\nFAILED tests/models/llava/test_modeling_llava.py::LlavaForConditionalGenerationIntegrationTest::test_small_model_integration_test_batch - AssertionError: Lists differ: ['USER: \\nWhat are the things I should be [267 chars]ock'] != ['\\nUSER: What are the things I should be ...
1,701
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? Some minor improvements when going over the LLaVa code.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27895/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27895/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27895", "html_url": "https://github.com/huggingface/transformers/pull/27895", "diff_url": "https://github.com/huggingface/transformers/pull/27895.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27895.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27894
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27894/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27894/comments
https://api.github.com/repos/huggingface/transformers/issues/27894/events
https://github.com/huggingface/transformers/issues/27894
2,031,129,801
I_kwDOCUB6oc55EJTJ
27,894
Group beam search decoded result depends on pad_token_id even though it's not printable
{ "login": "Wovchena", "id": 10669582, "node_id": "MDQ6VXNlcjEwNjY5NTgy", "avatar_url": "https://avatars.githubusercontent.com/u/10669582?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Wovchena", "html_url": "https://github.com/Wovchena", "followers_url": "https://api.github.com/users/Wov...
[]
closed
false
null
[]
[ "Hey, both padding tokens are not `non-printable` you just decided to skip them using `skip_special_tokens = True`. \r\nYou should try to set the padding to the left as it is recommended for generation and the padding token on the right will always impact the model. more details [here](https://github.com/huggingfac...
1,701
1,702
1,702
NONE
null
### System Info transformers Version: 4.35.2 Windows and Ubuntu20 Python 3.11.3 ### Who can help? @gante ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27894/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27894/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27893
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27893/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27893/comments
https://api.github.com/repos/huggingface/transformers/issues/27893/events
https://github.com/huggingface/transformers/issues/27893
2,031,120,434
I_kwDOCUB6oc55EHAy
27,893
Insanely-Fast-Whisper model: large - Cantonese KeyError "yue"
{ "login": "asusdisciple", "id": 138434950, "node_id": "U_kgDOCEBZhg", "avatar_url": "https://avatars.githubusercontent.com/u/138434950?v=4", "gravatar_id": "", "url": "https://api.github.com/users/asusdisciple", "html_url": "https://github.com/asusdisciple", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hey could you share a full reproducer, with a traceback and the output of `transformers-cli env`", "```\r\nfrom transformers import pipeline\r\nimport torch\r\n\r\nmodel = \"openai/whisper-large\"\r\n\r\nobj = pipeline(model=model,\r\n torch_dtype=torch.float16,\r\n device=\"cuda:0\",...
1,701
1,702
1,702
NONE
null
### System Info Using Newest transformers from Main. Ubuntu Linux 22.04 ### 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 tas...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27893/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27893/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27892
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27892/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27892/comments
https://api.github.com/repos/huggingface/transformers/issues/27892/events
https://github.com/huggingface/transformers/pull/27892
2,031,076,271
PR_kwDOCUB6oc5hcKAU
27,892
Fix pos_mask application and update tests accordingly
{ "login": "ferjorosa", "id": 24965845, "node_id": "MDQ6VXNlcjI0OTY1ODQ1", "avatar_url": "https://avatars.githubusercontent.com/u/24965845?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ferjorosa", "html_url": "https://github.com/ferjorosa", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "@ArthurZucker do you know which steps are left in the process?" ]
1,701
1,704
1,704
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/27892/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27892/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27892", "html_url": "https://github.com/huggingface/transformers/pull/27892", "diff_url": "https://github.com/huggingface/transformers/pull/27892.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27892.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27891
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27891/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27891/comments
https://api.github.com/repos/huggingface/transformers/issues/27891/events
https://github.com/huggingface/transformers/pull/27891
2,030,729,484
PR_kwDOCUB6oc5ha9U4
27,891
fix resuming from ckpt when using FSDP with FULL_STATE_DICT
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27891). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,701
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? 1. Fixes https://github.com/huggingface/transformers/issues/27878 introduced by https://github.com/huggingface/transformers/pull/27652
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27891/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27891/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27891", "html_url": "https://github.com/huggingface/transformers/pull/27891", "diff_url": "https://github.com/huggingface/transformers/pull/27891.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27891.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27890
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27890/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27890/comments
https://api.github.com/repos/huggingface/transformers/issues/27890/events
https://github.com/huggingface/transformers/pull/27890
2,030,698,018
PR_kwDOCUB6oc5ha2PI
27,890
[Doc] Spanish translation of pad_truncation.md
{ "login": "aaronjimv", "id": 67152883, "node_id": "MDQ6VXNlcjY3MTUyODgz", "avatar_url": "https://avatars.githubusercontent.com/u/67152883?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aaronjimv", "html_url": "https://github.com/aaronjimv", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hello. I am open to any feedback.", "Hi @stevhliu, thanks!", "Hi @osanseviero, thanks for the help. Please let me know anything else." ]
1,701
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? Add the Spanish version of `pad_truncation.md` to `transformers/docs/source/es` Fix a typo in the table of `en/pad_truncation.md` Fixes #15947 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did yo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27890/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27890/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27890", "html_url": "https://github.com/huggingface/transformers/pull/27890", "diff_url": "https://github.com/huggingface/transformers/pull/27890.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27890.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27889
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27889/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27889/comments
https://api.github.com/repos/huggingface/transformers/issues/27889/events
https://github.com/huggingface/transformers/pull/27889
2,030,653,912
PR_kwDOCUB6oc5haseU
27,889
Fix 2 tests in `FillMaskPipelineTests`
{ "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
[]
[]
1,701
1,702
1,702
COLLABORATOR
null
# What does this PR do? The test is introduced in #26234 which doesn't work as expected. This PR update the values.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27889/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27889/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27889", "html_url": "https://github.com/huggingface/transformers/pull/27889", "diff_url": "https://github.com/huggingface/transformers/pull/27889.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27889.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27888
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27888/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27888/comments
https://api.github.com/repos/huggingface/transformers/issues/27888/events
https://github.com/huggingface/transformers/issues/27888
2,030,650,995
I_kwDOCUB6oc55CUZz
27,888
Adding the same special token twice cause the additional_special_tokens to be set to an empty list inside tokenizer
{ "login": "dblakely", "id": 20539855, "node_id": "MDQ6VXNlcjIwNTM5ODU1", "avatar_url": "https://avatars.githubusercontent.com/u/20539855?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dblakely", "html_url": "https://github.com/dblakely", "followers_url": "https://api.github.com/users/dbl...
[]
closed
false
null
[]
[ "On going through the source code for `add_special_tokens` in the link [here](https://github.com/huggingface/transformers/blob/main/src/transformers/tokenization_utils_base.py#L873), it seems like this function has a param `replace_additional_special_tokens` which defaults to `True`.\r\n\r\nThis is an excerpt from ...
1,701
1,705
1,705
CONTRIBUTOR
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-5.4.0-166-generic-x86_64-with-glibc2.31 - 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+cu118 (True) - Tens...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27888/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27888/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27887
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27887/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27887/comments
https://api.github.com/repos/huggingface/transformers/issues/27887/events
https://github.com/huggingface/transformers/pull/27887
2,030,592,470
PR_kwDOCUB6oc5hae1Q
27,887
Fix device of masks in tests
{ "login": "fxmarty", "id": 9808326, "node_id": "MDQ6VXNlcjk4MDgzMjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fxmarty", "html_url": "https://github.com/fxmarty", "followers_url": "https://api.github.com/users/fxmarty/...
[]
closed
false
null
[]
[ "Strange that we don't see the issue on our CI. Do you know why @fxmarty?", "@ydshieh Can you try `RUN_SLOW=1 CUDA_VISIBLE_DEVICES=0 pytest tests/models/llama -s -vvvvv -k \"test_resize_tokens_embeddings\"` on main?", "I am not sure it's weird. The `push` tests should run on GPU so those should have failed...\r...
1,701
1,701
1,701
COLLABORATOR
null
As per title, fix a bug introduced in https://github.com/huggingface/transformers/pull/24587 in the GPU tests.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27887/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27887/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27887", "html_url": "https://github.com/huggingface/transformers/pull/27887", "diff_url": "https://github.com/huggingface/transformers/pull/27887.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27887.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27886
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27886/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27886/comments
https://api.github.com/repos/huggingface/transformers/issues/27886/events
https://github.com/huggingface/transformers/pull/27886
2,030,591,304
PR_kwDOCUB6oc5haeku
27,886
[WIP] add copied from in test files when adding new model like
{ "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...
[]
open
false
null
[]
[]
1,701
1,706
null
COLLABORATOR
null
# What does this PR do? Adds copied from in the test files automatically.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27886/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27886/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27886", "html_url": "https://github.com/huggingface/transformers/pull/27886", "diff_url": "https://github.com/huggingface/transformers/pull/27886.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27886.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27885
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27885/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27885/comments
https://api.github.com/repos/huggingface/transformers/issues/27885/events
https://github.com/huggingface/transformers/issues/27885
2,030,571,134
I_kwDOCUB6oc55CA5-
27,885
[i18n-jp] Translating docs tojp
{ "login": "rajveer43", "id": 64583161, "node_id": "MDQ6VXNlcjY0NTgzMTYx", "avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rajveer43", "html_url": "https://github.com/rajveer43", "followers_url": "https://api.github.com/users/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
closed
false
null
[]
[]
1,701
1,702
1,702
CONTRIBUTOR
null
<!-- Note: Please search to see if an issue already exists for the language you are trying to translate. --> Hi! Let's bring the documentation to all the jp-speaking community 🌐 (currently 0 out of 267 complete) Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/hugging...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27885/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27885/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27884
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27884/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27884/comments
https://api.github.com/repos/huggingface/transformers/issues/27884/events
https://github.com/huggingface/transformers/pull/27884
2,030,531,160
PR_kwDOCUB6oc5haQ9W
27,884
Add models from cpmant to derformable_detr
{ "login": "rajveer43", "id": 64583161, "node_id": "MDQ6VXNlcjY0NTgzMTYx", "avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rajveer43", "html_url": "https://github.com/rajveer43", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "@stevhliu, I built docs locally, it should pass now.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27884). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Did the final change as ...
1,701
1,702
1,702
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/27884/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27884/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27884", "html_url": "https://github.com/huggingface/transformers/pull/27884", "diff_url": "https://github.com/huggingface/transformers/pull/27884.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27884.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27883
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27883/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27883/comments
https://api.github.com/repos/huggingface/transformers/issues/27883/events
https://github.com/huggingface/transformers/pull/27883
2,030,503,533
PR_kwDOCUB6oc5haKm3
27,883
[`ChatGlm`] Adds support for the ChatGLM model
{ "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...
[]
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27883). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Hi~ o(* ̄▽ ̄*)ブ Could you tell me what your plans? May I know when the PR can be me...
1,701
1,708
null
COLLABORATOR
null
# What does this PR do? Drafts the support of chat GLM
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27883/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27883/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27883", "html_url": "https://github.com/huggingface/transformers/pull/27883", "diff_url": "https://github.com/huggingface/transformers/pull/27883.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27883.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27882
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27882/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27882/comments
https://api.github.com/repos/huggingface/transformers/issues/27882/events
https://github.com/huggingface/transformers/pull/27882
2,030,456,683
PR_kwDOCUB6oc5haAG5
27,882
Md 4
{ "login": "rajveer43", "id": 64583161, "node_id": "MDQ6VXNlcjY0NTgzMTYx", "avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rajveer43", "html_url": "https://github.com/rajveer43", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,701
1,701
1,701
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/27882/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27882/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27882", "html_url": "https://github.com/huggingface/transformers/pull/27882", "diff_url": "https://github.com/huggingface/transformers/pull/27882.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27882.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27881
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27881/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27881/comments
https://api.github.com/repos/huggingface/transformers/issues/27881/events
https://github.com/huggingface/transformers/pull/27881
2,030,437,906
PR_kwDOCUB6oc5hZ8BC
27,881
Show new failing tests in a more clear way in slack report
{ "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_27881). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,701
1,701
1,701
COLLABORATOR
null
# What does this PR do? It's now difficult to see the **new** failing tests on our Slack CI report, as they are > 100 failures. Also, scrolling over the many slack reply responses is time consuming to get the right place. This PR add the new failing tests in 2 places: - the end of post - the end of the r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27881/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27881/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27881", "html_url": "https://github.com/huggingface/transformers/pull/27881", "diff_url": "https://github.com/huggingface/transformers/pull/27881.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27881.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27880
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27880/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27880/comments
https://api.github.com/repos/huggingface/transformers/issues/27880/events
https://github.com/huggingface/transformers/issues/27880
2,030,179,409
I_kwDOCUB6oc55AhRR
27,880
Model generation is not stopping on eos token
{ "login": "hengjiUSTC", "id": 25971665, "node_id": "MDQ6VXNlcjI1OTcxNjY1", "avatar_url": "https://avatars.githubusercontent.com/u/25971665?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hengjiUSTC", "html_url": "https://github.com/hengjiUSTC", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hey! This is a duplicate of a lot of issue, the eos token is set to `AddedToken(content = \"</s>\", normalized = True,...)`. This will work:\r\n```python \r\nfrom transformers import AutoTokenizer, AddedToken \r\ntokenizer = AutoTokenizer.from_pretrained(\"NousResearch/Llama-2-7b-chat-hf\", eos_token = AddedToken(...
1,701
1,702
1,702
NONE
null
### System Info I have a finetuned llama2 model: "HenryJJ/tangshi-llama2-7b-chat-qlora" loaded by: ``` from peft import AutoPeftModelForCausalLM # Local directory where the model is saved local_model_path = "HenryJJ/tangshi-llama2-7b-chat-qlora" tokenizer = AutoTokenizer.from_pretrained(model_id) tokenizer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27880/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27880/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27879
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27879/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27879/comments
https://api.github.com/repos/huggingface/transformers/issues/27879/events
https://github.com/huggingface/transformers/issues/27879
2,029,990,560
I_kwDOCUB6oc54_zKg
27,879
FuyuProcessor broken and causes infinite loop
{ "login": "grahamannett", "id": 7343667, "node_id": "MDQ6VXNlcjczNDM2Njc=", "avatar_url": "https://avatars.githubusercontent.com/u/7343667?v=4", "gravatar_id": "", "url": "https://api.github.com/users/grahamannett", "html_url": "https://github.com/grahamannett", "followers_url": "https://api.github.com...
[ { "id": 3081136536, "node_id": "MDU6TGFiZWwzMDgxMTM2NTM2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Difficult%20Issue", "name": "Good Difficult Issue", "color": "684CC7", "default": false, "description": "" } ]
closed
false
null
[]
[ "if anyone runs into this, its because of the `if end != start` then `continue` will just keep going. both these functions should be rewritten ", "cc @molbap for visibility, and @grahamannett if you can share a full reproducer would be helpful! ", "@ArthurZucker its hard to reproduce since the encoding throws ...
1,701
1,705
1,705
NONE
null
https://github.com/huggingface/transformers/blob/75336c17945c6b1b5552dbf0236d25f869168aab/src/transformers/models/fuyu/processing_fuyu.py#L618 I am not sure exactly why/how it is but localized an issue where this segment of the processor goes into an infinite loop. Could be another segment but if I add a timeout ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27879/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27879/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27878
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27878/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27878/comments
https://api.github.com/repos/huggingface/transformers/issues/27878/events
https://github.com/huggingface/transformers/issues/27878
2,029,968,111
I_kwDOCUB6oc54_trv
27,878
Fail to resume training from Pytorch FSDP checkpoint.
{ "login": "Aria-K-Alethia", "id": 22995879, "node_id": "MDQ6VXNlcjIyOTk1ODc5", "avatar_url": "https://avatars.githubusercontent.com/u/22995879?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Aria-K-Alethia", "html_url": "https://github.com/Aria-K-Alethia", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hello, please let us know if the above PR resolves the issue.", "Thank you for your follow up.\r\nI tried the new branch, but it gave another error:\r\n```python\r\nTraceback (most recent call last):\r\n File \"/home/user/lm_finetune/train_tts.py\", line 183, in <module>\r\n train()\r\n File \"/home/user/lm...
1,701
1,702
1,702
NONE
null
### System Info - `transformers` version: 4.35.2 (I also tried the development version 4.36.0 but the same problem arised) - Platform: Linux-5.15.0-1033-azure-x86_64-with-glibc2.31 - Python version: 3.10.13 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27878/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27878/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27877
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27877/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27877/comments
https://api.github.com/repos/huggingface/transformers/issues/27877/events
https://github.com/huggingface/transformers/pull/27877
2,029,700,435
PR_kwDOCUB6oc5hXb0R
27,877
Format code
{ "login": "cyyever", "id": 17618148, "node_id": "MDQ6VXNlcjE3NjE4MTQ4", "avatar_url": "https://avatars.githubusercontent.com/u/17618148?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cyyever", "html_url": "https://github.com/cyyever", "followers_url": "https://api.github.com/users/cyyeve...
[]
closed
false
null
[]
[ "Hey, which version of `ruff` are you using? The main CI usually make sure that we have the correct format and it does not seem to be failing. ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27877). All of your documentation changes will be reflected on that endpoint....
1,701
1,705
1,705
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/27877/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27877/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27877", "html_url": "https://github.com/huggingface/transformers/pull/27877", "diff_url": "https://github.com/huggingface/transformers/pull/27877.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27877.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27876
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27876/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27876/comments
https://api.github.com/repos/huggingface/transformers/issues/27876/events
https://github.com/huggingface/transformers/issues/27876
2,029,550,828
I_kwDOCUB6oc54-Hzs
27,876
`aggregations_strategies` for TokenClassificationPipeline seem broken when note `simple`
{ "login": "antoine-lizee", "id": 2957716, "node_id": "MDQ6VXNlcjI5NTc3MTY=", "avatar_url": "https://avatars.githubusercontent.com/u/2957716?v=4", "gravatar_id": "", "url": "https://api.github.com/users/antoine-lizee", "html_url": "https://github.com/antoine-lizee", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "Hello Antoine,\r\n\r\nThanks for reporting this issue. I don't have the time to look at it in details. I think this is due to the tokenizer not supporting \"real words\" hence falling into the heuristic [here](https://github.com/huggingface/transformers/blob/75336c17945c6b1b5552dbf0236d25f869168aab/src/transformer...
1,701
1,702
1,702
NONE
null
### System Info Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points. - `transformers` version: 4.35.2 - Platform: macOS-13.6.2-arm64-arm-64bit - Python version: 3.11.6 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate con...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27876/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27876/timeline
not_planned
null
null
https://api.github.com/repos/huggingface/transformers/issues/27875
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27875/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27875/comments
https://api.github.com/repos/huggingface/transformers/issues/27875/events
https://github.com/huggingface/transformers/pull/27875
2,029,519,080
PR_kwDOCUB6oc5hW1FC
27,875
Fix for stochastic depth decay rule in the TimeSformer implementation
{ "login": "atawari", "id": 26859544, "node_id": "MDQ6VXNlcjI2ODU5NTQ0", "avatar_url": "https://avatars.githubusercontent.com/u/26859544?v=4", "gravatar_id": "", "url": "https://api.github.com/users/atawari", "html_url": "https://github.com/atawari", "followers_url": "https://api.github.com/users/atawar...
[]
closed
false
null
[]
[ "tagging @amyeroberts as the change is in the vision module.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27875). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,701
1,702
1,702
CONTRIBUTOR
null
Fixing typo to correct the stochastic depth decay rule # What does this PR do? Implementation of `drop_path` module in TimesformerLayer uses a constant config.drop_path as oppose to stochastic drop path as expected - see comments [here](https://github.com/huggingface/transformers/blob/main/src/transformers/models...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27875/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27875/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27875", "html_url": "https://github.com/huggingface/transformers/pull/27875", "diff_url": "https://github.com/huggingface/transformers/pull/27875.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27875.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27874
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27874/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27874/comments
https://api.github.com/repos/huggingface/transformers/issues/27874/events
https://github.com/huggingface/transformers/issues/27874
2,029,450,995
I_kwDOCUB6oc549vbz
27,874
When using HF trainer + PEFT + DeepSpeed ZeRO3, there's only hacky way to save the base model
{ "login": "yundai424", "id": 43726198, "node_id": "MDQ6VXNlcjQzNzI2MTk4", "avatar_url": "https://avatars.githubusercontent.com/u/43726198?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yundai424", "html_url": "https://github.com/yundai424", "followers_url": "https://api.github.com/users/...
[]
open
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,701
1,706
null
CONTRIBUTOR
null
### System Info - `transformers` version: 4.34.1 - Platform: Linux-3.10.0-1160.102.1.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.10.12 - Huggingface_hub version: 0.17.1 - Safetensors version: 0.3.3 - Accelerate version: 0.22.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (F...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27874/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27874/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27873
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27873/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27873/comments
https://api.github.com/repos/huggingface/transformers/issues/27873/events
https://github.com/huggingface/transformers/pull/27873
2,029,321,430
PR_kwDOCUB6oc5hWJQa
27,873
[Proposal, open for discussion] Better way of extracting hidden states
{ "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
[]
[ "Yep I like this optimisation, non breaking overall ", "@ArthurZucker it is a breaking change in its current state, since `out_indices` currently defaults to the last stage index if the user doesn't specify them (think @amyeroberts added that [here](https://github.com/huggingface/transformers/blob/0410a29a2d5c798...
1,701
1,705
1,705
CONTRIBUTOR
null
# What does this PR do? Currently, our `AutoBackbone` classes allow to get specific feature maps out of a certain vision model. For example: ``` from transformers import ConvNextBackbone import torch model = ConvNextBackbone.from_pretrained("facebook/convnext-small-224", out_indices=[0,1,2,3]) pixel_value...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27873/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27873/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27873", "html_url": "https://github.com/huggingface/transformers/pull/27873", "diff_url": "https://github.com/huggingface/transformers/pull/27873.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27873.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27872
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27872/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27872/comments
https://api.github.com/repos/huggingface/transformers/issues/27872/events
https://github.com/huggingface/transformers/pull/27872
2,029,159,599
PR_kwDOCUB6oc5hVlum
27,872
Fix lr_scheduler in no_trainer training scripts
{ "login": "bofenghuang", "id": 38185248, "node_id": "MDQ6VXNlcjM4MTg1MjQ4", "avatar_url": "https://avatars.githubusercontent.com/u/38185248?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bofenghuang", "html_url": "https://github.com/bofenghuang", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Kindly ping @muellerzr ", "Hi @muellerzr, thanks for the review! Just updated other no_trainer scripts which handle gradient accumulation by `with accelerator.accumulate(model)`", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addr...
1,701
1,706
1,705
CONTRIBUTOR
null
# What does this PR do? Hi! I ran into unexpected behaviors with the LR scheduler when using gradient accumulation in a distributed environment within this script. I managed to fix it on my end with the following changes: 1. `AcceleratedScheduler` currently steps only when gradient accumulation is performed. A...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27872/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27872/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27872", "html_url": "https://github.com/huggingface/transformers/pull/27872", "diff_url": "https://github.com/huggingface/transformers/pull/27872.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27872.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27871
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27871/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27871/comments
https://api.github.com/repos/huggingface/transformers/issues/27871/events
https://github.com/huggingface/transformers/pull/27871
2,029,147,230
PR_kwDOCUB6oc5hVjAg
27,871
Add serialization logic to pytree types
{ "login": "angelayi", "id": 10901756, "node_id": "MDQ6VXNlcjEwOTAxNzU2", "avatar_url": "https://avatars.githubusercontent.com/u/10901756?v=4", "gravatar_id": "", "url": "https://api.github.com/users/angelayi", "html_url": "https://github.com/angelayi", "followers_url": "https://api.github.com/users/ang...
[]
closed
false
null
[]
[ "Hi @angelayi Thank you for opening a PR. I am not really familiar with this topic, so here are a few questions:\r\n\r\n> To ensure that the serialized name is consistent and doesn't change often\r\n\r\nCould you show us an example that we can see the serialized name being changed (without the change in this PR)?\r...
1,701
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? [`torch.export`](https://pytorch.org/docs/main/export.html) produces a graph representation of the program which contains a pytree `TreeSpec` specifying how to flatten the inputs from whatever structure they were in before to a flattened list of inputs to pass to the graph, and unflatten the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27871/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27871/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27871", "html_url": "https://github.com/huggingface/transformers/pull/27871", "diff_url": "https://github.com/huggingface/transformers/pull/27871.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27871.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27870
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27870/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27870/comments
https://api.github.com/repos/huggingface/transformers/issues/27870/events
https://github.com/huggingface/transformers/issues/27870
2,029,082,336
I_kwDOCUB6oc548Vbg
27,870
The model 'T5ForConditionalGeneration' is not supported for text-generation.
{ "login": "nickjtay", "id": 52182102, "node_id": "MDQ6VXNlcjUyMTgyMTAy", "avatar_url": "https://avatars.githubusercontent.com/u/52182102?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nickjtay", "html_url": "https://github.com/nickjtay", "followers_url": "https://api.github.com/users/nic...
[ { "id": 1771187924, "node_id": "MDU6TGFiZWwxNzcxMTg3OTI0", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Pipeline", "name": "Core: Pipeline", "color": "FF7066", "default": false, "description": "Internals of the library; Pipeline." } ]
closed
false
null
[]
[ "Hey! The pipeline to use is `\"text2text-generation\"` for T5. Yeah not super intuitive 😓 ", "Hey @nickjtay I am curious about why did you choose `text-generation` Please point me out to the source. I'll work on it. ", "Thank you I will use `text2text-generation`", "> Hey @nickjtay I am curious about why di...
1,701
1,702
1,702
NONE
null
Immediately below is taken directly from huggingface's library documentation and is included in my script: https://huggingface.co/docs/transformers/model_doc/flan-t5 ``` tokenizer = AutoTokenizer.from_pretrained("google/flan-t5-small") model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-small") ``` Ho...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27870/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27870/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27869
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27869/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27869/comments
https://api.github.com/repos/huggingface/transformers/issues/27869/events
https://github.com/huggingface/transformers/issues/27869
2,029,053,734
I_kwDOCUB6oc548Ocm
27,869
Adding truncation to text-generation pipeline
{ "login": "thedamnedrhino", "id": 8396998, "node_id": "MDQ6VXNlcjgzOTY5OTg=", "avatar_url": "https://avatars.githubusercontent.com/u/8396998?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thedamnedrhino", "html_url": "https://github.com/thedamnedrhino", "followers_url": "https://api.gith...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[ "Hey! Sounds good, actually passing tokenizer arguments would be great in general, and better to have full args than kwargs. \r\nOne of the issue with this is that it does not really go well with the hierarchy because this means we cannot pass custom argument of custom tokenizers, but we could just have the args th...
1,701
1,704
null
CONTRIBUTOR
null
### Feature request Passing along the `truncation` argument from the `text-generation` pipeline to the tokenizer. ### Motivation If you're using a `text-generation` with input text from the user it is likely that their input text is too long. This doesn't cause problems for some models, e.g. `t5` based, but for oth...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27869/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27869/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27868
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27868/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27868/comments
https://api.github.com/repos/huggingface/transformers/issues/27868/events
https://github.com/huggingface/transformers/pull/27868
2,028,997,408
PR_kwDOCUB6oc5hVCF7
27,868
[⚠️ removed a default argument] Make `AttentionMaskConverter` compatible with `torch.compile(..., fullgraph=True)`
{ "login": "fxmarty", "id": 9808326, "node_id": "MDQ6VXNlcjk4MDgzMjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fxmarty", "html_url": "https://github.com/fxmarty", "followers_url": "https://api.github.com/users/fxmarty/...
[]
closed
false
null
[]
[ "Also, `AttentionMaskConverter` is not in the documentation so not really user-facing." ]
1,701
1,702
1,702
COLLABORATOR
null
As per title, fixes https://github.com/huggingface/transformers/issues/27789. This issue is only for PyTorch 2.1 and has been fixed in torch nightly.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27868/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27868/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27868", "html_url": "https://github.com/huggingface/transformers/pull/27868", "diff_url": "https://github.com/huggingface/transformers/pull/27868.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27868.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27867
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27867/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27867/comments
https://api.github.com/repos/huggingface/transformers/issues/27867/events
https://github.com/huggingface/transformers/pull/27867
2,028,282,487
PR_kwDOCUB6oc5hSjwh
27,867
Avoid class attribute _keep_in_fp32_modules being modified
{ "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
[]
[ "cc @younesbelkada " ]
1,701
1,701
1,701
COLLABORATOR
null
# What does this PR do? Another approach to #26433. Fix #25910
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27867/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27867/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27867", "html_url": "https://github.com/huggingface/transformers/pull/27867", "diff_url": "https://github.com/huggingface/transformers/pull/27867.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27867.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27866
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27866/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27866/comments
https://api.github.com/repos/huggingface/transformers/issues/27866/events
https://github.com/huggingface/transformers/issues/27866
2,028,079,212
I_kwDOCUB6oc544ghs
27,866
Make `output_dir` optional in TrainingArguments
{ "login": "ChanderG", "id": 6350377, "node_id": "MDQ6VXNlcjYzNTAzNzc=", "avatar_url": "https://avatars.githubusercontent.com/u/6350377?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ChanderG", "html_url": "https://github.com/ChanderG", "followers_url": "https://api.github.com/users/Chand...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[ "cc @muellerzr sounds good to me wdyt? ", "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/huggingfa...
1,701
1,704
null
NONE
null
### Feature request Currently, there is only 1 required param in creating a TrainingArguments object - `output_dir`. HFTrainer manually creates an object with a default value "tmp_trainer" if no Args object is passed to it. Instead, we should make even this one param optional in the TrainingArguments class (and use...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27866/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27866/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27865
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27865/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27865/comments
https://api.github.com/repos/huggingface/transformers/issues/27865/events
https://github.com/huggingface/transformers/pull/27865
2,027,990,316
PR_kwDOCUB6oc5hRjww
27,865
Support PeftModel signature inspect
{ "login": "dancingpipi", "id": 20511825, "node_id": "MDQ6VXNlcjIwNTExODI1", "avatar_url": "https://avatars.githubusercontent.com/u/20511825?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dancingpipi", "html_url": "https://github.com/dancingpipi", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "cc @amyeroberts for a second look." ]
1,701
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? If we set `remove_unused_columns` to 'True' while training a `LoRA` model, the all dataset columns will be removed. This is because the `_set_signature_columns_if_needed` function directly checks the signature of `self.model`. If `self.model` is a `PeftModel`, the signature will become `['ar...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27865/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27865/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27865", "html_url": "https://github.com/huggingface/transformers/pull/27865", "diff_url": "https://github.com/huggingface/transformers/pull/27865.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27865.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27864
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27864/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27864/comments
https://api.github.com/repos/huggingface/transformers/issues/27864/events
https://github.com/huggingface/transformers/issues/27864
2,027,948,396
I_kwDOCUB6oc544Als
27,864
IndexError: index out of range in self when using text2text-generation pipeline with encoder-decoder model
{ "login": "ZimoLoveShuang", "id": 32027313, "node_id": "MDQ6VXNlcjMyMDI3MzEz", "avatar_url": "https://avatars.githubusercontent.com/u/32027313?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZimoLoveShuang", "html_url": "https://github.com/ZimoLoveShuang", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[]
1,701
1,701
1,701
NONE
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27864/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27864/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27863
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27863/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27863/comments
https://api.github.com/repos/huggingface/transformers/issues/27863/events
https://github.com/huggingface/transformers/pull/27863
2,027,862,438
PR_kwDOCUB6oc5hRJCK
27,863
Choose appropriate loss function (MSE if regression) during forward as the doc suggests so that audio models could do regression
{ "login": "nevikw39", "id": 20489759, "node_id": "MDQ6VXNlcjIwNDg5NzU5", "avatar_url": "https://avatars.githubusercontent.com/u/20489759?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nevikw39", "html_url": "https://github.com/nevikw39", "followers_url": "https://api.github.com/users/nev...
[]
open
false
null
[]
[ "## Updated\r\n\r\nI also found other audio classification models, such as wav2vec 2.0, HuBERT, WavLM, etc., except Audio Spectrogram Transformer, have similar issues. Therefore, I mended them as well.\r\n\r\n~~After applying the patch, `make fixup` failed for `data2vec_audio` despite the fact that `data2vec_text` ...
1,701
1,707
null
NONE
null
# What does this PR do? The general documentation of `transformers` says that a classifier would specialize in regression if `num_labels` in config is set to 1. The doc-string comments of `WhisperForAudioClassification` class also suggest that it would do so. Nevertheless, the actual implementation of `forward()` me...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27863/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27863/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27863", "html_url": "https://github.com/huggingface/transformers/pull/27863", "diff_url": "https://github.com/huggingface/transformers/pull/27863.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27863.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27862
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27862/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27862/comments
https://api.github.com/repos/huggingface/transformers/issues/27862/events
https://github.com/huggingface/transformers/issues/27862
2,027,809,668
I_kwDOCUB6oc543euE
27,862
Audio Classification fails to do regression even though the documentation says it should under certain config
{ "login": "nevikw39", "id": 20489759, "node_id": "MDQ6VXNlcjIwNDg5NzU5", "avatar_url": "https://avatars.githubusercontent.com/u/20489759?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nevikw39", "html_url": "https://github.com/nevikw39", "followers_url": "https://api.github.com/users/nev...
[]
open
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,701
1,706
null
NONE
null
### System Info - `transformers` version: 4.35.1 - Platform: Linux-5.4.0-166-generic-x86_64-with-glibc2.35 - Python version: 3.11.5 - Huggingface_hub version: 0.17.3 - Safetensors version: 0.4.0 - Accelerate version: 0.24.1 - Accelerate config: - compute_environment: LOCAL_MACHINE - distributed_typ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27862/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27862/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27861
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27861/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27861/comments
https://api.github.com/repos/huggingface/transformers/issues/27861/events
https://github.com/huggingface/transformers/issues/27861
2,027,626,944
I_kwDOCUB6oc542yHA
27,861
Error in run_mae.py when specifying arguments
{ "login": "SiyCHENG", "id": 153052861, "node_id": "U_kgDOCR9mvQ", "avatar_url": "https://avatars.githubusercontent.com/u/153052861?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SiyCHENG", "html_url": "https://github.com/SiyCHENG", "followers_url": "https://api.github.com/users/SiyCHENG/...
[]
closed
false
null
[]
[ "```diff\r\n(base) mima0000@mima0000deMacBook-Air ViTMAE % python run_mae.py \\\r\n --model_name_or_path /Users/mima0000/本地文档/ViTMAE/mae_base \\\r\n --dataset_name /Users/mima0000/本地文档/ViTMAE/Nuclear/ \\\r\n- --train_dir /Users/mima0000/本地文档/ViTMAE/Nuclear/train/* \\\r\n+ --train_dir /Users/mima0000/本地文...
1,701
1,705
1,705
NONE
null
### System Info I encountered an error while running the run_mae.py script with the following command: ```basg (base) mima0000@mima0000deMacBook-Air ViTMAE % python run_mae.py \ --model_name_or_path /Users/mima0000/本地文档/ViTMAE/mae_base \ --dataset_name /Users/mima0000/本地文档/ViTMAE/Nuclear/ \ --train_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27861/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27861/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27860
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27860/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27860/comments
https://api.github.com/repos/huggingface/transformers/issues/27860/events
https://github.com/huggingface/transformers/pull/27860
2,027,459,151
PR_kwDOCUB6oc5hPxvV
27,860
Added passing parameters to "reduce_lr_on_plateau" scheduler
{ "login": "CharbelAD", "id": 45701489, "node_id": "MDQ6VXNlcjQ1NzAxNDg5", "avatar_url": "https://avatars.githubusercontent.com/u/45701489?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CharbelAD", "html_url": "https://github.com/CharbelAD", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,701
1,702
1,702
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/27860/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27860/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27860", "html_url": "https://github.com/huggingface/transformers/pull/27860", "diff_url": "https://github.com/huggingface/transformers/pull/27860.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27860.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27859
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27859/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27859/comments
https://api.github.com/repos/huggingface/transformers/issues/27859/events
https://github.com/huggingface/transformers/pull/27859
2,027,232,050
PR_kwDOCUB6oc5hO_fZ
27,859
[docs] Custom semantic segmentation dataset
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[]
closed
false
null
[]
[]
1,701
1,701
1,701
MEMBER
null
Adds a brief section in the semantic segmentation guide for creating a custom dataset to use with the `run_semantic_segmentation.py` script.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27859/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27859/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27859", "html_url": "https://github.com/huggingface/transformers/pull/27859", "diff_url": "https://github.com/huggingface/transformers/pull/27859.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27859.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27857
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27857/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27857/comments
https://api.github.com/repos/huggingface/transformers/issues/27857/events
https://github.com/huggingface/transformers/issues/27857
2,026,945,992
I_kwDOCUB6oc540L3I
27,857
Roundtrip Tokenization Failure
{ "login": "YehowshuaScaled", "id": 152646622, "node_id": "U_kgDOCRkz3g", "avatar_url": "https://avatars.githubusercontent.com/u/152646622?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YehowshuaScaled", "html_url": "https://github.com/YehowshuaScaled", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "As an example, &lt;s&gt; could show up when having a model generate or classify HTML. I think this is a very valid use case.", "The slow tokenizer support the `encode_special_tokens` option which is set to false by default because most common use case need the special token to be recognized. Fast is going to sup...
1,701
1,705
1,705
NONE
null
### System Info - `transformers` version: 4.36.0.dev0 - Platform: Linux-6.2.0-37-generic-x86_64-with-glibc2.37 - Python version: 3.11.4 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.0 - Accelerate version: 0.24.1 - Accelerate config: not found - PyTorch version (GPU?): 2.2.0.dev20231126+rocm...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27857/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27857/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27856
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27856/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27856/comments
https://api.github.com/repos/huggingface/transformers/issues/27856/events
https://github.com/huggingface/transformers/pull/27856
2,026,535,407
PR_kwDOCUB6oc5hMkkx
27,856
[`Docs`] Update broken image on fused modules
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27856). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,701
1,701
1,701
CONTRIBUTOR
null
# What does this PR do? As per title, as pointed out by @SunMarc offline
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27856/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27856/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27856", "html_url": "https://github.com/huggingface/transformers/pull/27856", "diff_url": "https://github.com/huggingface/transformers/pull/27856.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27856.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27855
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27855/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27855/comments
https://api.github.com/repos/huggingface/transformers/issues/27855/events
https://github.com/huggingface/transformers/issues/27855
2,026,514,481
I_kwDOCUB6oc54yigx
27,855
Index error while pretraining Flava
{ "login": "ferjorosa", "id": 24965845, "node_id": "MDQ6VXNlcjI0OTY1ODQ1", "avatar_url": "https://avatars.githubusercontent.com/u/24965845?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ferjorosa", "html_url": "https://github.com/ferjorosa", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hey! Thanks for reporting 🤗 would you like to open a PR for a fix? ", "Hi, yes. I have created a PR. Could you take a look into it?\r\n\r\nThanks\r\n\r\n", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on...
1,701
1,704
1,704
CONTRIBUTOR
null
### System Info `transformers==4.35.2` ### Who can help? @ArthurZucker @younesbelkada @amyeroberts ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27855/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27855/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27854
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27854/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27854/comments
https://api.github.com/repos/huggingface/transformers/issues/27854/events
https://github.com/huggingface/transformers/pull/27854
2,026,282,819
PR_kwDOCUB6oc5hLsyw
27,854
delete `delete_doc_comment_trigger.yml` workflow
{ "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
[]
[ "Superceded by #27852", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27854). All of your documentation changes will be reflected on that endpoint." ]
1,701
1,701
1,701
COLLABORATOR
null
# What does this PR do? delete `delete_doc_comment_trigger.yml` workflow as `huggingface/doc-builder/.github/workflows/delete_doc_comment_trigger.yml` no longer exists for security reason.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27854/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27854/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27854", "html_url": "https://github.com/huggingface/transformers/pull/27854", "diff_url": "https://github.com/huggingface/transformers/pull/27854.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27854.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27853
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27853/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27853/comments
https://api.github.com/repos/huggingface/transformers/issues/27853/events
https://github.com/huggingface/transformers/pull/27853
2,026,238,736
PR_kwDOCUB6oc5hLi6F
27,853
Update CUDA versions for DeepSpeed
{ "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_27853). All of your documentation changes will be reflected on that endpoint." ]
1,701
1,701
1,701
CONTRIBUTOR
null
# What does this PR do? DeepSpeed tests are failing because they require higher CUDA versions ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27853/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27853/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27853", "html_url": "https://github.com/huggingface/transformers/pull/27853", "diff_url": "https://github.com/huggingface/transformers/pull/27853.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27853.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27852
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27852/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27852/comments
https://api.github.com/repos/huggingface/transformers/issues/27852/events
https://github.com/huggingface/transformers/pull/27852
2,026,234,761
PR_kwDOCUB6oc5hLiEM
27,852
removed the delete doc workflows
{ "login": "MKhalusova", "id": 1065417, "node_id": "MDQ6VXNlcjEwNjU0MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MKhalusova", "html_url": "https://github.com/MKhalusova", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27852). All of your documentation changes will be reflected on that endpoint." ]
1,701
1,701
1,701
CONTRIBUTOR
null
Removed the delete doc workflows as per request by @mishig25
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27852/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27852/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27852", "html_url": "https://github.com/huggingface/transformers/pull/27852", "diff_url": "https://github.com/huggingface/transformers/pull/27852.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27852.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27851
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27851/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27851/comments
https://api.github.com/repos/huggingface/transformers/issues/27851/events
https://github.com/huggingface/transformers/pull/27851
2,026,110,359
PR_kwDOCUB6oc5hLGry
27,851
[`ClipVision`] `accelerate` support for clip-vision
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27851). All of your documentation changes will be reflected on that endpoint." ]
1,701
1,701
1,701
CONTRIBUTOR
null
# What does this PR do? As per title, all accelerate tests pass addresses: https://github.com/huggingface/transformers/pull/27662#discussion_r1415445563 for llava cc @ArthurZucker
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27851/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27851/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27851", "html_url": "https://github.com/huggingface/transformers/pull/27851", "diff_url": "https://github.com/huggingface/transformers/pull/27851.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27851.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27850
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27850/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27850/comments
https://api.github.com/repos/huggingface/transformers/issues/27850/events
https://github.com/huggingface/transformers/pull/27850
2,025,912,950
PR_kwDOCUB6oc5hKbI4
27,850
Generate: Update VisionEncoderDecoder test value
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27850). All of your documentation changes will be reflected on that endpoint." ]
1,701
1,701
1,701
MEMBER
null
# What does this PR do? #27351 fixes a bug in beam search: the prompt length was being included in the length penalty computation, and this penalty should only be applied on newly generated tokens (otherwise decoder-only models would often see a big penalty, as the prompt is part of the output) This PR updates th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27850/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27850/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27850", "html_url": "https://github.com/huggingface/transformers/pull/27850", "diff_url": "https://github.com/huggingface/transformers/pull/27850.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27850.patch", "merged_at...