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/24418
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24418/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24418/comments
https://api.github.com/repos/huggingface/transformers/issues/24418/events
https://github.com/huggingface/transformers/issues/24418
1,769,164,033
I_kwDOCUB6oc5pc00B
24,418
Review added
{ "login": "repo-reviews", "id": 135327276, "node_id": "U_kgDOCBDuLA", "avatar_url": "https://avatars.githubusercontent.com/u/135327276?v=4", "gravatar_id": "", "url": "https://api.github.com/users/repo-reviews", "html_url": "https://github.com/repo-reviews", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,687
1,690
1,690
NONE
null
### Thank you for building **transformers**! @AuroraCoboAguilera created a review titled: *Hugging face, the accelerator to develop your own NLP* on [repo-reviews.github.io](https://repo-reviews.github.io) to share their experience using **transformers**. [link to review](https://repo-reviews.github.io//rev...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24418/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24418/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24417
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24417/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24417/comments
https://api.github.com/repos/huggingface/transformers/issues/24417/events
https://github.com/huggingface/transformers/pull/24417
1,769,121,791
PR_kwDOCUB6oc5ToHMm
24,417
Skip `test_conditional_generation_pt_pix2struct` in Past CI (torch < 1.11)
{ "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,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? Same as in #24270, but for a test inside pipeline test in `ImageToTextPipelineTests`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24417/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24417/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24417", "html_url": "https://github.com/huggingface/transformers/pull/24417", "diff_url": "https://github.com/huggingface/transformers/pull/24417.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24417.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24416
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24416/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24416/comments
https://api.github.com/repos/huggingface/transformers/issues/24416/events
https://github.com/huggingface/transformers/pull/24416
1,769,058,737
PR_kwDOCUB6oc5Tn5bb
24,416
[`bnb`] Fix bnb serialization issue with new release
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24416). All of your documentation changes will be reflected on that endpoint." ]
1,687
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? Fixes the failing bnb tests in: https://github.com/huggingface/transformers/actions/runs/5329457026/jobs/9655258851 The recent release of bitsandbytes slightly broke the serialization mechanism for int8 models. In the new release, bitsandbytes has introduced a new way of serializing int8 w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24416/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24416/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24416", "html_url": "https://github.com/huggingface/transformers/pull/24416", "diff_url": "https://github.com/huggingface/transformers/pull/24416.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24416.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24415
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24415/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24415/comments
https://api.github.com/repos/huggingface/transformers/issues/24415/events
https://github.com/huggingface/transformers/pull/24415
1,768,989,268
PR_kwDOCUB6oc5TnqSi
24,415
fix the grad_acc issue at epoch boundaries
{ "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I believe this PR also fixes #24245", "@amyeroberts we coordinate Accelerate releases to be a day or two before `transformers`, so there shouldn't be an issue there :) \r\n\r\n(Though @pacman100 we should do the version check like ...
1,687
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? Should solve accumulating via epoch when using Accelerate (seen in https://github.com/huggingface/transformers/issues/23935#issuecomment-1588134562). Requires https://github.com/huggingface/accelerate/pull/1624 Fixes # (issue)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24415/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24415/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24415", "html_url": "https://github.com/huggingface/transformers/pull/24415", "diff_url": "https://github.com/huggingface/transformers/pull/24415.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24415.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24414
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24414/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24414/comments
https://api.github.com/repos/huggingface/transformers/issues/24414/events
https://github.com/huggingface/transformers/issues/24414
1,768,977,236
I_kwDOCUB6oc5pcHNU
24,414
Trouble fine-tuning zero-shot image classification model
{ "login": "moon001light", "id": 137312482, "node_id": "U_kgDOCC844g", "avatar_url": "https://avatars.githubusercontent.com/u/137312482?v=4", "gravatar_id": "", "url": "https://api.github.com/users/moon001light", "html_url": "https://github.com/moon001light", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @moon001light, thanks for raising this issue.\r\n\r\nModels that can be loaded with the `AutoXxx` API will have a shared input and output structure. In the example notebook, the model is loaded using `AutoModelForImageClassification`. Models loaded with `AutoModelForZeroShotImageClassification` have a different...
1,687
1,691
1,691
NONE
null
### System Info transformers 4.30.2 python 3.11.4 ### Who can help? @amyeroberts @sgugger ### Information - [X] The official example scripts - [X] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24414/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24414/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24413
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24413/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24413/comments
https://api.github.com/repos/huggingface/transformers/issues/24413/events
https://github.com/huggingface/transformers/pull/24413
1,768,891,339
PR_kwDOCUB6oc5TnVML
24,413
Create Pretrained module
{ "login": "Ntrystan", "id": 95559349, "node_id": "U_kgDOBbIetQ", "avatar_url": "https://avatars.githubusercontent.com/u/95559349?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ntrystan", "html_url": "https://github.com/Ntrystan", "followers_url": "https://api.github.com/users/Ntrystan/fo...
[]
closed
false
null
[]
[]
1,687
1,687
1,687
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/24413/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24413/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24413", "html_url": "https://github.com/huggingface/transformers/pull/24413", "diff_url": "https://github.com/huggingface/transformers/pull/24413.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24413.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24412
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24412/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24412/comments
https://api.github.com/repos/huggingface/transformers/issues/24412/events
https://github.com/huggingface/transformers/pull/24412
1,768,846,875
PR_kwDOCUB6oc5TnL29
24,412
Removed @torch.no_grad() and in-place operations in optimizers for backwards
{ "login": "shirayu", "id": 963961, "node_id": "MDQ6VXNlcjk2Mzk2MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/963961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shirayu", "html_url": "https://github.com/shirayu", "followers_url": "https://api.github.com/users/shirayu/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I consider this pull request is insufficient because tests have failed.\r\nI welcome comments on the fix!", "Transformers is primarily a library of models, not optimizers. I would recommend not using the AdamW/Adafactor from the li...
1,687
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? In #23417, two``@torch.no_grad()`` lines were added before ```python def step(self, closure: Callable = None): ``` in class `AdamW` and `Adafactor`. However, I think this should not be because this causes errors in backward. Other optimizers in Pytorch have ``@_use_grad_for_d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24412/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24412/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24412", "html_url": "https://github.com/huggingface/transformers/pull/24412", "diff_url": "https://github.com/huggingface/transformers/pull/24412.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24412.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24411
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24411/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24411/comments
https://api.github.com/repos/huggingface/transformers/issues/24411/events
https://github.com/huggingface/transformers/issues/24411
1,768,666,636
I_kwDOCUB6oc5pa7YM
24,411
GPTJForCausalLM with instruction provided on tutorial doesn't load on 4090
{ "login": "km5ar", "id": 54015474, "node_id": "MDQ6VXNlcjU0MDE1NDc0", "avatar_url": "https://avatars.githubusercontent.com/u/54015474?v=4", "gravatar_id": "", "url": "https://api.github.com/users/km5ar", "html_url": "https://github.com/km5ar", "followers_url": "https://api.github.com/users/km5ar/follow...
[]
closed
false
null
[]
[ "Hi @km5ar \r\nThanks for the issue\r\n\r\nThis is because google colab instances have a relatively low CPU RAM (<24GB) and the GPT-J model stored on the Hub at `EleutherAI/gpt-j-6b` are actually in float32 (24GB). Therefore from_pretrained will try to download that large file and crashed. Moreover, for large model...
1,687
1,687
1,687
NONE
null
### System Info GPU 4090 - `transformers` version: 4.30.2 - Platform: Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.35 - Python version: 3.9.16 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): GPU 2.0.1+cu117 (True) - Using GPU in script?: <4090> - Using ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24411/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24411/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24410
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24410/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24410/comments
https://api.github.com/repos/huggingface/transformers/issues/24410/events
https://github.com/huggingface/transformers/issues/24410
1,768,659,684
I_kwDOCUB6oc5pa5rk
24,410
Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:3!
{ "login": "karths8", "id": 47289950, "node_id": "MDQ6VXNlcjQ3Mjg5OTUw", "avatar_url": "https://avatars.githubusercontent.com/u/47289950?v=4", "gravatar_id": "", "url": "https://api.github.com/users/karths8", "html_url": "https://github.com/karths8", "followers_url": "https://api.github.com/users/karths...
[]
closed
false
null
[]
[ "You cannot use `device_map=\"auto\"` with the `to` method afterward as you do. The model will be split up on the GPUs already.\r\nAlso, how are you launching your training script after?", "Getting the same error when i remove the `to` method. Traceback given below. Also, I launch the training script using `CUDA_...
1,687
1,700
1,688
NONE
null
### System Info - `transformers` version: 4.29.2 - Platform: Linux-5.4.0-137-generic-x86_64-with-glibc2.31 - Python version: 3.11.4 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24410/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24410/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24409
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24409/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24409/comments
https://api.github.com/repos/huggingface/transformers/issues/24409/events
https://github.com/huggingface/transformers/issues/24409
1,768,337,059
I_kwDOCUB6oc5pZq6j
24,409
wandb metric argument is weird
{ "login": "edmcman", "id": 1017189, "node_id": "MDQ6VXNlcjEwMTcxODk=", "avatar_url": "https://avatars.githubusercontent.com/u/1017189?v=4", "gravatar_id": "", "url": "https://api.github.com/users/edmcman", "html_url": "https://github.com/edmcman", "followers_url": "https://api.github.com/users/edmcman/...
[]
open
false
null
[]
[ "Thanks @edmcman for the ping.\r\n\r\n@ayulockin @morganmcg1 in case this is relevant to the integrations team. tbh, I don't remember much about this integration but I implemented it so happy to help in case there's a blocker.", "Thanks for the detailed issue @edmcman; we are taking a look at this. Will connect w...
1,687
1,708
null
NONE
null
### System Info - `transformers` version: 4.30.2 - Platform: Linux-5.7.19-050719-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24409/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24409/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/24408
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24408/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24408/comments
https://api.github.com/repos/huggingface/transformers/issues/24408/events
https://github.com/huggingface/transformers/pull/24408
1,768,040,493
PR_kwDOCUB6oc5Tkicz
24,408
[WIP] Add Restormer
{ "login": "susnato", "id": 56069179, "node_id": "MDQ6VXNlcjU2MDY5MTc5", "avatar_url": "https://avatars.githubusercontent.com/u/56069179?v=4", "gravatar_id": "", "url": "https://api.github.com/users/susnato", "html_url": "https://github.com/susnato", "followers_url": "https://api.github.com/users/susnat...
[]
closed
false
null
[]
[ "cc @amyeroberts for information.", "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/tra...
1,687
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24408/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24408/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24408", "html_url": "https://github.com/huggingface/transformers/pull/24408", "diff_url": "https://github.com/huggingface/transformers/pull/24408.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24408.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24407
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24407/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24407/comments
https://api.github.com/repos/huggingface/transformers/issues/24407/events
https://github.com/huggingface/transformers/pull/24407
1,767,996,485
PR_kwDOCUB6oc5TkaOv
24,407
🚨🚨 Fix group beam search
{ "login": "hukuda222", "id": 21185928, "node_id": "MDQ6VXNlcjIxMTg1OTI4", "avatar_url": "https://avatars.githubusercontent.com/u/21185928?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hukuda222", "html_url": "https://github.com/hukuda222", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "## Summary of the problem and corresponding fix (for the core maintainer and our future selves)\r\n\r\n### Problem\r\nThe generation loop in `group_beam_search` is correct, and it builds `num_beam_groups` distinct groups of sequences...
1,687
1,688
1,687
CONTRIBUTOR
null
# What does this PR do? Diverse beam search is a method that generates `num_beams//num_beam_groups` sentences for each group independently. However, the current code uses one BeamHypotheses shared by all groups. Therefore, group A will generate two sentences before group B outputs a sentence. So, I created BeamHypot...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24407/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24407/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24407", "html_url": "https://github.com/huggingface/transformers/pull/24407", "diff_url": "https://github.com/huggingface/transformers/pull/24407.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24407.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24406
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24406/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24406/comments
https://api.github.com/repos/huggingface/transformers/issues/24406/events
https://github.com/huggingface/transformers/issues/24406
1,767,926,667
I_kwDOCUB6oc5pYGuL
24,406
Potential Memory Leakage during inference using DistilBert/Bert
{ "login": "TOP-RX", "id": 103393767, "node_id": "U_kgDOBimp5w", "avatar_url": "https://avatars.githubusercontent.com/u/103393767?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TOP-RX", "html_url": "https://github.com/TOP-RX", "followers_url": "https://api.github.com/users/TOP-RX/follower...
[]
closed
false
null
[]
[ "cc @ArthurZucker and @younesbelkada ", "Hi @TOP-RX \r\nCan you try to add the `torch.cuda_empty_cache()` before `\"final\"`? Also you might need to combine it with \r\n```python\r\nimport gc\r\n\r\ngc.collect()\r\n```\r\nAfter that call. See this comment from a previous issue for reference: https://github.com/hu...
1,687
1,690
1,690
NONE
null
### System Info transformer: 4.24.0 python: 3.8.13 ### 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 own task or dataset (give details below) #...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24406/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24406/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24405
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24405/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24405/comments
https://api.github.com/repos/huggingface/transformers/issues/24405/events
https://github.com/huggingface/transformers/pull/24405
1,767,811,650
PR_kwDOCUB6oc5TjyiF
24,405
Fix accumulation by epoch with Accelerate
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Solved the problem for me with small naming fix in trainer.py:\r\n```python\r\n accumulation_plugin = GradientAccumulationPlugin(\r\n num_steps=self.args.gradient_accumulation_steps, sync_with_dataloader=False\r\n ...
1,687
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? Should solve accumulating via epoch when using Accelerate (seen in https://github.com/huggingface/transformers/issues/23935#issuecomment-1588134562). Requires https://github.com/huggingface/accelerate/pull/1624 Fixes # (issue) ## Before submitting - [ ] This PR fixes a typo or improv...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24405/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24405/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24405", "html_url": "https://github.com/huggingface/transformers/pull/24405", "diff_url": "https://github.com/huggingface/transformers/pull/24405.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24405.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24404
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24404/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24404/comments
https://api.github.com/repos/huggingface/transformers/issues/24404/events
https://github.com/huggingface/transformers/pull/24404
1,767,708,853
PR_kwDOCUB6oc5Tjbys
24,404
TF safetensors reduced mem usage
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This looks good in my testing! cc @Narsil for review and @amyeroberts for core maintainer review to save Sylvain from having to read code while he's distracted by the hallucinatory dental anaesthetic goblins \r\n\r\nTo explain one de...
1,687
1,687
1,687
MEMBER
null
When we load safetensors files in TF, the entire safetensors state dict is materialized on GPU alongside the randomly initialized weights. This inflates our memory usage during loading a lot, up to about 2X - 2.5X the amount we actually need. This PR grabs tensors iteratively from the underlying safetensors archives...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24404/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24404/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24404", "html_url": "https://github.com/huggingface/transformers/pull/24404", "diff_url": "https://github.com/huggingface/transformers/pull/24404.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24404.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24403
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24403/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24403/comments
https://api.github.com/repos/huggingface/transformers/issues/24403/events
https://github.com/huggingface/transformers/pull/24403
1,767,681,243
PR_kwDOCUB6oc5TjVrq
24,403
Update activations.py with nn.GELU
{ "login": "nikitakapitan", "id": 101126304, "node_id": "U_kgDOBgcQoA", "avatar_url": "https://avatars.githubusercontent.com/u/101126304?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nikitakapitan", "html_url": "https://github.com/nikitakapitan", "followers_url": "https://api.github.com/...
[]
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,687
1,690
1,690
NONE
null
use nn.GELU # 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24403/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24403/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24403", "html_url": "https://github.com/huggingface/transformers/pull/24403", "diff_url": "https://github.com/huggingface/transformers/pull/24403.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24403.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24402
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24402/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24402/comments
https://api.github.com/repos/huggingface/transformers/issues/24402/events
https://github.com/huggingface/transformers/pull/24402
1,767,664,827
PR_kwDOCUB6oc5TjSEt
24,402
Clean up dist import
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,687
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? Cleans up the `torch.distributed.X` imports in `training_args` to use the already imported `dist` module, which helps clean up our logic and cases quite a bit. Fixes # (issue) ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24402/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24402/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24402", "html_url": "https://github.com/huggingface/transformers/pull/24402", "diff_url": "https://github.com/huggingface/transformers/pull/24402.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24402.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24401
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24401/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24401/comments
https://api.github.com/repos/huggingface/transformers/issues/24401/events
https://github.com/huggingface/transformers/pull/24401
1,767,648,328
PR_kwDOCUB6oc5TjOcK
24,401
Remove redundant code from TrainingArgs
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,687
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? Removes some more redundant code that Accelerate can handle directly. Namely: - World size - Process index - `main_process_first` Fixes # (issue) ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Di...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24401/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24401/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24401", "html_url": "https://github.com/huggingface/transformers/pull/24401", "diff_url": "https://github.com/huggingface/transformers/pull/24401.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24401.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24400
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24400/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24400/comments
https://api.github.com/repos/huggingface/transformers/issues/24400/events
https://github.com/huggingface/transformers/pull/24400
1,767,442,576
PR_kwDOCUB6oc5TihLE
24,400
Check auto mappings could be imported via `from transformers`
{ "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,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? As shown in #24364, we easily forget to add model mappings like `TF_MODEL_FOR_AUDIO_CLASSIFICATION_MAPPING` to some `__init__` files. Let's add a check to avoid and could detect such issues as early as possible. Along this new check, also add some missing mappings to `__init__` files.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24400/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24400/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24400", "html_url": "https://github.com/huggingface/transformers/pull/24400", "diff_url": "https://github.com/huggingface/transformers/pull/24400.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24400.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24399
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24399/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24399/comments
https://api.github.com/repos/huggingface/transformers/issues/24399/events
https://github.com/huggingface/transformers/pull/24399
1,767,146,412
PR_kwDOCUB6oc5Thgfo
24,399
byebye Hub connection timeout - Recast
{ "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,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? It's a bit hard to break up with timeout failure, but @Wauplin was working on it to have 60 seconds instead https://github.com/huggingface/huggingface_hub/pull/1523 We need to change the commit hash to that one in our CircleCI job though.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24399/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/24399/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24399", "html_url": "https://github.com/huggingface/transformers/pull/24399", "diff_url": "https://github.com/huggingface/transformers/pull/24399.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24399.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24398
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24398/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24398/comments
https://api.github.com/repos/huggingface/transformers/issues/24398/events
https://github.com/huggingface/transformers/pull/24398
1,767,105,979
PR_kwDOCUB6oc5ThXf1
24,398
feat: add support for protobuf 4
{ "login": "jose-turintech", "id": 93319775, "node_id": "U_kgDOBY_yXw", "avatar_url": "https://avatars.githubusercontent.com/u/93319775?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jose-turintech", "html_url": "https://github.com/jose-turintech", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "As you can see from all the red crosses above, this sadly requires more work than just unpinning protobuf.", "@sgugger yes, thanks for taking the time to pointing that out. Currently trying to identify the scope of needed changes a...
1,687
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? add support for protobuf 4
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24398/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24398/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24398", "html_url": "https://github.com/huggingface/transformers/pull/24398", "diff_url": "https://github.com/huggingface/transformers/pull/24398.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24398.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24397
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24397/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24397/comments
https://api.github.com/repos/huggingface/transformers/issues/24397/events
https://github.com/huggingface/transformers/pull/24397
1,767,096,326
PR_kwDOCUB6oc5ThVay
24,397
Add `ffmpeg` for `doc_test_job` on CircleCI
{ "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,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? Need this at least for `docs/source/en/task_summary.md`. Otherwise, [job](https://app.circleci.com/pipelines/github/huggingface/transformers/66845/workflows/ae6bcd25-5071-4f48-a9ba-d446ae6e060f/jobs/833148) fails
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24397/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24397/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24397", "html_url": "https://github.com/huggingface/transformers/pull/24397", "diff_url": "https://github.com/huggingface/transformers/pull/24397.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24397.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24396
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24396/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24396/comments
https://api.github.com/repos/huggingface/transformers/issues/24396/events
https://github.com/huggingface/transformers/pull/24396
1,766,976,918
PR_kwDOCUB6oc5Tg7HR
24,396
[`pipeline`] Fix str device issue
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Also \r\n\r\n```\r\npython -c 'from transformers import pipeline; pipe = pipeline(model=\"gpt2\", device=\"cuda\")'\r\n```\r\n\r\nWorks on `main`.. So I'm not sure what's the issue\r\n", "@Narsil what you shared works on main but i...
1,687
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? Addresses: https://github.com/huggingface/transformers/pull/24140#issuecomment-1584617146 Currently passing `device="cuda"` is not supported when creating a pipeline. This is because `torch.cuda.set_device(self.device)` expects the device to have an explicit index. The fix is to create ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24396/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24396/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24396", "html_url": "https://github.com/huggingface/transformers/pull/24396", "diff_url": "https://github.com/huggingface/transformers/pull/24396.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24396.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24395
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24395/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24395/comments
https://api.github.com/repos/huggingface/transformers/issues/24395/events
https://github.com/huggingface/transformers/issues/24395
1,766,907,749
I_kwDOCUB6oc5pUN9l
24,395
load_in_4bit seems dosen't work as experted which actually increase GPU memory usage when using zero3 via accelerate
{ "login": "tqjack", "id": 38412243, "node_id": "MDQ6VXNlcjM4NDEyMjQz", "avatar_url": "https://avatars.githubusercontent.com/u/38412243?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tqjack", "html_url": "https://github.com/tqjack", "followers_url": "https://api.github.com/users/tqjack/fo...
[]
closed
false
null
[]
[ "Hello, QLoRA and DeepSpeed can't be used together. DeepSpeed doesn't work with quantized parameters.", "> Hello, QLoRA and DeepSpeed can't be used together. DeepSpeed doesn't work with quantized parameters.\r\n\r\nis that means I can't do zero optimization while using qlora, at least for now? ddp is the only pa...
1,687
1,690
1,690
NONE
null
### System Info transformers==4.31.0 deepspeed==0.9.2 peft==0.4.0 bitsandbytes==0.39.0 torch==1.13.0 CUDA Version 11.8 GPUS 8x A100 80gb ### Who can help? @pacman100 ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `example...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24395/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24395/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24394
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24394/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24394/comments
https://api.github.com/repos/huggingface/transformers/issues/24394/events
https://github.com/huggingface/transformers/pull/24394
1,766,661,521
PR_kwDOCUB6oc5Tf-of
24,394
[WIP] Add SPTSv2
{ "login": "JesseSilverberg", "id": 35343284, "node_id": "MDQ6VXNlcjM1MzQzMjg0", "avatar_url": "https://avatars.githubusercontent.com/u/35343284?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JesseSilverberg", "html_url": "https://github.com/JesseSilverberg", "followers_url": "https://api...
[]
closed
false
null
[]
[ "cc @alaradirik for information. Please let us know when your model is ready for review or if you need any help :-)", "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 t...
1,687
1,690
1,690
NONE
null
# What does this PR do? This PR adds SPTSv2. Per the docs, I am opening this PR immediately after generating the boilerplate. Fixes #24235
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24394/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24394/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24394", "html_url": "https://github.com/huggingface/transformers/pull/24394", "diff_url": "https://github.com/huggingface/transformers/pull/24394.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24394.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24393
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24393/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24393/comments
https://api.github.com/repos/huggingface/transformers/issues/24393/events
https://github.com/huggingface/transformers/issues/24393
1,766,652,619
I_kwDOCUB6oc5pTPrL
24,393
Increased peak memory usage when upgrading to `transformers` v4.30 and inclusion of `safetensors`
{ "login": "mariecwhite", "id": 5143063, "node_id": "MDQ6VXNlcjUxNDMwNjM=", "avatar_url": "https://avatars.githubusercontent.com/u/5143063?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariecwhite", "html_url": "https://github.com/mariecwhite", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Hey @mariecwhite 👋 \r\n\r\nThe script you shared with us is quite large -- any chance you could help us narrow it down? Ideally, we'd start from a short stand-alone script, unless we are unable to reproduce the issue :)\r\n\r\nBTW, my immediate suspicion goes towards the `.from_pretrained()` function, as (de)seri...
1,687
1,687
1,687
CONTRIBUTOR
null
### System Info - `transformers` version: 4.30.2 - Platform: Linux-5.19.0-1022-gcp-x86_64-with-glibc2.35 - Python version: 3.10.6 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): not installed (NA) - Tensorflow version (GPU?): 2.12.0 (True) - Flax version (CPU?/GPU?/TPU?)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24393/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24393/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24392
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24392/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24392/comments
https://api.github.com/repos/huggingface/transformers/issues/24392/events
https://github.com/huggingface/transformers/issues/24392
1,766,630,109
I_kwDOCUB6oc5pTKLd
24,392
Allow `TextClassificationPipeline` to handle input longer than `model_max_length` tokens
{ "login": "boyleconnor", "id": 6520892, "node_id": "MDQ6VXNlcjY1MjA4OTI=", "avatar_url": "https://avatars.githubusercontent.com/u/6520892?v=4", "gravatar_id": "", "url": "https://api.github.com/users/boyleconnor", "html_url": "https://github.com/boyleconnor", "followers_url": "https://api.github.com/us...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[ "I don't have a lot of time to review this atm.\r\n\r\n@amyeroberts Do you know someone that could ?\r\n\r\nOverall I'm hesitant to think it's a good idea. Maintenance is much higher for those `ChunkPipeline` and splitting a document into bits is relatively easy to do outside of the pipeline.\r\nThe merge strategie...
1,687
1,696
null
CONTRIBUTOR
null
### Problem Running a `TextClassificationPipeline` on a text with more tokens than its model's maximum position embeddings (e.g. 512 for BERT) like so: ```python from transformers import pipeline classifier = pipeline('sentiment-analysis') classifier("Hello, world! " * 1000) ``` will lead to this error: ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24392/reactions", "total_count": 13, "+1": 13, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24392/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/24391
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24391/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24391/comments
https://api.github.com/repos/huggingface/transformers/issues/24391/events
https://github.com/huggingface/transformers/issues/24391
1,766,600,745
I_kwDOCUB6oc5pTDAp
24,391
Bug on Gather all remaining tensors and put them back on the CPU
{ "login": "jinmang2", "id": 37775784, "node_id": "MDQ6VXNlcjM3Nzc1Nzg0", "avatar_url": "https://avatars.githubusercontent.com/u/37775784?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jinmang2", "html_url": "https://github.com/jinmang2", "followers_url": "https://api.github.com/users/jin...
[]
closed
false
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api...
[ "@jinmang2 can you provide the example code you ran? Would be an excellent way for us to write a test-case around it :)", "@muellerzr sure!\r\n\r\n### dialogue state tracking results (my own code)\r\n- colab link: https://colab.research.google.com/drive/1afT8O5OrUaTaZ07xvi_3AMW07P2nnRuC?usp=sharing\r\n- code lin...
1,687
1,688
1,688
NONE
null
### System Info - `transformers` version: 4.31.0.dev0 - Platform: Linux-5.15.107+-x86_64-with-glibc2.31 - Python version: 3.10.12 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu118 (True) - Tensorflow version (GPU?): 2.12.0 (True) - Flax version (CPU?/GPU?/TPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24391/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/24391/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24390
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24390/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24390/comments
https://api.github.com/repos/huggingface/transformers/issues/24390/events
https://github.com/huggingface/transformers/issues/24390
1,766,385,065
I_kwDOCUB6oc5pSOWp
24,390
AttributeError: 'AutoformerModel' object has no attribute 'embedder'
{ "login": "pourmatin", "id": 19475339, "node_id": "MDQ6VXNlcjE5NDc1MzM5", "avatar_url": "https://avatars.githubusercontent.com/u/19475339?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pourmatin", "html_url": "https://github.com/pourmatin", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "cc @kashif ", "While waiting our expert @kashif , the code in \r\n\r\n```python\r\n if config.num_static_categorical_features > 0:\r\n self.embedder = AutoformerFeatureEmbedder(\r\n cardinalities=config.cardinality, embedding_dims=config.embedding_dimension\r\n )\r\n``...
1,687
1,690
1,690
NONE
null
### System Info Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:41 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T8103 ### Who can help? @ydshieh ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/S...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24390/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24390/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24389
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24389/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24389/comments
https://api.github.com/repos/huggingface/transformers/issues/24389/events
https://github.com/huggingface/transformers/pull/24389
1,766,339,710
PR_kwDOCUB6oc5TfDPZ
24,389
[Trainer] Fix optimizer step on PyTorch TPU
{ "login": "cowanmeg", "id": 6570496, "node_id": "MDQ6VXNlcjY1NzA0OTY=", "avatar_url": "https://avatars.githubusercontent.com/u/6570496?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cowanmeg", "html_url": "https://github.com/cowanmeg", "followers_url": "https://api.github.com/users/cowan...
[]
closed
false
null
[]
[ "cc @muellerzr and @pacman100 ", "_The documentation is not available anymore as the PR was closed or merged._", "Thank you @cowanmeg for the fix!" ]
1,687
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? Update optimizer step for TPUs to user `self.optimizer.step()` instead of `xm.optimizer_step(self.optimizer)`. AcceleratedOptimizer properly calls `xm.optimizer_step` on the optimizer (https://github.com/huggingface/accelerate/blob/main/src/accelerate/optimizer.py#L129). This fixes a bug ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24389/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24389/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24389", "html_url": "https://github.com/huggingface/transformers/pull/24389", "diff_url": "https://github.com/huggingface/transformers/pull/24389.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24389.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24388
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24388/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24388/comments
https://api.github.com/repos/huggingface/transformers/issues/24388/events
https://github.com/huggingface/transformers/pull/24388
1,766,329,118
PR_kwDOCUB6oc5TfBzv
24,388
[docs] Fix NLLB-MoE links
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,687
1,687
1,687
MEMBER
null
Fixes the broken links raised in #24382.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24388/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24388/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24388", "html_url": "https://github.com/huggingface/transformers/pull/24388", "diff_url": "https://github.com/huggingface/transformers/pull/24388.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24388.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24387
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24387/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24387/comments
https://api.github.com/repos/huggingface/transformers/issues/24387/events
https://github.com/huggingface/transformers/pull/24387
1,766,255,972
PR_kwDOCUB6oc5Tezp7
24,387
Update deprecated torch.ger
{ "login": "kit1980", "id": 420184, "node_id": "MDQ6VXNlcjQyMDE4NA==", "avatar_url": "https://avatars.githubusercontent.com/u/420184?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kit1980", "html_url": "https://github.com/kit1980", "followers_url": "https://api.github.com/users/kit1980/fo...
[]
closed
false
null
[]
[ "@sgugger please take a look.", "_The documentation is not available anymore as the PR was closed or merged._", "A test (I believe unrelated to the change) timed out https://app.circleci.com/pipelines/github/huggingface/transformers/66846/workflows/ae63fb76-7260-490e-8301-7c6cf986e693/jobs/833163", "Yes it's ...
1,687
1,687
1,687
CONTRIBUTOR
null
` torch.ger` was deprecated long time ago and `torch.outer` is a direct replacement: https://pytorch.org/docs/stable/generated/torch.ger.html
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24387/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24387/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24387", "html_url": "https://github.com/huggingface/transformers/pull/24387", "diff_url": "https://github.com/huggingface/transformers/pull/24387.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24387.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24386
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24386/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24386/comments
https://api.github.com/repos/huggingface/transformers/issues/24386/events
https://github.com/huggingface/transformers/issues/24386
1,766,146,530
I_kwDOCUB6oc5pRUHi
24,386
Loading Trained RAG Model
{ "login": "YichiRockyZhang", "id": 29335344, "node_id": "MDQ6VXNlcjI5MzM1MzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/29335344?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YichiRockyZhang", "html_url": "https://github.com/YichiRockyZhang", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hi @YichiRockyZhang \r\nThanks for the issue, looking at your environment (transformers == 4.13.0) I would probably give it a try with on of the newest version of transformers. It seems the config didn't saved properly the model identifier for some reason. Would it be possible to use a recent version of the lib fo...
1,687
1,690
1,690
NONE
null
### System Info Python 3.9.16 Transformers 4.13.0 WSL ### Who can help? @ArthurZucker @younesbelkada @shamanez ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or da...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24386/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24386/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24385
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24385/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24385/comments
https://api.github.com/repos/huggingface/transformers/issues/24385/events
https://github.com/huggingface/transformers/issues/24385
1,766,135,653
I_kwDOCUB6oc5pRRdl
24,385
How to unwrap after auto_wrap in FSDP?
{ "login": "ZN1010", "id": 13196992, "node_id": "MDQ6VXNlcjEzMTk2OTky", "avatar_url": "https://avatars.githubusercontent.com/u/13196992?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZN1010", "html_url": "https://github.com/ZN1010", "followers_url": "https://api.github.com/users/ZN1010/fo...
[]
closed
false
null
[]
[ "This is more a question for the PyTorch forums as it's purely related to FSDP. Still cc-ing @pacman100 in case he has any idea.", "Hello, as Sylvain mentioned this question is for the PyTorch forums. `summon_full_params` usage can be found in these tests: https://github.com/pytorch/pytorch/blob/main/test/distrib...
1,687
1,690
1,690
NONE
null
I am currently fine-tuning a LLM (LLaMA) and would like to retrieve the gradients of each weight (parameter) after every gradient update. However, I notice that weights are (auto) wrapped into stuff like “_fsdp_wrapped_module._flat_param” during training. I need to map these wrapped weights to the original LLaMA archit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24385/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24385/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24384
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24384/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24384/comments
https://api.github.com/repos/huggingface/transformers/issues/24384/events
https://github.com/huggingface/transformers/pull/24384
1,766,129,169
PR_kwDOCUB6oc5TeeWV
24,384
Refactor hyperparameter search backends
{ "login": "alexmojaki", "id": 3627481, "node_id": "MDQ6VXNlcjM2Mjc0ODE=", "avatar_url": "https://avatars.githubusercontent.com/u/3627481?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alexmojaki", "html_url": "https://github.com/alexmojaki", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "> Using abstract classes like this is not really the way the Transformers library is designed\r\n\r\nThat's fine, I was very unsure which approach to take. `abc` offers additional safety and IDE assistance as the standard way to ensure that all abstract methods are implemented, but it's probably overkill here and ...
1,687
1,687
1,687
CONTRIBUTOR
null
Fixes https://github.com/huggingface/transformers/issues/24379 The goal here is to clearly group the essential info/functionality about each backend together to make reading/changing things easier. For example if another backend integration is added it should be less likely for something to be forgotten as apparentl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24384/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24384/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24384", "html_url": "https://github.com/huggingface/transformers/pull/24384", "diff_url": "https://github.com/huggingface/transformers/pull/24384.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24384.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24383
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24383/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24383/comments
https://api.github.com/repos/huggingface/transformers/issues/24383/events
https://github.com/huggingface/transformers/issues/24383
1,766,078,398
I_kwDOCUB6oc5pRDe-
24,383
How BERT 512 limit works?
{ "login": "Bisht9887", "id": 26176160, "node_id": "MDQ6VXNlcjI2MTc2MTYw", "avatar_url": "https://avatars.githubusercontent.com/u/26176160?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Bisht9887", "html_url": "https://github.com/Bisht9887", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Please use the [forums](https://discuss.huggingface.co/) for such questions. You did not pass your input the model, just the tokenizer.", "sure! I will take care of that. I am little new to this. Thanks for info" ]
1,687
1,687
1,687
NONE
null
### System Info I passed a long text of 3000 tokens and it did not give me any error. Does BERT not have 512 token limit? Why it is not giving any error? This is the code I used. You can pass any input with tokens more than 512 ### Who can help? _No response_ ### Information - [X] The official example scripts - [X...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24383/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24383/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24381
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24381/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24381/comments
https://api.github.com/repos/huggingface/transformers/issues/24381/events
https://github.com/huggingface/transformers/pull/24381
1,765,835,534
PR_kwDOCUB6oc5TdgQ1
24,381
fixing layer indexing error when pipeline parallel > 1
{ "login": "xshaun", "id": 8446322, "node_id": "MDQ6VXNlcjg0NDYzMjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8446322?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xshaun", "html_url": "https://github.com/xshaun", "followers_url": "https://api.github.com/users/xshaun/foll...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24381). All of your documentation changes will be reflected on that endpoint." ]
1,687
1,687
1,687
CONTRIBUTOR
null
when applying pipeline parallel, the index of layers converted from transformers to megatron is wrong since there is not offset applied successfully. For example, if having 4 layers, and pipeline parallel is 2, we want to the result looks like `layers.0 + layers.1` and `layers.2 + layers.3`, but now the result is `la...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24381/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24381/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24381", "html_url": "https://github.com/huggingface/transformers/pull/24381", "diff_url": "https://github.com/huggingface/transformers/pull/24381.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24381.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24380
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24380/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24380/comments
https://api.github.com/repos/huggingface/transformers/issues/24380/events
https://github.com/huggingface/transformers/issues/24380
1,765,798,908
I_kwDOCUB6oc5pP_P8
24,380
WavLM error when running forward
{ "login": "MorenoLaQuatra", "id": 10062811, "node_id": "MDQ6VXNlcjEwMDYyODEx", "avatar_url": "https://avatars.githubusercontent.com/u/10062811?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MorenoLaQuatra", "html_url": "https://github.com/MorenoLaQuatra", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "I think there's a small typo with your codesnippet:\r\n```diff\r\n- input = fe(audio, return_tensor=\"pt\")\r\n+ input = fe(audio, return_tensors=\"pt\")\r\n```\r\n\r\nE.g. running the following works for me:\r\n```python\r\nfrom transformers import AutoModel, AutoFeatureExtractor\r\nimport torch\r\nimport numpy a...
1,687
1,690
1,690
CONTRIBUTOR
null
### System Info **Relevant Libraries** transformers==4.26.1 torchaudio==2.0.2 torch==2.0.1 OS: Ubuntu 20.04 ### Who can help? @sanchit-gandhi ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folde...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24380/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/24380/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24379
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24379/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24379/comments
https://api.github.com/repos/huggingface/transformers/issues/24379/events
https://github.com/huggingface/transformers/issues/24379
1,765,783,928
I_kwDOCUB6oc5pP7l4
24,379
`Trainer.hyperparameter_search` doesn't document `wandb` or offer it as a default backend
{ "login": "alexmojaki", "id": 3627481, "node_id": "MDQ6VXNlcjM2Mjc0ODE=", "avatar_url": "https://avatars.githubusercontent.com/u/3627481?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alexmojaki", "html_url": "https://github.com/alexmojaki", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Those are all integrations maintained by the authors of those libraries, we do not maintain them ourselves. It might be a bug, but it's up to the wandb folks to fix it in this case :-) ", "Even the glue code in `trainer.py` that ties the various backends together?\r\n\r\nWould you accept a PR to refactor this st...
1,687
1,687
1,687
CONTRIBUTOR
null
`Trainer.hyperparameter_search` seems to prioritise the `optuna/ray/sigopt` backends, while `wandb` almost seems like a second-class citizen in the code. Specifically, the docstring explicitly mentions the first three backends multiple times in different contexts but not `wandb`, and `default_hp_search_backend` won't r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24379/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24379/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24382
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24382/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24382/comments
https://api.github.com/repos/huggingface/transformers/issues/24382/events
https://github.com/huggingface/transformers/issues/24382
1,765,922,167
I_kwDOCUB6oc5pQdV3
24,382
Some links in NLLB page are broken.
{ "login": "ranggihwang", "id": 50730045, "node_id": "MDQ6VXNlcjUwNzMwMDQ1", "avatar_url": "https://avatars.githubusercontent.com/u/50730045?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ranggihwang", "html_url": "https://github.com/ranggihwang", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "cc @stevhliu ", "Doc in version 4.30.0 still has problems, not only the doc section but other links :( @stevhliu ", "The fix is on main, so it will only be reflected on the main version of the documentation. And if you have found other links to fix, please do tell us or open directly PRs to fix them :-)" ]
1,687
1,687
1,687
NONE
null
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear an...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24382/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24382/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24378
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24378/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24378/comments
https://api.github.com/repos/huggingface/transformers/issues/24378/events
https://github.com/huggingface/transformers/pull/24378
1,765,743,865
PR_kwDOCUB6oc5TdNIy
24,378
Skip a tapas (tokenization) test in past CI
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24378). All of your documentation changes will be reflected on that endpoint." ]
1,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? Same as in #24251 where 1 test (from the tokenization test file) is missed.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24378/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24378/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24378", "html_url": "https://github.com/huggingface/transformers/pull/24378", "diff_url": "https://github.com/huggingface/transformers/pull/24378.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24378.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24377
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24377/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24377/comments
https://api.github.com/repos/huggingface/transformers/issues/24377/events
https://github.com/huggingface/transformers/pull/24377
1,765,709,257
PR_kwDOCUB6oc5TdFyF
24,377
Better test name and enable pipeline test for `pix2struct`
{ "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,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? In #24364, `pix2struct` test file didn't get `pipeline_model_mapping` being updated, due to the `heuristic` of finding a test class not working well (try to find the shortest test class name). Let's try to give the test class a better/short/clear name, (despite we don't really have a base ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24377/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24377/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24377", "html_url": "https://github.com/huggingface/transformers/pull/24377", "diff_url": "https://github.com/huggingface/transformers/pull/24377.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24377.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24376
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24376/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24376/comments
https://api.github.com/repos/huggingface/transformers/issues/24376/events
https://github.com/huggingface/transformers/pull/24376
1,765,674,035
PR_kwDOCUB6oc5Tc-8s
24,376
Migrate doc files to Markdown.
{ "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
[]
[ "I'd add a :warning: emoji as a prefix for the disclaimer, but other than that it looks good to me!", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? The new UI in GitHub makes MDX pretty hard to read for diffs, so this PR migrates the doc files from mdx to md. This shouldn't break anything in the doc-builder.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24376/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24376/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24376", "html_url": "https://github.com/huggingface/transformers/pull/24376", "diff_url": "https://github.com/huggingface/transformers/pull/24376.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24376.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24375
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24375/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24375/comments
https://api.github.com/repos/huggingface/transformers/issues/24375/events
https://github.com/huggingface/transformers/pull/24375
1,765,667,213
PR_kwDOCUB6oc5Tc9es
24,375
TF LLaMA Port
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24375). 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,687
1,690
1,690
MEMBER
null
This is an autoconversion of the LLaMA code to TF by GPT-4. As always, expect things to be broken until I finish debugging it! TODO list: - [ ] Get tests to pass - [ ] No `MainLayer` - we shouldn't need it! Make sure weight naming can still be controlled. - [ ] Explore full `float16` weights - [ ] Explore passi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24375/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24375/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24375", "html_url": "https://github.com/huggingface/transformers/pull/24375", "diff_url": "https://github.com/huggingface/transformers/pull/24375.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24375.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24374
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24374/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24374/comments
https://api.github.com/repos/huggingface/transformers/issues/24374/events
https://github.com/huggingface/transformers/pull/24374
1,765,665,393
PR_kwDOCUB6oc5Tc9HC
24,374
Rename test to be more accurate
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24374). All of your documentation changes will be reflected on that endpoint." ]
1,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? Tiny fix but this integration test actually tests Finn to English so let's name it accordingly.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24374/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24374/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24374", "html_url": "https://github.com/huggingface/transformers/pull/24374", "diff_url": "https://github.com/huggingface/transformers/pull/24374.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24374.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24373
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24373/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24373/comments
https://api.github.com/repos/huggingface/transformers/issues/24373/events
https://github.com/huggingface/transformers/pull/24373
1,765,632,291
PR_kwDOCUB6oc5Tc2eu
24,373
Add a check in `ImageToTextPipeline._forward`
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? Inside `ImageToTextPipeline.preprocess`, we have ```python if self.model.config.model_type == "git" and prompt is None: model_inputs["input_ids"] = None ``` So it may happen with a list of `None` (for Git model), and the `_forward` fail. This PR add a check and c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24373/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24373/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24373", "html_url": "https://github.com/huggingface/transformers/pull/24373", "diff_url": "https://github.com/huggingface/transformers/pull/24373.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24373.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24372
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24372/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24372/comments
https://api.github.com/repos/huggingface/transformers/issues/24372/events
https://github.com/huggingface/transformers/issues/24372
1,765,495,469
I_kwDOCUB6oc5pO1Kt
24,372
`resize_token_embeddings` breaks `gpt2` generation
{ "login": "vwxyzjn", "id": 5555347, "node_id": "MDQ6VXNlcjU1NTUzNDc=", "avatar_url": "https://avatars.githubusercontent.com/u/5555347?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vwxyzjn", "html_url": "https://github.com/vwxyzjn", "followers_url": "https://api.github.com/users/vwxyzjn/...
[]
closed
false
null
[]
[ "You are adding a random line in the model. Without fine-tuning it there is no reason for it to continue working." ]
1,687
1,687
1,687
CONTRIBUTOR
null
### System Info ``` - `transformers` version: 4.30.1 - Platform: Linux-5.15.0-1023-aws-x86_64-with-glibc2.2.5 - Python version: 3.8.11 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24372/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24372/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24371
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24371/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24371/comments
https://api.github.com/repos/huggingface/transformers/issues/24371/events
https://github.com/huggingface/transformers/issues/24371
1,765,441,743
I_kwDOCUB6oc5pOoDP
24,371
Future compatibility with LangChain
{ "login": "LucasMartinCalderon", "id": 25382998, "node_id": "MDQ6VXNlcjI1MzgyOTk4", "avatar_url": "https://avatars.githubusercontent.com/u/25382998?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LucasMartinCalderon", "html_url": "https://github.com/LucasMartinCalderon", "followers_url": ...
[]
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,687
1,690
1,690
NONE
null
Is there a specific timeline for future LLM agents compatibility with LangChain? What other current compatibility solutions with LangChain are there?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24371/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24371/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24369
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24369/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24369/comments
https://api.github.com/repos/huggingface/transformers/issues/24369/events
https://github.com/huggingface/transformers/issues/24369
1,765,063,421
I_kwDOCUB6oc5pNLr9
24,369
Additional option for text generation when setting num_beam_groups
{ "login": "hukuda222", "id": 21185928, "node_id": "MDQ6VXNlcjIxMTg1OTI4", "avatar_url": "https://avatars.githubusercontent.com/u/21185928?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hukuda222", "html_url": "https://github.com/hukuda222", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "cc @gante ", "Hey @hukuda222 \r\n\r\n`generate` is already a configuration behemoth, and we would be adding one more flag. By default, we are reluctant to add more flags unless the benefits are large OR there is demand for the option. As such, I'm going to propose the same as I do in similar issues ([e.g.](https...
1,687
1,687
1,687
CONTRIBUTOR
null
### Feature request I propose to add `num_return_sequences_per_groups` as an argument to `generate` function of `transformers.GenerationMixin`. Setting this will output `num_return_sequences_per_groups` sentences each group. Use cases are as follows: code: ```python outputs = model.generate( tokenizer.encode...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24369/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24369/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24368
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24368/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24368/comments
https://api.github.com/repos/huggingface/transformers/issues/24368/events
https://github.com/huggingface/transformers/pull/24368
1,764,971,867
PR_kwDOCUB6oc5Tan3Q
24,368
[Tokenizer doc] Clarification about `add_prefix_space`
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This blog post on constrained decoding also uses `add_prefix_space` in `__call__` https://huggingface.co/blog/constrained-beam-search\r\n", "The blog is not hosted on `transformers` but on `blog`, will open a PR for that too later ...
1,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? Adresses #17391, updates the documentation that suggested to use `add_prefix_space` when calling the tokenizer
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24368/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24368/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24368", "html_url": "https://github.com/huggingface/transformers/pull/24368", "diff_url": "https://github.com/huggingface/transformers/pull/24368.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24368.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24367
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24367/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24367/comments
https://api.github.com/repos/huggingface/transformers/issues/24367/events
https://github.com/huggingface/transformers/pull/24367
1,764,933,368
PR_kwDOCUB6oc5Tafjx
24,367
[Whisper Docs] Nits
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? Adresses #24342, where it is mentioned that the documentation is conter intuitive. Indeed, after a lot of changes, the default value for the `bos_token` that we use is different, thus no official models (hosted on the hub) use `bos_token = "<startoftranscript>"`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24367/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24367/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24367", "html_url": "https://github.com/huggingface/transformers/pull/24367", "diff_url": "https://github.com/huggingface/transformers/pull/24367.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24367.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24366
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24366/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24366/comments
https://api.github.com/repos/huggingface/transformers/issues/24366/events
https://github.com/huggingface/transformers/issues/24366
1,764,835,743
I_kwDOCUB6oc5pMUGf
24,366
Format of the documentation (文档格式和可读性的问题)
{ "login": "KKIverson", "id": 49222488, "node_id": "MDQ6VXNlcjQ5MjIyNDg4", "avatar_url": "https://avatars.githubusercontent.com/u/49222488?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KKIverson", "html_url": "https://github.com/KKIverson", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "sorry,我的浏览器兼容性问题。\r\nMy bad!!!!" ]
1,687
1,687
1,687
NONE
null
### System Info huggingface的文档格式真的看起来很乱,读起来很不流畅,强烈建议官方优化一下: 例如:https://huggingface.co/docs/transformers/installation 1. 段落之间几乎没有分隔符,没有标题,字体大小、行间距之类的也很差; 2. 超链和普通文字的格式几乎一样,容易误触; 3. 代码段也不够美观,看起来就像是从interactive 的IDE写的,不方便初学者复制。 ### Who can help? _No response_ ### Information - [ ] The official example scr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24366/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24366/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24365
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24365/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24365/comments
https://api.github.com/repos/huggingface/transformers/issues/24365/events
https://github.com/huggingface/transformers/issues/24365
1,764,824,885
I_kwDOCUB6oc5pMRc1
24,365
ValueError: Unexpected result of `train_function` (Empty logs). Please use `Model.compile(..., run_eagerly=True)`, or `tf.config.run_functions_eagerly(True)` for more information of where went wrong, or file a issue/bug to `tf.keras`.
{ "login": "ErHimani", "id": 62006705, "node_id": "MDQ6VXNlcjYyMDA2NzA1", "avatar_url": "https://avatars.githubusercontent.com/u/62006705?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ErHimani", "html_url": "https://github.com/ErHimani", "followers_url": "https://api.github.com/users/ErH...
[]
closed
false
null
[]
[ "Hi @ErHimani, thanks for raising an issue. \r\n\r\nCould you follow the issue template and provide: \r\n* The running environment: run `transformers-cli env` in the terminal and copy-paste the output\r\n* A minimal code snippet so that was can reproduce the error\r\n\r\nWithout these, we're unable to help.", "hi...
1,687
1,701
1,701
NONE
null
### System Info I am trying to train the CLIP model with my custom dataset But I am facing the above issue my current version of tensorflow ==2.12.0 ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24365/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24365/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24364
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24364/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24364/comments
https://api.github.com/repos/huggingface/transformers/issues/24364/events
https://github.com/huggingface/transformers/pull/24364
1,764,014,081
PR_kwDOCUB6oc5TXcTT
24,364
Update tiny models for pipeline testing.
{ "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,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? Update tiny models for pipeline testing.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24364/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24364/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24364", "html_url": "https://github.com/huggingface/transformers/pull/24364", "diff_url": "https://github.com/huggingface/transformers/pull/24364.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24364.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24363
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24363/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24363/comments
https://api.github.com/repos/huggingface/transformers/issues/24363/events
https://github.com/huggingface/transformers/pull/24363
1,763,940,101
PR_kwDOCUB6oc5TXM8I
24,363
[modelcard] add audio classification to task list
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,687
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? Adds audio classification to the modelcard tasks lists, thus enabling model cards to be created for this task (required for https://github.com/huggingface/audio-transformers-course/pull/46)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24363/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24363/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24363", "html_url": "https://github.com/huggingface/transformers/pull/24363", "diff_url": "https://github.com/huggingface/transformers/pull/24363.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24363.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24362
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24362/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24362/comments
https://api.github.com/repos/huggingface/transformers/issues/24362/events
https://github.com/huggingface/transformers/issues/24362
1,763,889,516
I_kwDOCUB6oc5pItFs
24,362
For loop support in python interpreter of Transformer agent
{ "login": "dcy0577", "id": 50020414, "node_id": "MDQ6VXNlcjUwMDIwNDE0", "avatar_url": "https://avatars.githubusercontent.com/u/50020414?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dcy0577", "html_url": "https://github.com/dcy0577", "followers_url": "https://api.github.com/users/dcy057...
[]
closed
false
null
[]
[ "cc @sgugger ", "Would you like to open a PR for this?", "I would like to, but I don't know how to implement it yet. Do you have any suggestions?", "Should be added with the PR mentioned above :-)" ]
1,687
1,687
1,687
NONE
null
### Feature request Hello, I would like to add for loop support in https://github.com/huggingface/transformers/blame/c2393cad085e3875ee2206d917d46d15e50602a3/src/transformers/tools/python_interpreter.py Any idea about how to implement this? ### Motivation For loop is quite common in generated code. Usually it will ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24362/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24362/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24361
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24361/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24361/comments
https://api.github.com/repos/huggingface/transformers/issues/24361/events
https://github.com/huggingface/transformers/issues/24361
1,763,790,540
I_kwDOCUB6oc5pIU7M
24,361
Accelerate preprocessing crashing due to non-tensor input
{ "login": "ElleLeonne", "id": 87243032, "node_id": "MDQ6VXNlcjg3MjQzMDMy", "avatar_url": "https://avatars.githubusercontent.com/u/87243032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ElleLeonne", "html_url": "https://github.com/ElleLeonne", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @ElleLeonne, \r\n\r\nSo that we can best help, could you share a minimal code snippet so that we can reproduce the error and information about the running environment: run `transformers-cli env` in the terminal and copy-paste the output?", "Out of town today, but I'll have something shortly.", "This issue h...
1,687
1,705
1,690
NONE
null
### System Info I believe a recent update has caused Accelerate to try and concatenate all tensor data in the input dictionary. This is a problem, because my inputs contain non-tensor data, due to the fact that such data is intermittent and not always provided in the batch. Rather than skipping over this infor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24361/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24361/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24360
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24360/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24360/comments
https://api.github.com/repos/huggingface/transformers/issues/24360/events
https://github.com/huggingface/transformers/pull/24360
1,763,767,703
PR_kwDOCUB6oc5TWnxS
24,360
TensorFlow CI fixes
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,687
1,687
1,687
MEMBER
null
I made a lot of changes to the TF tests, and this exposed a few issues. This PR fixes all the exposed issues, so hopefully after this the only remaining CI issues should be related to generation or the `SharedEmbeddings` refactor.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24360/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24360/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24360", "html_url": "https://github.com/huggingface/transformers/pull/24360", "diff_url": "https://github.com/huggingface/transformers/pull/24360.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24360.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24359
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24359/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24359/comments
https://api.github.com/repos/huggingface/transformers/issues/24359/events
https://github.com/huggingface/transformers/issues/24359
1,763,753,112
I_kwDOCUB6oc5pILyY
24,359
ValueError: Found `optimizer` configured in the DeepSpeed config, but no `scheduler`. Please configure a scheduler in the DeepSpeed config.
{ "login": "luohao123", "id": 49749220, "node_id": "MDQ6VXNlcjQ5NzQ5MjIw", "avatar_url": "https://avatars.githubusercontent.com/u/49749220?v=4", "gravatar_id": "", "url": "https://api.github.com/users/luohao123", "html_url": "https://github.com/luohao123", "followers_url": "https://api.github.com/users/...
[ { "id": 5616426447, "node_id": "LA_kwDOCUB6oc8AAAABTsPdzw", "url": "https://api.github.com/repos/huggingface/transformers/labels/solved", "name": "solved", "color": "B1D6DC", "default": false, "description": "" } ]
closed
false
null
[]
[ "Hi @luohao123, \r\n\r\nSo that we can help you, could you follow the issue template and provide a minimal code snippet to reproduce the error and the running environment: run `transformers-cli env` in the terminal and copy-paste the output? \r\n\r\ncc @pacman100 ", "**TLDR;** if you're in a rush, downgrading to ...
1,687
1,698
1,698
NONE
null
ValueError: Found `optimizer` configured in the DeepSpeed config, but no `scheduler`. Please configure a scheduler in the DeepSpeed config. Am using `--warmup_ratio 0.03 --lr_scheduler_type "cosine" \` Here, and I didn't found a properly shceduler in deepspeed ssame as cosine, what should to set?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24359/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24359/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24358
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24358/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24358/comments
https://api.github.com/repos/huggingface/transformers/issues/24358/events
https://github.com/huggingface/transformers/pull/24358
1,763,612,699
PR_kwDOCUB6oc5TWGJQ
24,358
Fix the order in `GPTNeo`'s docstring
{ "login": "qgallouedec", "id": 45557362, "node_id": "MDQ6VXNlcjQ1NTU3MzYy", "avatar_url": "https://avatars.githubusercontent.com/u/45557362?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qgallouedec", "html_url": "https://github.com/qgallouedec", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Et voilà :)", "_The documentation is not available anymore as the PR was closed or merged._", "@qgallouedec To get the setup_and_quality tests passing, you'll need to run `make style` at the top level of the repo and push any changes to this branch. " ]
1,687
1,701
1,687
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24358/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24358/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24358", "html_url": "https://github.com/huggingface/transformers/pull/24358", "diff_url": "https://github.com/huggingface/transformers/pull/24358.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24358.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24357
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24357/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24357/comments
https://api.github.com/repos/huggingface/transformers/issues/24357/events
https://github.com/huggingface/transformers/pull/24357
1,763,568,939
PR_kwDOCUB6oc5TV8lw
24,357
Make `AutoFormer` work with previous torch version
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? Without `import torch.utils.checkpoint` (which we have in other files, like `Bart`), with torch 1.13, we got an error (running `RUN_SLOW=1 python3 -m pytest -v tests/models/autoformer/test_modeling_autoformer.py::AutoformerModelTest::test_training_gradient_checkpointing`) ```bash > ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24357/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24357/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24357", "html_url": "https://github.com/huggingface/transformers/pull/24357", "diff_url": "https://github.com/huggingface/transformers/pull/24357.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24357.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24356
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24356/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24356/comments
https://api.github.com/repos/huggingface/transformers/issues/24356/events
https://github.com/huggingface/transformers/issues/24356
1,763,555,047
I_kwDOCUB6oc5pHbbn
24,356
Deepspeed OOM When training 7B model on V100 16GB (2)
{ "login": "shahules786", "id": 25312635, "node_id": "MDQ6VXNlcjI1MzEyNjM1", "avatar_url": "https://avatars.githubusercontent.com/u/25312635?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shahules786", "html_url": "https://github.com/shahules786", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Did you solved? " ]
1,687
1,697
1,687
NONE
null
### System Info - Python version 3.8 - transformers - installed from source latest **Describe the bug** OOM When training 7B model on V100 16GB (2) with zero stage 2 and CPU offloading even when memory estimation showed far less per GPU mem requirement. ``` -- memory estimation-- DEVICES ['Tesla V100-PCIE-16...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24356/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24356/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24354
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24354/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24354/comments
https://api.github.com/repos/huggingface/transformers/issues/24354/events
https://github.com/huggingface/transformers/issues/24354
1,763,502,622
I_kwDOCUB6oc5pHOoe
24,354
PEFT Models are not resuming from checkpoint as expected.
{ "login": "techthiyanes", "id": 25921035, "node_id": "MDQ6VXNlcjI1OTIxMDM1", "avatar_url": "https://avatars.githubusercontent.com/u/25921035?v=4", "gravatar_id": "", "url": "https://api.github.com/users/techthiyanes", "html_url": "https://github.com/techthiyanes", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi @techthiyanes \r\nThank you very much for double checking, here are the snippets that I have ran and they work fine on my end using the branh you have mentioned:\r\n\r\n<details><summary>Without `resume_from_checkpoint`</summary>\r\n\r\n```python\r\n\r\nimport os\r\nfrom transformers import TrainingArguments\r\...
1,687
1,687
1,687
NONE
null
### System Info transformers : 4.30 ### Who can help? @llohann-speranca @younesbelkada ### 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 (gi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24354/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24354/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24353
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24353/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24353/comments
https://api.github.com/repos/huggingface/transformers/issues/24353/events
https://github.com/huggingface/transformers/pull/24353
1,763,486,363
PR_kwDOCUB6oc5TVqWA
24,353
Fix ImageGPT doctest
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@ydshieh Running the doctests (properly this time :) ), the tests pass with the ignore statement on the for loop, and fail without (in the same way as on the CI). " ]
1,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? #24317 Resolved the ImageGPT doc test failing issue, as `clusters` in the image processor were not stored as numpy arrays as expected. This was tested by running the code directly, but I didn't run using ` pytest --doctest-modules src/transformers/models/imagegpt/modeling_imagegpt.py ` 🙃 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24353/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24353/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24353", "html_url": "https://github.com/huggingface/transformers/pull/24353", "diff_url": "https://github.com/huggingface/transformers/pull/24353.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24353.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24352
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24352/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24352/comments
https://api.github.com/repos/huggingface/transformers/issues/24352/events
https://github.com/huggingface/transformers/pull/24352
1,763,429,594
PR_kwDOCUB6oc5TVd4f
24,352
Fix device issue in `SwitchTransformers`
{ "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._", "Merge now. Don't hesitate to leave comments if any @ArthurZucker ." ]
1,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? Need a tiny fix after #24300. Currently, we have a failure ```bash self = <tests.models.switch_transformers.test_modeling_switch_transformers.SwitchTransformersEncoderOnlyModelTest testMethod=test_multi_gpu_data_parallel_forward> @staticmethod def forward(ctx, target_de...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24352/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/24352/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24352", "html_url": "https://github.com/huggingface/transformers/pull/24352", "diff_url": "https://github.com/huggingface/transformers/pull/24352.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24352.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24351
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24351/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24351/comments
https://api.github.com/repos/huggingface/transformers/issues/24351/events
https://github.com/huggingface/transformers/pull/24351
1,763,169,502
PR_kwDOCUB6oc5TUki9
24,351
pin `apex` to a speicifc commit (for DeepSpeed CI docker image)
{ "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,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? The docker image build for DeepSpeed job in CI fails since ~ one week due to this [apex issue](https://github.com/NVIDIA/apex/issues/1679). Let's pin to the previous commit until the above mentioned issue is resolved on `apex` side. Currently, the DeepSpeed job fails as the above failur...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24351/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24351/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24351", "html_url": "https://github.com/huggingface/transformers/pull/24351", "diff_url": "https://github.com/huggingface/transformers/pull/24351.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24351.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24350
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24350/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24350/comments
https://api.github.com/repos/huggingface/transformers/issues/24350/events
https://github.com/huggingface/transformers/pull/24350
1,763,141,993
PR_kwDOCUB6oc5TUeqy
24,350
byebye Hub connection timeout
{ "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,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? No more timeout for connection to Hub in CI, and everyone is happy with ✅
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24350/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24350/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24350", "html_url": "https://github.com/huggingface/transformers/pull/24350", "diff_url": "https://github.com/huggingface/transformers/pull/24350.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24350.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24349
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24349/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24349/comments
https://api.github.com/repos/huggingface/transformers/issues/24349/events
https://github.com/huggingface/transformers/pull/24349
1,763,128,388
PR_kwDOCUB6oc5TUbu_
24,349
[GPTNeoX] Nit in config
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? Fixes #23081: when the number of heads is not a divisor of the hidden size, the attention will not work. This is most probably from the design of GPTNeoX's attention.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24349/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24349/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24349", "html_url": "https://github.com/huggingface/transformers/pull/24349", "diff_url": "https://github.com/huggingface/transformers/pull/24349.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24349.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24348
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24348/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24348/comments
https://api.github.com/repos/huggingface/transformers/issues/24348/events
https://github.com/huggingface/transformers/pull/24348
1,763,101,314
PR_kwDOCUB6oc5TUV3x
24,348
Add mul choice train script
{ "login": "HDThang", "id": 132823983, "node_id": "U_kgDOB-q7rw", "avatar_url": "https://avatars.githubusercontent.com/u/132823983?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HDThang", "html_url": "https://github.com/HDThang", "followers_url": "https://api.github.com/users/HDThang/foll...
[]
closed
false
null
[]
[]
1,687
1,687
1,687
NONE
null
- Modify train script all done tasks - Add common libraries for environments in env.yaml
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24348/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24348/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24348", "html_url": "https://github.com/huggingface/transformers/pull/24348", "diff_url": "https://github.com/huggingface/transformers/pull/24348.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24348.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24346
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24346/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24346/comments
https://api.github.com/repos/huggingface/transformers/issues/24346/events
https://github.com/huggingface/transformers/pull/24346
1,762,923,238
PR_kwDOCUB6oc5TTvWs
24,346
Clean up disk sapce during docker image build for `transformers-pytorch-gpu`
{ "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,687
1,687
1,687
COLLABORATOR
null
# What does this PR do? PyTorch pipeline CI job start to fail due to ```bash ImportError: accelerate>=0.20.3 is required for a normal functioning of this module, but found accelerate==0.20.2. Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main ``` **The root cause is:...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24346/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/24346/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24346", "html_url": "https://github.com/huggingface/transformers/pull/24346", "diff_url": "https://github.com/huggingface/transformers/pull/24346.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24346.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24345
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24345/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24345/comments
https://api.github.com/repos/huggingface/transformers/issues/24345/events
https://github.com/huggingface/transformers/issues/24345
1,762,688,184
I_kwDOCUB6oc5pEHy4
24,345
Trainer reports batch size different from argument on multiple GPUs with DP
{ "login": "cgbahk", "id": 34672141, "node_id": "MDQ6VXNlcjM0NjcyMTQx", "avatar_url": "https://avatars.githubusercontent.com/u/34672141?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cgbahk", "html_url": "https://github.com/cgbahk", "followers_url": "https://api.github.com/users/cgbahk/fo...
[]
closed
false
null
[]
[ "How are you launching your training script? If it's just with python (no distributed), the `Trainer` will use `DataParallel` which requires your batch size to be mulitiplied by the number of GPUs to work properly. I'm guessing that's why you see the \"instanteneous batch size\" at 4x what you put.\r\n\r\nThis is t...
1,687
1,687
1,687
NONE
null
### System Info - `transformers` version: 4.30.1 - Platform: Linux-4.18.0-240.el8.x86_64-x86_64-with-glibc2.28 - Python version: 3.10.11 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 1.12.1 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24345/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24345/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24344
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24344/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24344/comments
https://api.github.com/repos/huggingface/transformers/issues/24344/events
https://github.com/huggingface/transformers/pull/24344
1,762,551,554
PR_kwDOCUB6oc5TSe6k
24,344
docs: add BentoML to awesome-transformers
{ "login": "aarnphm", "id": 29749331, "node_id": "MDQ6VXNlcjI5NzQ5MzMx", "avatar_url": "https://avatars.githubusercontent.com/u/29749331?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aarnphm", "html_url": "https://github.com/aarnphm", "followers_url": "https://api.github.com/users/aarnph...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "cc @LysandreJik ", "I have updated the docs to the bottom of the page.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24344). All of your documentation changes will be reflected on th...
1,687
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24344/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24344/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24344", "html_url": "https://github.com/huggingface/transformers/pull/24344", "diff_url": "https://github.com/huggingface/transformers/pull/24344.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24344.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24343
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24343/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24343/comments
https://api.github.com/repos/huggingface/transformers/issues/24343/events
https://github.com/huggingface/transformers/issues/24343
1,762,545,472
I_kwDOCUB6oc5pDk9A
24,343
Enable non-causal mask (to enable MLM) for VisionEncoderDecoder models
{ "login": "metemadi", "id": 4220153, "node_id": "MDQ6VXNlcjQyMjAxNTM=", "avatar_url": "https://avatars.githubusercontent.com/u/4220153?v=4", "gravatar_id": "", "url": "https://api.github.com/users/metemadi", "html_url": "https://github.com/metemadi", "followers_url": "https://api.github.com/users/metem...
[ { "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
[]
[ "Hi @metemadi, thanks for opening this issue! \r\n\r\nThis sounds like an interesting project! I believe there's a few places that would need to be adapted in order to enable this properly, such as not forcing `add_cross_attention` to the decoder config and not shifting tokens (cc @ydshieh). The VisionEncoderDecode...
1,687
1,687
1,687
NONE
null
### Feature request Hello! The current (amazing!) VisionEncoderDecoder library supports text generation via a standard causal LM. Some recent work (linked [here](https://arxiv.org/abs/2306.07915)) has shown promise in having the text decoder be a MLM instead of a causal LM. I believe this is doable with the current Vi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24343/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24343/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24342
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24342/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24342/comments
https://api.github.com/repos/huggingface/transformers/issues/24342/events
https://github.com/huggingface/transformers/issues/24342
1,762,232,559
I_kwDOCUB6oc5pCYjv
24,342
Wrong pre-trained Whisper's BOS token?
{ "login": "tonywu71", "id": 28306721, "node_id": "MDQ6VXNlcjI4MzA2NzIx", "avatar_url": "https://avatars.githubusercontent.com/u/28306721?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tonywu71", "html_url": "https://github.com/tonywu71", "followers_url": "https://api.github.com/users/ton...
[]
closed
false
null
[]
[ "Hi!\r\n\r\nThe first issue seems to be a feature of the whisper model. It has `<|endoftext|>` as token text for `bos`, `eos`, `pad` and `unk`. I see there are no dedicated tokens for `unk` and `pad`, so I think this is a feature of the model, and not a bug. If you look at the [original code](https://github.com/ope...
1,687
1,687
1,687
NONE
null
### System Info - `transformers` version: 4.30.2 - Platform: macOS-13.4-arm64-arm-64bit - Python version: 3.10.11 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.0 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24342/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24342/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24341
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24341/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24341/comments
https://api.github.com/repos/huggingface/transformers/issues/24341/events
https://github.com/huggingface/transformers/issues/24341
1,762,223,297
I_kwDOCUB6oc5pCWTB
24,341
Colab Translation notebook link not found
{ "login": "SoyGema", "id": 24204714, "node_id": "MDQ6VXNlcjI0MjA0NzE0", "avatar_url": "https://avatars.githubusercontent.com/u/24204714?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SoyGema", "html_url": "https://github.com/SoyGema", "followers_url": "https://api.github.com/users/SoyGem...
[]
closed
false
null
[]
[ "cc @Rocketknight1 ", "I opened a PR to the notebooks repo here to fix this: https://github.com/huggingface/notebooks/pull/398\r\n\r\nThanks for warning us about the issue - we appreciate the help to keep our docs up to date!" ]
1,687
1,687
1,687
CONTRIBUTOR
null
### System Info Hello There! First and foremost, congrats for Transformers Translation [tutorial](https://huggingface.co/docs/transformers/tasks/translation). 👍 It serves as a Spark for building english-to-many translation languages models! I´m following it along with TF mostly reproducing it in a jupyter Notebook...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24341/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24341/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24340
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24340/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24340/comments
https://api.github.com/repos/huggingface/transformers/issues/24340/events
https://github.com/huggingface/transformers/pull/24340
1,762,137,831
PR_kwDOCUB6oc5TRK2c
24,340
Fix TypeError: Object of type int64 is not JSON serializable
{ "login": "xiaoli", "id": 458922, "node_id": "MDQ6VXNlcjQ1ODkyMg==", "avatar_url": "https://avatars.githubusercontent.com/u/458922?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xiaoli", "html_url": "https://github.com/xiaoli", "followers_url": "https://api.github.com/users/xiaoli/follow...
[]
closed
false
null
[]
[ "Hi @xiaoli, thanks for opening this PR. \r\n\r\nCould you provide some more information about when the error occurs? Does this happen when running with the values from [the example readme](https://github.com/huggingface/transformers/tree/main/examples/pytorch/token-classification#pytorch-version-no-trainer)?", "...
1,687
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? Fixed that "TypeError: Object of type int64 is not JSON serializable" ## Who can review? Anyone in the community is free to review the PR once the tests have passed.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24340/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24340/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24340", "html_url": "https://github.com/huggingface/transformers/pull/24340", "diff_url": "https://github.com/huggingface/transformers/pull/24340.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24340.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24339
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24339/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24339/comments
https://api.github.com/repos/huggingface/transformers/issues/24339/events
https://github.com/huggingface/transformers/issues/24339
1,762,099,274
I_kwDOCUB6oc5pB4BK
24,339
feat: `agent.run(return_agent_types=True)`
{ "login": "aarnphm", "id": 29749331, "node_id": "MDQ6VXNlcjI5NzQ5MzMx", "avatar_url": "https://avatars.githubusercontent.com/u/29749331?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aarnphm", "html_url": "https://github.com/aarnphm", "followers_url": "https://api.github.com/users/aarnph...
[]
closed
false
null
[]
[ "Hey @aarnphm, could you provide a code sample with the return you'd like to receive so that I can play with it and see if it makes sense to implement it? Thanks!", "For example, I'm currently building [OpenLLM](https://github.com/bentoml/OpenLLM) and came across a use case where one can define an agent to genera...
1,687
1,690
1,690
CONTRIBUTOR
null
### Feature request Currently, `agent.run` on main will run materializer from `AgentType` to return its corresponding type. I think it would be a great addition to just return this `AgentType` directly for external libraries to build on top of! ```python agent = transformers.HfAgent("inference-api-endpoint"...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24339/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24339/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24338
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24338/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24338/comments
https://api.github.com/repos/huggingface/transformers/issues/24338/events
https://github.com/huggingface/transformers/pull/24338
1,762,016,390
PR_kwDOCUB6oc5TQx9A
24,338
Add SophiaG.
{ "login": "guilt", "id": 195178, "node_id": "MDQ6VXNlcjE5NTE3OA==", "avatar_url": "https://avatars.githubusercontent.com/u/195178?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guilt", "html_url": "https://github.com/guilt", "followers_url": "https://api.github.com/users/guilt/followers"...
[]
closed
false
null
[]
[ "[Semi-related] also linking to Paper page on HF: https://huggingface.co/papers/2305.14342", "Thank you all for encouraging this. \r\n\r\nAs a first cut, I am working with the authors to see if this can be a PyPi package if authors agree. License is MIT, so hopefully we can get this out soon. [Sophia on PyPi](ht...
1,687
1,690
1,690
NONE
null
# What does this PR do? This is a scratch PR showing how to test Sophia with Transformers. This is no way production ready, and certainly needs to look at licensing. But, this is helpful if someone needs to try this right away. I'm re-using **AdamW**'s `beta` values. Plus if you see carefully, there's an ugly hac...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24338/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24338/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24338", "html_url": "https://github.com/huggingface/transformers/pull/24338", "diff_url": "https://github.com/huggingface/transformers/pull/24338.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24338.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24337
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24337/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24337/comments
https://api.github.com/repos/huggingface/transformers/issues/24337/events
https://github.com/huggingface/transformers/issues/24337
1,762,014,491
I_kwDOCUB6oc5pBjUb
24,337
past_key_values is not working as expected for falcon-7b
{ "login": "orgadhadas", "id": 27919205, "node_id": "MDQ6VXNlcjI3OTE5MjA1", "avatar_url": "https://avatars.githubusercontent.com/u/27919205?v=4", "gravatar_id": "", "url": "https://api.github.com/users/orgadhadas", "html_url": "https://github.com/orgadhadas", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @orgadhadas \r\nThanks for the issue, I think the canonical way to use past key values is to set `use_cache=True` when calling `model.generate`. I think the remote code supports that argument as you can see here: https://huggingface.co/tiiuae/falcon-7b-instruct/blob/main/modelling_RW.py#L699 Can you share with ...
1,687
1,690
1,690
NONE
null
### System Info Hello, I've been trying to use past_key_values to speed up text generation, but it doesn't seem to work: instead of generating coherent text like is done when I'm not using past_key_values, it seems to generate the same token over and over again. I've been trying to search the web for usage guidel...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24337/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24337/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24336
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24336/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24336/comments
https://api.github.com/repos/huggingface/transformers/issues/24336/events
https://github.com/huggingface/transformers/pull/24336
1,761,997,298
PR_kwDOCUB6oc5TQuIN
24,336
Fix link to documentation in Install from Source
{ "login": "SoyGema", "id": 24204714, "node_id": "MDQ6VXNlcjI0MjA0NzE0", "avatar_url": "https://avatars.githubusercontent.com/u/24204714?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SoyGema", "html_url": "https://github.com/SoyGema", "followers_url": "https://api.github.com/users/SoyGem...
[]
closed
false
null
[]
[ "@amyeroberts You are welcome! Thanks for creating Transformers library ! :)", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,687
1,687
1,687
CONTRIBUTOR
null
Fix link to documentation _to install Transformers from Source_ .Probably the title changed at some point from 'Installing' to 'Install' and verbose message in utils broke. # 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 t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24336/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24336/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24336", "html_url": "https://github.com/huggingface/transformers/pull/24336", "diff_url": "https://github.com/huggingface/transformers/pull/24336.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24336.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24335
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24335/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24335/comments
https://api.github.com/repos/huggingface/transformers/issues/24335/events
https://github.com/huggingface/transformers/pull/24335
1,761,991,673
PR_kwDOCUB6oc5TQtBl
24,335
[Wav2Vec2 - MMS] Correct directly loading adapters weights
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Sorry, I accidentally submitted the review without a saved comment. I realised in the `from_pretrained` call why you were using `pass`. I still think raising an exception would be good, as otherwise we can get silent behaviour. Would...
1,687
1,687
1,687
MEMBER
null
# What does this PR do? This PR corrects incorrect behavior when loading MMS with non-default adapter weights via `from_pretrained(...)`. The issue is explained well [here](https://github.com/huggingface/transformers/issues/24223#issuecomment-1595856093). In a nutshell, we cannot load specific weights in the init...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24335/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24335/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24335", "html_url": "https://github.com/huggingface/transformers/pull/24335", "diff_url": "https://github.com/huggingface/transformers/pull/24335.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24335.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24334
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24334/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24334/comments
https://api.github.com/repos/huggingface/transformers/issues/24334/events
https://github.com/huggingface/transformers/pull/24334
1,761,948,660
PR_kwDOCUB6oc5TQkd9
24,334
Generate: add SequenceBiasLogitsProcessor
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger @amyeroberts \r\n\r\nA further request for approval, as I've introduced a pattern that I'd like to repeat (assuming you're okay with it).\r\n\r\nIn the latest commit, you'll see:\r\n1. An example in the logit processor class...
1,687
1,689
1,687
MEMBER
null
# What does this PR do? Closes #22168 As per [popular demand](https://github.com/huggingface/transformers/issues/22168#issuecomment-1477998997), adds a logits processor that applies a bias to certain sequences -- `SequenceBiasLogitsProcessor` This manipulation is a more general case of forbidding certain sequ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24334/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24334/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24334", "html_url": "https://github.com/huggingface/transformers/pull/24334", "diff_url": "https://github.com/huggingface/transformers/pull/24334.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24334.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24333
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24333/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24333/comments
https://api.github.com/repos/huggingface/transformers/issues/24333/events
https://github.com/huggingface/transformers/pull/24333
1,761,923,401
PR_kwDOCUB6oc5TQfgb
24,333
Fix `KerasMetricCallback`: pass `generate_kwargs` even if `use_xla_generation` is False
{ "login": "Kripner", "id": 9218121, "node_id": "MDQ6VXNlcjkyMTgxMjE=", "avatar_url": "https://avatars.githubusercontent.com/u/9218121?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kripner", "html_url": "https://github.com/Kripner", "followers_url": "https://api.github.com/users/Kripner/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,687
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? Currently, `KerasMetricCallback` ignores the `generate_kwargs` argument if `use_xla_generation` is set to `False` (which is the default). This means that when not using XLA, the user can't pass arguments like `max_new_tokens` to the `generate` method being called in `on_epoch_end`. It's also ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24333/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24333/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24333", "html_url": "https://github.com/huggingface/transformers/pull/24333", "diff_url": "https://github.com/huggingface/transformers/pull/24333.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24333.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24332
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24332/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24332/comments
https://api.github.com/repos/huggingface/transformers/issues/24332/events
https://github.com/huggingface/transformers/issues/24332
1,761,760,676
I_kwDOCUB6oc5pAlWk
24,332
Why it always raise error like this?
{ "login": "ElinLiu0", "id": 75596885, "node_id": "MDQ6VXNlcjc1NTk2ODg1", "avatar_url": "https://avatars.githubusercontent.com/u/75596885?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ElinLiu0", "html_url": "https://github.com/ElinLiu0", "followers_url": "https://api.github.com/users/Eli...
[]
closed
false
null
[]
[ "Hi @RosterMouch, thanks for raising this issue. \r\n\r\nA few questions on our side to try and help dig into the issue: \r\n* Could you share which verion of `huggingface_hub` is beign run in your environment? \r\n* When you say \"I could promise that there is not a network connection problem at all\", could you s...
1,686
1,689
1,689
NONE
null
### System Info I could promise that there is not a network connection problem at all,but it true raised like this: ```bash Traceback (most recent call last): File "test.py", line 3, in <module> model = AutoModelForCausalLM.from_pretrained("nomic-ai/gpt4all-j", revision="v1.2-jazzy") File "/home/elin/anac...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24332/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24332/timeline
not_planned
null
null
https://api.github.com/repos/huggingface/transformers/issues/24331
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24331/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24331/comments
https://api.github.com/repos/huggingface/transformers/issues/24331/events
https://github.com/huggingface/transformers/pull/24331
1,761,638,661
PR_kwDOCUB6oc5TPqms
24,331
style: add BitsAndBytesConfig __repr__ function
{ "login": "aarnphm", "id": 29749331, "node_id": "MDQ6VXNlcjI5NzQ5MzMx", "avatar_url": "https://avatars.githubusercontent.com/u/29749331?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aarnphm", "html_url": "https://github.com/aarnphm", "followers_url": "https://api.github.com/users/aarnph...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi @amyeroberts I have addressed all of the issue. PTAL when you are available. Thanks a bunch.", "Can you rebase your branch on main? This should fix the failing test. Thanks!", "done.", "Thanks a lot for working on this @aarn...
1,686
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? Add a `__repr__` to `transformers.BitsAndBytesConfig` to make it nice to print. <!-- 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/24331/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24331/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24331", "html_url": "https://github.com/huggingface/transformers/pull/24331", "diff_url": "https://github.com/huggingface/transformers/pull/24331.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24331.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24330
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24330/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24330/comments
https://api.github.com/repos/huggingface/transformers/issues/24330/events
https://github.com/huggingface/transformers/issues/24330
1,761,327,681
I_kwDOCUB6oc5o-7pB
24,330
Resuming / retraining the peft model
{ "login": "adityaaryan77", "id": 69278251, "node_id": "MDQ6VXNlcjY5Mjc4MjUx", "avatar_url": "https://avatars.githubusercontent.com/u/69278251?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adityaaryan77", "html_url": "https://github.com/adityaaryan77", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi @adityaaryan77, thanks for raising an issue! \r\n\r\nIt seems like this is a case of catastrophic forgetting, rather than a bug per se in the model or transformers library. As such question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and...
1,686
1,690
1,690
NONE
null
### System Info Although resume_from_checkpoint is now working after @llohann-speranca solved the issue but now finetuning again with new data using train(resume_from_checkpoint) and then testing it makes it forget the old datas i.e. wont remember the things in old dataset. Attaching the code below: import json ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24330/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24330/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24329
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24329/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24329/comments
https://api.github.com/repos/huggingface/transformers/issues/24329/events
https://github.com/huggingface/transformers/pull/24329
1,761,220,653
PR_kwDOCUB6oc5TOPaM
24,329
[Doc Fix] Fix model name path in the transformers doc for AutoClasses
{ "login": "riteshghorse", "id": 25881114, "node_id": "MDQ6VXNlcjI1ODgxMTE0", "avatar_url": "https://avatars.githubusercontent.com/u/25881114?v=4", "gravatar_id": "", "url": "https://api.github.com/users/riteshghorse", "html_url": "https://github.com/riteshghorse", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "R: @stevhliu", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,686
1,687
1,687
CONTRIBUTOR
null
Fixes the model name path in the transformers doc for the AutoTokenizer step.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24329/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24329/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24329", "html_url": "https://github.com/huggingface/transformers/pull/24329", "diff_url": "https://github.com/huggingface/transformers/pull/24329.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24329.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24328
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24328/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24328/comments
https://api.github.com/repos/huggingface/transformers/issues/24328/events
https://github.com/huggingface/transformers/pull/24328
1,761,157,284
PR_kwDOCUB6oc5TOBMm
24,328
save full_osd in fsdp mode
{ "login": "amartino1", "id": 77289753, "node_id": "MDQ6VXNlcjc3Mjg5NzUz", "avatar_url": "https://avatars.githubusercontent.com/u/77289753?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amartino1", "html_url": "https://github.com/amartino1", "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_24328). All of your documentation changes will be reflected on that endpoint.", "Hello, PR #24446 addresses this issue. ", "This issue has been automatically marked as stale because it has not had recent activity. If you ...
1,686
1,690
1,690
NONE
null
Fixes a typo in which the variable full_osd is referenced before definition if run in fsdp mode. The fix allows model files to be saved when running in fsdp. Links to issue: https://github.com/huggingface/transformers/issues/24057 Fixes # 24057
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24328/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/24328/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24328", "html_url": "https://github.com/huggingface/transformers/pull/24328", "diff_url": "https://github.com/huggingface/transformers/pull/24328.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24328.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24327
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24327/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24327/comments
https://api.github.com/repos/huggingface/transformers/issues/24327/events
https://github.com/huggingface/transformers/issues/24327
1,761,141,342
I_kwDOCUB6oc5o-OJe
24,327
AutoModelForSequenceClassification.from_config doesn't support LlamaConfig
{ "login": "kungfu-eric", "id": 87145506, "node_id": "MDQ6VXNlcjg3MTQ1NTA2", "avatar_url": "https://avatars.githubusercontent.com/u/87145506?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kungfu-eric", "html_url": "https://github.com/kungfu-eric", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi @kungfu-eric, \r\n\r\nThis issue is arising because you need to pass an instance of the config, rather than the config class i.e.:\r\n\r\n```python\r\nfrom transformers import AutoModelForSequenceClassification\r\nfrom transformers.models.llama.configuration_llama import LlamaConfig\r\n\r\nconfig = LlamaConfig(...
1,686
1,686
1,686
NONE
null
### System Info Calling: ``` from transformers import AutoModelForSequenceClassification from transformers.models.llama.configuration_llama import LlamaConfig config = LlamaConfig() model = AutoModelForSequenceClassification.from_config(config) ``` gives: ``` ________________________________ Traceback (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24327/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24327/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24326
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24326/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24326/comments
https://api.github.com/repos/huggingface/transformers/issues/24326/events
https://github.com/huggingface/transformers/pull/24326
1,761,123,868
PR_kwDOCUB6oc5TN6Cr
24,326
Adding ddp_broadcast_buffers argument to Trainer
{ "login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,686
1,686
1,686
CONTRIBUTOR
null
# What does this PR do? In #22482, using the Trainer with `gpt2` and other similar models failed in naive distributed mode. Passing `ddp_broadcast_buffers=False` to Pytorch's DDP wrapper fixes the issue. This PR surfaces that argument to the Trainer user.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24326/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24326/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24326", "html_url": "https://github.com/huggingface/transformers/pull/24326", "diff_url": "https://github.com/huggingface/transformers/pull/24326.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24326.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24325
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24325/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24325/comments
https://api.github.com/repos/huggingface/transformers/issues/24325/events
https://github.com/huggingface/transformers/pull/24325
1,760,968,723
PR_kwDOCUB6oc5TNZNQ
24,325
[Time-Series] Added link to the blog in Tips
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24325). All of your documentation changes will be reflected on that endpoint.", "file names changed, opened a new one here\r\nhttps://github.com/huggingface/transformers/pull/24482" ]
1,686
1,687
1,687
CONTRIBUTOR
null
@kashif @NielsRogge
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24325/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24325/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24325", "html_url": "https://github.com/huggingface/transformers/pull/24325", "diff_url": "https://github.com/huggingface/transformers/pull/24325.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24325.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24324
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24324/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24324/comments
https://api.github.com/repos/huggingface/transformers/issues/24324/events
https://github.com/huggingface/transformers/pull/24324
1,760,961,588
PR_kwDOCUB6oc5TNXqU
24,324
Allow passing kwargs through to TFBertTokenizer
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Ping @amyeroberts for core maintainer review now that the extra functionality is working fine (see issue #23798)", "I was a bit wary about the kwargs thing too - `FastBertTokenizer` and `BertTokenizerLayer` actually have wildly di...
1,686
1,687
1,687
MEMBER
null
There are some kwargs like `preserve_unused_tokens` in the underlying TF tokenizer layers that might be useful to expose to users. This PR exposes them by passing through any unrecognized `kwargs` in the model `__init__` to the TF tokenizer layer. Fixes #23798
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24324/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24324/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24324", "html_url": "https://github.com/huggingface/transformers/pull/24324", "diff_url": "https://github.com/huggingface/transformers/pull/24324.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24324.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24323
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24323/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24323/comments
https://api.github.com/repos/huggingface/transformers/issues/24323/events
https://github.com/huggingface/transformers/issues/24323
1,760,948,980
I_kwDOCUB6oc5o9fL0
24,323
Protobuf 4 support (again)
{ "login": "dustyketchum", "id": 3933135, "node_id": "MDQ6VXNlcjM5MzMxMzU=", "avatar_url": "https://avatars.githubusercontent.com/u/3933135?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dustyketchum", "html_url": "https://github.com/dustyketchum", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "Hi @dustyketchum, \r\n\r\nThanks for raising this issue. Managing the different dependencies in the library can be quite complex. As noted in the linked issue, the blocker for upgrading protobuf support was third-party libraries support of protobuf 4 rather than our own. \r\n\r\nIf this is something you or someone...
1,686
1,688
1,688
NONE
null
### Feature request Looking at https://github.com/huggingface/transformers/issues/21677#issuecomment-1435072007, I notice there are now new versions of tensorflow and tensorboard that may help with protobuf 4.x compatibility. It would be awesome to get this upgraded, thanks! ### Motivation easier upgrade path to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24323/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/24323/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24322
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24322/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24322/comments
https://api.github.com/repos/huggingface/transformers/issues/24322/events
https://github.com/huggingface/transformers/pull/24322
1,760,689,621
PR_kwDOCUB6oc5TMb7t
24,322
Respect explicitly set framework parameter in pipeline
{ "login": "denis-ismailaj", "id": 20902736, "node_id": "MDQ6VXNlcjIwOTAyNzM2", "avatar_url": "https://avatars.githubusercontent.com/u/20902736?v=4", "gravatar_id": "", "url": "https://api.github.com/users/denis-ismailaj", "html_url": "https://github.com/denis-ismailaj", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Updated so that `infer_framework_load_model` is not called at all if `model` is already loaded and `framework` is defined.\r\n\r\nHowever, it may still be worth keeping the check inside `infer_framework_load_model` so that if `framew...
1,686
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24322/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24322/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24322", "html_url": "https://github.com/huggingface/transformers/pull/24322", "diff_url": "https://github.com/huggingface/transformers/pull/24322.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24322.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24321
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24321/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24321/comments
https://api.github.com/repos/huggingface/transformers/issues/24321/events
https://github.com/huggingface/transformers/issues/24321
1,760,680,155
I_kwDOCUB6oc5o8djb
24,321
[pipeline] Explicitly set framework is ignored
{ "login": "denis-ismailaj", "id": 20902736, "node_id": "MDQ6VXNlcjIwOTAyNzM2", "avatar_url": "https://avatars.githubusercontent.com/u/20902736?v=4", "gravatar_id": "", "url": "https://api.github.com/users/denis-ismailaj", "html_url": "https://github.com/denis-ismailaj", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[]
1,686
1,687
1,687
CONTRIBUTOR
null
### System Info - `transformers` version: 4.30.2 Omitting the rest because they aren't really relevant. Can submit later if needed. ### Who can help? @Narsil ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24321/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24321/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24320
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24320/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24320/comments
https://api.github.com/repos/huggingface/transformers/issues/24320/events
https://github.com/huggingface/transformers/pull/24320
1,760,661,965
PR_kwDOCUB6oc5TMV2f
24,320
Add test for proper TF input signatures
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,686
1,686
1,686
MEMBER
null
This is a relatively simple PR intended to check that all TF models have proper input signatures that match their inputs. I was calling the function `self._prune_signature` in a few places to verify this, which felt a bit hacky. This test should let us get rid of `self._prune_signature` by enforcing valid signatures fo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24320/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24320/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24320", "html_url": "https://github.com/huggingface/transformers/pull/24320", "diff_url": "https://github.com/huggingface/transformers/pull/24320.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24320.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24319
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24319/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24319/comments
https://api.github.com/repos/huggingface/transformers/issues/24319/events
https://github.com/huggingface/transformers/pull/24319
1,760,611,507
PR_kwDOCUB6oc5TMKrp
24,319
Fix ner average grouping with no groups
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "For bigger fixes I would add a test. This is small enough I think it's ok to skip. Let me know.", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,686
1,686
1,686
CONTRIBUTOR
null
# What does this PR do? Fixes #https://github.com/huggingface/transformers/issues/24314 <!-- 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 o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24319/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24319/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24319", "html_url": "https://github.com/huggingface/transformers/pull/24319", "diff_url": "https://github.com/huggingface/transformers/pull/24319.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24319.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24318
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24318/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24318/comments
https://api.github.com/repos/huggingface/transformers/issues/24318/events
https://github.com/huggingface/transformers/issues/24318
1,760,348,442
I_kwDOCUB6oc5o7Mka
24,318
Recursion error when creating AutoTokenizer
{ "login": "markovalexander", "id": 22663468, "node_id": "MDQ6VXNlcjIyNjYzNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/22663468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/markovalexander", "html_url": "https://github.com/markovalexander", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Interesting, I can't even load the autotokenizer from remote, i.e., just loading `from_pretrained` using the remote identifier doesn't work and leads to a recursion error.", "Hey! There seems to be something a bit strange with the `tokenizer_config.json`, since the `unk_token`, the `bos_token` as well as the `eo...
1,686
1,691
1,691
CONTRIBUTOR
null
### System Info ``` - `transformers` version: 4.30.2 - Platform: Linux-5.15.0-1033-oracle-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.0+cu117 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24318/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/24318/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24317
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24317/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24317/comments
https://api.github.com/repos/huggingface/transformers/issues/24317/events
https://github.com/huggingface/transformers/pull/24317
1,760,332,952
PR_kwDOCUB6oc5TLMdO
24,317
Fix ImageGPT doc example
{ "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,686
1,686
1,686
COLLABORATOR
null
# What does this PR do? There was a bug in the example, where the clusters in the image processor were stored as lists, but the example assumed they were numpy arrays. At the moment, clusters are stored as a list of lists, but [converted to a numpy array during processing](https://github.com/huggingface/transfor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24317/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24317/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24317", "html_url": "https://github.com/huggingface/transformers/pull/24317", "diff_url": "https://github.com/huggingface/transformers/pull/24317.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24317.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24316
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24316/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24316/comments
https://api.github.com/repos/huggingface/transformers/issues/24316/events
https://github.com/huggingface/transformers/issues/24316
1,760,298,276
I_kwDOCUB6oc5o7AUk
24,316
[Tokenizer] `skip_special_tokens` not working as expected
{ "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": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization", "name": "Core: Tokenization", "color": "FF4446", "default": false, "description": "Internals of the library; Tokenization." } ]
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": "...
[ "Okay! the fix PR should be merged soon. Note that the behaviour is gonna be deprecated! " ]
1,686
1,695
1,695
COLLABORATOR
null
# Reporting a failing API design This is mostly to help me record some of the biggest issues with the current API for adding tokens. This is linked to #23909. Here is a simple snippet: ```python >>> from transformers import AutoTokenizer >>> tokenizer = AutoTokenizer.from_pretrained("t5-base", use_fast = Fa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24316/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24316/timeline
completed
null
null