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/22192
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22192/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22192/comments
https://api.github.com/repos/huggingface/transformers/issues/22192/events
https://github.com/huggingface/transformers/pull/22192
1,626,545,836
PR_kwDOCUB6oc5MKRDR
22,192
Modify electra loss calcualation part
{ "login": "BM-K", "id": 55969260, "node_id": "MDQ6VXNlcjU1OTY5MjYw", "avatar_url": "https://avatars.githubusercontent.com/u/55969260?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BM-K", "html_url": "https://github.com/BM-K", "followers_url": "https://api.github.com/users/BM-K/followers"...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,679
1,679
NONE
null
`loss_fct(logits.view(-1, self.num_labels), labels.view(-1))` and `loss_fct(logits, labels)` do the same thing, the latter code is more efficient.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22192/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22192/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22192", "html_url": "https://github.com/huggingface/transformers/pull/22192", "diff_url": "https://github.com/huggingface/transformers/pull/22192.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22192.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22191
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22191/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22191/comments
https://api.github.com/repos/huggingface/transformers/issues/22191/events
https://github.com/huggingface/transformers/issues/22191
1,626,167,393
I_kwDOCUB6oc5g7Vhh
22,191
run_qa.py on custom datasets raise TypeError: __init__() got an unexpected keyword argument 'field'
{ "login": "TongJiL", "id": 43793141, "node_id": "MDQ6VXNlcjQzNzkzMTQx", "avatar_url": "https://avatars.githubusercontent.com/u/43793141?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TongJiL", "html_url": "https://github.com/TongJiL", "followers_url": "https://api.github.com/users/TongJi...
[]
closed
false
null
[]
[ "It may be installing old versions of the library so you have to pick up the corresponding version of the example (cc @philschmid for the exact versions)", "> It may be installing old versions of the library so you have to pick up the corresponding version of the example (cc @philschmid for the exact versions)\r\...
1,678
1,696
1,682
NONE
null
### System Info Hello, I'm trying to train the qa model on SageMaker following the instracution, but I got ```TypeError: __init__() got an unexpected keyword argument 'field'``` issue when try to use my own datasets. I used SageMaker instance so it already install every dependency in requirements.txt. I check...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22191/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22191/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22190
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22190/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22190/comments
https://api.github.com/repos/huggingface/transformers/issues/22190/events
https://github.com/huggingface/transformers/pull/22190
1,626,013,431
PR_kwDOCUB6oc5MIdZQ
22,190
Regression pipeline device
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "Tests pipelines pass for both PyTorch and TF so merging!", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22190). All of your documentation changes will be reflected on that endpoint." ]
1,678
1,678
1,678
COLLABORATOR
null
# What does this PR do? Fixes the regression introduced by #21479. Basically doing ```py from transformers import pipeline classifier = pipeline("text-classification", device=-1) ``` now fails on v4.27.0 whereas it used to work on 4.26.1 This PR fixes this and adds a test to avoid future regression. Fix...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22190/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/22190/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22190", "html_url": "https://github.com/huggingface/transformers/pull/22190", "diff_url": "https://github.com/huggingface/transformers/pull/22190.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22190.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22189
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22189/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22189/comments
https://api.github.com/repos/huggingface/transformers/issues/22189/events
https://github.com/huggingface/transformers/issues/22189
1,625,970,105
I_kwDOCUB6oc5g6lW5
22,189
transformers-cli serve not working
{ "login": "jankrepl", "id": 18519371, "node_id": "MDQ6VXNlcjE4NTE5Mzcx", "avatar_url": "https://avatars.githubusercontent.com/u/18519371?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jankrepl", "html_url": "https://github.com/jankrepl", "followers_url": "https://api.github.com/users/jan...
[]
closed
false
null
[]
[ "cc @Narsil ", "This will be patched very soon, thanks for reporting!", "> This will be patched very soon, thanks for reporting!\r\n\r\nThank you for fixing it so quickly:)" ]
1,678
1,679
1,678
NONE
null
### System Info System info ``` bash - `transformers` version: 4.27.0 - Platform: macOS-12.3.1-arm64-arm-64bit - Python version: 3.8.12 - Huggingface_hub version: 0.13.2 - PyTorch version (GPU?): 2.0.0 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22189/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22189/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22188
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22188/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22188/comments
https://api.github.com/repos/huggingface/transformers/issues/22188/events
https://github.com/huggingface/transformers/issues/22188
1,625,966,407
I_kwDOCUB6oc5g6kdH
22,188
XGLMForCausalLM does not support `device_map='auto'` for load 8 bit
{ "login": "tontan1998", "id": 127051609, "node_id": "U_kgDOB5KnWQ", "avatar_url": "https://avatars.githubusercontent.com/u/127051609?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tontan1998", "html_url": "https://github.com/tontan1998", "followers_url": "https://api.github.com/users/ton...
[ { "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
[]
[ "cc @younesbelkada ", "Should be addressed in #22207 ! ", "hi @tontan1998 \r\nYou can now benefit from XGLM 8bit on the `main` branch of `transformers`:\r\n\r\n```bash\r\npip install git+https://github.com/huggingface/transformers.git\r\n```", "> hi @tontan1998 You can now benefit from XGLM 8bit on the `main`...
1,678
1,678
1,678
NONE
null
### System Info transformers: v4.27.0 ### Who can help? @sgugger @muellerzr ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Repro...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22188/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22188/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22187
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22187/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22187/comments
https://api.github.com/repos/huggingface/transformers/issues/22187/events
https://github.com/huggingface/transformers/pull/22187
1,625,916,759
PR_kwDOCUB6oc5MIIbU
22,187
Revert 22152 MaskedImageCompletionOutput changes
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Will do a patch asap" ]
1,678
1,678
1,678
COLLABORATOR
null
# What does this PR do? Reverts the breaking changes introduced by #22152. Temporary fix until it's decided how to change the model output. ## 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](...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22187/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22187/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22187", "html_url": "https://github.com/huggingface/transformers/pull/22187", "diff_url": "https://github.com/huggingface/transformers/pull/22187.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22187.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22186
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22186/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22186/comments
https://api.github.com/repos/huggingface/transformers/issues/22186/events
https://github.com/huggingface/transformers/pull/22186
1,625,866,421
PR_kwDOCUB6oc5MH9ko
22,186
Fix `ViTForMaskedImageModeling` doc example
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "@ydshieh @alaradirik @fxmarty The issue coming from #22152 was an oversight on my part about breaking changes. Perhaps we should revert that PR first and then agree how to introduce this change as it is intended to be added to other vision model? ", "Oh, I thought it was a new model head! Indeed a breaking chan...
1,678
1,679
1,678
COLLABORATOR
null
# What does this PR do? Same #22185
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22186/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22186/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22186", "html_url": "https://github.com/huggingface/transformers/pull/22186", "diff_url": "https://github.com/huggingface/transformers/pull/22186.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22186.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22185
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22185/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22185/comments
https://api.github.com/repos/huggingface/transformers/issues/22185/events
https://github.com/huggingface/transformers/pull/22185
1,625,785,729
PR_kwDOCUB6oc5MHr-8
22,185
Fix ViTForMaskedImageModeling example in documentation
{ "login": "fxmarty", "id": 9808326, "node_id": "MDQ6VXNlcjk4MDgzMjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fxmarty", "html_url": "https://github.com/fxmarty", "followers_url": "https://api.github.com/users/fxmarty/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@fxmarty I am just going to open a PR, but you are too fast! Thanks.", "@ydshieh It could be I missed it elsewhere, so feel free to push here / do an other PR!", "You have to check your CircleCI setting however. The CI has issue ...
1,678
1,678
1,678
COLLABORATOR
null
Following https://github.com/huggingface/transformers/pull/22152, `logits` is not the right output key name. cc @alaradirik @amyeroberts
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22185/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22185/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22185", "html_url": "https://github.com/huggingface/transformers/pull/22185", "diff_url": "https://github.com/huggingface/transformers/pull/22185.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22185.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22184
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22184/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22184/comments
https://api.github.com/repos/huggingface/transformers/issues/22184/events
https://github.com/huggingface/transformers/pull/22184
1,625,731,365
PR_kwDOCUB6oc5MHgO7
22,184
Fix: unfinished_sequences with correct device
{ "login": "Stxr", "id": 18367238, "node_id": "MDQ6VXNlcjE4MzY3MjM4", "avatar_url": "https://avatars.githubusercontent.com/u/18367238?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Stxr", "html_url": "https://github.com/Stxr", "followers_url": "https://api.github.com/users/Stxr/followers"...
[]
closed
false
null
[]
[ "cc @gante ", "The following code will reproduce the error:\r\n```python\r\nimport torch\r\nfrom transformers import AutoTokenizer, AutoModel\r\ndevice = 'cuda' if torch.cuda.is_available() else 'cpu'\r\n\r\nclass Wrapper(torch.nn.Module):\r\n \"\"\"\r\n Wrapper for the model to be traced\r\n \"\"\"\r\n ...
1,678
1,678
1,678
CONTRIBUTOR
null
The original code was causing errors when running torch.jit.trace due to the tensor options being incorrect. I fixed this by using torch.ones to create a tensor with the correct device and dtype. This should resolve the issue with running torch.jit.trace. # What does this PR do? This PR fixes a bug that causes erro...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22184/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22184/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22184", "html_url": "https://github.com/huggingface/transformers/pull/22184", "diff_url": "https://github.com/huggingface/transformers/pull/22184.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22184.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22183
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22183/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22183/comments
https://api.github.com/repos/huggingface/transformers/issues/22183/events
https://github.com/huggingface/transformers/pull/22183
1,625,630,957
PR_kwDOCUB6oc5MHKlf
22,183
Italian Translation of migration.mdx
{ "login": "Baelish03", "id": 97971495, "node_id": "U_kgDOBdbtJw", "avatar_url": "https://avatars.githubusercontent.com/u/97971495?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Baelish03", "html_url": "https://github.com/Baelish03", "followers_url": "https://api.github.com/users/Baelish0...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "_The documentation is not available anymore as the PR was closed or merged._", "Thanks @Baelish03!\r\nCan you move your changes in toctree between *big_models* and *debugging*?\r\n\r\n```\r\n- local: big_models\r\n title: Istanzia...
1,678
1,678
1,678
CONTRIBUTOR
null
<!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this with a description of th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22183/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22183/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22183", "html_url": "https://github.com/huggingface/transformers/pull/22183", "diff_url": "https://github.com/huggingface/transformers/pull/22183.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22183.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22182
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22182/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22182/comments
https://api.github.com/repos/huggingface/transformers/issues/22182/events
https://github.com/huggingface/transformers/pull/22182
1,625,614,233
PR_kwDOCUB6oc5MHHF1
22,182
Add Video Mask2Former
{ "login": "shivalikasingh95", "id": 73357305, "node_id": "MDQ6VXNlcjczMzU3MzA1", "avatar_url": "https://avatars.githubusercontent.com/u/73357305?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shivalikasingh95", "html_url": "https://github.com/shivalikasingh95", "followers_url": "https://...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22182). All of your documentation changes will be reflected on that endpoint.", "> I suggest that instead of adapting the logic within the current `Mask2Former` layers and image processor, a new model `Mask2FormerVideo` is ...
1,678
1,685
1,685
CONTRIBUTOR
null
### What does this PR do? This PR adds Video Mask2Former model. Original repo: https://github.com/facebookresearch/Mask2Former/ Mask2Former for Video Instance Segmentation Paper: https://arxiv.org/abs/2112.10764 Co-authored with: @alaradirik - [x] Update model checkpoints - [x] Update model cards - [ ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22182/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22182/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22182", "html_url": "https://github.com/huggingface/transformers/pull/22182", "diff_url": "https://github.com/huggingface/transformers/pull/22182.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22182.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22181
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22181/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22181/comments
https://api.github.com/repos/huggingface/transformers/issues/22181/events
https://github.com/huggingface/transformers/issues/22181
1,625,465,530
I_kwDOCUB6oc5g4qK6
22,181
RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback): cannot import name '_rename_parameter' from 'scipy._lib._util' (/databricks/python/lib/python3.8/site-packages/scipy/_lib/_util.py)
{ "login": "k3ybladewielder", "id": 50303964, "node_id": "MDQ6VXNlcjUwMzAzOTY0", "avatar_url": "https://avatars.githubusercontent.com/u/50303964?v=4", "gravatar_id": "", "url": "https://api.github.com/users/k3ybladewielder", "html_url": "https://github.com/k3ybladewielder", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hi @k3ybladewielder, thanks for raising this issue.\r\n\r\nThe error is coming from python not being able to import a specific scipy module and so isn't a `transformers` related bug per se. \r\n\r\nI would try reinstalling transformers with a package manager and the `sklearn` option as it should install all the ne...
1,678
1,690
1,678
NONE
null
## Environment info transformers version: '4.26.1' Platform: Databricks the command to import, return the error below ``` from transformers import pipeline ``` ``` RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback): cannot import name '_renam...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22181/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22181/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22180
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22180/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22180/comments
https://api.github.com/repos/huggingface/transformers/issues/22180/events
https://github.com/huggingface/transformers/pull/22180
1,625,374,723
PR_kwDOCUB6oc5MGTX3
22,180
A script to add/update `pipeline_model_mapping` systematically
{ "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
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "Request @sgugger for review, as he is involved in a few related PRs before. If the core maintainers decide to let @amyeroberts to review, I can provide more context (regarding previous PRs) for her to ease the review process.", "_The documentation is not available anymore as the PR was closed or merged._", "I ...
1,678
1,680
1,680
COLLABORATOR
null
# What does this PR do? This script will ease the process of adding and/or updating `pipeline_model_mapping` in test files in the future, in a systematical way (no manual editing). This is also one part of the process of [tiny model creation/upload + tiny model info update + **test file update**] The basic ide...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22180/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22180/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22180", "html_url": "https://github.com/huggingface/transformers/pull/22180", "diff_url": "https://github.com/huggingface/transformers/pull/22180.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22180.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22179
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22179/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22179/comments
https://api.github.com/repos/huggingface/transformers/issues/22179/events
https://github.com/huggingface/transformers/issues/22179
1,625,205,160
I_kwDOCUB6oc5g3qmo
22,179
When I use Trainer with Deepspeed, the Number of trainable parameters is 0
{ "login": "noob-ctrl", "id": 63763578, "node_id": "MDQ6VXNlcjYzNzYzNTc4", "avatar_url": "https://avatars.githubusercontent.com/u/63763578?v=4", "gravatar_id": "", "url": "https://api.github.com/users/noob-ctrl", "html_url": "https://github.com/noob-ctrl", "followers_url": "https://api.github.com/users/...
[]
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "cc @stas00 ", "Thank you for the report, @noob-ctrl \r\n\r\nPlease let me know if this fix works for you: https://github.com/huggingface/transformers/pull/22193\r\n", "@stas00 Hi, it works now. Thank you!", "Thank you for testing, @noob-ctrl - the PR has been merged." ]
1,678
1,679
1,678
NONE
null
The version information is as follows: - Deepspeed. 0.8.1 - transformers. 4.26.1 ## Problem When I use Trainer with Deepspeed, the Number of trainable parameters is 0. Like this: ![image](https://user-images.githubusercontent.com/63763578/225277324-3650bbea-78f7-493a-97a2-3f9ef0bdcd5a.png) And it happens w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22179/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22179/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22178
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22178/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22178/comments
https://api.github.com/repos/huggingface/transformers/issues/22178/events
https://github.com/huggingface/transformers/issues/22178
1,625,176,878
I_kwDOCUB6oc5g3jsu
22,178
Add BEiTv3
{ "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...
[ { "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 will start working on adding the model !", "If required I can help as well", "hello, I want to test the zero shot Image text retrieval of the model on some images and texts, can you help me ?\r\n", "Is this PR going to be merged soon for Beit3 modules to be available for everyone?" ]
1,678
1,697
null
CONTRIBUTOR
null
### Model description Microsoft just open-sourced BEiTv3: https://github.com/microsoft/unilm/tree/master/beit3 This is a very powerful vision-language model that can be used as backbone for a variety of downstream tasks, from image classification to VQA to object detection. Time to add it to HF Transformers! :) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22178/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22178/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/22177
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22177/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22177/comments
https://api.github.com/repos/huggingface/transformers/issues/22177/events
https://github.com/huggingface/transformers/pull/22177
1,625,031,840
PR_kwDOCUB6oc5MFIGp
22,177
[`bnb`] Let's make serialization of int8 models possible
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "The design is not easy enough to use. If a user saves a quantized model and pushes to the Hub, it should work directly with `from_pretrained`. This is why I insisted that the quantization config should be saved inside the model confi...
1,678
1,681
1,681
CONTRIBUTOR
null
# What does this PR do? Before this PR, it was not possible to save an 8bit model, or load an 8bit model from the Hub. This PR makes this feature possible. If this PR gets merged, users can upload 8bit models on the Hub and/or load 8bit models from the Hub, hence save 2x memory compared to half-precision models. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22177/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/22177/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22177", "html_url": "https://github.com/huggingface/transformers/pull/22177", "diff_url": "https://github.com/huggingface/transformers/pull/22177.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22177.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22176
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22176/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22176/comments
https://api.github.com/repos/huggingface/transformers/issues/22176/events
https://github.com/huggingface/transformers/issues/22176
1,625,009,662
I_kwDOCUB6oc5g263-
22,176
Deepspeed initialization AttributeError: 'EncoderDecoderConfig' object has no attribute 'hidden_size'
{ "login": "ksopyla", "id": 64201, "node_id": "MDQ6VXNlcjY0MjAx", "avatar_url": "https://avatars.githubusercontent.com/u/64201?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ksopyla", "html_url": "https://github.com/ksopyla", "followers_url": "https://api.github.com/users/ksopyla/follower...
[]
closed
false
null
[]
[ "Hi @ksopyla Thanks for raising this issue and for giving all the script and environment details. Could you share the full traceback of the error encountered? \r\n\r\nAlthough I'm not immediately sure where the error is being raised, it is expected that the error occurs if `hidden_size` is being references from the...
1,678
1,682
1,682
NONE
null
### System Info System: Ubuntu 22.04 - `transformers` version: 4.26.1 - Platform: Linux-5.4.0-144-generic-x86_64-with-glibc2.29 - Python version: 3.8.13 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.13.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22176/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22176/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22175
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22175/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22175/comments
https://api.github.com/repos/huggingface/transformers/issues/22175/events
https://github.com/huggingface/transformers/issues/22175
1,625,003,876
I_kwDOCUB6oc5g25dk
22,175
wav2vec processor batching logic is too restrictive
{ "login": "LWprogramming", "id": 13173037, "node_id": "MDQ6VXNlcjEzMTczMDM3", "avatar_url": "https://avatars.githubusercontent.com/u/13173037?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LWprogramming", "html_url": "https://github.com/LWprogramming", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "cc @sanchit-gandhi @ArthurZucker ", "Hey @LWprogramming! Thanks for the comprehensive issue description - I agree that the logic for checking if the input `is_batched` is broken when the input is a batched numpy array, e.g. the feature extractor **should** set `is_batched=True` when the numpy array is 2-d, but c...
1,678
1,684
1,684
CONTRIBUTOR
null
### System Info transformers version at the time of writing is `4.26.1` ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22175/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22175/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22174
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22174/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22174/comments
https://api.github.com/repos/huggingface/transformers/issues/22174/events
https://github.com/huggingface/transformers/pull/22174
1,624,972,604
PR_kwDOCUB6oc5ME7ZA
22,174
[WIP] Add codegeex
{ "login": "yyz218", "id": 104395647, "node_id": "U_kgDOBjjzfw", "avatar_url": "https://avatars.githubusercontent.com/u/104395647?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yyz218", "html_url": "https://github.com/yyz218", "followers_url": "https://api.github.com/users/yyz218/follower...
[]
closed
false
null
[]
[]
1,678
1,678
1,678
NONE
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22174/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22174/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22174", "html_url": "https://github.com/huggingface/transformers/pull/22174", "diff_url": "https://github.com/huggingface/transformers/pull/22174.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22174.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22173
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22173/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22173/comments
https://api.github.com/repos/huggingface/transformers/issues/22173/events
https://github.com/huggingface/transformers/pull/22173
1,624,933,139
PR_kwDOCUB6oc5MEy3G
22,173
Fix DeiT Masked Image Modeling output
{ "login": "alaradirik", "id": 8944735, "node_id": "MDQ6VXNlcjg5NDQ3MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alaradirik", "html_url": "https://github.com/alaradirik", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22173). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,678
1,681
1,681
CONTRIBUTOR
null
# What does this PR do? Fixes the output of `DeiTForMaskedImageModeling` and `TFDeiTForMaskedImageModeling` by replacing the inaccurate `MaskedLMOutput` with the `MaskedImageCompletionOutput` class. Follow-up PR on #22152 ## Before submitting - [ X] This PR fixes a typo or improves the docs (you can dismiss th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22173/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22173/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22173", "html_url": "https://github.com/huggingface/transformers/pull/22173", "diff_url": "https://github.com/huggingface/transformers/pull/22173.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22173.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22172
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22172/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22172/comments
https://api.github.com/repos/huggingface/transformers/issues/22172/events
https://github.com/huggingface/transformers/issues/22172
1,624,913,128
I_kwDOCUB6oc5g2jTo
22,172
How to save the model after using checkpoint to continue training
{ "login": "yung1231", "id": 48431284, "node_id": "MDQ6VXNlcjQ4NDMxMjg0", "avatar_url": "https://avatars.githubusercontent.com/u/48431284?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yung1231", "html_url": "https://github.com/yung1231", "followers_url": "https://api.github.com/users/yun...
[]
closed
false
null
[]
[ "It looks like you accidentally deleted the best checkpoint. To fix this and be able to resume training, I'd advise to manually modify the `training_state` (which should be stored in a file named `trainer_state.json` in the checkpoint-70000 folder) and remove the key for `best_model_checkpoint`.", "I'm having the...
1,678
1,685
1,679
NONE
null
I am trying to continue training my model (gpt2) from a checkpoint. However, the error occurred in the trainer area when I finished training. I save a checkpoint for every 5000 steps, but because there is not enough space, the previous checkpoint will be deleted. The last checkpoint I used was `checkpoint-70000`,...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22172/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22172/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22171
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22171/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22171/comments
https://api.github.com/repos/huggingface/transformers/issues/22171/events
https://github.com/huggingface/transformers/issues/22171
1,624,894,882
I_kwDOCUB6oc5g2e2i
22,171
ValueError: Some specified arguments are not used by the HfArgumentParser: ['--local-rank=0']
{ "login": "bestpredicts", "id": 12403152, "node_id": "MDQ6VXNlcjEyNDAzMTUy", "avatar_url": "https://avatars.githubusercontent.com/u/12403152?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bestpredicts", "html_url": "https://github.com/bestpredicts", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi @bestpredicts, thanks for raising this issue. \r\n\r\nI can confirm that I see the same error with the most recent version of transformers and pytorch 2. I wasn't able to replicate the issue with pytorch 1.13.1 and the same transformers version.\r\n\r\nFollowing the messages in the shared error output, if I set...
1,678
1,704
1,682
NONE
null
### System Info transformers version 4.7 , pytorch2.0, python3.9 run the example code in document of transformers ```shell rm -r /tmp/test-clm; CUDA_VISIBLE_DEVICES=0,1 \ python -m torch.distributed.launch --nproc_per_node 2 examples/pytorch/language-modeling/run_clm.py \ --model_name_or_path gpt2 --datase...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22171/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22171/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22170
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22170/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22170/comments
https://api.github.com/repos/huggingface/transformers/issues/22170/events
https://github.com/huggingface/transformers/issues/22170
1,624,662,292
I_kwDOCUB6oc5g1mEU
22,170
resume_from_checkpoint is not working with Deepspeed
{ "login": "Raibows", "id": 37944786, "node_id": "MDQ6VXNlcjM3OTQ0Nzg2", "avatar_url": "https://avatars.githubusercontent.com/u/37944786?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Raibows", "html_url": "https://github.com/Raibows", "followers_url": "https://api.github.com/users/Raibow...
[]
closed
false
null
[]
[ "Hi @Raibows, you're giving me no reproduction so there is nothing I can do here as i have no idea what you did.\r\n\r\nthere is no need for tag, deepspeed's `save_checkpoint` creates a `latest` file and uses that to find the checkpoint for resume.\r\n\r\nI can send you to a test that validates the resume works - g...
1,678
1,679
1,679
NONE
null
### System Info - `transformers` version: 4.26.1 - Platform: Linux-5.4.0-139-generic-x86_64-with-glibc2.17 - Python version: 3.8.16 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.13.1 (True) - Tensorflow version (GPU?): 2.7.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22170/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22170/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22169
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22169/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22169/comments
https://api.github.com/repos/huggingface/transformers/issues/22169/events
https://github.com/huggingface/transformers/issues/22169
1,624,558,030
I_kwDOCUB6oc5g1MnO
22,169
Wrong "view source" links on main docs
{ "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
[]
[ "cc @stevhliu ", "The tag will be out in a couple of hours. The doc for the v4.27.0 release was pushed last night and the rest of the release will follow this morning. Thanks for catching this so quicly!" ]
1,678
1,679
1,679
CONTRIBUTOR
null
### System Info NA ### Who can help? @sgugger ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Reproduction When viewing the lat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22169/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22169/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22168
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22168/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22168/comments
https://api.github.com/repos/huggingface/transformers/issues/22168/events
https://github.com/huggingface/transformers/issues/22168
1,624,460,056
I_kwDOCUB6oc5g00sY
22,168
(Not So) Bad words list for text generation
{ "login": "iiglesias-asapp", "id": 108540116, "node_id": "U_kgDOBngw1A", "avatar_url": "https://avatars.githubusercontent.com/u/108540116?v=4", "gravatar_id": "", "url": "https://api.github.com/users/iiglesias-asapp", "html_url": "https://github.com/iiglesias-asapp", "followers_url": "https://api.githu...
[]
closed
false
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[ { "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.co...
[ "cc @gante ", "Hey @iiglesias-asapp 👋 Thank you for the suggestion! \r\n\r\nBefore we dive into adding code, a disclaimer -- one of the current problems with `.generate()` is that there are too many options, scaring users away from the docs. This means that I will be conservative before giving the green light to...
1,678
1,687
1,687
NONE
null
### Feature request Support a soft penalization logits processor in the transformers generate method (extends NoBadWordsLogitsProcessor). ### Motivation - The [NoBadWordsLogitsProcessor](https://huggingface.co/docs/transformers/internal/generation_utils#transformers.NoBadWordsLogitsProcessor) forbids the gener...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22168/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/22168/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22167
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22167/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22167/comments
https://api.github.com/repos/huggingface/transformers/issues/22167/events
https://github.com/huggingface/transformers/issues/22167
1,624,454,672
I_kwDOCUB6oc5g0zYQ
22,167
No checkpoint saved during training
{ "login": "lxlxlxx", "id": 15678197, "node_id": "MDQ6VXNlcjE1Njc4MTk3", "avatar_url": "https://avatars.githubusercontent.com/u/15678197?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lxlxlxx", "html_url": "https://github.com/lxlxlxx", "followers_url": "https://api.github.com/users/lxlxlx...
[]
closed
false
null
[]
[ "Hi @lxlxlxx thanks for raising this issue. Could you share which script you're running e.g. `run_mlm.py`? ", "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 n...
1,678
1,682
1,682
NONE
null
### System Info - `transformers` version: 4.10.0 - Platform: Windows-10-10.0.22000-SP0 - Python version: 3.9.0 - PyTorch version (GPU?): 1.13.1+cu116 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not inst...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22167/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22167/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22166
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22166/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22166/comments
https://api.github.com/repos/huggingface/transformers/issues/22166/events
https://github.com/huggingface/transformers/issues/22166
1,624,354,320
I_kwDOCUB6oc5g0a4Q
22,166
Mismatch between CLIP fast and non-fast tokenizers
{ "login": "xenova", "id": 26504141, "node_id": "MDQ6VXNlcjI2NTA0MTQx", "avatar_url": "https://avatars.githubusercontent.com/u/26504141?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xenova", "html_url": "https://github.com/xenova", "followers_url": "https://api.github.com/users/xenova/fo...
[]
closed
false
null
[]
[ "cc @ArthurZucker ", "Note: If you would like to get matching tokenizing before a fix goes in, installing `ftfy` first should do it.\r\n\r\nInitially looked to fix this specific issue around apostrophes, but it became apparent there were other potential formatting inconsistencies. For example, running the below a...
1,678
1,687
1,687
CONTRIBUTOR
null
### System Info - `transformers` version: 4.26.1 - Platform: Windows-10-10.0.22621-SP0 - Python version: 3.8.1 - Huggingface_hub version: 0.11.0 - PyTorch version (GPU?): 1.12.1+cu116 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not in...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22166/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22166/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22165
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22165/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22165/comments
https://api.github.com/repos/huggingface/transformers/issues/22165/events
https://github.com/huggingface/transformers/issues/22165
1,624,260,024
I_kwDOCUB6oc5g0D24
22,165
TypeError: zero_grad() got an unexpected keyword argument 'set_to_none'
{ "login": "savitamittal1", "id": 39776179, "node_id": "MDQ6VXNlcjM5Nzc2MTc5", "avatar_url": "https://avatars.githubusercontent.com/u/39776179?v=4", "gravatar_id": "", "url": "https://api.github.com/users/savitamittal1", "html_url": "https://github.com/savitamittal1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Yes, this has been fixed already on main. You just need to pull from source :-)", "ah, thankyou for quick fix. :)" ]
1,678
1,678
1,678
NONE
null
### System Info Getting below error while runing Bert pretraining using Huggingface trainer with deepspeed 0.8.2 version and pytorch 2.0RC Traceback (most recent call last): File "pretrain_glue.py", line 124, in <module> result = trainer.train() File "/opt/conda/envs/env/lib/python3.8/site-packages/trans...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22165/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22165/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22164
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22164/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22164/comments
https://api.github.com/repos/huggingface/transformers/issues/22164/events
https://github.com/huggingface/transformers/issues/22164
1,624,044,082
I_kwDOCUB6oc5gzPIy
22,164
Error when running pipeline with whisper and using the 'return_dict_in_generate=True' option
{ "login": "panagiotidi", "id": 4665941, "node_id": "MDQ6VXNlcjQ2NjU5NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/4665941?v=4", "gravatar_id": "", "url": "https://api.github.com/users/panagiotidi", "html_url": "https://github.com/panagiotidi", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "cc @ArthurZucker ", "Hey! Thanks for reporting. This is normal as the `pipeline` does not support returning the usual `dictionary`. \r\nWe should probably prevent this behaviour (raise an error when `return_dict_in_generate` is set in the pipeline) cc @Narsil this is a duplicate of another issue but I can't find...
1,678
1,682
1,682
NONE
null
### System Info - `transformers` version: 4.26.1 - Platform: macOS-13.1-x86_64-i386-64bit - Python version: 3.9.16 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.13.0 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not ins...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22164/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22164/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22163
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22163/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22163/comments
https://api.github.com/repos/huggingface/transformers/issues/22163/events
https://github.com/huggingface/transformers/pull/22163
1,623,964,867
PR_kwDOCUB6oc5MBjKw
22,163
Revert "Enforce same behavior as PyTorch 2.0 for older versions"
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
COLLABORATOR
null
Reverts huggingface/transformers#22136 As we discovered this was breaking the DeepSpeed integration (and thus potential other integrations wrapping the model), it's safer to revert this change for now.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22163/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/22163/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22163", "html_url": "https://github.com/huggingface/transformers/pull/22163", "diff_url": "https://github.com/huggingface/transformers/pull/22163.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22163.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22162
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22162/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22162/comments
https://api.github.com/repos/huggingface/transformers/issues/22162/events
https://github.com/huggingface/transformers/pull/22162
1,623,719,145
PR_kwDOCUB6oc5MAuF3
22,162
Run all tests by default
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
COLLABORATOR
null
# What does this PR do? This PR makes the default value for the crosstests PT<>TF and PT<>FLAX true by default. This way when a user runs tests locally, all tests are run (the only exception being the hub staging tests, which require setting an env variable anyway to use moon-staging instead of moon-landing). In the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22162/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22162/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22162", "html_url": "https://github.com/huggingface/transformers/pull/22162", "diff_url": "https://github.com/huggingface/transformers/pull/22162.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22162.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22161
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22161/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22161/comments
https://api.github.com/repos/huggingface/transformers/issues/22161/events
https://github.com/huggingface/transformers/issues/22161
1,623,663,792
I_kwDOCUB6oc5gxySw
22,161
GPT Neox rotary embedding does not work with padding left
{ "login": "OlivierDehaene", "id": 23298448, "node_id": "MDQ6VXNlcjIzMjk4NDQ4", "avatar_url": "https://avatars.githubusercontent.com/u/23298448?v=4", "gravatar_id": "", "url": "https://api.github.com/users/OlivierDehaene", "html_url": "https://github.com/OlivierDehaene", "followers_url": "https://api.gi...
[]
closed
false
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[ { "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "...
[ "Hey thanks for reporting! ", "It is possible that this is not the root cause but there is an issue with these lines:\r\n\r\n```python\r\noffset = 0\r\nif has_layer_past:\r\n offset = layer_past[0].shape[-2]\r\n seq_len += offset\r\ncos, sin = self.rotary_emb(value, seq_len=seq_len)\r\nquery, key = apply_ro...
1,678
1,684
1,684
MEMBER
null
### System Info - `transformers` version: 4.26.1 - Platform: Linux-5.4.0-1097-aws-x86_64-with-glibc2.27 - Python version: 3.10.9 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.13.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22161/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/22161/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22160
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22160/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22160/comments
https://api.github.com/repos/huggingface/transformers/issues/22160/events
https://github.com/huggingface/transformers/issues/22160
1,623,612,178
I_kwDOCUB6oc5gxlsS
22,160
[i18n-it] Translating docs to it
{ "login": "davidegazze", "id": 1748729, "node_id": "MDQ6VXNlcjE3NDg3Mjk=", "avatar_url": "https://avatars.githubusercontent.com/u/1748729?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidegazze", "html_url": "https://github.com/davidegazze", "followers_url": "https://api.github.com/us...
[ { "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
[]
[ "Please stop opening those issues without filling the template. This is spamming every maintainer of the library." ]
1,678
1,678
1,678
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 <languageName>-speaking community 🌐 (currently 0 out of 267 complete) Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22160/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22160/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22159
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22159/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22159/comments
https://api.github.com/repos/huggingface/transformers/issues/22159/events
https://github.com/huggingface/transformers/pull/22159
1,623,583,846
PR_kwDOCUB6oc5MAQy9
22,159
Load optimizer state on CPU to avoid CUDA OOM
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
COLLABORATOR
null
# What does this PR do? As reported in #22123 resuming from a checkpoint can get a user out of memory if the optimizer state is loaded directly on GPU. This PR loads it on CPU by default and it will be copied over to the proper device by PyTorch in `load_state_dict`. This might be a bit slower at the checkpoint load...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22159/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22159/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22159", "html_url": "https://github.com/huggingface/transformers/pull/22159", "diff_url": "https://github.com/huggingface/transformers/pull/22159.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22159.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22158
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22158/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22158/comments
https://api.github.com/repos/huggingface/transformers/issues/22158/events
https://github.com/huggingface/transformers/pull/22158
1,623,556,381
PR_kwDOCUB6oc5MAK5X
22,158
to_pil - don't rescale if int and in range 0-255
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
COLLABORATOR
null
# What does this PR do? #21969 Introduced a bug where binary masks would have their values rescaled to between 0-255. This was because of [this part](https://github.com/huggingface/transformers/blob/4063fd9cba6b72ebfd5c663a307ab9d5ff1a153d/src/transformers/image_transforms.py#L161) of the logic check. The origin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22158/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22158/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22158", "html_url": "https://github.com/huggingface/transformers/pull/22158", "diff_url": "https://github.com/huggingface/transformers/pull/22158.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22158.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22157
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22157/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22157/comments
https://api.github.com/repos/huggingface/transformers/issues/22157/events
https://github.com/huggingface/transformers/issues/22157
1,623,474,670
I_kwDOCUB6oc5gxEHu
22,157
LayoutLM model only able to classify individual words instead of entire sections
{ "login": "keval2415", "id": 105478351, "node_id": "U_kgDOBkl4zw", "avatar_url": "https://avatars.githubusercontent.com/u/105478351?v=4", "gravatar_id": "", "url": "https://api.github.com/users/keval2415", "html_url": "https://github.com/keval2415", "followers_url": "https://api.github.com/users/keval2...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[ "Hi @keval2415 - thanks for opening an issue. \r\n\r\nCan you please use the [forum](https://discuss.huggingface.co/) for questions like this. We try to keep the github issues reserved for bugs or feature requests. " ]
1,678
1,678
1,678
NONE
null
### Model description Model I am using (LayoutLM ...): Here, I would like to develop a custom resume parser model that can accurately predict the sections for *EDUCATION*, *SKILLS*, and *EXPERIENCE* based on the resume. I have fine-tuned the *LayoutLMv3* model on a custom dataset that is similar to the *FUNSD* data...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22157/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22157/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22156
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22156/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22156/comments
https://api.github.com/repos/huggingface/transformers/issues/22156/events
https://github.com/huggingface/transformers/issues/22156
1,623,287,790
I_kwDOCUB6oc5gwWfu
22,156
[i18n-it] Translating docs to it
{ "login": "davidegazze", "id": 1748729, "node_id": "MDQ6VXNlcjE3NDg3Mjk=", "avatar_url": "https://avatars.githubusercontent.com/u/1748729?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidegazze", "html_url": "https://github.com/davidegazze", "followers_url": "https://api.github.com/us...
[ { "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,678
1,678
1,678
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 <languageName>-speaking community 🌐 (currently 0 out of 267 complete) Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22156/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22156/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22155
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22155/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22155/comments
https://api.github.com/repos/huggingface/transformers/issues/22155/events
https://github.com/huggingface/transformers/pull/22155
1,623,216,672
PR_kwDOCUB6oc5L_A4S
22,155
Fix GPT2 position ids issues
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22155). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,678
1,682
1,682
COLLABORATOR
null
# What does this PR do? Follow up PR of #21080
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22155/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22155/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22155", "html_url": "https://github.com/huggingface/transformers/pull/22155", "diff_url": "https://github.com/huggingface/transformers/pull/22155.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22155.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22154
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22154/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22154/comments
https://api.github.com/repos/huggingface/transformers/issues/22154/events
https://github.com/huggingface/transformers/issues/22154
1,623,200,185
I_kwDOCUB6oc5gwBG5
22,154
data collator or tokenizer.pad has bug when add new features to data
{ "login": "lanlanlan3", "id": 28173281, "node_id": "MDQ6VXNlcjI4MTczMjgx", "avatar_url": "https://avatars.githubusercontent.com/u/28173281?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lanlanlan3", "html_url": "https://github.com/lanlanlan3", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @lanlanlan3 - thanks for opening this issue. \r\n\r\nThe reason this error is being thrown is that `\"new_feature\"` won't be padded and therefore the tensors can't be concatenated to create a batch. This can be seen if the inputs passed are lists and the return type not specified: \r\n\r\n```python\r\n>>> sam...
1,678
1,679
1,679
NONE
null
### System Info transformers 4.26.1, mac m1, python 3.9.13 ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22154/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22154/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22153
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22153/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22153/comments
https://api.github.com/repos/huggingface/transformers/issues/22153/events
https://github.com/huggingface/transformers/issues/22153
1,623,179,826
I_kwDOCUB6oc5gv8Iy
22,153
Specify metric aggregation strategy when evaluating on multiple validation datasets using `Trainer` class
{ "login": "larrylawl", "id": 40198156, "node_id": "MDQ6VXNlcjQwMTk4MTU2", "avatar_url": "https://avatars.githubusercontent.com/u/40198156?v=4", "gravatar_id": "", "url": "https://api.github.com/users/larrylawl", "html_url": "https://github.com/larrylawl", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "This is a bit too niche to be added in the Trainer, it might be best to write your own subclass for this." ]
1,678
1,678
1,678
NONE
null
### Feature request Specify metric aggregation strategy when evaluating on multiple validation datasets using `Trainer` class. This metric aggregation strategy will output a `metric: Dict[str, float]` by aggregating the metrics computed from the multiple validation sets. ### Motivation When evaluating on m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22153/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22153/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22152
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22152/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22152/comments
https://api.github.com/repos/huggingface/transformers/issues/22152/events
https://github.com/huggingface/transformers/pull/22152
1,623,126,659
PR_kwDOCUB6oc5L-tch
22,152
Create MaskedImageCompletionOutput and fix ViT docs
{ "login": "alaradirik", "id": 8944735, "node_id": "MDQ6VXNlcjg5NDQ3MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alaradirik", "html_url": "https://github.com/alaradirik", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Gently pinging @amyeroberts for the final approval", "masked-image-completion pipeline sounds awesome 🙌" ]
1,678
1,678
1,678
CONTRIBUTOR
null
# What does this PR do? Fixes the output class and docs of `ViTForMaskedImageModeling `which returns images of shape (batch_size, num_channels, height, width) whereas MaskedLMOutput logits are of shape (batch_size, seq_length, vocab_size). **Notes:** - We have no checkpoints for `ViTForMaskedImageModeling` and the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22152/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/22152/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22152", "html_url": "https://github.com/huggingface/transformers/pull/22152", "diff_url": "https://github.com/huggingface/transformers/pull/22152.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22152.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22151
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22151/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22151/comments
https://api.github.com/repos/huggingface/transformers/issues/22151/events
https://github.com/huggingface/transformers/pull/22151
1,623,098,578
PR_kwDOCUB6oc5L-ncq
22,151
Translation Italian: perf_train_cpu and perf_train_cpu_many
{ "login": "nickprock", "id": 11136646, "node_id": "MDQ6VXNlcjExMTM2NjQ2", "avatar_url": "https://avatars.githubusercontent.com/u/11136646?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nickprock", "html_url": "https://github.com/nickprock", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
CONTRIBUTOR
null
## What does this PR do? Italian translation of doc related to the preprocessing of :hugs: Transformers. * updated _toctree.yml * added perf_train_cpu.mdx * added perf_train_cpu_many.mdx ## Before submitting - [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case)....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22151/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22151/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22151", "html_url": "https://github.com/huggingface/transformers/pull/22151", "diff_url": "https://github.com/huggingface/transformers/pull/22151.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22151.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22150
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22150/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22150/comments
https://api.github.com/repos/huggingface/transformers/issues/22150/events
https://github.com/huggingface/transformers/issues/22150
1,622,997,697
I_kwDOCUB6oc5gvPrB
22,150
Returning n-best hypotheses from Wav2Vec2ProcessorWithLM decoder
{ "login": "vsokolovskii", "id": 48914918, "node_id": "MDQ6VXNlcjQ4OTE0OTE4", "avatar_url": "https://avatars.githubusercontent.com/u/48914918?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vsokolovskii", "html_url": "https://github.com/vsokolovskii", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "cc @sanchit-gandhi ", "> \r\n\r\nplease, tell me your opinion on this feature :)" ]
1,678
1,679
1,679
CONTRIBUTOR
null
### Feature request Currently, the [Wav2Vec2ProcessorWithLM](https://github.com/huggingface/transformers/blob/ae54e3c3b18bac0832ad62ea9b896dfd52a09850/src/transformers/models/wav2vec2_with_lm/processing_wav2vec2_with_lm.py#L67) decode function returns [only the best hypothesis](https://github.com/huggingface/transfo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22150/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22150/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22149
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22149/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22149/comments
https://api.github.com/repos/huggingface/transformers/issues/22149/events
https://github.com/huggingface/transformers/issues/22149
1,622,903,657
I_kwDOCUB6oc5gu4tp
22,149
Failed to dump torchscript model for GPT2
{ "login": "zhuango", "id": 5491519, "node_id": "MDQ6VXNlcjU0OTE1MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/5491519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhuango", "html_url": "https://github.com/zhuango", "followers_url": "https://api.github.com/users/zhuango/...
[]
closed
false
null
[]
[ "Hey! Thanks for reporting. This is indeed a bug, will see what we can do to fix that!", "Hi @zhuango,\r\n\r\nI think your problem is more related to how you trace the model rather than the transformers library itself. Since you're tracing a function (not the model itself), JIT trace knows nothing about model par...
1,678
1,682
1,682
NONE
null
### System Info python version, 3.7 transformers version, 4.26.1 ### Who can help? @ArthurZucker, @younesbelkada ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22149/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22149/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22148
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22148/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22148/comments
https://api.github.com/repos/huggingface/transformers/issues/22148/events
https://github.com/huggingface/transformers/pull/22148
1,622,834,153
PR_kwDOCUB6oc5L9vMm
22,148
Update 2 doctest expected values for torch 2.0.0
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
COLLABORATOR
null
# What does this PR do? 2 doctests need to update their expected values with torch 2.0.0. (same reason as in #21975)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22148/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22148/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22148", "html_url": "https://github.com/huggingface/transformers/pull/22148", "diff_url": "https://github.com/huggingface/transformers/pull/22148.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22148.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22147
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22147/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22147/comments
https://api.github.com/repos/huggingface/transformers/issues/22147/events
https://github.com/huggingface/transformers/issues/22147
1,622,778,172
I_kwDOCUB6oc5guaE8
22,147
OneFormerProcessor、MaskFormerImageProcessor will cause errors if segmentation_maps only have elements 0 and 1
{ "login": "yuyijiong", "id": 73890704, "node_id": "MDQ6VXNlcjczODkwNzA0", "avatar_url": "https://avatars.githubusercontent.com/u/73890704?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuyijiong", "html_url": "https://github.com/yuyijiong", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "cc @amyeroberts @alaradirik " ]
1,678
1,678
1,678
NONE
null
### System Info transformers-4.26.0 do not have this bug but transformers-4.27.0.dev0 has. ### Who can help? _No response_ ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My ow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22147/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22147/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22146
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22146/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22146/comments
https://api.github.com/repos/huggingface/transformers/issues/22146/events
https://github.com/huggingface/transformers/issues/22146
1,622,567,046
I_kwDOCUB6oc5gtmiG
22,146
Missing parameter settings in BLIP 2
{ "login": "Marcophono2", "id": 22599855, "node_id": "MDQ6VXNlcjIyNTk5ODU1", "avatar_url": "https://avatars.githubusercontent.com/u/22599855?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Marcophono2", "html_url": "https://github.com/Marcophono2", "followers_url": "https://api.github.com/...
[]
closed
false
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "htt...
[ "Hey! Did you try playing with `generation_config` ? All the arguments that you are looking for can either be setup inside, or provided in the `generate` kwargs. Tempertature and penalty length are both availble 😉 not sure about nucleus sampling, but what you are looking for is probably [here](https://huggingface....
1,678
1,697
1,685
NONE
null
### System Info - `transformers` version: 4.27.0.dev0 - Platform: Linux-5.19.0-31-generic-x86_64-with-glibc2.36 - Python version: 3.10.6 - Huggingface_hub version: 0.12.0 - PyTorch version (GPU?): 2.0.0.dev20230209+cu118 (True) - Tensorflow version (GPU?): 2.11.0 (True) - Flax version (CPU?/GPU?/TPU?): not insta...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22146/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22146/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22145
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22145/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22145/comments
https://api.github.com/repos/huggingface/transformers/issues/22145/events
https://github.com/huggingface/transformers/pull/22145
1,622,462,277
PR_kwDOCUB6oc5L8fli
22,145
Update BridgeTowerForContrastiveLearning
{ "login": "abhiwand", "id": 12353176, "node_id": "MDQ6VXNlcjEyMzUzMTc2", "avatar_url": "https://avatars.githubusercontent.com/u/12353176?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhiwand", "html_url": "https://github.com/abhiwand", "followers_url": "https://api.github.com/users/abh...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thank @ydshieh and @amyeroberts for your suggestions. In the latest commit, we addressed all of your feedbacks except one that regards to tests inspired from Clip's tests.\r\n@ydshieh Regarding tests, yes, you are right, it will requ...
1,678
1,678
1,678
CONTRIBUTOR
null
# What does this PR do? 1. Use return_loss in BridgeTowerForContrastiveLearning 2. Update example in BridgeTowerForContrastiveLearning 3. Handles @amyeroberts suggestion from https://github.com/huggingface/transformers/pull/21964 to use smaller vocab_size for BridgeTowerTester <!-- Congratulations! You've made...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22145/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22145/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22145", "html_url": "https://github.com/huggingface/transformers/pull/22145", "diff_url": "https://github.com/huggingface/transformers/pull/22145.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22145.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22144
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22144/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22144/comments
https://api.github.com/repos/huggingface/transformers/issues/22144/events
https://github.com/huggingface/transformers/pull/22144
1,622,297,409
PR_kwDOCUB6oc5L76_p
22,144
[trainer] add `--optim adamw_torch_fused` for pt-2.0+
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Arg, indeed let's wait a bit to make it the default then and leave the default untouched for now.", "I made additional fixes, please see the OP for details. Of course, I'm open to suggestions to handle these multiple nuances differ...
1,678
1,679
1,678
CONTRIBUTOR
null
This PR implement the discussion of https://github.com/huggingface/transformers/issues/22141 to 1. add support for the fused version of torch's AdamW. via `--optim adamw_torch_fused` 2. due it being too new, untested and a known bug the fix of which didn't make it into pt-2.0.0 - I did not make `--optim adamw_torch_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22144/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22144/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22144", "html_url": "https://github.com/huggingface/transformers/pull/22144", "diff_url": "https://github.com/huggingface/transformers/pull/22144.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22144.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22143
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22143/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22143/comments
https://api.github.com/repos/huggingface/transformers/issues/22143/events
https://github.com/huggingface/transformers/issues/22143
1,622,169,508
I_kwDOCUB6oc5gsFek
22,143
[trainer] bug in resume and gas>1
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "Actually thought more about it this morning. The gradients accumulated before the save will be lost, so even if we save the `total_batched_samples` variable, we won't be able to resume training with the same gradients (they will be 0 instead of whatever was accumulated before the checkpoint).\r\n\r\nSo I think lea...
1,678
1,682
1,682
CONTRIBUTOR
null
https://github.com/huggingface/transformers/pull/22098 fixed the issue with GAS>1 at the epoch boundary. the same bug will still happens at resume boundary, since `total_batched_samples` is currently reset to 0. So need to save `total_batched_samples` and restore from the saved value on resume.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22143/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/22143/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22142
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22142/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22142/comments
https://api.github.com/repos/huggingface/transformers/issues/22142/events
https://github.com/huggingface/transformers/issues/22142
1,622,150,862
I_kwDOCUB6oc5gsA7O
22,142
fix url post pt-2.0 release
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[]
1,678
1,681
1,681
CONTRIBUTOR
null
change: https://pytorch.org/docs/2.0/generated/torch.compile.html?highlight=torch+compile#torch.compile to: https://pytorch.org/docs/stable/generated/torch.compile.html?highlight=torch+compile#torch.compile once the latter doc appears post pt-2.0 release for the trainer code here: https://github.com/huggingface...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22142/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22142/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22141
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22141/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22141/comments
https://api.github.com/repos/huggingface/transformers/issues/22141/events
https://github.com/huggingface/transformers/issues/22141
1,622,069,198
I_kwDOCUB6oc5grs_O
22,141
[Trainer] fused torch `AdamW` is added in 2.0
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "Good question! It might also revive the question of switching the optimizer from the HF implementation to the PyTorch one. Maybe we could add `adamw_fused_torch` as an option and then use for the default value of optim:\r\n- `adamw_hf` on PyTorch < 2.0 (as before)\r\n- `adamw_fused_torch` on PyTorch >= 2.0 so that...
1,678
1,679
1,678
CONTRIBUTOR
null
### Feature request there is a faster pytorch version of AdamW, it's the fused one. it was added in Feb-23 and will be part of pt-2.0. `AdamW(self, params, lr=1e-3, betas=(0.9, 0.999), eps=1e-8…, fused=True).` there is also `Adam` (not `AdamW`) which also has the fused version since pt-1.13 but we don't expose...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22141/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/22141/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22140
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22140/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22140/comments
https://api.github.com/repos/huggingface/transformers/issues/22140/events
https://github.com/huggingface/transformers/pull/22140
1,622,061,848
PR_kwDOCUB6oc5L7I5G
22,140
Remove backend check for torch.compile
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
COLLABORATOR
null
# What does this PR do? Since many of the choices in the list of backends for `torch.compile` do not work, this PR removes any check on the backend selected and let PyTorch itself errors if not happy. This also cleans up a bit the integration and mark everything as experimental.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22140/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22140/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22140", "html_url": "https://github.com/huggingface/transformers/pull/22140", "diff_url": "https://github.com/huggingface/transformers/pull/22140.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22140.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22139
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22139/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22139/comments
https://api.github.com/repos/huggingface/transformers/issues/22139/events
https://github.com/huggingface/transformers/pull/22139
1,621,966,642
PR_kwDOCUB6oc5L61CL
22,139
Update configuration_align.py (projected_dim=640)
{ "login": "bishmdl76", "id": 68867214, "node_id": "MDQ6VXNlcjY4ODY3MjE0", "avatar_url": "https://avatars.githubusercontent.com/u/68867214?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bishmdl76", "html_url": "https://github.com/bishmdl76", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
CONTRIBUTOR
null
updated projected_dim=640 in the argument section of the class AlignConfig
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22139/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22139/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22139", "html_url": "https://github.com/huggingface/transformers/pull/22139", "diff_url": "https://github.com/huggingface/transformers/pull/22139.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22139.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22138
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22138/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22138/comments
https://api.github.com/repos/huggingface/transformers/issues/22138/events
https://github.com/huggingface/transformers/pull/22138
1,621,694,281
PR_kwDOCUB6oc5L563g
22,138
Fix doc link for MGP-STR
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
COLLABORATOR
null
# What does this PR do? This fixes the link to the doc.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22138/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22138/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22138", "html_url": "https://github.com/huggingface/transformers/pull/22138", "diff_url": "https://github.com/huggingface/transformers/pull/22138.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22138.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22137
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22137/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22137/comments
https://api.github.com/repos/huggingface/transformers/issues/22137/events
https://github.com/huggingface/transformers/issues/22137
1,621,682,507
I_kwDOCUB6oc5gqOlL
22,137
Return attention_mask in FeatureExtractionPipeline output
{ "login": "anruijian", "id": 115125339, "node_id": "U_kgDOBtysWw", "avatar_url": "https://avatars.githubusercontent.com/u/115125339?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anruijian", "html_url": "https://github.com/anruijian", "followers_url": "https://api.github.com/users/anruij...
[]
closed
false
null
[]
[ "This doesn't seem like a use-case for the pipeline though. Since you want access to the process inputs, you should just used the tokenizer and the model directly.", "Your comment makes sense. As my goal aligns with the pipeline's main functionality, I think I will subclass `FeatureExtractionPipeline` and make sm...
1,678
1,682
1,682
CONTRIBUTOR
null
### Feature request Return `attention_mask` as one output of the FeatureExtractionPipeline so that padding token embeddings can be ignored. ### Motivation **Who can help?** @Narsil When using the `FeatureExtractionPipeline` to generate sentence embeddings, the input to the pipeline processes a raw sentence with ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22137/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22137/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22136
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22136/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22136/comments
https://api.github.com/repos/huggingface/transformers/issues/22136/events
https://github.com/huggingface/transformers/pull/22136
1,621,596,268
PR_kwDOCUB6oc5L5lkb
22,136
Enforce same behavior as PyTorch 2.0 for older versions
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "hmm, that didn't work on DS side - perhaps they have an old pytorch - checking\r\n\r\n```\r\n2023-03-13T21:25:45.7750922Z Traceback (most recent call last):\r\n2023-03-13T21:25:45.7751317Z File \"/tmp/actions-runner/_work/DeepSpeed...
1,678
1,678
1,678
COLLABORATOR
null
# What does this PR do? The default of `set_to_none` will change in PyTorch 2.0 because it is slightly better in terms of memory consumption. This PR uses it for all versions of PyTorch in the Trainer.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22136/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22136/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22136", "html_url": "https://github.com/huggingface/transformers/pull/22136", "diff_url": "https://github.com/huggingface/transformers/pull/22136.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22136.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22135
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22135/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22135/comments
https://api.github.com/repos/huggingface/transformers/issues/22135/events
https://github.com/huggingface/transformers/pull/22135
1,621,592,947
PR_kwDOCUB6oc5L5k3S
22,135
Prepare daily CI for torch 2.0.0
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
COLLABORATOR
null
# What does this PR do? ~~⚠️⚠️ Don't merge before I run it (again) ⚠️⚠️~~ This PR changes docker files / workflow files to use the upcoming torch `2.0.0`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22135/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22135/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22135", "html_url": "https://github.com/huggingface/transformers/pull/22135", "diff_url": "https://github.com/huggingface/transformers/pull/22135.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22135.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22133
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22133/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22133/comments
https://api.github.com/repos/huggingface/transformers/issues/22133/events
https://github.com/huggingface/transformers/pull/22133
1,621,499,615
PR_kwDOCUB6oc5L5Qol
22,133
[`Whiper`] add `get_input_embeddings` to `WhisperForAudioClassification`
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Yes I can confirm the script provided by the user:\r\n```python\r\nfrom transformers import WhisperFeatureExtractor\r\nfrom transformers import WhisperTokenizer\r\nfrom transformers import WhisperProcessor\r\nfrom transformers import...
1,678
1,678
1,678
CONTRIBUTOR
null
# What does this PR do? Fixes: https://github.com/huggingface/peft/issues/173 Fixes: https://github.com/huggingface/transformers/issues/22131 This PR adds `get_input_embeddings` method to `WhisperForAudioClassification` and `WhisperForConditionalGeneration` to avoid some issues such as [here](https://github.co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22133/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22133/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22133", "html_url": "https://github.com/huggingface/transformers/pull/22133", "diff_url": "https://github.com/huggingface/transformers/pull/22133.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22133.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22132
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22132/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22132/comments
https://api.github.com/repos/huggingface/transformers/issues/22132/events
https://github.com/huggingface/transformers/pull/22132
1,621,484,418
PR_kwDOCUB6oc5L5Naw
22,132
Zero-shot image classification task guide
{ "login": "MKhalusova", "id": 1065417, "node_id": "MDQ6VXNlcjEwNjU0MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MKhalusova", "html_url": "https://github.com/MKhalusova", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Related PR with images https://huggingface.co/datasets/huggingface/documentation-images/discussions/57", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,699
1,678
CONTRIBUTOR
null
This PR adds the inference task guide for zero-shot image classification. It adds examples of inference with a pipeline and manual inference.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22132/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22132/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22132", "html_url": "https://github.com/huggingface/transformers/pull/22132", "diff_url": "https://github.com/huggingface/transformers/pull/22132.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22132.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22131
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22131/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22131/comments
https://api.github.com/repos/huggingface/transformers/issues/22131/events
https://github.com/huggingface/transformers/issues/22131
1,621,478,801
I_kwDOCUB6oc5gpc2R
22,131
WhisperForAudioClassification can't be prepared for int8 training
{ "login": "Nikhil-Paleti", "id": 68870951, "node_id": "MDQ6VXNlcjY4ODcwOTUx", "avatar_url": "https://avatars.githubusercontent.com/u/68870951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Nikhil-Paleti", "html_url": "https://github.com/Nikhil-Paleti", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "cc @younesbelkada @pacman100 ", "https://github.com/huggingface/transformers/pull/22133 should fix the issue" ]
1,678
1,678
1,678
NONE
null
### System Info System: Google Colab Pro latest version of transformers installed through: !pip install -q git+https://github.com/huggingface/transformers.git@main ### Who can help? The code that I used is: ``` from transformers import WhisperFeatureExtractor from transformers import WhisperTokenizer from...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22131/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22131/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22130
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22130/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22130/comments
https://api.github.com/repos/huggingface/transformers/issues/22130/events
https://github.com/huggingface/transformers/pull/22130
1,621,478,433
PR_kwDOCUB6oc5L5MIo
22,130
Fix gradient checkpointing bug in LongT5
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "No problem! Yeah I added it because I thought it was incorrectly omitted from LongT5Stack. Should it be removed?", "_The documentation is not available anymore as the PR was closed or merged._", "I think your changes are fine and it was something we forgot to add on our side at the first place ! " ]
1,678
1,678
1,678
CONTRIBUTOR
null
This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes Issue https://github.com/huggingface/transformers/issues/21737 cc @younesbelkada or @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22130/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22130/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22130", "html_url": "https://github.com/huggingface/transformers/pull/22130", "diff_url": "https://github.com/huggingface/transformers/pull/22130.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22130.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22129
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22129/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22129/comments
https://api.github.com/repos/huggingface/transformers/issues/22129/events
https://github.com/huggingface/transformers/pull/22129
1,621,454,635
PR_kwDOCUB6oc5L5G_p
22,129
Fix gradient checkpointing bug in xmod
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
CONTRIBUTOR
null
This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes Issue https://github.com/huggingface/transformers/issues/21737 cc @younesbelkada or @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22129/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22129/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22129", "html_url": "https://github.com/huggingface/transformers/pull/22129", "diff_url": "https://github.com/huggingface/transformers/pull/22129.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22129.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22128
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22128/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22128/comments
https://api.github.com/repos/huggingface/transformers/issues/22128/events
https://github.com/huggingface/transformers/pull/22128
1,621,450,459
PR_kwDOCUB6oc5L5GEh
22,128
Fix gradient checkpointing bug in xlm_roberta_xl
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
CONTRIBUTOR
null
This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes Issue https://github.com/huggingface/transformers/issues/21737 cc @younesbelkada or @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22128/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22128/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22128", "html_url": "https://github.com/huggingface/transformers/pull/22128", "diff_url": "https://github.com/huggingface/transformers/pull/22128.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22128.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22127
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22127/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22127/comments
https://api.github.com/repos/huggingface/transformers/issues/22127/events
https://github.com/huggingface/transformers/pull/22127
1,621,430,140
PR_kwDOCUB6oc5L5Bph
22,127
Fix gradient checkpointing bug in xglm
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
CONTRIBUTOR
null
This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes Issue https://github.com/huggingface/transformers/issues/21737 cc @younesbelkada or @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22127/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22127/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22127", "html_url": "https://github.com/huggingface/transformers/pull/22127", "diff_url": "https://github.com/huggingface/transformers/pull/22127.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22127.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22126
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22126/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22126/comments
https://api.github.com/repos/huggingface/transformers/issues/22126/events
https://github.com/huggingface/transformers/pull/22126
1,621,425,515
PR_kwDOCUB6oc5L5An4
22,126
Fix gradient checkpointing bug in trocr
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
CONTRIBUTOR
null
This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes Issue https://github.com/huggingface/transformers/issues/21737 cc @younesbelkada or @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22126/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22126/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22126", "html_url": "https://github.com/huggingface/transformers/pull/22126", "diff_url": "https://github.com/huggingface/transformers/pull/22126.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22126.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22125
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22125/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22125/comments
https://api.github.com/repos/huggingface/transformers/issues/22125/events
https://github.com/huggingface/transformers/pull/22125
1,621,422,142
PR_kwDOCUB6oc5L4_5-
22,125
Fix gradient checkpointing bug in Trajectory Transformer
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
CONTRIBUTOR
null
This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes Issue https://github.com/huggingface/transformers/issues/21737 cc @younesbelkada or @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22125/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22125/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22125", "html_url": "https://github.com/huggingface/transformers/pull/22125", "diff_url": "https://github.com/huggingface/transformers/pull/22125.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22125.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22124
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22124/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22124/comments
https://api.github.com/repos/huggingface/transformers/issues/22124/events
https://github.com/huggingface/transformers/pull/22124
1,621,350,328
PR_kwDOCUB6oc5L4wYH
22,124
[`Blip2`] skip accelerate test
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I am trained by @sgugger 's words and my prediction of the response to this PR is\r\n\r\nYes\r\n```\r\nthe test doesn't make sense for tiny models and triggers some undefined behaviors.\r\nProbably better to just skip it at this stag...
1,678
1,678
1,678
CONTRIBUTOR
null
# What does this PR do? This PR skips a test that is currently failing: https://github.com/huggingface/transformers/actions/runs/4395315343/jobs/7697061404 The tiny BLIP2 models uses T5 as a text decoder, that is itself having a parameter named `shared` that is tied with 3 other parameters of the model: `encoder....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22124/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22124/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22124", "html_url": "https://github.com/huggingface/transformers/pull/22124", "diff_url": "https://github.com/huggingface/transformers/pull/22124.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22124.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22123
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22123/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22123/comments
https://api.github.com/repos/huggingface/transformers/issues/22123/events
https://github.com/huggingface/transformers/issues/22123
1,621,164,374
I_kwDOCUB6oc5goQFW
22,123
CUDA OOM when loading optimizer state dict
{ "login": "willxie", "id": 4821081, "node_id": "MDQ6VXNlcjQ4MjEwODE=", "avatar_url": "https://avatars.githubusercontent.com/u/4821081?v=4", "gravatar_id": "", "url": "https://api.github.com/users/willxie", "html_url": "https://github.com/willxie", "followers_url": "https://api.github.com/users/willxie/...
[]
closed
false
null
[]
[ "cc @sgugger ", "I tried to find the reference to the issue mentioning a CPU OOM but couldn't find it. Do you have a link handY?\r\nWe could always load the weights on the CPU then move them which would be a tiny bit slower, but this just happens once. With models getting bigger and bigger it's probably makes sen...
1,678
1,678
1,678
NONE
null
### System Info I am finetuning GPT NEO 1.3B with 1 GPU and 24GB VRAM. From scratch, model weights load and train fine with <1GB of memory to spare. When loading from checkpoint, I run into issues loading optimizer states. https://github.com/huggingface/transformers/blob/04bfac83b793b757e7b33188f88eebe21ac65ef...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22123/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22123/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22122
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22122/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22122/comments
https://api.github.com/repos/huggingface/transformers/issues/22122/events
https://github.com/huggingface/transformers/issues/22122
1,620,937,575
I_kwDOCUB6oc5gnYtn
22,122
device_map='auto' doesn't use MPS backend on Apple M2
{ "login": "srogatch", "id": 5251612, "node_id": "MDQ6VXNlcjUyNTE2MTI=", "avatar_url": "https://avatars.githubusercontent.com/u/5251612?v=4", "gravatar_id": "", "url": "https://api.github.com/users/srogatch", "html_url": "https://github.com/srogatch", "followers_url": "https://api.github.com/users/sroga...
[]
closed
false
null
[]
[ "MPS devices are indeed not supported with `device_map=\"auto\"` yet. As a workaround you should just move your model to that device manually.", "> MPS devices are indeed not supported with `device_map=\"auto\"` yet. As a workaround you should just move your model to that device manually.\r\n\r\nHow to move the m...
1,678
1,695
1,682
NONE
null
With the following program: ``` import os import time import readline import textwrap os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1" os.environ["HF_ENDPOINT"] = "https://huggingface.co" os.environ["ACCELERATE_USE_MPS_DEVICE"] = "True" import torch from transformers import AutoTokenizer, AutoModelForC...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22122/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22122/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22121
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22121/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22121/comments
https://api.github.com/repos/huggingface/transformers/issues/22121/events
https://github.com/huggingface/transformers/issues/22121
1,620,907,145
I_kwDOCUB6oc5gnRSJ
22,121
Can not init BertTokenizerFast
{ "login": "wqh17101", "id": 26429138, "node_id": "MDQ6VXNlcjI2NDI5MTM4", "avatar_url": "https://avatars.githubusercontent.com/u/26429138?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wqh17101", "html_url": "https://github.com/wqh17101", "followers_url": "https://api.github.com/users/wqh...
[]
closed
false
null
[]
[ "Not sure I understand, to use `TokenizerFast` you need the tokenizers llibrary. \r\nEither use:\r\n```python\r\n>>> from transformers import BertTokenizer\r\n>>> BertTokenizer \r\n```\r\nOr run `pip install tokenizers`. \r\nThis is not an issue but expected.", "What is the tokenizers llibrary? and how to install...
1,678
1,678
1,678
NONE
null
### System Info Linux python3.7 tokenizers 0.12.1 transformers 4.26.1 @ArthurZucker ### Who can help? _No response_ ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22121/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22121/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22120
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22120/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22120/comments
https://api.github.com/repos/huggingface/transformers/issues/22120/events
https://github.com/huggingface/transformers/issues/22120
1,620,757,390
I_kwDOCUB6oc5gmsuO
22,120
`No such file or directory` when setting `cache_dir`
{ "login": "rcalland", "id": 10794485, "node_id": "MDQ6VXNlcjEwNzk0NDg1", "avatar_url": "https://avatars.githubusercontent.com/u/10794485?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rcalland", "html_url": "https://github.com/rcalland", "followers_url": "https://api.github.com/users/rca...
[]
closed
false
null
[]
[ "I just tried your code sample and it runs without issue on both main and 4.26.1. Are you sure `\"cache_model\"` is in a folder you have write access to?", "hi @sgugger, you are correct, I just made a fresh virtualenv and my snippet indeed does work. However, it doesn't work in my dev environment, nor in my proje...
1,678
1,682
1,682
NONE
null
### System Info - `transformers` version: 4.26.1 - Platform: macOS-13.1-arm64-arm-64bit - Python version: 3.10.9 - Huggingface_hub version: 0.13.1 - PyTorch version (GPU?): not installed (NA) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22120/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22120/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22119
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22119/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22119/comments
https://api.github.com/repos/huggingface/transformers/issues/22119/events
https://github.com/huggingface/transformers/issues/22119
1,620,576,694
I_kwDOCUB6oc5gmAm2
22,119
Trainer removes columns before transform is called
{ "login": "davidgilbertson", "id": 4443482, "node_id": "MDQ6VXNlcjQ0NDM0ODI=", "avatar_url": "https://avatars.githubusercontent.com/u/4443482?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidgilbertson", "html_url": "https://github.com/davidgilbertson", "followers_url": "https://api.g...
[]
closed
false
null
[]
[ "Ah, I've re-read through the parameter lists for everything and found `remove_unused_columns=False` in `TrainingArguments`. Setting this resolves the issue, so I guess this won't be considered a bug. I think there's room for improvement in the UX though, perhaps a warning \"After removing unused columns, there wer...
1,678
1,700
1,682
NONE
null
### System Info - `transformers` version: 4.26.1 - Platform: Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.31 - Python version: 3.10.8 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.13.1+cu116 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22119/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22119/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22118
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22118/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22118/comments
https://api.github.com/repos/huggingface/transformers/issues/22118/events
https://github.com/huggingface/transformers/issues/22118
1,620,502,739
I_kwDOCUB6oc5glujT
22,118
ImportError: cannot import name 'AlignModel' from 'transformers'
{ "login": "bishmdl76", "id": 68867214, "node_id": "MDQ6VXNlcjY4ODY3MjE0", "avatar_url": "https://avatars.githubusercontent.com/u/68867214?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bishmdl76", "html_url": "https://github.com/bishmdl76", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The model is not in Transformers 4.26.1, you need to [install from source](https://huggingface.co/docs/transformers/installation#install-from-source) to get access to it.", "Thanks!" ]
1,678
1,678
1,678
CONTRIBUTOR
null
### System Info - `transformers` version: 4.26.1 - Platform: Linux-5.4.0-132-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.12.0 - PyTorch version (GPU?): 1.13.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22118/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22118/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22117
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22117/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22117/comments
https://api.github.com/repos/huggingface/transformers/issues/22117/events
https://github.com/huggingface/transformers/issues/22117
1,620,427,570
I_kwDOCUB6oc5glcMy
22,117
wav2vec2 with lm on persian doesn't seem to work
{ "login": "Bagherihaali", "id": 20620634, "node_id": "MDQ6VXNlcjIwNjIwNjM0", "avatar_url": "https://avatars.githubusercontent.com/u/20620634?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Bagherihaali", "html_url": "https://github.com/Bagherihaali", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "cc @sanchit-gandhi ", "any help?! @sanchit-gandhi ", "Hey @tntchack,\r\n\r\nNote the adding a LM does not always improve model performance it really depends on what data you train your LM-ngram on. \r\nWhile the LM-ngram will not make it impossible for the model to generate spelling errors / unigram errors it ...
1,678
1,683
1,683
NONE
null
### System Info transformers version : 4.26.1 Platform: colab Python version: 3.9.16 PyTorch version (GPU?): 1.13.1+cu116 (False) Tensorflow version (GPU?): not installed (NA) Flax version (CPU?/GPU?/TPU?): not installed (NA) Jax version: not installed JaxLib version: not installed Using GPU in script?: No ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22117/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22117/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22116
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22116/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22116/comments
https://api.github.com/repos/huggingface/transformers/issues/22116/events
https://github.com/huggingface/transformers/pull/22116
1,620,421,937
PR_kwDOCUB6oc5L1sdK
22,116
Add pr_checks.mdx Italian translation (#17459)
{ "login": "alexcalabrese", "id": 58480609, "node_id": "MDQ6VXNlcjU4NDgwNjA5", "avatar_url": "https://avatars.githubusercontent.com/u/58480609?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alexcalabrese", "html_url": "https://github.com/alexcalabrese", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@omarespejel @sgugger for me is ok.\nThanks @alexcalabrese " ]
1,678
1,678
1,678
CONTRIBUTOR
null
## What does this PR do? Italian translation of doc related to the checks on a PR of :hugs: Transformers. * updated _toctree.yml * added pr_checks.mdx ## 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 the [contributor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22116/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22116/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22116", "html_url": "https://github.com/huggingface/transformers/pull/22116", "diff_url": "https://github.com/huggingface/transformers/pull/22116.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22116.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22115
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22115/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22115/comments
https://api.github.com/repos/huggingface/transformers/issues/22115/events
https://github.com/huggingface/transformers/pull/22115
1,620,409,371
PR_kwDOCUB6oc5L1qBJ
22,115
Added big_models.mdx italian translation #17600
{ "login": "nickprock", "id": 11136646, "node_id": "MDQ6VXNlcjExMTM2NjQ2", "avatar_url": "https://avatars.githubusercontent.com/u/11136646?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nickprock", "html_url": "https://github.com/nickprock", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
CONTRIBUTOR
null
## What does this PR do? Italian translation of doc related to the preprocessing of :hugs: Transformers. * updated _toctree.yml * added big_models.mdx ## 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 the [contributor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22115/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22115/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22115", "html_url": "https://github.com/huggingface/transformers/pull/22115", "diff_url": "https://github.com/huggingface/transformers/pull/22115.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22115.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22114
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22114/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22114/comments
https://api.github.com/repos/huggingface/transformers/issues/22114/events
https://github.com/huggingface/transformers/issues/22114
1,620,400,990
I_kwDOCUB6oc5glVte
22,114
FastTokenizer for LLaMa
{ "login": "theblackcat102", "id": 13172147, "node_id": "MDQ6VXNlcjEzMTcyMTQ3", "avatar_url": "https://avatars.githubusercontent.com/u/13172147?v=4", "gravatar_id": "", "url": "https://api.github.com/users/theblackcat102", "html_url": "https://github.com/theblackcat102", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Let's maybe wait for the LLaMa PR to be merged first?", "it is fix on tokenizers\n\nhttps://github.com/huggingface/tokenizers/pull/1183", "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\nPl...
1,678
1,683
1,683
CONTRIBUTOR
null
### Feature request FastTokenizer support for LLaMa sentencepiece tokenizer. ### Motivation The offset_mapping is only available in FastTokenizer, it would be useful if there's support for this. ### Your contribution I have tried using existing sentencepiece based model as replacement. However hf conversation code...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22114/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22114/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22113
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22113/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22113/comments
https://api.github.com/repos/huggingface/transformers/issues/22113/events
https://github.com/huggingface/transformers/issues/22113
1,620,362,527
I_kwDOCUB6oc5glMUf
22,113
Make GPT2ForSequenceClassification computationllay efficient
{ "login": "Kyeongpil", "id": 6302455, "node_id": "MDQ6VXNlcjYzMDI0NTU=", "avatar_url": "https://avatars.githubusercontent.com/u/6302455?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kyeongpil", "html_url": "https://github.com/Kyeongpil", "followers_url": "https://api.github.com/users/Ky...
[]
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,678
1,681
1,681
CONTRIBUTOR
null
### Feature request Compute the logits using only the hidden state for the last position of the input sequence. ### Motivation The current GPT2ForSequenceClassification module computes logits using all hidden states, which computationally cost is proportional to the length of the input sequence. https://gith...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22113/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22113/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22112
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22112/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22112/comments
https://api.github.com/repos/huggingface/transformers/issues/22112/events
https://github.com/huggingface/transformers/issues/22112
1,620,238,456
I_kwDOCUB6oc5gkuB4
22,112
Time spent on engine.step() increased strangely
{ "login": "KaiLv69", "id": 39761308, "node_id": "MDQ6VXNlcjM5NzYxMzA4", "avatar_url": "https://avatars.githubusercontent.com/u/39761308?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KaiLv69", "html_url": "https://github.com/KaiLv69", "followers_url": "https://api.github.com/users/KaiLv6...
[]
closed
false
null
[]
[ "cc @stas00 ", "- The first few steps lead to an OVERFLOW so optimizer didn't run and thus was fast. it then adjusted the scaling factor each step until it reached one that didn't lead to an overflow and thus it did the first optimizer step.\r\n- then you can see from the warning that your setup is misconfigured ...
1,678
1,685
1,685
NONE
null
### System Info I'm using Deepspeed's zero3 with optimizer offload. Time spent on step() increased from ~100ms to 10,000+ ms after a few steps. The CPU memory in occupied ~350G (500G in total). - `transformers` version: 4.26.1 - Platform: Linux-4.15.0-189-generic-x86_64-with-glibc2.17 - Python version: 3.8.16 - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22112/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22112/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22111
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22111/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22111/comments
https://api.github.com/repos/huggingface/transformers/issues/22111/events
https://github.com/huggingface/transformers/issues/22111
1,620,236,723
I_kwDOCUB6oc5gktmz
22,111
error when using from indobenchmark
{ "login": "fendiirfan", "id": 56022249, "node_id": "MDQ6VXNlcjU2MDIyMjQ5", "avatar_url": "https://avatars.githubusercontent.com/u/56022249?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fendiirfan", "html_url": "https://github.com/fendiirfan", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hey! The `tokenizer_class` that was set in the configuration.json is wrong as the `IndoNLGTokenizer` does not exist in transformers. You should try to ask the other of the model on the community tab how to use it, or try to use: \r\n```python \r\nfrom transformers import MBartTokenizer\r\ntokenizer = MBartTokenize...
1,678
1,682
1,682
NONE
null
### System Info ``` from transformers import AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("indobenchmark/indobart-v2") ``` the error `ValueError: Tokenizer class IndoNLGTokenizer does not exist or is not currently imported.` any help guys? ### Who can help? @ArthurZucker ### Information - [ ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22111/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22111/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22110
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22110/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22110/comments
https://api.github.com/repos/huggingface/transformers/issues/22110/events
https://github.com/huggingface/transformers/issues/22110
1,620,093,281
I_kwDOCUB6oc5gkKlh
22,110
Overestimated number of training epochs in Trainer
{ "login": "fenchri", "id": 15857706, "node_id": "MDQ6VXNlcjE1ODU3NzA2", "avatar_url": "https://avatars.githubusercontent.com/u/15857706?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fenchri", "html_url": "https://github.com/fenchri", "followers_url": "https://api.github.com/users/fenchr...
[]
closed
false
null
[]
[ "Thanks for the report! Would you like to suggest a PR with your fix?", "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...
1,678
1,682
1,682
NONE
null
### System Info - `transformers` version: 4.26.0 - Platform: Linux-5.4.0-136-generic-x86_64-with-glibc2.17 - Python version: 3.8.16 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.12.0+cu113 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22110/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22110/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22109
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22109/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22109/comments
https://api.github.com/repos/huggingface/transformers/issues/22109/events
https://github.com/huggingface/transformers/pull/22109
1,620,076,570
PR_kwDOCUB6oc5L0sUI
22,109
Add tensor flow whisper model for audio classification
{ "login": "adit299", "id": 43497982, "node_id": "MDQ6VXNlcjQzNDk3OTgy", "avatar_url": "https://avatars.githubusercontent.com/u/43497982?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adit299", "html_url": "https://github.com/adit299", "followers_url": "https://api.github.com/users/adit29...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22109). All of your documentation changes will be reflected on that endpoint.", "I just had a few questions on how to proceed with adding the TensorFlow Whisper model, just to make sure I'm on the right track. \r\n\r\n(1) J...
1,678
1,698
1,698
CONTRIBUTOR
null
# What does this PR do? Adding support for audio classification within TensorFlow whisper model <!-- 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 refl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22109/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22109/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22109", "html_url": "https://github.com/huggingface/transformers/pull/22109", "diff_url": "https://github.com/huggingface/transformers/pull/22109.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22109.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22108
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22108/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22108/comments
https://api.github.com/repos/huggingface/transformers/issues/22108/events
https://github.com/huggingface/transformers/pull/22108
1,620,071,528
PR_kwDOCUB6oc5L0rXx
22,108
Trainer: let generate pick its inputs
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
MEMBER
null
# What does this PR do? Trainer's `predict_with_generate` seems to have been designed for an older version of `.generate()`, where manual selection of the inputs was needed. The current version of `.generate()` can do it on its own. This is particularly relevant for multimodal models, which can take more than one mo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22108/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22108/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22108", "html_url": "https://github.com/huggingface/transformers/pull/22108", "diff_url": "https://github.com/huggingface/transformers/pull/22108.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22108.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22107
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22107/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22107/comments
https://api.github.com/repos/huggingface/transformers/issues/22107/events
https://github.com/huggingface/transformers/issues/22107
1,620,053,629
I_kwDOCUB6oc5gkA59
22,107
CLIPTokenizer problems in from pretrained on version 4.25.1
{ "login": "TheImunityGamer", "id": 24777043, "node_id": "MDQ6VXNlcjI0Nzc3MDQz", "avatar_url": "https://avatars.githubusercontent.com/u/24777043?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TheImunityGamer", "html_url": "https://github.com/TheImunityGamer", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hey!\r\nAs you mention, you are creating an empty directory with the same name. The priority is given to local folders, which explains why you are having this issue. Either delete the empty folder or save a tokenizer inside it 😉 ", "I have tried to delete the empty folder, but it just keeps coming back, even wh...
1,678
1,682
1,682
NONE
null
### System Info WARNING:tensorflow:From D:\Stable Diffusion\SD New\stable-diffusion-webui\venv\lib\site-packages\transformers\commands\env.py:52: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.config.list_physi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22107/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22107/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22106
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22106/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22106/comments
https://api.github.com/repos/huggingface/transformers/issues/22106/events
https://github.com/huggingface/transformers/issues/22106
1,620,015,241
I_kwDOCUB6oc5gj3iJ
22,106
[i18n-<languageCode>] Translating docs to <languageName>
{ "login": "dhckdduf", "id": 127166317, "node_id": "U_kgDOB5RnbQ", "avatar_url": "https://avatars.githubusercontent.com/u/127166317?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dhckdduf", "html_url": "https://github.com/dhckdduf", "followers_url": "https://api.github.com/users/dhckdduf/...
[ { "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,678
1,678
1,678
NONE
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 <languageName>-speaking community 🌐 (currently 0 out of 267 complete) Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/hug...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22106/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22106/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22105
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22105/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22105/comments
https://api.github.com/repos/huggingface/transformers/issues/22105/events
https://github.com/huggingface/transformers/pull/22105
1,619,963,791
PR_kwDOCUB6oc5L0Wfr
22,105
[WIP] Refactor Deberta/Deberta-v2
{ "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...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[ { "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22105). All of your documentation changes will be reflected on that endpoint.", "Hey @ArthurZucker any updates on this? ETA for when it will be merged into main?", "Hey! Just got back from holidays, this should be my main...
1,678
1,707
null
COLLABORATOR
null
# What does this PR do? Refactor both Deberta and DebertaV2 to make them more compatible with the overall transformers library Should fix a bunch of issues related to torch-scripting with Deberta: - #15216 - #15673 - #16456 - #18659 - #21300 - #20815 - #12436 - #18674 - help supporting the Prefix_Tuning...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22105/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22105/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22105", "html_url": "https://github.com/huggingface/transformers/pull/22105", "diff_url": "https://github.com/huggingface/transformers/pull/22105.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22105.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22104
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22104/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22104/comments
https://api.github.com/repos/huggingface/transformers/issues/22104/events
https://github.com/huggingface/transformers/pull/22104
1,619,931,715
PR_kwDOCUB6oc5L0Qou
22,104
[Time-Series] time series patching, PatchTST
{ "login": "elisim", "id": 17675462, "node_id": "MDQ6VXNlcjE3Njc1NDYy", "avatar_url": "https://avatars.githubusercontent.com/u/17675462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elisim", "html_url": "https://github.com/elisim", "followers_url": "https://api.github.com/users/elisim/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu...
1,678
1,687
1,686
CONTRIBUTOR
null
This PR added a time series patching - PatchTST Fixes https://github.com/huggingface/transformers/issues/22075 @kashif Kashif impl in gluonTS: https://github.com/awslabs/gluonts/pull/2748
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22104/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22104/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22104", "html_url": "https://github.com/huggingface/transformers/pull/22104", "diff_url": "https://github.com/huggingface/transformers/pull/22104.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22104.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22103
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22103/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22103/comments
https://api.github.com/repos/huggingface/transformers/issues/22103/events
https://github.com/huggingface/transformers/issues/22103
1,619,921,233
I_kwDOCUB6oc5gjglR
22,103
FLAVA not doing a forward pass
{ "login": "amariucaitheodor", "id": 32778667, "node_id": "MDQ6VXNlcjMyNzc4NjY3", "avatar_url": "https://avatars.githubusercontent.com/u/32778667?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amariucaitheodor", "html_url": "https://github.com/amariucaitheodor", "followers_url": "https://...
[]
closed
false
{ "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/...
[ { "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.githu...
[ "Hi @amariucaitheodor . Thank you for reporting the issue!\r\n\r\nCould you also copy-paste the error (traceback) you got to your above PR description? Thanks.", "I tried the colab and found the issue. Specifically, the code which is used for calculating input_ids and input_ids_masked is incorrect as the `torch_m...
1,678
1,678
1,678
NONE
null
### System Info - `transformers` version: 4.27.0.dev0 - Platform: Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35 - Python version: 3.10.6 - Huggingface_hub version: 0.12.0 - PyTorch version (GPU?): not installed (NA) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22103/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22103/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22102
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22102/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22102/comments
https://api.github.com/repos/huggingface/transformers/issues/22102/events
https://github.com/huggingface/transformers/pull/22102
1,619,918,093
PR_kwDOCUB6oc5L0OGb
22,102
[neptune] fix checkpoint bug with relative out_dir
{ "login": "kshitij12345", "id": 19503980, "node_id": "MDQ6VXNlcjE5NTAzOTgw", "avatar_url": "https://avatars.githubusercontent.com/u/19503980?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kshitij12345", "html_url": "https://github.com/kshitij12345", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger Thanks for taking a look. Will update the PR description in sometime (probably today or early tomorrow) to have more information. Will ping once that is done.", "@sgugger have updated the PR description. Let me know if tha...
1,678
1,679
1,679
CONTRIBUTOR
null
# What does this PR do? It takes care of the following: * Updates to NeptuneCallback aligned with Neptune 1.0 release : https://docs.neptune.ai/setup/neptune-client_1-0_release_changes/ * It also fixes the case where we silently don't log the model_checkpoints when `output_dir` argument has a relative path of the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22102/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22102/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22102", "html_url": "https://github.com/huggingface/transformers/pull/22102", "diff_url": "https://github.com/huggingface/transformers/pull/22102.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22102.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22101
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22101/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22101/comments
https://api.github.com/repos/huggingface/transformers/issues/22101/events
https://github.com/huggingface/transformers/issues/22101
1,619,885,644
I_kwDOCUB6oc5gjX5M
22,101
[Benchmark] HF Trainer optimizers (Mar-2023)
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2604155188, "node_id": "MDU6TGFiZWwyNjA0MTU1MTg4", "url": "https://api.github.com/repos/huggingface/transformers/labels/Benchmarks", "name": "Benchmarks", "color": "2DF372", "default": false, "description": "Issues related to Memory regressions in tests and scripts" }, { ...
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "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,678
1,683
1,682
CONTRIBUTOR
null
This is a rerun of Adam torch vs. apex vs HF vs adafactor [RTX-3090](https://github.com/huggingface/transformers/issues/14608#issuecomment-1005219385), [A100](https://github.com/huggingface/transformers/issues/15026#issuecomment-1005220263) but added BNB's 8bit Adam optimizer and probably the software has improved/chan...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22101/reactions", "total_count": 19, "+1": 9, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 10, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22101/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22100
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22100/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22100/comments
https://api.github.com/repos/huggingface/transformers/issues/22100/events
https://github.com/huggingface/transformers/issues/22100
1,619,879,273
I_kwDOCUB6oc5gjWVp
22,100
Transformers cannot recognise `config.json` even though it is in model directory
{ "login": "constantinethegr8", "id": 117062959, "node_id": "U_kgDOBvo9Lw", "avatar_url": "https://avatars.githubusercontent.com/u/117062959?v=4", "gravatar_id": "", "url": "https://api.github.com/users/constantinethegr8", "html_url": "https://github.com/constantinethegr8", "followers_url": "https://api...
[]
closed
false
null
[]
[ "`model = AutoModelForCausalLM.from_pretrained(\"models--gptjchatbot_model\")` cannot work, you need to specify the whole path to the folder on your local steup.", "Modified line 8\r\n`model = AutoModelForCausalLM.from_pretrained(\"G:\\.cache\\models--gptjchatbot_model\\\")`\r\n\r\ngot this error\r\n\r\n```\r\n ...
1,678
1,682
1,682
NONE
null
I ran this code: ``` import os os.environ['TRANSFORMERS_CACHE'] = 'G:\.cache' from transformers import AutoModelForCausalLM, AutoTokenizer, PretrainedConfig #config = PretrainedConfig('G:\.cache\models--gptjchatbot_model\config.json') tried this but doesn't work well model = AutoModelForCausalLM.from_pr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22100/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22100/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22099
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22099/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22099/comments
https://api.github.com/repos/huggingface/transformers/issues/22099/events
https://github.com/huggingface/transformers/pull/22099
1,619,877,067
PR_kwDOCUB6oc5L0GOM
22,099
[deepspeed docs] Activation Checkpointing
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
CONTRIBUTOR
null
Add a section on Activation Checkpointing. Even though we don't support Deepspeed Activation Checkpointing API nevertheless document it and clarify what's what to help the user achieve clarity and make the right choices (and not file Issues ;)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22099/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22099/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22099", "html_url": "https://github.com/huggingface/transformers/pull/22099", "diff_url": "https://github.com/huggingface/transformers/pull/22099.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22099.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22098
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22098/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22098/comments
https://api.github.com/repos/huggingface/transformers/issues/22098/events
https://github.com/huggingface/transformers/pull/22098
1,619,796,207
PR_kwDOCUB6oc5Lz1je
22,098
[trainer] fix bug in grad accum with multiple epochs
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
CONTRIBUTOR
null
Please see https://github.com/huggingface/transformers/issues/22082 for the analysis printout of the problem. But basically we have a bug in grad accum machinery when `steps_in_epoch % gradient_accumulation_steps != 0` we always check for `step+1 % gradient_accumulation_steps != 0` and when we hit the epoch bound...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22098/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22098/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22098", "html_url": "https://github.com/huggingface/transformers/pull/22098", "diff_url": "https://github.com/huggingface/transformers/pull/22098.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22098.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22097
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22097/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22097/comments
https://api.github.com/repos/huggingface/transformers/issues/22097/events
https://github.com/huggingface/transformers/pull/22097
1,619,707,817
PR_kwDOCUB6oc5Lzi9r
22,097
t5 remove data dependency
{ "login": "prathikr", "id": 31260940, "node_id": "MDQ6VXNlcjMxMjYwOTQw", "avatar_url": "https://avatars.githubusercontent.com/u/31260940?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prathikr", "html_url": "https://github.com/prathikr", "followers_url": "https://api.github.com/users/pra...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Cool! Thanks for this contribution! Pretty sure that this can also be applied to `SwitchTransformers` (as it implements the similar procedure) and ~`MT5`~ LongT5", "Let's maybe address this in a follow up PR no? Btw this PR include...
1,678
1,678
1,678
CONTRIBUTOR
null
# What does this PR do? Prevents clamping logic from being skipped by torch.onnx tracer by moving data-dependent inf check into fp16-specific training code. Unclamped inf results in NaN being returned during loss calculation and eventually will crash with the following error: ```bash Traceback (most recent call ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22097/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22097/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22097", "html_url": "https://github.com/huggingface/transformers/pull/22097", "diff_url": "https://github.com/huggingface/transformers/pull/22097.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22097.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22096
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22096/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22096/comments
https://api.github.com/repos/huggingface/transformers/issues/22096/events
https://github.com/huggingface/transformers/issues/22096
1,619,694,010
I_kwDOCUB6oc5gipG6
22,096
Use torch.TensorDicts: The output of tokenizers.batch_encode_plus/__call__ could be made to inherit from torch TensorDicts
{ "login": "JulesGM", "id": 3231217, "node_id": "MDQ6VXNlcjMyMzEyMTc=", "avatar_url": "https://avatars.githubusercontent.com/u/3231217?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JulesGM", "html_url": "https://github.com/JulesGM", "followers_url": "https://api.github.com/users/JulesGM/...
[]
closed
false
null
[]
[ "The result of the tokenizer calls can already interact with the `to` method (note that batch_encode_plus will be deprecated sometime soon) but I agree it could be interesting to look at this! The main challenge I see is that it's not packaged in PyTorch main so would require an extra dep...", "This issue has bee...
1,678
1,681
1,681
NONE
null
### Feature request Tensor dicts have recently come out as a way to manipulate dicts of tenors in a way that is analogous to pandas, eg to make it easy to work on columns on tensors that share some property and a batch dimension or set of dimensions https://pytorch.org/rl/tensordict/ An obvious application of this...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22096/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22096/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22095
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22095/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22095/comments
https://api.github.com/repos/huggingface/transformers/issues/22095/events
https://github.com/huggingface/transformers/pull/22095
1,619,666,068
PR_kwDOCUB6oc5LzaIA
22,095
Fix big model inference for T5 models in float16
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,678
1,678
1,678
COLLABORATOR
null
# What does this PR do? This PR fixes big model inference for large T5 models. The problem is that T5 models have some weights kept in float32, which interferes with the computation of `infer_auto_device_map`. Accelerate adds the functionality to deal with this in [this PR](https://github.com/huggingface/accelerate/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22095/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22095/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22095", "html_url": "https://github.com/huggingface/transformers/pull/22095", "diff_url": "https://github.com/huggingface/transformers/pull/22095.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22095.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22094
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22094/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22094/comments
https://api.github.com/repos/huggingface/transformers/issues/22094/events
https://github.com/huggingface/transformers/issues/22094
1,619,640,331
I_kwDOCUB6oc5gicAL
22,094
SearchSummarizationPipeline - 'object has no attribute' error
{ "login": "arun-ar", "id": 15058867, "node_id": "MDQ6VXNlcjE1MDU4ODY3", "avatar_url": "https://avatars.githubusercontent.com/u/15058867?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arun-ar", "html_url": "https://github.com/arun-ar", "followers_url": "https://api.github.com/users/arun-a...
[]
closed
false
null
[]
[]
1,678
1,678
1,678
NONE
null
I am facing the below error while initializing SearchSummarizationPipeline. I am using latest haystack version and python 3.10. ``` pipe3 = SearchSummarizationPipeline(summarizer=summarizer,retriever=retriever,generate_single_summary=False,return_in_answer_format=True) Traceback (most recent call last): ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22094/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22094/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22093
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22093/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22093/comments
https://api.github.com/repos/huggingface/transformers/issues/22093/events
https://github.com/huggingface/transformers/pull/22093
1,619,613,684
PR_kwDOCUB6oc5LzPPq
22,093
Revert "[GPT2] Propose fix for #21080"
{ "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
[]
[ "Tested locally - all good now. Will merge once CI is green too (already discussed offline)" ]
1,678
1,678
1,678
COLLABORATOR
null
Reverts huggingface/transformers#21853 A few PT/TF and PT/Flax cross tests started to fail after #21853. Revert that PR for now. We need to look what went wrong (and why it is not reported in the PR CI) ``` FAILED tests/models/gpt2/test_modeling_tf_gpt2.py::TFGPT2ModelTest::test_pt_tf_model_equivalence - Asserti...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22093/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22093/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22093", "html_url": "https://github.com/huggingface/transformers/pull/22093", "diff_url": "https://github.com/huggingface/transformers/pull/22093.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22093.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22092
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22092/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22092/comments
https://api.github.com/repos/huggingface/transformers/issues/22092/events
https://github.com/huggingface/transformers/issues/22092
1,619,603,433
I_kwDOCUB6oc5giS_p
22,092
New metrics and different Loss in TF version of Segformer
{ "login": "ebgoldstein", "id": 5330599, "node_id": "MDQ6VXNlcjUzMzA1OTk=", "avatar_url": "https://avatars.githubusercontent.com/u/5330599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ebgoldstein", "html_url": "https://github.com/ebgoldstein", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Interesting! Can you document exactly what error you got with the compile step and what code you ran to cause them?", "Hi @Rocketknight1 \r\nI misremembered- the error is not after `model.compile()` - compiling a model with a different loss function, added metrics, a custom loss, or custom metrics all compile w/...
1,678
1,680
1,680
NONE
null
### Feature request I am playing with the awesome [Segformer finetuning example on the Keras website](https://keras.io/examples/vision/segformer/) made by @sayakpaul that relies on HF Transformers. In this example no loss function nor any metrics are specified in `model.compile()` . I would like to be able to add met...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22092/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/22092/timeline
completed
null
null