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/15463
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15463/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15463/comments
https://api.github.com/repos/huggingface/transformers/issues/15463/events
https://github.com/huggingface/transformers/pull/15463
1,120,884,305
PR_kwDOCUB6oc4x6cUQ
15,463
`Trainer.push_to_hub` always tries to push to the Hub
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? As pointed out in #15431, when a user tries to call `Trainer.push_to_hub` with the corresponding training argument set to `False`, the call fails. However, the intent of the user calling that method is clear, so we should try to honor it. This PR makes the call succeed, as long as it's pos...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15463/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15463/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15463", "html_url": "https://github.com/huggingface/transformers/pull/15463", "diff_url": "https://github.com/huggingface/transformers/pull/15463.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15463.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15462
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15462/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15462/comments
https://api.github.com/repos/huggingface/transformers/issues/15462/events
https://github.com/huggingface/transformers/pull/15462
1,120,744,613
PR_kwDOCUB6oc4x5-FQ
15,462
Update README.md
{ "login": "kamalkraj", "id": 17096858, "node_id": "MDQ6VXNlcjE3MDk2ODU4", "avatar_url": "https://avatars.githubusercontent.com/u/17096858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kamalkraj", "html_url": "https://github.com/kamalkraj", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
fix typo # 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 re...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15462/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15462/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15462", "html_url": "https://github.com/huggingface/transformers/pull/15462", "diff_url": "https://github.com/huggingface/transformers/pull/15462.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15462.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15461
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15461/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15461/comments
https://api.github.com/repos/huggingface/transformers/issues/15461/events
https://github.com/huggingface/transformers/pull/15461
1,120,668,252
PR_kwDOCUB6oc4x5t-C
15,461
[BartTokenizer] remove inheritance on RobertaTokenizer
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for tackling this! Should we maybe also add some `# Copied from ...` statements here to make the code more robust to changes?" ]
1,643
1,643
1,643
MEMBER
null
# What does this PR do? Continue making tokenizers independent. This PR refactors the `BartTokenizer` to remove dependency on `RobertaTokenizer`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15461/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15461/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15461", "html_url": "https://github.com/huggingface/transformers/pull/15461", "diff_url": "https://github.com/huggingface/transformers/pull/15461.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15461.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15460
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15460/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15460/comments
https://api.github.com/repos/huggingface/transformers/issues/15460/events
https://github.com/huggingface/transformers/issues/15460
1,120,634,291
I_kwDOCUB6oc5Cy4Wz
15,460
Inspect inner layers of Transformer models as in TensorFlow/Keras
{ "login": "phrasenmaeher", "id": 82086367, "node_id": "MDQ6VXNlcjgyMDg2MzY3", "avatar_url": "https://avatars.githubusercontent.com/u/82086367?v=4", "gravatar_id": "", "url": "https://api.github.com/users/phrasenmaeher", "html_url": "https://github.com/phrasenmaeher", "followers_url": "https://api.githu...
[]
closed
false
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[ { "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.co...
[ "cc @Rocketknight1 @gante ", "Assigning to me, I can see if there is good solution for this", "This is tricky, I think. We spoke briefly about this with fchollet - I don't think there's a good way to get this without refactoring our models from subclassing-style to functional-style, but I might be wrong!", "...
1,643
1,643
1,643
NONE
null
In `keras` (and `tensorflow`), we can inspect a model as follows: ``` resnet = tensorflow.keras.applications.ResNet152V2( include_top=True, weights="imagenet", input_tensor=None, input_shape=None, pooling=None, classes=1000, classifier_activation="softmax", ) resnet.summary() ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15460/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15460/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15459
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15459/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15459/comments
https://api.github.com/repos/huggingface/transformers/issues/15459/events
https://github.com/huggingface/transformers/issues/15459
1,120,571,662
I_kwDOCUB6oc5CypEO
15,459
Masking in T5Attention
{ "login": "Arij-Aladel", "id": 68355048, "node_id": "MDQ6VXNlcjY4MzU1MDQ4", "avatar_url": "https://avatars.githubusercontent.com/u/68355048?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Arij-Aladel", "html_url": "https://github.com/Arij-Aladel", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey, \r\n\r\nI think simply corresponds to how it is done in the original implementation. It essentially means that we don't add any **positional** information for tokens that are masked.", "ok understand thanks!" ]
1,643
1,643
1,643
NONE
null
@patil-suraj @patrickvonplaten Hello! I was wondering why have you added mask in T5Attention to position_bias????? look at https://github.com/huggingface/transformers/blob/db7d6a80e82d66127b2a44b6e3382969fdc8b207/src/transformers/models/t5/modeling_t5.py#L510
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15459/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15459/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15458
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15458/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15458/comments
https://api.github.com/repos/huggingface/transformers/issues/15458/events
https://github.com/huggingface/transformers/issues/15458
1,120,551,175
I_kwDOCUB6oc5CykEH
15,458
Support dynamical input size and shape for TrOcr input image
{ "login": "kolia1985", "id": 35202, "node_id": "MDQ6VXNlcjM1MjAy", "avatar_url": "https://avatars.githubusercontent.com/u/35202?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kolia1985", "html_url": "https://github.com/kolia1985", "followers_url": "https://api.github.com/users/kolia1985/...
[]
closed
false
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[ { "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https:...
[ "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/master/CONTRIBUTING.md)...
1,643
1,647
1,647
NONE
null
# 🚀 Feature request Support dynamical input size and shape for TrOcr input image. ## Motivation TrOcr has input shape for image 384x384, but can recognise only single line. So It does not effective utilize resources.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15458/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15458/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15457
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15457/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15457/comments
https://api.github.com/repos/huggingface/transformers/issues/15457/events
https://github.com/huggingface/transformers/pull/15457
1,120,530,272
PR_kwDOCUB6oc4x5QWf
15,457
apply torch int div to layoutlmv2
{ "login": "ManuelFay", "id": 43467008, "node_id": "MDQ6VXNlcjQzNDY3MDA4", "avatar_url": "https://avatars.githubusercontent.com/u/43467008?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ManuelFay", "html_url": "https://github.com/ManuelFay", "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_15457). All of your documentation changes will be reflected on that endpoint.", "REALM tests seem to be failing - doesn't seem like they should be running ?", "This issue has been automatically marked as stale because it...
1,643
1,650
1,650
CONTRIBUTOR
null
# What does this PR do? Linked to #14853 (now closed - bad rebase) @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15457/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15457/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15457", "html_url": "https://github.com/huggingface/transformers/pull/15457", "diff_url": "https://github.com/huggingface/transformers/pull/15457.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15457.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15456
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15456/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15456/comments
https://api.github.com/repos/huggingface/transformers/issues/15456/events
https://github.com/huggingface/transformers/pull/15456
1,120,486,955
PR_kwDOCUB6oc4x5HFn
15,456
fix set truncation attribute in `__init__` of `PreTrainedTokenizerBase`
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
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/15456/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15456/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15456", "html_url": "https://github.com/huggingface/transformers/pull/15456", "diff_url": "https://github.com/huggingface/transformers/pull/15456.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15456.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15455
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15455/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15455/comments
https://api.github.com/repos/huggingface/transformers/issues/15455/events
https://github.com/huggingface/transformers/pull/15455
1,120,484,568
PR_kwDOCUB6oc4x5Glj
15,455
Fixing overriding from_pretrained with `truncation_side`.
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Closed in favor of https://github.com/huggingface/transformers/pull/15456" ]
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? Make sure users can override `truncation_side` on load. Fixes #15440 @sgugger <!-- 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/15455/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15455/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15455", "html_url": "https://github.com/huggingface/transformers/pull/15455", "diff_url": "https://github.com/huggingface/transformers/pull/15455.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15455.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15454
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15454/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15454/comments
https://api.github.com/repos/huggingface/transformers/issues/15454/events
https://github.com/huggingface/transformers/pull/15454
1,120,472,085
PR_kwDOCUB6oc4x5D-7
15,454
replace assert with exception for padding_side arg in `PreTrainedTokenizerBase` `__init__`
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> I think this is included in the other PR I just reviewed no?\r\n\r\n@sgugger, indeed part of this PR was in the PR you just reviewed but I misunderstood narsil comment so I'll removed it from the other PR and merge this PR first. T...
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? This PR propose to replace an assert inside `PreTrainedTokenizerBase`'s `__init__` method with a ValueError exception. I took also this opportunity to test this behavior as it wasn't tested in the existing test. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15454/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15454/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15454", "html_url": "https://github.com/huggingface/transformers/pull/15454", "diff_url": "https://github.com/huggingface/transformers/pull/15454.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15454.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15453
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15453/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15453/comments
https://api.github.com/repos/huggingface/transformers/issues/15453/events
https://github.com/huggingface/transformers/pull/15453
1,120,350,509
PR_kwDOCUB6oc4x4qRM
15,453
fix from_vision_text_pretrained doc example
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,651
1,643
COLLABORATOR
null
# What does this PR do? Fix checkpoint in `FlaxVisionTextDualEncoderModel`'s doc example. @patil-suraj
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15453/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15453/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15453", "html_url": "https://github.com/huggingface/transformers/pull/15453", "diff_url": "https://github.com/huggingface/transformers/pull/15453.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15453.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15452
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15452/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15452/comments
https://api.github.com/repos/huggingface/transformers/issues/15452/events
https://github.com/huggingface/transformers/issues/15452
1,120,285,279
I_kwDOCUB6oc5CxjJf
15,452
Unseen decoded words during inference with Wav2Vec2ProcessorWithLM
{ "login": "sharathadavanne", "id": 13915211, "node_id": "MDQ6VXNlcjEzOTE1MjEx", "avatar_url": "https://avatars.githubusercontent.com/u/13915211?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sharathadavanne", "html_url": "https://github.com/sharathadavanne", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hey @sharathadavanne,\r\n\r\nGood question and good job investigating the mistake used so far. I assume that you used the LM in combination with a trained acoustic model via `Wav2Vec2ProcessorWithLM` meaning that you used the `pyctcdecode` library: https://github.com/kensho-technologies/pyctcdecode/tree/main/pyctc...
1,643
1,647
1,647
NONE
null
## Environment info - `transformers` version: 4.15.0 - Platform: Linux-5.8.0-36-generic-x86_64-with-glibc2.29 - Python version: 3.8.5 - PyTorch version (GPU?): 1.8.1+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15452/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15452/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15451
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15451/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15451/comments
https://api.github.com/repos/huggingface/transformers/issues/15451/events
https://github.com/huggingface/transformers/issues/15451
1,120,232,737
I_kwDOCUB6oc5CxWUh
15,451
Adding RelationExtraction head to layoutLMv2 and layoutXLM models
{ "login": "R0bk", "id": 8757589, "node_id": "MDQ6VXNlcjg3NTc1ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/8757589?v=4", "gravatar_id": "", "url": "https://api.github.com/users/R0bk", "html_url": "https://github.com/R0bk", "followers_url": "https://api.github.com/users/R0bk/followers", ...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[ "Hi,\r\n\r\nThat's great to read :) it was a bit unclear to me how to use the model at inference time (the authors only provided a [script](https://github.com/microsoft/unilm/blob/761acb436cf7c3d92091776c1f499c13b8a3eb27/layoutlmft/examples/run_xfun_re.py) for training and evaluation, i.e. when labels are available...
1,643
1,684
null
NONE
null
# 🌟 New model head addition Relation Extraction Head for LayoutLMv2/XLM ## Addition description Hey all, I've see a bunch of different requests across huggingface issues [[0]](https://github.com/huggingface/transformers/issues/14330), unilm issues [[0]](https://github.com/microsoft/unilm/issues/286)[[1]](https:/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15451/reactions", "total_count": 7, "+1": 0, "-1": 0, "laugh": 0, "hooray": 7, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15451/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/15450
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15450/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15450/comments
https://api.github.com/repos/huggingface/transformers/issues/15450/events
https://github.com/huggingface/transformers/issues/15450
1,120,128,256
I_kwDOCUB6oc5Cw80A
15,450
Add class weight support for classification
{ "login": "francisco-perez-sorrosal", "id": 918006, "node_id": "MDQ6VXNlcjkxODAwNg==", "avatar_url": "https://avatars.githubusercontent.com/u/918006?v=4", "gravatar_id": "", "url": "https://api.github.com/users/francisco-perez-sorrosal", "html_url": "https://github.com/francisco-perez-sorrosal", "follo...
[]
closed
false
null
[]
[ "Hey @francisco-perez-sorrosal! We encourage defining your own loss outside of the model for this use-case.\r\n\r\nSee https://github.com/huggingface/transformers/issues/9625#issuecomment-762167788 and https://github.com/huggingface/transformers/issues/7024#issuecomment-689625449 for more context.", "This issue h...
1,643
1,664
1,648
NONE
null
# 🚀 Feature request Add support for the class re-weighting parameters provided in the current loss functions of PyTorch and TF. ## Motivation In supervised ML classification problems, specially multiclass/multilabel, the classes in the datasets used to train a model may have very different distribution of dis...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15450/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15450/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15449
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15449/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15449/comments
https://api.github.com/repos/huggingface/transformers/issues/15449/events
https://github.com/huggingface/transformers/pull/15449
1,120,126,754
PR_kwDOCUB6oc4x37WQ
15,449
Add class re-weighting mechanism for classification tasks
{ "login": "francisco-perez-sorrosal", "id": 918006, "node_id": "MDQ6VXNlcjkxODAwNg==", "avatar_url": "https://avatars.githubusercontent.com/u/918006?v=4", "gravatar_id": "", "url": "https://api.github.com/users/francisco-perez-sorrosal", "html_url": "https://github.com/francisco-perez-sorrosal", "follo...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15449). 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,643
1,647
1,647
NONE
null
In supervised ML classification problems, specially multiclass/multilabel, the classes in the datasets used to train a model may have very different distribution of discrete values, which is usually called class imbalance. The class imbalance may cause biases in the training of the models. DL frameworks like PyTorch or...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15449/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15449/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15449", "html_url": "https://github.com/huggingface/transformers/pull/15449", "diff_url": "https://github.com/huggingface/transformers/pull/15449.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15449.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15448
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15448/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15448/comments
https://api.github.com/repos/huggingface/transformers/issues/15448/events
https://github.com/huggingface/transformers/issues/15448
1,119,898,468
I_kwDOCUB6oc5CwEtk
15,448
line 111 in convert_megatron_bert_checkpoint.py cause error "AttributeError: 'Namespace' object has no attribute 'get'"
{ "login": "bugface", "id": 16659741, "node_id": "MDQ6VXNlcjE2NjU5NzQx", "avatar_url": "https://avatars.githubusercontent.com/u/16659741?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bugface", "html_url": "https://github.com/bugface", "followers_url": "https://api.github.com/users/bugfac...
[]
closed
false
null
[]
[ "hey @bugface, thanks for opening an issue! Do you want to open a PR to fix this? :)" ]
1,643
1,643
1,643
CONTRIBUTOR
null
The new script convert_megatron_bert_checkpoint.py for converting Megatron checkpoint to HF model has a minor error at line 111 ``` config.intermediate_size = ds_args.get("ffn_hidden_size", 4 * ds_args.hidden_size) ``` ds_args is <class 'argparse.Namespace'> which does not have "get" function change to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15448/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15448/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15447
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15447/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15447/comments
https://api.github.com/repos/huggingface/transformers/issues/15447/events
https://github.com/huggingface/transformers/issues/15447
1,119,864,948
I_kwDOCUB6oc5Cv8h0
15,447
Tokenizers can not pad tensorized inputs
{ "login": "Impelon", "id": 16061738, "node_id": "MDQ6VXNlcjE2MDYxNzM4", "avatar_url": "https://avatars.githubusercontent.com/u/16061738?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Impelon", "html_url": "https://github.com/Impelon", "followers_url": "https://api.github.com/users/Impelo...
[]
closed
false
null
[]
[ "Hey @Impelon,\r\n\r\nCoulcd you clarify why you would do:\r\n\r\n```\r\ntokenizer.pad(tokenizer(\"hello world\")) # works as expected\r\n```\r\n\r\ninstead of \r\n\r\n```python\r\ntokenizer(\"hello world\", padding=True, truncation=True)\r\n```\r\n\r\n?\r\n\r\nThe `__call__` method of `tokenzier` internally calls ...
1,643
1,647
1,647
NONE
null
### Who can help @SaulLu or possibly @patrickvonplaten, who committed 538b3b46075dce22a61aeeafd2131979150359a9. ## To reproduce Observe the following MWE: ```python3 >>> import transformers >>> tokenizer = transformers.BartTokenizer.from_pretrained("facebook/bart-large") >>> tokenizer.pad(tokenizer("hell...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15447/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15447/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15446
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15446/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15446/comments
https://api.github.com/repos/huggingface/transformers/issues/15446/events
https://github.com/huggingface/transformers/pull/15446
1,119,833,169
PR_kwDOCUB6oc4x284k
15,446
[generate] fix synced_gpus default
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
The default for `synced_gpus` should be `False` - it's already correctly documented as such. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15446/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15446/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15446", "html_url": "https://github.com/huggingface/transformers/pull/15446", "diff_url": "https://github.com/huggingface/transformers/pull/15446.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15446.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15445
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15445/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15445/comments
https://api.github.com/repos/huggingface/transformers/issues/15445/events
https://github.com/huggingface/transformers/pull/15445
1,119,824,724
PR_kwDOCUB6oc4x27CL
15,445
skip large generations pipeline test for XGLM
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Can we just add some TODO to fix better later in the comment in that case?", "Merging to get the CI green." ]
1,643
1,643
1,643
MEMBER
null
# What does this PR do? Skip large generations pipeline test for XGLM since it uses sinusoidal positional embeddings which are resized on the fly.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15445/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15445/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15445", "html_url": "https://github.com/huggingface/transformers/pull/15445", "diff_url": "https://github.com/huggingface/transformers/pull/15445.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15445.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15444
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15444/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15444/comments
https://api.github.com/repos/huggingface/transformers/issues/15444/events
https://github.com/huggingface/transformers/pull/15444
1,119,810,275
PR_kwDOCUB6oc4x237v
15,444
[M2M100, XGLM] fix positional emb resize
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Looks good to me - a bit surprising to me that no one saw this earlier" ]
1,643
1,643
1,643
MEMBER
null
# What does this PR do? The sinusoidal position embeddings in M2M100 and XGLM are not correctly resized as the `max_pos` is computed in-correctly. Take into account the `past_key_values_length` when computing `max_pos`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15444/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15444/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15444", "html_url": "https://github.com/huggingface/transformers/pull/15444", "diff_url": "https://github.com/huggingface/transformers/pull/15444.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15444.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15443
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15443/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15443/comments
https://api.github.com/repos/huggingface/transformers/issues/15443/events
https://github.com/huggingface/transformers/pull/15443
1,119,807,807
PR_kwDOCUB6oc4x23cU
15,443
Fix FlaxDataCollatorForT5MLM for texts with "<pad>"
{ "login": "Guitaricet", "id": 2821124, "node_id": "MDQ6VXNlcjI4MjExMjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2821124?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Guitaricet", "html_url": "https://github.com/Guitaricet", "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_15443). 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,643
1,646
1,646
NONE
null
If the input text contains `"<pad>"` (true for C4/en dataset) T5 tokenizer assigns it index 0. Collator code (line 371) assumes that only tokens with `id > 0` are the text tokens and the rest are sentinel ids (`-1`), which turns out not to be true for this particular case. This causes the line to throw an error simil...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15443/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15443/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15443", "html_url": "https://github.com/huggingface/transformers/pull/15443", "diff_url": "https://github.com/huggingface/transformers/pull/15443.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15443.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15442
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15442/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15442/comments
https://api.github.com/repos/huggingface/transformers/issues/15442/events
https://github.com/huggingface/transformers/pull/15442
1,119,795,065
PR_kwDOCUB6oc4x201F
15,442
Misfiring tf warnings
{ "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._", "I think this is the last misfiring warning (this one is usually triggered in Seq2Seq models). I'm a little worried that there's some use-case where this will actually cause console spam instead, but I think it's safe.", "Aaa, wait!...
1,643
1,643
1,643
MEMBER
null
One last misfiring TF warning switched to `tf.print`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15442/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15442/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15442", "html_url": "https://github.com/huggingface/transformers/pull/15442", "diff_url": "https://github.com/huggingface/transformers/pull/15442.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15442.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15441
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15441/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15441/comments
https://api.github.com/repos/huggingface/transformers/issues/15441/events
https://github.com/huggingface/transformers/pull/15441
1,119,772,057
PR_kwDOCUB6oc4x2wAj
15,441
[XGLMTokenizer] correct positional emb size
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
MEMBER
null
# What does this PR do? Correct the `PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES`, 1024 => 2048
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15441/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15441/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15441", "html_url": "https://github.com/huggingface/transformers/pull/15441", "diff_url": "https://github.com/huggingface/transformers/pull/15441.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15441.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15440
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15440/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15440/comments
https://api.github.com/repos/huggingface/transformers/issues/15440/events
https://github.com/huggingface/transformers/issues/15440
1,119,768,824
I_kwDOCUB6oc5CvlD4
15,440
tokenizer truncation_side is not set up with from_pretrained call
{ "login": "LSinev", "id": 12072891, "node_id": "MDQ6VXNlcjEyMDcyODkx", "avatar_url": "https://avatars.githubusercontent.com/u/12072891?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LSinev", "html_url": "https://github.com/LSinev", "followers_url": "https://api.github.com/users/LSinev/fo...
[]
closed
false
null
[]
[ "Thanks for the detailed issue @LSinev ! Indeed, this seems to be a desirable change! \r\n\r\n@Narsil, it looks like we doubled the work, we should choose one of the 2 PRs. :relaxed: ", "Haha no worries @SaulLu .\r\n\r\nWhichever you prefer as a PR, I don't have a real preference for the test choice. (Yours has m...
1,643
1,643
1,643
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.16.1 ### Who can help Library: - Tokenizers: @SaulLu - Pipelines: @Narsil ## Information Model I am using (Bert, XLNet ...): **GPT2Tokenizer** The problem arises when using: * [ ] the official example scripts: (give details below) * [x] my own modified...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15440/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15440/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15439
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15439/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15439/comments
https://api.github.com/repos/huggingface/transformers/issues/15439/events
https://github.com/huggingface/transformers/pull/15439
1,119,723,935
PR_kwDOCUB6oc4x2l7b
15,439
Change REALM checkpoint to new ones
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? This moves all REALM checkpoints to the Google organization as they have been moved here.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15439/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15439/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15439", "html_url": "https://github.com/huggingface/transformers/pull/15439", "diff_url": "https://github.com/huggingface/transformers/pull/15439.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15439.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15438
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15438/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15438/comments
https://api.github.com/repos/huggingface/transformers/issues/15438/events
https://github.com/huggingface/transformers/pull/15438
1,119,709,270
PR_kwDOCUB6oc4x2ixU
15,438
Harder check for IndexErrors in QA scripts
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? This falls back by not adding the example when we get an `IndexError` for some obscure reason when trying to get the offsets of a given feature. Fixes #15401
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15438/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15438/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15438", "html_url": "https://github.com/huggingface/transformers/pull/15438", "diff_url": "https://github.com/huggingface/transformers/pull/15438.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15438.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15437
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15437/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15437/comments
https://api.github.com/repos/huggingface/transformers/issues/15437/events
https://github.com/huggingface/transformers/pull/15437
1,119,683,461
PR_kwDOCUB6oc4x2dIJ
15,437
Error when group_by_length is used with an IterableDataset
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? Since `group_by_length` is not supported for `IterableDataset`s, we should raise an error at the trainer init when we detect that arg is set and the training set is an `IterableDataset`. Fixes #15418
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15437/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15437/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15437", "html_url": "https://github.com/huggingface/transformers/pull/15437", "diff_url": "https://github.com/huggingface/transformers/pull/15437.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15437.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15436
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15436/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15436/comments
https://api.github.com/repos/huggingface/transformers/issues/15436/events
https://github.com/huggingface/transformers/pull/15436
1,119,679,856
PR_kwDOCUB6oc4x2cYd
15,436
use mean instead of elementwise_mean in XLMPredLayer
{ "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,643
1,651
1,643
COLLABORATOR
null
# What does this PR do? Super tiny change: `XLMPredLayer` currently uses ``` loss = nn.functional.cross_entropy( scores.view(-1, self.n_words), y.view(-1), reduction="elementwise_mean" ) ``` I believe `elementwise_mean` is deprecated: https://github.c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15436/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15436/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15436", "html_url": "https://github.com/huggingface/transformers/pull/15436", "diff_url": "https://github.com/huggingface/transformers/pull/15436.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15436.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15435
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15435/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15435/comments
https://api.github.com/repos/huggingface/transformers/issues/15435/events
https://github.com/huggingface/transformers/pull/15435
1,119,641,681
PR_kwDOCUB6oc4x2UXp
15,435
Fix spurious warning in TF TokenClassification models
{ "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._", "I think if we use `FutureWarning` they are only printed once, no? Could you check in this instance @Rocketknight1 ?\r\n", "@sgugger Either `FutureWarning` or `warnings.warn` are correctly only printed once - the problem is that the...
1,643
1,643
1,643
MEMBER
null
This small fix switches `warnings.warn` for `tf.print` in the loss function for TF `TokenClassification` models. When TF compiles a model which has a conditional that depends on values inside a Tensor, it traces both branches. The result of this is that when one of the branches contains a `warnings.warn` statement, tha...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15435/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15435/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15435", "html_url": "https://github.com/huggingface/transformers/pull/15435", "diff_url": "https://github.com/huggingface/transformers/pull/15435.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15435.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15434
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15434/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15434/comments
https://api.github.com/repos/huggingface/transformers/issues/15434/events
https://github.com/huggingface/transformers/pull/15434
1,119,632,368
PR_kwDOCUB6oc4x2SX9
15,434
[Swin] Add missing header
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? Add missing header to Swin docs.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15434/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15434/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15434", "html_url": "https://github.com/huggingface/transformers/pull/15434", "diff_url": "https://github.com/huggingface/transformers/pull/15434.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15434.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15433
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15433/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15433/comments
https://api.github.com/repos/huggingface/transformers/issues/15433/events
https://github.com/huggingface/transformers/pull/15433
1,119,602,715
PR_kwDOCUB6oc4x2MC3
15,433
Add doc for add-new-model-like command
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? This PR adds documentation for the new command `add-new-model-like`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15433/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15433/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15433", "html_url": "https://github.com/huggingface/transformers/pull/15433", "diff_url": "https://github.com/huggingface/transformers/pull/15433.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15433.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15432
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15432/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15432/comments
https://api.github.com/repos/huggingface/transformers/issues/15432/events
https://github.com/huggingface/transformers/pull/15432
1,119,569,614
PR_kwDOCUB6oc4x2FDW
15,432
add t5 ner finetuning
{ "login": "ToluClassics", "id": 38908008, "node_id": "MDQ6VXNlcjM4OTA4MDA4", "avatar_url": "https://avatars.githubusercontent.com/u/38908008?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ToluClassics", "html_url": "https://github.com/ToluClassics", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@patil-suraj , thanks\r\n\r\nI have reverted the commit" ]
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? This PR adds a Colab notebook for fine-tuning Text-2-Text T5 for Named Entity Recognition @patil-suraj @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15432/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15432/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15432", "html_url": "https://github.com/huggingface/transformers/pull/15432", "diff_url": "https://github.com/huggingface/transformers/pull/15432.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15432.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15431
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15431/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15431/comments
https://api.github.com/repos/huggingface/transformers/issues/15431/events
https://github.com/huggingface/transformers/issues/15431
1,119,535,939
I_kwDOCUB6oc5CusND
15,431
Can't push a model to hub
{ "login": "AigizK", "id": 1628540, "node_id": "MDQ6VXNlcjE2Mjg1NDA=", "avatar_url": "https://avatars.githubusercontent.com/u/1628540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AigizK", "html_url": "https://github.com/AigizK", "followers_url": "https://api.github.com/users/AigizK/foll...
[]
closed
false
null
[]
[ "Gently pinging @sgugger here. Any idea what could be the problem here? I cannot really reproduce this error", "Are you sure that in your second run you still had `push_to_hub=True` in your `TrainingArguments`? Because the `repo` arg not defined can only come from there I think.", "@sgugger From Step3 i used on...
1,643
1,643
1,643
NONE
null
## Environment info - `transformers` version: 4.16.1 - Platform: Linux-5.4.0-96-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GPU?): 1.10.0+cu113 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15431/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15431/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15430
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15430/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15430/comments
https://api.github.com/repos/huggingface/transformers/issues/15430/events
https://github.com/huggingface/transformers/pull/15430
1,119,524,949
PR_kwDOCUB6oc4x17gx
15,430
Update README.md
{ "login": "kamalkraj", "id": 17096858, "node_id": "MDQ6VXNlcjE3MDk2ODU4", "avatar_url": "https://avatars.githubusercontent.com/u/17096858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kamalkraj", "html_url": "https://github.com/kamalkraj", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for fixing!" ]
1,643
1,643
1,643
CONTRIBUTOR
null
fix typo # 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 re...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15430/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15430/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15430", "html_url": "https://github.com/huggingface/transformers/pull/15430", "diff_url": "https://github.com/huggingface/transformers/pull/15430.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15430.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15429
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15429/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15429/comments
https://api.github.com/repos/huggingface/transformers/issues/15429/events
https://github.com/huggingface/transformers/pull/15429
1,119,519,720
PR_kwDOCUB6oc4x16Zy
15,429
[RobertaTokenizer] remove inheritance on GPT2Tokenizer
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "The failures are unrelated, merging." ]
1,643
1,643
1,643
MEMBER
null
# What does this PR do? Continue making tokenizers independent. This PR refactors the `RobertaTokenizer` to remove dependency on `GPT2Tokenizer`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15429/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15429/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15429", "html_url": "https://github.com/huggingface/transformers/pull/15429", "diff_url": "https://github.com/huggingface/transformers/pull/15429.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15429.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15428
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15428/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15428/comments
https://api.github.com/repos/huggingface/transformers/issues/15428/events
https://github.com/huggingface/transformers/pull/15428
1,119,477,052
PR_kwDOCUB6oc4x1xls
15,428
[Robust Speech Challenge] Add missing LR parameter
{ "login": "jonatasgrosman", "id": 5097052, "node_id": "MDQ6VXNlcjUwOTcwNTI=", "avatar_url": "https://avatars.githubusercontent.com/u/5097052?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jonatasgrosman", "html_url": "https://github.com/jonatasgrosman", "followers_url": "https://api.gith...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
Some participants of the Robust Speech event complain about learning rate issues when training the model with the run_speech_recognition_ctc_bnb.py script. This problem is due to a missing LR parameter on the 8-bit optimizer initialization. This PR fixes this. @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15428/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/15428/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15428", "html_url": "https://github.com/huggingface/transformers/pull/15428", "diff_url": "https://github.com/huggingface/transformers/pull/15428.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15428.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15427
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15427/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15427/comments
https://api.github.com/repos/huggingface/transformers/issues/15427/events
https://github.com/huggingface/transformers/pull/15427
1,119,465,126
PR_kwDOCUB6oc4x1vC_
15,427
[XGLM] fix gradient checkpointing
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
MEMBER
null
# What does this PR do? Adds the missing import statement for `torch.utils.checkpoint` Fixes #15422
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15427/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15427/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15427", "html_url": "https://github.com/huggingface/transformers/pull/15427", "diff_url": "https://github.com/huggingface/transformers/pull/15427.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15427.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15426
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15426/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15426/comments
https://api.github.com/repos/huggingface/transformers/issues/15426/events
https://github.com/huggingface/transformers/issues/15426
1,119,429,371
I_kwDOCUB6oc5CuSL7
15,426
Higher memory allocation for GPT-2 forward pass when not using past_key_values.
{ "login": "LFruth", "id": 7347862, "node_id": "MDQ6VXNlcjczNDc4NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/7347862?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LFruth", "html_url": "https://github.com/LFruth", "followers_url": "https://api.github.com/users/LFruth/foll...
[]
closed
false
null
[]
[ "Hi @LFruth ,\r\n\r\nI think `past_key_values` should never incure more memory usage than without (since it's really a cache of matrices that have to be caculated anyway during inference.).\r\n\r\n\r\nWhat could be at play here, is that you are using custom code, keeping references to old past_key_values, which mea...
1,643
1,685
1,646
NONE
null
I have following problem: I have a context text as input and then GPT-2 generates a text based on the input. Currently I do this token for token the following way: ``` model_outputs = model(input_ids=last_token, past_key_values=past) logits = model_outputs['logits'] past = model_outputs['past_key_values'] # d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15426/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15426/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15425
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15425/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15425/comments
https://api.github.com/repos/huggingface/transformers/issues/15425/events
https://github.com/huggingface/transformers/pull/15425
1,119,427,475
PR_kwDOCUB6oc4x1nGT
15,425
Partial Torch Memory Efficient Attention
{ "login": "xloem", "id": 279585, "node_id": "MDQ6VXNlcjI3OTU4NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/279585?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xloem", "html_url": "https://github.com/xloem", "followers_url": "https://api.github.com/users/xloem/followers"...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15425). All of your documentation changes will be reflected on that endpoint.", "Hey @xloem, thanks a lot for your hard work on this! It is cool to support the attention mechanism as visible in https://github.com/AminRezaei...
1,643
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? This begins the implementation of a central `attention()` function in modeling_utils.py that calls out to https://github.com/AminRezaei0x443/memory-efficient-attention if configuration parameters are set, to allocate configurably down to O(n) memory rather than O(n^2) memory at the expense of...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15425/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15425/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15425", "html_url": "https://github.com/huggingface/transformers/pull/15425", "diff_url": "https://github.com/huggingface/transformers/pull/15425.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15425.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15424
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15424/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15424/comments
https://api.github.com/repos/huggingface/transformers/issues/15424/events
https://github.com/huggingface/transformers/issues/15424
1,119,408,200
I_kwDOCUB6oc5CuNBI
15,424
error when running official run_speech_recognition_ctc.py (ValueError: 'a' cannot be empty unless no samples are taken)
{ "login": "StephennFernandes", "id": 32235549, "node_id": "MDQ6VXNlcjMyMjM1NTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/32235549?v=4", "gravatar_id": "", "url": "https://api.github.com/users/StephennFernandes", "html_url": "https://github.com/StephennFernandes", "followers_url": "https...
[]
closed
false
null
[]
[ "Hey @StephennFernandes,\r\n\r\nThanks a mille for opening the issue - this PR seems to be related: https://github.com/huggingface/transformers/pull/15423", "Hey @StephennFernandes,\r\n\r\nCan you try whether the error goes away with the newest `transformers` version?", "hey @patrickvonplaten i installed tranfr...
1,643
1,646
1,646
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> `transformers` version: 4.17.0.dev0 - Platform:Ubuntu 20.04.3 LTS - Python version: 3.8.10 - PyTorch version (GPU?):1.10.2+cu113 - T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15424/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/15424/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15423
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15423/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15423/comments
https://api.github.com/repos/huggingface/transformers/issues/15423/events
https://github.com/huggingface/transformers/pull/15423
1,119,388,522
PR_kwDOCUB6oc4x1evT
15,423
Update modeling_wav2vec2.py
{ "login": "peregilk", "id": 9079808, "node_id": "MDQ6VXNlcjkwNzk4MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/9079808?v=4", "gravatar_id": "", "url": "https://api.github.com/users/peregilk", "html_url": "https://github.com/peregilk", "followers_url": "https://api.github.com/users/pereg...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
@patrickvonplaten With very tiny sound files (less than 0.1 seconds) the num_masked_span can be too long. The issue is described in issue 15366 and discussed with @patrickvonplaten. This can be an issue with custom datasets that contains sentences with small words like "OK", "Yes" etc.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15423/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15423/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15423", "html_url": "https://github.com/huggingface/transformers/pull/15423", "diff_url": "https://github.com/huggingface/transformers/pull/15423.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15423.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15422
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15422/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15422/comments
https://api.github.com/repos/huggingface/transformers/issues/15422/events
https://github.com/huggingface/transformers/issues/15422
1,119,369,261
I_kwDOCUB6oc5CuDgt
15,422
XGLM Bug: break: module 'torch.utils' has no attribute 'checkpoint'
{ "login": "mrseeker", "id": 1099127, "node_id": "MDQ6VXNlcjEwOTkxMjc=", "avatar_url": "https://avatars.githubusercontent.com/u/1099127?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrseeker", "html_url": "https://github.com/mrseeker", "followers_url": "https://api.github.com/users/mrsee...
[]
closed
false
null
[]
[ "Hi,\r\nCould you please share a code snippet or colab so I could reproduce this issue? Thanks ", "I can't share my dataset, but I used this one as the basis for the trainer:\r\n\r\nhttps://github.com/huggingface/transformers/blob/master/examples/pytorch/language-modeling/run_clm.py\r\n\r\nEDIT: Just train any XG...
1,643
1,643
1,643
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.17.0.dev0 - Platform: Linux-4.9.253-tegra-aarch64-with-glibc2.29 - Python version: 3.8.10 - PyTorch versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15422/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15422/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15421
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15421/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15421/comments
https://api.github.com/repos/huggingface/transformers/issues/15421/events
https://github.com/huggingface/transformers/pull/15421
1,119,339,760
PR_kwDOCUB6oc4x1UZu
15,421
[Trainer] suppress warning for length-related columns
{ "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._", "I disagree with this. The column is in the dataset (to speed up the preprocessing) but it then ignored by the Trainer, which warrants something. The logging level is not set at warning, but at info, so the user knows there is nothing...
1,643
1,643
1,643
MEMBER
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/15421/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15421/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15421", "html_url": "https://github.com/huggingface/transformers/pull/15421", "diff_url": "https://github.com/huggingface/transformers/pull/15421.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15421.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15420
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15420/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15420/comments
https://api.github.com/repos/huggingface/transformers/issues/15420/events
https://github.com/huggingface/transformers/issues/15420
1,119,336,737
I_kwDOCUB6oc5Ct7kh
15,420
Bug in T5 Tokenizer - Adding space after special tokens
{ "login": "yuvalkirstain", "id": 57996478, "node_id": "MDQ6VXNlcjU3OTk2NDc4", "avatar_url": "https://avatars.githubusercontent.com/u/57996478?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuvalkirstain", "html_url": "https://github.com/yuvalkirstain", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "That's a good question! @SaulLu @LysandreJik @n1t0 - do you have an idea by any chance?", "This seems to be about special tokens:\r\n\r\n```python\r\n # make sure that special tokens are not decoded using sentencepiece model\r\n if token in self.all_special_tokens:\r\n out_st...
1,643
1,652
1,652
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.16.1 - Platform: Linux-4.15.0-65-generic-x86_64-with-debian-buster-sid - Python version: 3.7.11 - PyTorch version (GPU?): 1.10.2+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not in...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15420/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/15420/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15419
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15419/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15419/comments
https://api.github.com/repos/huggingface/transformers/issues/15419/events
https://github.com/huggingface/transformers/pull/15419
1,119,245,792
PR_kwDOCUB6oc4x1Agw
15,419
Add option to resize like torchvision's Resize
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Applied all suggestions from your review, I've renamed `torch_resize` (which defaults to `False`) to `default_to_square` (which defaults to `True`).\r\n\r\nI guess we cannot default it to a rectangle, to be backwards compatible? Or c...
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? A lot of research papers (like ConvNeXT, PoolFormer, etc.) use [`torchvision.transforms.Resize`](https://pytorch.org/vision/stable/transforms.html#torchvision.transforms.Resize) when preparing images for the model. This class supports providing an integer size, which will only resize the smal...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15419/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15419/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15419", "html_url": "https://github.com/huggingface/transformers/pull/15419", "diff_url": "https://github.com/huggingface/transformers/pull/15419.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15419.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15418
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15418/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15418/comments
https://api.github.com/repos/huggingface/transformers/issues/15418/events
https://github.com/huggingface/transformers/issues/15418
1,119,124,701
I_kwDOCUB6oc5CtHzd
15,418
Notify user if group_by_length won't be used
{ "login": "stefan-falk", "id": 43335432, "node_id": "MDQ6VXNlcjQzMzM1NDMy", "avatar_url": "https://avatars.githubusercontent.com/u/43335432?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-falk", "html_url": "https://github.com/stefan-falk", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Yes, that's a great idea! Will add something for that today." ]
1,643
1,643
1,643
NONE
null
@sgugger @stas00 (as suggested in [15196](https://github.com/huggingface/transformers/issues/15196#issuecomment-1024143208)) It is just a minor issue but it could prevent some head-scratching: Setting `group_by_length` to `True` during training has, as far as I can see, no effect if the provided dataset is a `tor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15418/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15418/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15417
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15417/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15417/comments
https://api.github.com/repos/huggingface/transformers/issues/15417/events
https://github.com/huggingface/transformers/issues/15417
1,119,119,550
I_kwDOCUB6oc5CtGi-
15,417
Support for larger XGLM models
{ "login": "Hritikbansal", "id": 28641936, "node_id": "MDQ6VXNlcjI4NjQxOTM2", "avatar_url": "https://avatars.githubusercontent.com/u/28641936?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Hritikbansal", "html_url": "https://github.com/Hritikbansal", "followers_url": "https://api.github.c...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[ "Hi,\r\n\r\nThere are already 4 variants available: https://huggingface.co/models?other=xglm.\r\n\r\nOnly the 4.5B variant seems to be missing as of now, but pretty sure @patil-suraj is going to add that one as well.", "As Niels pointed out, all the xglm checkpoints are available on the hub except the 4.5B. I'm h...
1,643
1,643
1,643
NONE
null
According to the official XGLM repo, https://github.com/pytorch/fairseq/tree/main/examples/xglm, there are five versions of XGLM out there. The architecture of the larger XGLM versions is same as the base XGLM, ; why doesn't HF provide support for larger XGLM versions? It seems that currently HF provides support for t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15417/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15417/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15416
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15416/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15416/comments
https://api.github.com/repos/huggingface/transformers/issues/15416/events
https://github.com/huggingface/transformers/pull/15416
1,119,070,544
PR_kwDOCUB6oc4x0bU8
15,416
Constrained Beam Search [without disjunctive decoding]
{ "login": "cwkeam", "id": 8522953, "node_id": "MDQ6VXNlcjg1MjI5NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/8522953?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cwkeam", "html_url": "https://github.com/cwkeam", "followers_url": "https://api.github.com/users/cwkeam/foll...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Very cool taking a look now", "Hey @cwkeam,\r\n\r\nThis already looks like a super clean and impactful addition to the `transformers` library! Great job. I really like how you implement this new generation method in a extendable wa...
1,643
1,644
1,644
CONTRIBUTOR
null
# ~~Disjunctive~~ Positive Constraint Decoding @patrickvonplaten @Narsil Fixes #14081, But without the "disjunctive" component. I think it's a good idea to first integrate this `Constraint` framework before adding more advanced techniques like Disjunctive Decoding, which can arguably be added with ease aft...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15416/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15416/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15416", "html_url": "https://github.com/huggingface/transformers/pull/15416", "diff_url": "https://github.com/huggingface/transformers/pull/15416.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15416.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15415
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15415/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15415/comments
https://api.github.com/repos/huggingface/transformers/issues/15415/events
https://github.com/huggingface/transformers/issues/15415
1,118,886,262
I_kwDOCUB6oc5CsNl2
15,415
Performance of T5
{ "login": "zzasdf", "id": 68544676, "node_id": "MDQ6VXNlcjY4NTQ0Njc2", "avatar_url": "https://avatars.githubusercontent.com/u/68544676?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zzasdf", "html_url": "https://github.com/zzasdf", "followers_url": "https://api.github.com/users/zzasdf/fo...
[]
closed
false
null
[]
[ "I have found that", "> I have found that\r\n\r\nHi, could you please share how you get to reproduce to results?", "It's impossible, because the model hasn't been finetune on the translation. The details are on https://github.com/huggingface/transformers/tree/v2.9.0/examples/translation/t5", "@zzasdf Thanks a...
1,643
1,655
1,643
NONE
null
I'm testing the performance of T5, and want to reproduce the result on WMT English to German newstest2014 in the table 14. But the results I got were always 1 or 2 points lower. Are there any scripts that can reproduce the result with pytorch?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15415/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15415/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15414
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15414/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15414/comments
https://api.github.com/repos/huggingface/transformers/issues/15414/events
https://github.com/huggingface/transformers/pull/15414
1,118,704,341
PR_kwDOCUB6oc4xzMZ1
15,414
[Hotfix] Fix Swin model outputs
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? This PR: - fixes some critical outputs of `SwinModel`, to be exactly as `ViTModel`, `BeitModel`, `DeitModel`. More specifically, the `last_hidden_state` previously returned a pooled output, which shouldn't be the case. Instead, the output should be a tensor of shape (batch_size, seq_len, h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15414/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15414/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15414", "html_url": "https://github.com/huggingface/transformers/pull/15414", "diff_url": "https://github.com/huggingface/transformers/pull/15414.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15414.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15413
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15413/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15413/comments
https://api.github.com/repos/huggingface/transformers/issues/15413/events
https://github.com/huggingface/transformers/pull/15413
1,118,674,402
PR_kwDOCUB6oc4xzG-h
15,413
add scores to Wav2Vec2WithLMOutput
{ "login": "arampacha", "id": 69807323, "node_id": "MDQ6VXNlcjY5ODA3MzIz", "avatar_url": "https://avatars.githubusercontent.com/u/69807323?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arampacha", "html_url": "https://github.com/arampacha", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,644
1,644
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/15413/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15413/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15413", "html_url": "https://github.com/huggingface/transformers/pull/15413", "diff_url": "https://github.com/huggingface/transformers/pull/15413.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15413.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15412
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15412/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15412/comments
https://api.github.com/repos/huggingface/transformers/issues/15412/events
https://github.com/huggingface/transformers/issues/15412
1,118,639,865
I_kwDOCUB6oc5CrRb5
15,412
How to use multi-node multi-gpu cluster for large batch beam-search decoding
{ "login": "whaowhao", "id": 90649568, "node_id": "MDQ6VXNlcjkwNjQ5NTY4", "avatar_url": "https://avatars.githubusercontent.com/u/90649568?v=4", "gravatar_id": "", "url": "https://api.github.com/users/whaowhao", "html_url": "https://github.com/whaowhao", "followers_url": "https://api.github.com/users/wha...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!", "This issue has been automatically marked as stale because it has not had recent activity. If you think this stil...
1,643
1,646
1,646
NONE
null
I have a self-implemented-from-scratch torch.nn.Module GPT2 model (self-implemented for custom tweaks to the model) and now I have a 4-node-32-GPU cluster which I like to use to beam-search generate continuation for millions of prefixes. Is there a way to use hugginface as a wrapper to do this in a multi-node-multi-gpu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15412/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15412/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15411
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15411/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15411/comments
https://api.github.com/repos/huggingface/transformers/issues/15411/events
https://github.com/huggingface/transformers/issues/15411
1,118,611,090
I_kwDOCUB6oc5CrKaS
15,411
[JAX/FLAX]: Language modeling example throws RESOURCE_EXHAUSTED error for large datasets
{ "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://api.github.com/users/...
[]
closed
false
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "htt...
[ "I've seen the streaming PR approach, but it was closed due to strange pre-training behaviour: https://github.com/huggingface/transformers/pull/12607", "The `generate_batch_splits` function is used here later:\r\n\r\nhttps://github.com/huggingface/transformers/blob/0f69b924fbda6a442d721b10ece38ccfc6b67275/example...
1,643
1,647
1,647
COLLABORATOR
null
Hi, I haven't found any similar issue that is related to my `RESOURCE_EXHAUSTED` error, so I'm creating a new issue here. Problem is: I can use a dataset that is <= 50GB with a certain batch size for BERT or T5 pre-training. It is working fine. However, if I want to use a larger dataset > 50GB with the **same*...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15411/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/15411/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15410
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15410/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15410/comments
https://api.github.com/repos/huggingface/transformers/issues/15410/events
https://github.com/huggingface/transformers/pull/15410
1,118,458,131
PR_kwDOCUB6oc4xydin
15,410
Add SegformerFeatureExtractor to Auto API
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? This PR adds `SegformerFeatureExtractor` to the AutoFeatureExtractor API.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15410/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15410/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15410", "html_url": "https://github.com/huggingface/transformers/pull/15410", "diff_url": "https://github.com/huggingface/transformers/pull/15410.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15410.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15409
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15409/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15409/comments
https://api.github.com/repos/huggingface/transformers/issues/15409/events
https://github.com/huggingface/transformers/pull/15409
1,118,344,818
PR_kwDOCUB6oc4xyILK
15,409
Wav2Vec2 models must either throw or deal with add_apater
{ "login": "FremyCompany", "id": 364405, "node_id": "MDQ6VXNlcjM2NDQwNQ==", "avatar_url": "https://avatars.githubusercontent.com/u/364405?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FremyCompany", "html_url": "https://github.com/FremyCompany", "followers_url": "https://api.github.com/u...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Based on the current CI results:\r\n1. This needs reformatting if we want to merge.\r\n2. All the Wav2Vec2-like models should mirror this change.\r\n3. Ideally, a test would be written to ensure this doesn't regress.\r\n\r\nBut I sti...
1,643
1,644
1,644
CONTRIBUTOR
null
Using `Wav2Vec2Model` models with `config.add_adapter=True` as `Wav2Vec2ForCTC` (for instance) doesn't throw on creation, but eventually fails due to mismatch in the output dimension (`config.output_hidden_size`) and the `lm_head` layer put on top of it (`config.output_hidden`). # What does this PR do? I propose:...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15409/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15409/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15409", "html_url": "https://github.com/huggingface/transformers/pull/15409", "diff_url": "https://github.com/huggingface/transformers/pull/15409.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15409.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15408
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15408/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15408/comments
https://api.github.com/repos/huggingface/transformers/issues/15408/events
https://github.com/huggingface/transformers/pull/15408
1,118,339,467
PR_kwDOCUB6oc4xyHOy
15,408
Fix additional DataTrainingArguments documentation
{ "login": "FremyCompany", "id": 364405, "node_id": "MDQ6VXNlcjM2NDQwNQ==", "avatar_url": "https://avatars.githubusercontent.com/u/364405?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FremyCompany", "html_url": "https://github.com/FremyCompany", "followers_url": "https://api.github.com/u...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
(This is an editorial change only) ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). ## Who can review? - maintained examples (not research project or legacy): @sgugger, @patil-suraj
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15408/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15408/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15408", "html_url": "https://github.com/huggingface/transformers/pull/15408", "diff_url": "https://github.com/huggingface/transformers/pull/15408.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15408.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15407
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15407/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15407/comments
https://api.github.com/repos/huggingface/transformers/issues/15407/events
https://github.com/huggingface/transformers/pull/15407
1,118,331,612
PR_kwDOCUB6oc4xyF2j
15,407
adds decoding scores to Wav2Vec2DecoderWithLMOutput
{ "login": "arampacha", "id": 69807323, "node_id": "MDQ6VXNlcjY5ODA3MzIz", "avatar_url": "https://avatars.githubusercontent.com/u/69807323?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arampacha", "html_url": "https://github.com/arampacha", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I'm fine with adding this actually. Is there a reason why you closed the PR? :-)", "I see a new one was opened: https://github.com/huggingface/transformers/pull/15413/files . never mind" ]
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? - Adds `logit_score` and `lm_score` produced by `BeamSearchDecoderCTC` to `Wav2Vec2DecoderWithLMOutput`. Useful for results analysis and pseudo-labeling for self-training. - Removes padding from batched logits (as returned by `Trainer.predict`) at `batch_decode`. This prevents producing no...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15407/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15407/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15407", "html_url": "https://github.com/huggingface/transformers/pull/15407", "diff_url": "https://github.com/huggingface/transformers/pull/15407.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15407.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15406
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15406/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15406/comments
https://api.github.com/repos/huggingface/transformers/issues/15406/events
https://github.com/huggingface/transformers/pull/15406
1,118,320,903
PR_kwDOCUB6oc4xyD5x
15,406
[XGLMTokenizer] fix init and add in AutoTokenizer
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
MEMBER
null
# What does this PR do? This PR fixes the init of `XGLMTokenizer` and adds it in `AutoTokenizer` mapping. Fixes #15405
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15406/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15406/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15406", "html_url": "https://github.com/huggingface/transformers/pull/15406", "diff_url": "https://github.com/huggingface/transformers/pull/15406.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15406.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15405
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15405/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15405/comments
https://api.github.com/repos/huggingface/transformers/issues/15405/events
https://github.com/huggingface/transformers/issues/15405
1,118,266,838
I_kwDOCUB6oc5Cp2XW
15,405
AutoTokenizer does not support XGLMTokenizer
{ "login": "mrseeker", "id": 1099127, "node_id": "MDQ6VXNlcjEwOTkxMjc=", "avatar_url": "https://avatars.githubusercontent.com/u/1099127?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrseeker", "html_url": "https://github.com/mrseeker", "followers_url": "https://api.github.com/users/mrsee...
[]
closed
false
null
[]
[ "Thank you for reporting this issue! The fix is here #15406 " ]
1,643
1,643
1,643
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.17.0.dev (f380bf2b612e6030ef8bc8904b287d274f035e29) - Platform: Linux - Python version: 3.8 - PyTorch ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15405/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15405/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15404
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15404/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15404/comments
https://api.github.com/repos/huggingface/transformers/issues/15404/events
https://github.com/huggingface/transformers/issues/15404
1,118,256,093
I_kwDOCUB6oc5Cpzvd
15,404
what is the equivalent manner for those lines?
{ "login": "mathshangw", "id": 81472315, "node_id": "MDQ6VXNlcjgxNDcyMzE1", "avatar_url": "https://avatars.githubusercontent.com/u/81472315?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mathshangw", "html_url": "https://github.com/mathshangw", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!" ]
1,643
1,645
1,645
NONE
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15404/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15404/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15403
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15403/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15403/comments
https://api.github.com/repos/huggingface/transformers/issues/15403/events
https://github.com/huggingface/transformers/pull/15403
1,118,204,647
PR_kwDOCUB6oc4xxt-F
15,403
Correct eos_token_id settings in generate
{ "login": "thinksoso", "id": 42956025, "node_id": "MDQ6VXNlcjQyOTU2MDI1", "avatar_url": "https://avatars.githubusercontent.com/u/42956025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thinksoso", "html_url": "https://github.com/thinksoso", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Good for me as well!", "@thinksoso, could you try to adapt the failing test by setting `config.decoder.eos_token_id = None` before running it? :-)", "> @thinksoso, could you try to adapt the failing test by setting `config.decode...
1,643
1,643
1,643
CONTRIBUTOR
null
In generation process, if the eos_token_id and config.eos_token_id are both None, use config.decoder.eos_token_id to set eos_token_id <!-- 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 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15403/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15403/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15403", "html_url": "https://github.com/huggingface/transformers/pull/15403", "diff_url": "https://github.com/huggingface/transformers/pull/15403.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15403.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15402
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15402/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15402/comments
https://api.github.com/repos/huggingface/transformers/issues/15402/events
https://github.com/huggingface/transformers/issues/15402
1,118,044,093
I_kwDOCUB6oc5Co_-9
15,402
XLNet config num_labels and _num_labels
{ "login": "arkhan19", "id": 7552470, "node_id": "MDQ6VXNlcjc1NTI0NzA=", "avatar_url": "https://avatars.githubusercontent.com/u/7552470?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arkhan19", "html_url": "https://github.com/arkhan19", "followers_url": "https://api.github.com/users/arkha...
[]
closed
false
null
[]
[ "Hello! Could you provide a reproducible code example? I don't manage to reproduce:\r\n```py\r\n>>> from transformers import XLNetConfig\r\n>>> config = XLNetConfig(num_labels=4)\r\n>>> config\r\nXLNetConfig {\r\n \"attn_type\": \"bi\",\r\n \"bi_data\": false,\r\n \"bos_token_id\": 1,\r\n \"clamp_len\": -1,\r\n...
1,643
1,643
1,643
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: - Platform: - Python version: - PyTorch version (GPU?): - Tensorflow version (GPU?): - Using GPU in script...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15402/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15402/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15401
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15401/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15401/comments
https://api.github.com/repos/huggingface/transformers/issues/15401/events
https://github.com/huggingface/transformers/issues/15401
1,118,043,713
I_kwDOCUB6oc5Co_5B
15,401
Running SQuAD 1.0 sample command raises `IndexError`
{ "login": "jaywonchung", "id": 29395896, "node_id": "MDQ6VXNlcjI5Mzk1ODk2", "avatar_url": "https://avatars.githubusercontent.com/u/29395896?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jaywonchung", "html_url": "https://github.com/jaywonchung", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "I was able to reproduce the same issue on another machine with Python 3.9.7 and a different type of GPU.", "I am not able to reproduce the error, so I have made a blanket fix in the PR linked above. If you have a wait to debug a little bit more and print the values of:\r\n- `len(offset_mapping)`\r\n- `start_inde...
1,643
1,666
1,643
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.17.0.dev0 - Platform: Linux-5.4.0-91-generic-x86_64-with-glibc2.31 - Python version: 3.9.5 - PyTorch versi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15401/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15401/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15400
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15400/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15400/comments
https://api.github.com/repos/huggingface/transformers/issues/15400/events
https://github.com/huggingface/transformers/pull/15400
1,117,990,561
PR_kwDOCUB6oc4xxCie
15,400
[deepspeed doc] fix import, extra notes
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
As flagged by https://github.com/huggingface/transformers/issues/15399 the doc had a wrong import instruction so this PR is fixing it. Additionally adding some extra explanatory notes about non-HF Trainer DeepSpeed use. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15400/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15400/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15400", "html_url": "https://github.com/huggingface/transformers/pull/15400", "diff_url": "https://github.com/huggingface/transformers/pull/15400.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15400.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15399
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15399/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15399/comments
https://api.github.com/repos/huggingface/transformers/issues/15399/events
https://github.com/huggingface/transformers/issues/15399
1,117,950,014
I_kwDOCUB6oc5CopA-
15,399
[deepspeed] `bigscience/T0*` multi-gpu inference with ZeRO
{ "login": "AADeLucia", "id": 13154289, "node_id": "MDQ6VXNlcjEzMTU0Mjg5", "avatar_url": "https://avatars.githubusercontent.com/u/13154289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AADeLucia", "html_url": "https://github.com/AADeLucia", "followers_url": "https://api.github.com/users/...
[ { "id": 2659267025, "node_id": "MDU6TGFiZWwyNjU5MjY3MDI1", "url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed", "name": "DeepSpeed", "color": "4D34F7", "default": false, "description": "" } ]
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "My apologies, it looks like I wrote wrong instructions for the non-HF Trainer case here: https://huggingface.co/docs/transformers/master/main_classes/deepspeed#nontrainer-deepspeed-integration - is that where you found this code or in another place. I'm asking so that we ensure it's fixed everywhere.\r\n\r\nIt sho...
1,643
1,664
1,643
NONE
null
## Environment info - `transformers` version: 4.17.0.dev0 - Platform: Linux-5.13.0-27-generic-x86_64-with-glibc2.10 - Python version: 3.8.0 - PyTorch version (GPU?): 1.10.1 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15399/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15399/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15398
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15398/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15398/comments
https://api.github.com/repos/huggingface/transformers/issues/15398/events
https://github.com/huggingface/transformers/issues/15398
1,117,756,287
I_kwDOCUB6oc5Cn5t_
15,398
Error with run_seq2seq_qa.py official script (pyarrow.lib.ArrowInvalid: Column 4 named labels expected length 1007 but got length 1000)
{ "login": "anas-awadalla", "id": 55931244, "node_id": "MDQ6VXNlcjU1OTMxMjQ0", "avatar_url": "https://avatars.githubusercontent.com/u/55931244?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anas-awadalla", "html_url": "https://github.com/anas-awadalla", "followers_url": "https://api.githu...
[]
closed
false
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "htt...
[ "I have faced the same issue and I hope patil-suraj could fix the problem because seq2seq models have many applications in QA especially for open domain tasks. This also will standardize the evaluation script for both BART and T5 which is helpful for comparing both performance on QA. Just to add one thing, i notice...
1,643
1,664
1,659
NONE
null
## Environment info - `transformers` version: 4.17.0.dev0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version (GPU?): 1.10.0+cu111 (True) - Tensorflow version (GPU?): 2.7.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15398/reactions", "total_count": 9, "+1": 9, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15398/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15397
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15397/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15397/comments
https://api.github.com/repos/huggingface/transformers/issues/15397/events
https://github.com/huggingface/transformers/issues/15397
1,117,687,164
I_kwDOCUB6oc5Cno18
15,397
[activations] pytorch-1.11+ Tanh Gelu Approximation
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2690307185, "node_id": "MDU6TGFiZWwyNjkwMzA3MTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Performance", "name": "Performance", "color": "207F32", "default": false, "description": "" }, { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4N...
open
false
null
[]
[ "Hi @stas00, may I take a look into this? Below is a list of to-do's I can think of, but of course, there could be more.\r\n\r\n1. Compare output diffs: Using the `torch` version should not affect model output.\r\n2. Review affected models/code: The upstream PR seems to be a drop-in replacement for HF transformers'...
1,643
1,649
null
CONTRIBUTOR
null
# 🚀 Feature request As kindly flagged by @vadimkantorov pt-1.11 will have a fast Tanh Gelu Approximation as implemented here https://github.com/pytorch/pytorch/pull/61439 so we could replace our manual implementation with the fast one when pt>=1.11 is detected. for additional context please see this thread: http...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15397/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15397/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/15396
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15396/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15396/comments
https://api.github.com/repos/huggingface/transformers/issues/15396/events
https://github.com/huggingface/transformers/issues/15396
1,117,660,723
I_kwDOCUB6oc5CniYz
15,396
ImportError: cannot import name 'ImageGPTFeatureExtractor' from 'transformers' (unknown location)
{ "login": "loukasilias", "id": 66082450, "node_id": "MDQ6VXNlcjY2MDgyNDUw", "avatar_url": "https://avatars.githubusercontent.com/u/66082450?v=4", "gravatar_id": "", "url": "https://api.github.com/users/loukasilias", "html_url": "https://github.com/loukasilias", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nWhat's the version of Transformers you have?", "Hi,\r\n4.5.1.\r\nDo I need to upgrade ?", "ImageGPT was released in v4.13 I believe", "Yes, you are right.\r\nThank you very much!" ]
1,643
1,643
1,643
NONE
null
Hi all, I am running the script in kaggle and face the error mentioned below: ``` ----> 1 from transformers import ImageGPTFeatureExtractor, ImageGPTModel ImportError: cannot import name 'ImageGPTFeatureExtractor' from 'transformers' (unknown location) ``` How could I fix this error? Thank you!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15396/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15396/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15395
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15395/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15395/comments
https://api.github.com/repos/huggingface/transformers/issues/15395/events
https://github.com/huggingface/transformers/pull/15395
1,117,639,600
PR_kwDOCUB6oc4xv7vr
15,395
Make links explicit
{ "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,643
1,643
1,643
MEMBER
null
This small change makes the links in the examples `README.md` explicit. Right now the text assumes you're reading it on GitHub, and that you can see the directory tree above. However, the text is copied to https://huggingface.co/docs/transformers/examples where you can't see the directory tree and so can't access any o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15395/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15395/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15395", "html_url": "https://github.com/huggingface/transformers/pull/15395", "diff_url": "https://github.com/huggingface/transformers/pull/15395.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15395.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15394
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15394/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15394/comments
https://api.github.com/repos/huggingface/transformers/issues/15394/events
https://github.com/huggingface/transformers/pull/15394
1,117,577,669
PR_kwDOCUB6oc4xvvCs
15,394
Use argument for preprocessing workers in run_summairzation
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? The argument `preprocessing_num_workers` is defined but not used, this PR fixes that. Fixes #15338
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15394/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15394/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15394", "html_url": "https://github.com/huggingface/transformers/pull/15394", "diff_url": "https://github.com/huggingface/transformers/pull/15394.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15394.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15393
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15393/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15393/comments
https://api.github.com/repos/huggingface/transformers/issues/15393/events
https://github.com/huggingface/transformers/issues/15393
1,117,575,880
I_kwDOCUB6oc5CnNrI
15,393
snapshot_download() got an unexpected keyword argument 'allow_regex'
{ "login": "gnmarten", "id": 4067316, "node_id": "MDQ6VXNlcjQwNjczMTY=", "avatar_url": "https://avatars.githubusercontent.com/u/4067316?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gnmarten", "html_url": "https://github.com/gnmarten", "followers_url": "https://api.github.com/users/gnmar...
[]
closed
false
null
[]
[ "Hey @gnmarten,\r\n\r\nCould you copy-paste this command and state your` output here: \r\n```bash\r\npython -c \"import huggingface_hub; print(huggingface_hub.__version__)\"\r\n```\r\n\r\nIf your version is lower than 0.4.0 it would be nice if you could upgrade `huggingface_hub`", "yes, it was <0.4.0, and after u...
1,643
1,693
1,646
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.16.0 - Platform: Linux-3.10.0-1160.24.1.el7.ug.x86_64-x86_64-with-glibc2.2.5 - Python version: 3.8.6 - PyT...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15393/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15393/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15392
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15392/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15392/comments
https://api.github.com/repos/huggingface/transformers/issues/15392/events
https://github.com/huggingface/transformers/issues/15392
1,117,572,081
I_kwDOCUB6oc5CnMvx
15,392
Logits size does not match vocabulary size when using pyctcdecode for a fine-tuned wav2vec 2.0 model
{ "login": "iskaj", "id": 49940123, "node_id": "MDQ6VXNlcjQ5OTQwMTIz", "avatar_url": "https://avatars.githubusercontent.com/u/49940123?v=4", "gravatar_id": "", "url": "https://api.github.com/users/iskaj", "html_url": "https://github.com/iskaj", "followers_url": "https://api.github.com/users/iskaj/follow...
[]
closed
false
null
[]
[ "Hey @iskaj,\r\n\r\nThe problem is that there are 48 tokens in the official vocabulary: https://huggingface.co/Iskaj/xlsr300m_cv_7.0_nl_lm/blob/e0290ad21fd43cf69d9f4de754067c02f9d6641e/vocab.json , but two more in the alphabet of the language model: https://huggingface.co/Iskaj/xlsr300m_cv_7.0_nl_lm/blob/e0290ad21...
1,643
1,677
1,643
NONE
null
## Environment info - `transformers` version: 4.17.0.dev0 - Platform: Linux-5.4.0-1063-azure-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GPU?): 1.10.2+cu102 (True) - Tensorflow version (GPU?): 2.6.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - J...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15392/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15392/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15391
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15391/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15391/comments
https://api.github.com/repos/huggingface/transformers/issues/15391/events
https://github.com/huggingface/transformers/pull/15391
1,117,522,112
PR_kwDOCUB6oc4xvja4
15,391
[Fix doc example] FlaxMarianPreTrainedModel
{ "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._", "@ydshieh `Helsinki-NLP/opus-mt-en-de` already has a flax checkpoint. cf\r\nhttps://huggingface.co/Helsinki-NLP/opus-mt-en-de/blob/main/flax_model.msgpack", "> @ydshieh `Helsinki-NLP/opus-mt-en-de` already has a flax checkpoint. cf ...
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? Tiny fix: change ``` >>> tokenizer = MarianTokenizer.from_pretrained("facebook/marian-large-cnn") ``` to ``` >>> tokenizer = MarianTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-de") ``` BTW, `Helsinki-NLP/opus-mt-en-de` has no Flax model checkpoint. The next line ``` >...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15391/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15391/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15391", "html_url": "https://github.com/huggingface/transformers/pull/15391", "diff_url": "https://github.com/huggingface/transformers/pull/15391.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15391.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15390
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15390/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15390/comments
https://api.github.com/repos/huggingface/transformers/issues/15390/events
https://github.com/huggingface/transformers/issues/15390
1,117,486,857
I_kwDOCUB6oc5Cm38J
15,390
can't use with pytorch dataloader
{ "login": "sipie800", "id": 42767079, "node_id": "MDQ6VXNlcjQyNzY3MDc5", "avatar_url": "https://avatars.githubusercontent.com/u/42767079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sipie800", "html_url": "https://github.com/sipie800", "followers_url": "https://api.github.com/users/sip...
[]
closed
false
null
[]
[ "Please paste the whole code and describe your task in detail", "@sipie800 Seems like a dimension error while resizing since you are using einsum. If you could share your code I maybe able to help.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this sti...
1,643
1,646
1,646
NONE
null
RuntimeError: einsum(): the number of subscripts in the equation (3) does not match the number of dimensions (4) for operand 0 and no ellipsis was given
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15390/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15390/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15389
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15389/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15389/comments
https://api.github.com/repos/huggingface/transformers/issues/15389/events
https://github.com/huggingface/transformers/issues/15389
1,117,361,421
I_kwDOCUB6oc5CmZUN
15,389
Fine Tuned GPT2 model performs very poorly on token classification task
{ "login": "Dhanachandra", "id": 10828657, "node_id": "MDQ6VXNlcjEwODI4NjU3", "avatar_url": "https://avatars.githubusercontent.com/u/10828657?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Dhanachandra", "html_url": "https://github.com/Dhanachandra", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hey @Dhanachandra,\r\n\r\nAs this is not an obvious bug, could you please try to make use of the forum: https://discuss.huggingface.co/ here instead?", "Sorry, @patrickvonplaten, \r\nDue to curiosity to know the reason, I was posting the querry here. ", "That's totally fine! I hope you'll find some help on the...
1,643
1,674
1,643
NONE
null
## Environment info - `transformers` version: 4.17.0.dev0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version (GPU?): 1.10.0+cu111 (True) - Tensorflow version (GPU?): 2.7.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15389/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15389/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15388
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15388/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15388/comments
https://api.github.com/repos/huggingface/transformers/issues/15388/events
https://github.com/huggingface/transformers/pull/15388
1,117,321,630
PR_kwDOCUB6oc4xu4_p
15,388
Prepare deprecated ONNX exporter for torch v1.11
{ "login": "lewtun", "id": 26859204, "node_id": "MDQ6VXNlcjI2ODU5MjA0", "avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewtun", "html_url": "https://github.com/lewtun", "followers_url": "https://api.github.com/users/lewtun/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
MEMBER
null
# What does this PR do? This PR extends #15270 to ensure the deprecated `transformers.convert_graph_to_onnx` package can also run on `torch` v1.11. I also took the liberty of adding a deprecation warning to this package.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15388/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15388/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15388", "html_url": "https://github.com/huggingface/transformers/pull/15388", "diff_url": "https://github.com/huggingface/transformers/pull/15388.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15388.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15387
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15387/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15387/comments
https://api.github.com/repos/huggingface/transformers/issues/15387/events
https://github.com/huggingface/transformers/issues/15387
1,117,312,605
I_kwDOCUB6oc5CmNZd
15,387
Evidentiality-guided Generator - Retrieval model
{ "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://...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[ "cc @patil-suraj ", "I think we could firstly add Fusion-in-Decoder (FiD), [paper](https://arxiv.org/pdf/2007.01282.pdf) and [code](https://github.com/facebookresearch/FiD), since Evidentiality-guided Generator is based on it.", "Hi everyone, Can I work on adding Fusion-in-Decoder (FiD) to Transformers?", "Ye...
1,643
1,643
null
MEMBER
null
# 🌟 New model addition ## Model description In this paper, we introduce Evidentiality-guided GGenerator, which incorporates evidentiality of passages---whether a passage contains correct evidence to support the output---into training the generator via multi-task learning of answer generation and evidentiality pr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15387/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/15387/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/15386
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15386/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15386/comments
https://api.github.com/repos/huggingface/transformers/issues/15386/events
https://github.com/huggingface/transformers/pull/15386
1,117,247,061
PR_kwDOCUB6oc4xupC8
15,386
Adding a test for hashing tokenizer state.
{ "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15386). 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,643
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? Related to https://github.com/huggingface/transformers/issues/14931 and https://github.com/huggingface/datasets/issues/3638 <!-- 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15386/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15386/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15386", "html_url": "https://github.com/huggingface/transformers/pull/15386", "diff_url": "https://github.com/huggingface/transformers/pull/15386.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15386.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15385
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15385/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15385/comments
https://api.github.com/repos/huggingface/transformers/issues/15385/events
https://github.com/huggingface/transformers/pull/15385
1,117,163,802
PR_kwDOCUB6oc4xuXyO
15,385
Force use_cache to be False in PyTorch
{ "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._", "Hmm, I think we can leave those statements @ydshieh no? The don't do any harm, but reduce the memory footprint slightly by not creating the past tensor. The reduced memory footprint might however be neglectible - in this case, ok for...
1,643
1,644
1,644
COLLABORATOR
null
# What does this PR do? In `TFxxxForForConditionalGeneration` models, there is ``` if inputs["labels"] is not None: ... inputs["use_cache"] = False ``` while there is no such change in `xxxForForConditionalGeneration` models. This would fail a more complete pt/tf equivalen...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15385/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15385/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15385", "html_url": "https://github.com/huggingface/transformers/pull/15385", "diff_url": "https://github.com/huggingface/transformers/pull/15385.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15385.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15384
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15384/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15384/comments
https://api.github.com/repos/huggingface/transformers/issues/15384/events
https://github.com/huggingface/transformers/issues/15384
1,117,102,911
I_kwDOCUB6oc5ClaM_
15,384
Unsupported output type of N11onnxruntime22SequenceTensorTypeBaseE. Can't constant fold SequenceEmpty node 'SequenceEmpty_5330'
{ "login": "will-wiki", "id": 22003927, "node_id": "MDQ6VXNlcjIyMDAzOTI3", "avatar_url": "https://avatars.githubusercontent.com/u/22003927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/will-wiki", "html_url": "https://github.com/will-wiki", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Pinging @mfuntowicz for the onnx export.", "Add\r\nThis error runs fine under onnxruntime, but when deployed to Tensorrt, it will not paser onnx model", "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 thi...
1,643
1,646
1,646
NONE
null
## Environment - `transformers` version:4.16.0.dev0 - Platform:centos7 - Python version:3.6.5 - PyTorch version (GPU?):1.10.1 - CUDA:10.2 - Cudnn:7.65 Models: - T5, BART, Marian, Pegasus, EncoderDecoder: @patrickvonplaten Library: - Text generation: @patrickvonplaten @narsil ## Information The...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15384/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15384/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15383
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15383/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15383/comments
https://api.github.com/repos/huggingface/transformers/issues/15383/events
https://github.com/huggingface/transformers/issues/15383
1,117,027,738
I_kwDOCUB6oc5ClH2a
15,383
Validate models are loadable
{ "login": "borgr", "id": 6416600, "node_id": "MDQ6VXNlcjY0MTY2MDA=", "avatar_url": "https://avatars.githubusercontent.com/u/6416600?v=4", "gravatar_id": "", "url": "https://api.github.com/users/borgr", "html_url": "https://github.com/borgr", "followers_url": "https://api.github.com/users/borgr/follower...
[]
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/master/CONTRIBUTING.md)...
1,643
1,646
1,646
NONE
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> Validating models uploaded to the hub in some way ## Motivation <!-- Please outline the motivation for the proposal. Is your feature request relate...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15383/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15383/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15382
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15382/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15382/comments
https://api.github.com/repos/huggingface/transformers/issues/15382/events
https://github.com/huggingface/transformers/pull/15382
1,117,018,211
PR_kwDOCUB6oc4xt5nt
15,382
Update modeling_blenderbot.py
{ "login": "labrat97", "id": 6019943, "node_id": "MDQ6VXNlcjYwMTk5NDM=", "avatar_url": "https://avatars.githubusercontent.com/u/6019943?v=4", "gravatar_id": "", "url": "https://api.github.com/users/labrat97", "html_url": "https://github.com/labrat97", "followers_url": "https://api.github.com/users/labra...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15382). All of your documentation changes will be reflected on that endpoint.", "Could you also update this in `modeling_mbart.py` as well, because the encoder and decoder modules are in blenderbot are copied from mbart so ...
1,643
1,646
1,646
NONE
null
Made the `BlenderbotEncoderLayer` have similar optional arguments to the `BlenderbotDecoderLayer` and other classes. Fixes the `forward` call of the `BlenderbotEncoderLayer`. <!-- Your PR will be replied to more quickly if you can figure out the right person to tag with @ If you know how to use git blame, tha...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15382/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15382/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15382", "html_url": "https://github.com/huggingface/transformers/pull/15382", "diff_url": "https://github.com/huggingface/transformers/pull/15382.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15382.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15381
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15381/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15381/comments
https://api.github.com/repos/huggingface/transformers/issues/15381/events
https://github.com/huggingface/transformers/issues/15381
1,116,986,345
I_kwDOCUB6oc5Ck9vp
15,381
Does huggingface allow to perform n-fold cross validation and custom loss function using Hugging face Trainer and save best model?
{ "login": "pratikchhapolika", "id": 11159549, "node_id": "MDQ6VXNlcjExMTU5NTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pratikchhapolika", "html_url": "https://github.com/pratikchhapolika", "followers_url": "https://...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\ncc @sgugger \r\n\r\nThanks!", "Hello @pratikchhapolika , \r\nI am using your simple code for a 10-fold cross validation on ...
1,643
1,646
1,646
NONE
null
I am solving binary classification problem using `Roberta-Toxic` model. My classes are highly skewed. ( `2% positive sample` ) I thought to perform `n-fold cross validation`. First thing that came to my mind is used Trainer in loop. `I initialise the model every-time in the loop.` Here is the simple code: ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15381/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15381/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15380
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15380/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15380/comments
https://api.github.com/repos/huggingface/transformers/issues/15380/events
https://github.com/huggingface/transformers/pull/15380
1,116,932,103
PR_kwDOCUB6oc4xtn8d
15,380
[docs] fix wrong file name in `pr_check`
{ "login": "ngoquanghuy99", "id": 36761076, "node_id": "MDQ6VXNlcjM2NzYxMDc2", "avatar_url": "https://avatars.githubusercontent.com/u/36761076?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ngoquanghuy99", "html_url": "https://github.com/ngoquanghuy99", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,644
1,643
CONTRIBUTOR
null
# What does this PR do? This corrects the file name `tests_fetcher.py` in the document of PR check. @sgugger @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15380/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15380/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15380", "html_url": "https://github.com/huggingface/transformers/pull/15380", "diff_url": "https://github.com/huggingface/transformers/pull/15380.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15380.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15379
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15379/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15379/comments
https://api.github.com/repos/huggingface/transformers/issues/15379/events
https://github.com/huggingface/transformers/pull/15379
1,116,736,377
PR_kwDOCUB6oc4xs_r6
15,379
Save code of registered custom models
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? This PR changes the way `save_pretrained` works for user custom objects when they are registered to an auto API via the the new command `register_for_auto_class`. Here is an example: ```py # Custom config from test_model.configuration import NewModelConfig # Custom model from test_mode...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15379/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15379/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15379", "html_url": "https://github.com/huggingface/transformers/pull/15379", "diff_url": "https://github.com/huggingface/transformers/pull/15379.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15379.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15378
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15378/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15378/comments
https://api.github.com/repos/huggingface/transformers/issues/15378/events
https://github.com/huggingface/transformers/pull/15378
1,116,668,804
PR_kwDOCUB6oc4xsxxK
15,378
Add init to BORT
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Will release a patch with this by tomorrow." ]
1,643
1,643
1,643
MEMBER
null
Adds an `__init__.py` file to the `src/transformers/models/bort` folder so that it can be imported.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15378/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15378/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15378", "html_url": "https://github.com/huggingface/transformers/pull/15378", "diff_url": "https://github.com/huggingface/transformers/pull/15378.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15378.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15377
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15377/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15377/comments
https://api.github.com/repos/huggingface/transformers/issues/15377/events
https://github.com/huggingface/transformers/issues/15377
1,116,619,820
I_kwDOCUB6oc5CjkQs
15,377
No module named 'transformers.models.bort'
{ "login": "abhilashreddys", "id": 45734454, "node_id": "MDQ6VXNlcjQ1NzM0NDU0", "avatar_url": "https://avatars.githubusercontent.com/u/45734454?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhilashreddys", "html_url": "https://github.com/abhilashreddys", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "v4.16.0 has this issue changing to v4.15.0 fixed it", "What command did you run exactly?", "from transformers import *", "Thanks for flagging, a fix is on its way :-)", "Fixing on https://github.com/huggingface/transformers/pull/15378" ]
1,643
1,644
1,644
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.16.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15377/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/15377/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15376
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15376/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15376/comments
https://api.github.com/repos/huggingface/transformers/issues/15376/events
https://github.com/huggingface/transformers/pull/15376
1,116,484,426
PR_kwDOCUB6oc4xsLXp
15,376
Fix tests_fetcher
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? This fixes the `test_fetcher` module which was broken by the "add-new-model-like" PR. The reason is that its test file has some relative imports in example modules that are picked by the test fetcher.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15376/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15376/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15376", "html_url": "https://github.com/huggingface/transformers/pull/15376", "diff_url": "https://github.com/huggingface/transformers/pull/15376.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15376.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15375
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15375/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15375/comments
https://api.github.com/repos/huggingface/transformers/issues/15375/events
https://github.com/huggingface/transformers/pull/15375
1,116,430,478
PR_kwDOCUB6oc4xr_W0
15,375
Example script for PushToHubCallback
{ "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,643
1,643
1,643
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15375/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15375/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15375", "html_url": "https://github.com/huggingface/transformers/pull/15375", "diff_url": "https://github.com/huggingface/transformers/pull/15375.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15375.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15374
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15374/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15374/comments
https://api.github.com/repos/huggingface/transformers/issues/15374/events
https://github.com/huggingface/transformers/pull/15374
1,116,412,698
PR_kwDOCUB6oc4xr7mJ
15,374
Add proper documentation for Keras callbacks
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? Fixes the Keras Callback doc page.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15374/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15374/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15374", "html_url": "https://github.com/huggingface/transformers/pull/15374", "diff_url": "https://github.com/huggingface/transformers/pull/15374.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15374.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15373
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15373/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15373/comments
https://api.github.com/repos/huggingface/transformers/issues/15373/events
https://github.com/huggingface/transformers/pull/15373
1,116,411,721
PR_kwDOCUB6oc4xr7Yx
15,373
Super-small fix stops us confusing Keras console logging by modifying…
{ "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,643
1,643
1,643
MEMBER
null
Super-small PR - some small cosmetic issues were caused by me editing the Keras `logs` dict without realizing that it would get used by Keras again afterwards.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15373/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15373/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15373", "html_url": "https://github.com/huggingface/transformers/pull/15373", "diff_url": "https://github.com/huggingface/transformers/pull/15373.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15373.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15372
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15372/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15372/comments
https://api.github.com/repos/huggingface/transformers/issues/15372/events
https://github.com/huggingface/transformers/issues/15372
1,116,298,215
I_kwDOCUB6oc5CiVvn
15,372
Run LayoutXLM without image input not possible
{ "login": "RitaDS", "id": 50209817, "node_id": "MDQ6VXNlcjUwMjA5ODE3", "avatar_url": "https://avatars.githubusercontent.com/u/50209817?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RitaDS", "html_url": "https://github.com/RitaDS", "followers_url": "https://api.github.com/users/RitaDS/fo...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nLayoutXLM, like LayoutLMv2, expects the `image` as input. Internally, LayoutLMv2 (and LayoutXLM) will forward the `image` through their visual backbone, which will serve as additional features in order to make predictions.\r\n\r\nThe `image` is a required input.", "Hi, thank you for the reply. Should ...
1,643
1,680
1,643
NONE
null
## Environment info - `transformers` version: 4.15.0 - Platform: - Python version: 3.6.9 - PyTorch version (GPU?): 1.8 - Tensorflow version (GPU?): 1.14.0 - Using GPU in script?: yes - Using distributed or parallel set-up in script?: no ### Who can help @NielsRogge ## Information Model I am using (B...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15372/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15372/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15371
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15371/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15371/comments
https://api.github.com/repos/huggingface/transformers/issues/15371/events
https://github.com/huggingface/transformers/pull/15371
1,116,294,044
PR_kwDOCUB6oc4xrhBh
15,371
Add a device argument to the eval script
{ "login": "anton-l", "id": 26864830, "node_id": "MDQ6VXNlcjI2ODY0ODMw", "avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anton-l", "html_url": "https://github.com/anton-l", "followers_url": "https://api.github.com/users/anton-...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
MEMBER
null
This should help speed up the evaluation and resolve some RAM OOM errors.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15371/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15371/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15371", "html_url": "https://github.com/huggingface/transformers/pull/15371", "diff_url": "https://github.com/huggingface/transformers/pull/15371.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15371.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15370
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15370/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15370/comments
https://api.github.com/repos/huggingface/transformers/issues/15370/events
https://github.com/huggingface/transformers/pull/15370
1,116,271,143
PR_kwDOCUB6oc4xrcFR
15,370
Implement fixes for TrainingArguments doc
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
COLLABORATOR
null
Co-authored-by: osanseviero <osanseviero@gmail.com> This implements the suggestions I didn't add in #15327 because I forgot to click on a button :-/
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15370/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15370/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15370", "html_url": "https://github.com/huggingface/transformers/pull/15370", "diff_url": "https://github.com/huggingface/transformers/pull/15370.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15370.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15369
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15369/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15369/comments
https://api.github.com/repos/huggingface/transformers/issues/15369/events
https://github.com/huggingface/transformers/pull/15369
1,116,217,860
PR_kwDOCUB6oc4xrQvs
15,369
Bump numpy from 1.19.2 to 1.21.0 in /examples/research_projects/lxmert
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
Bumps [numpy](https://github.com/numpy/numpy) from 1.19.2 to 1.21.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/numpy/numpy/releases">numpy's releases</a>.</em></p> <blockquote> <h2>v1.21.0</h2> <h1>NumPy 1.21.0 Release Notes</h1> <p>The NumPy 1.21.0 release highlights ar...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15369/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15369/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15369", "html_url": "https://github.com/huggingface/transformers/pull/15369", "diff_url": "https://github.com/huggingface/transformers/pull/15369.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15369.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15368
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15368/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15368/comments
https://api.github.com/repos/huggingface/transformers/issues/15368/events
https://github.com/huggingface/transformers/pull/15368
1,116,217,622
PR_kwDOCUB6oc4xrQsi
15,368
Bump notebook from 6.1.5 to 6.4.1 in /examples/research_projects/visual_bert
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
Bumps [notebook](http://jupyter.org) from 6.1.5 to 6.4.1. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=notebook&package-manager=pip&previous-version=6.1.5&new-version=6.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/ab...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15368/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15368/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15368", "html_url": "https://github.com/huggingface/transformers/pull/15368", "diff_url": "https://github.com/huggingface/transformers/pull/15368.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15368.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15367
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15367/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15367/comments
https://api.github.com/repos/huggingface/transformers/issues/15367/events
https://github.com/huggingface/transformers/pull/15367
1,116,217,472
PR_kwDOCUB6oc4xrQqh
15,367
Bump numpy from 1.19.2 to 1.21.0 in /examples/research_projects/visual_bert
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
Bumps [numpy](https://github.com/numpy/numpy) from 1.19.2 to 1.21.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/numpy/numpy/releases">numpy's releases</a>.</em></p> <blockquote> <h2>v1.21.0</h2> <h1>NumPy 1.21.0 Release Notes</h1> <p>The NumPy 1.21.0 release highlights ar...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15367/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15367/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15367", "html_url": "https://github.com/huggingface/transformers/pull/15367", "diff_url": "https://github.com/huggingface/transformers/pull/15367.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15367.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15366
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15366/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15366/comments
https://api.github.com/repos/huggingface/transformers/issues/15366/events
https://github.com/huggingface/transformers/issues/15366
1,116,156,302
I_kwDOCUB6oc5ChzGO
15,366
Issues with custom dataset in Wav2Vec2
{ "login": "peregilk", "id": 9079808, "node_id": "MDQ6VXNlcjkwNzk4MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/9079808?v=4", "gravatar_id": "", "url": "https://api.github.com/users/peregilk", "html_url": "https://github.com/peregilk", "followers_url": "https://api.github.com/users/pereg...
[]
closed
false
null
[]
[ "Hey @peregilk, \r\n\r\nI'm happy to look into it! Could you give me a minimal reproducible code example (if the training data is not too huge a simple bash command is fine as well)", "Hi @patrickvonplaten.\r\nWe are not exactly sure where the error is, but running any the default training scripts with these para...
1,643
1,646
1,646
CONTRIBUTOR
null
@patrickvonplaten @anton-l We are training Wav2Vec using the run_speech_recognition_ctc_bnb.py-script. This is working fine with Common Voice datasets, however using our custom dataset and data loader at [NbAiLab/NPSC]( https://huggingface.co/datasets/NbAiLab/NPSC) it crashes after roughly 1 epoch with the follo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15366/reactions", "total_count": 3, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/15366/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15365
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15365/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15365/comments
https://api.github.com/repos/huggingface/transformers/issues/15365/events
https://github.com/huggingface/transformers/pull/15365
1,116,072,981
PR_kwDOCUB6oc4xqyCm
15,365
Fix initialization of mutable types
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15365). All of your documentation changes will be reflected on that endpoint.", "This is present in many more configurations, so if we decide to switch it should be for all of them and not only for three configs.\r\n\r\nHav...
1,643
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? This PR fixes the initialization of mutable types for Swin Transformer, SegFormer and BEiT (as pointed out by @FrancescoSaverioZuppichini in #15277). It also fixes a small docs issue for Swin Transformer.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15365/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15365/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15365", "html_url": "https://github.com/huggingface/transformers/pull/15365", "diff_url": "https://github.com/huggingface/transformers/pull/15365.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15365.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15364
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15364/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15364/comments
https://api.github.com/repos/huggingface/transformers/issues/15364/events
https://github.com/huggingface/transformers/issues/15364
1,116,063,479
I_kwDOCUB6oc5Chcb3
15,364
Implementation of activations as subclasses of the torch.nn.Module
{ "login": "eldarkurtic", "id": 8884008, "node_id": "MDQ6VXNlcjg4ODQwMDg=", "avatar_url": "https://avatars.githubusercontent.com/u/8884008?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eldarkurtic", "html_url": "https://github.com/eldarkurtic", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Pinging @sgugger @patrickvonplaten @patil-suraj for consideration\r\n\r\nAlso pinging @mfuntowicz as I believe this may affect the graph of the models and would like to hear feedback on the request", "No strong opinion on my side, apart from the fact we would need to be careful not to break anything in any exist...
1,643
1,645
1,645
CONTRIBUTOR
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> I guess it would be best to ask this first: are there some specific reasons why activation functions in https://github.com/huggingface/transformers/blob/master...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15364/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15364/timeline
completed
null
null