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/18574
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18574/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18574/comments
https://api.github.com/repos/huggingface/transformers/issues/18574/events
https://github.com/huggingface/transformers/pull/18574
1,335,688,523
PR_kwDOCUB6oc49A0jb
18,574
add opt "flush_denormal" in training_args.
{ "login": "sywangyi", "id": 36058628, "node_id": "MDQ6VXNlcjM2MDU4NjI4", "avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sywangyi", "html_url": "https://github.com/sywangyi", "followers_url": "https://api.github.com/users/syw...
[]
closed
false
null
[]
[ "@yao-matrix @sgugger please help review", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18574). All of your documentation changes will be reflected on that endpoint.", "Thanks for your PR but I don't completely understand why this should leave in the Trainer? Users ...
1,660
1,666
1,663
CONTRIBUTOR
null
To solve the low performance issue caused by denormal numbers, user could enable this opt Signed-off-by: Wang, Yi A <yi.a.wang@intel.com> # What does this PR do? [Denormal number](https://en.wikipedia.org/wiki/Denormal_number) is used to store extremely small numbers which are close to 0. Computations with denor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18574/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18574/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18574", "html_url": "https://github.com/huggingface/transformers/pull/18574", "diff_url": "https://github.com/huggingface/transformers/pull/18574.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18574.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18573
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18573/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18573/comments
https://api.github.com/repos/huggingface/transformers/issues/18573/events
https://github.com/huggingface/transformers/pull/18573
1,335,680,203
PR_kwDOCUB6oc49Ayxv
18,573
Fix resizing bug in OWL-ViT
{ "login": "alaradirik", "id": 8944735, "node_id": "MDQ6VXNlcjg5NDQ3MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alaradirik", "html_url": "https://github.com/alaradirik", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Thanks for fixing! However, all \"owlvit\" checkpoints on the hub have `\"do_center_crop\": true` in their preprocessor_config.json.\r\n> \r\n> Should we update them after this PR is merged?\r\n\r\nGood point, yes, we should update...
1,660
1,665
1,660
CONTRIBUTOR
null
# What does this PR do? Fixes a resizing issue in `OwlViTFeatureExtractor` that lead to the image/s getting resized along only one dimension and getting cropped along the other dimension later on in the preprocessing pipeline. The issue was due to defining the size as a single value instead of a tuple (768 instead of ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18573/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18573/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18573", "html_url": "https://github.com/huggingface/transformers/pull/18573", "diff_url": "https://github.com/huggingface/transformers/pull/18573.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18573.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18572
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18572/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18572/comments
https://api.github.com/repos/huggingface/transformers/issues/18572/events
https://github.com/huggingface/transformers/pull/18572
1,335,622,453
PR_kwDOCUB6oc49AmVR
18,572
Segformer TF: fix output size in documentation
{ "login": "joihn", "id": 11663917, "node_id": "MDQ6VXNlcjExNjYzOTE3", "avatar_url": "https://avatars.githubusercontent.com/u/11663917?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joihn", "html_url": "https://github.com/joihn", "followers_url": "https://api.github.com/users/joihn/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi,\r\n\r\nthanks for your PR. Could you also fix this in `modeling_segformer.py` for the PyTorch implementation?\r\n\r\nThanks!" ]
1,660
1,660
1,660
CONTRIBUTOR
null
Fixes # (issue) https://github.com/huggingface/transformers/issues/18557 ## 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? @sayakpaul -->
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18572/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18572/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18572", "html_url": "https://github.com/huggingface/transformers/pull/18572", "diff_url": "https://github.com/huggingface/transformers/pull/18572.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18572.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18571
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18571/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18571/comments
https://api.github.com/repos/huggingface/transformers/issues/18571/events
https://github.com/huggingface/transformers/pull/18571
1,335,500,343
PR_kwDOCUB6oc49AMrf
18,571
Add type hints for ViLT models
{ "login": "donelianc", "id": 7807897, "node_id": "MDQ6VXNlcjc4MDc4OTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7807897?v=4", "gravatar_id": "", "url": "https://api.github.com/users/donelianc", "html_url": "https://github.com/donelianc", "followers_url": "https://api.github.com/users/do...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,660
1,660
1,660
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/18571/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18571/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18571", "html_url": "https://github.com/huggingface/transformers/pull/18571", "diff_url": "https://github.com/huggingface/transformers/pull/18571.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18571.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18570
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18570/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18570/comments
https://api.github.com/repos/huggingface/transformers/issues/18570/events
https://github.com/huggingface/transformers/issues/18570
1,335,418,228
I_kwDOCUB6oc5PmN10
18,570
How to load a fine-tuned model and inference after running run_clip.py?
{ "login": "gongshaojie12", "id": 6407116, "node_id": "MDQ6VXNlcjY0MDcxMTY=", "avatar_url": "https://avatars.githubusercontent.com/u/6407116?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gongshaojie12", "html_url": "https://github.com/gongshaojie12", "followers_url": "https://api.github....
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "If I understand correctly, you have a (previously created) `clip-roberta` which is used to launch training.\r\nThe processor is not saved after the model is finetuned, just the model is saved.\r\nYou can copy the processor file(s) from `clip-roberta` to `clip-roberta-finetuned`.\r\n\r\nOtherwise, you can simply c...
1,660
1,660
1,660
NONE
null
### System Info - `transformers` version: 4.22.0.dev0 - Platform: Linux-3.10.0-957.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.9.12 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.0+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18570/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18570/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18569
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18569/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18569/comments
https://api.github.com/repos/huggingface/transformers/issues/18569/events
https://github.com/huggingface/transformers/pull/18569
1,335,390,854
PR_kwDOCUB6oc48_1xM
18,569
The backticks in the example of transformers.BigBirdPegasusConfig documentation were not in the right spot…
{ "login": "brandonbiggs", "id": 34954680, "node_id": "MDQ6VXNlcjM0OTU0Njgw", "avatar_url": "https://avatars.githubusercontent.com/u/34954680?v=4", "gravatar_id": "", "url": "https://api.github.com/users/brandonbiggs", "html_url": "https://github.com/brandonbiggs", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18569). All of your documentation changes will be reflected on that endpoint.", "I can make that change, but when I run `make style` it changes a couple hundred files. Is that supposed to happen?", "No, it probably means ...
1,660
1,661
1,661
NONE
null
…, causing the documentation to be displayed in a weird way. I moved the backticks a few lines down in the documentation to ensure the documentation is formatted correctly. # What does this PR do? Fixes the python documentation example in transformers.BigBirdPegasusConfig <!-- Congratulations! You've made it thi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18569/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18569/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18569", "html_url": "https://github.com/huggingface/transformers/pull/18569", "diff_url": "https://github.com/huggingface/transformers/pull/18569.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18569.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18568
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18568/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18568/comments
https://api.github.com/repos/huggingface/transformers/issues/18568/events
https://github.com/huggingface/transformers/pull/18568
1,335,228,882
PR_kwDOCUB6oc48_UOC
18,568
Fix broken pipeline string
{ "login": "mrwyattii", "id": 18311180, "node_id": "MDQ6VXNlcjE4MzExMTgw", "avatar_url": "https://avatars.githubusercontent.com/u/18311180?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrwyattii", "html_url": "https://github.com/mrwyattii", "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,660
1,660
1,660
CONTRIBUTOR
null
# What does this PR do? #18494 introduced a bug in a cuda device string: `RuntimeError: Invalid device string: 'cuda:{device}'` This PR adds the missing `f` before the string <!-- 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18568/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18568/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18568", "html_url": "https://github.com/huggingface/transformers/pull/18568", "diff_url": "https://github.com/huggingface/transformers/pull/18568.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18568.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18567
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18567/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18567/comments
https://api.github.com/repos/huggingface/transformers/issues/18567/events
https://github.com/huggingface/transformers/issues/18567
1,335,194,807
I_kwDOCUB6oc5PlXS3
18,567
Trainer Bug
{ "login": "rich-junwang", "id": 17483734, "node_id": "MDQ6VXNlcjE3NDgzNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/17483734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rich-junwang", "html_url": "https://github.com/rich-junwang", "followers_url": "https://api.github.c...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,660
1,663
1,663
NONE
null
### System Info I might be wrong, but looks this line here: https://github.com/huggingface/transformers/blob/main/src/transformers/trainer_seq2seq.py#L176 introduces a bug. _gen_kwargs may not be an attribute for an instance. ### Who can help? _No response_ ### Information - [ ] The official example scripts - [...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18567/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18567/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18566
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18566/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18566/comments
https://api.github.com/repos/huggingface/transformers/issues/18566/events
https://github.com/huggingface/transformers/pull/18566
1,335,126,690
PR_kwDOCUB6oc48--ld
18,566
Bump nbconvert from 6.0.1 to 6.3.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,660
1,660
1,660
CONTRIBUTOR
null
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [nbconvert](https://github.com/jupyte...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18566/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18566/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18566", "html_url": "https://github.com/huggingface/transformers/pull/18566", "diff_url": "https://github.com/huggingface/transformers/pull/18566.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18566.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18565
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18565/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18565/comments
https://api.github.com/repos/huggingface/transformers/issues/18565/events
https://github.com/huggingface/transformers/pull/18565
1,335,113,261
PR_kwDOCUB6oc48-7o1
18,565
Bump nbconvert from 6.0.1 to 6.3.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,660
1,660
1,660
CONTRIBUTOR
null
Bumps [nbconvert](https://github.com/jupyter/nbconvert) from 6.0.1 to 6.3.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jupyter/nbconvert/commit/cefe0bfe303e5e9e194c393cb9280c64a77b8219"><code>cefe0bf</code></a> Release 6.3.0</li> <li><a href="https://github.com/jupyter/nbconvert/commit/a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18565/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18565/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18565", "html_url": "https://github.com/huggingface/transformers/pull/18565", "diff_url": "https://github.com/huggingface/transformers/pull/18565.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18565.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18564
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18564/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18564/comments
https://api.github.com/repos/huggingface/transformers/issues/18564/events
https://github.com/huggingface/transformers/issues/18564
1,335,080,869
I_kwDOCUB6oc5Pk7el
18,564
Transformers Documentation translation to German (de)
{ "login": "omarespejel", "id": 4755430, "node_id": "MDQ6VXNlcjQ3NTU0MzA=", "avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omarespejel", "html_url": "https://github.com/omarespejel", "followers_url": "https://api.github.com/us...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
{ "login": "omarespejel", "id": 4755430, "node_id": "MDQ6VXNlcjQ3NTU0MzA=", "avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omarespejel", "html_url": "https://github.com/omarespejel", "followers_url": "https://api.github.com/us...
[ { "login": "omarespejel", "id": 4755430, "node_id": "MDQ6VXNlcjQ3NTU0MzA=", "avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omarespejel", "html_url": "https://github.com/omarespejel", "followers_url": "https...
[ "installation is WIP and will be done tomorrow in the open PR\r\nother sections will follow in future if its still to do then", "Great! Thank you @flozi00 🚀.", "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...
1,660
1,665
1,665
CONTRIBUTOR
null
Hi! Let's bring the documentation to all the German-speaking community :) Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/docs/TRANSLATING.md). Here is a list of the files ready for translation. Let us know here if you'd like to translate...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18564/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18564/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18563
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18563/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18563/comments
https://api.github.com/repos/huggingface/transformers/issues/18563/events
https://github.com/huggingface/transformers/pull/18563
1,334,974,275
PR_kwDOCUB6oc48-d0v
18,563
Properly move cache when it is not in default path
{ "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,660
1,660
1,660
COLLABORATOR
null
# What does this PR do? This PR respects the user env variable for the cache move when they set something different from the default path, as it's not working as expected right now (reported internally by @stas00 )
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18563/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/18563/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18563", "html_url": "https://github.com/huggingface/transformers/pull/18563", "diff_url": "https://github.com/huggingface/transformers/pull/18563.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18563.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18562
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18562/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18562/comments
https://api.github.com/repos/huggingface/transformers/issues/18562/events
https://github.com/huggingface/transformers/pull/18562
1,334,964,112
PR_kwDOCUB6oc48-brN
18,562
Adds timeout argument to training_args to avoid socket timeouts in DDP
{ "login": "gugarosa", "id": 4120639, "node_id": "MDQ6VXNlcjQxMjA2Mzk=", "avatar_url": "https://avatars.githubusercontent.com/u/4120639?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gugarosa", "html_url": "https://github.com/gugarosa", "followers_url": "https://api.github.com/users/gugar...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hey @gugarosa, thanks for your PR! I'm asking Sylvain to review it as he's the maintainer of the `Trainer`, but he's on the leave for the next few weeks. He'll review your PR when he's back!\r\n\r\nThanks for your patience :pray: ", ...
1,660
1,662
1,662
CONTRIBUTOR
null
# What does this PR do? This PR follows the work done in #18081 and adds a `timeout` argument to `TrainingArgs` to avoid Socket Timeouts when using PyTorch's `torch.distributed.init_process_group`: https://pytorch.org/docs/stable/distributed.html#torch.distributed.init_process_group _`timeout` argument exists sin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18562/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18562/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18562", "html_url": "https://github.com/huggingface/transformers/pull/18562", "diff_url": "https://github.com/huggingface/transformers/pull/18562.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18562.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18561
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18561/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18561/comments
https://api.github.com/repos/huggingface/transformers/issues/18561/events
https://github.com/huggingface/transformers/pull/18561
1,334,875,319
PR_kwDOCUB6oc48-IjB
18,561
Fixed the error so the default matches with the coment
{ "login": "Soham-West", "id": 110839578, "node_id": "U_kgDOBptHGg", "avatar_url": "https://avatars.githubusercontent.com/u/110839578?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Soham-West", "html_url": "https://github.com/Soham-West", "followers_url": "https://api.github.com/users/Soh...
[]
closed
false
null
[]
[ "cc @xvjiarui @NielsRogge ", "LGTM", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18561). 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 thin...
1,660
1,664
1,663
NONE
null
Made it so that the num_output_group matches with the default setting.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18561/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18561/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18561", "html_url": "https://github.com/huggingface/transformers/pull/18561", "diff_url": "https://github.com/huggingface/transformers/pull/18561.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18561.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18560
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18560/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18560/comments
https://api.github.com/repos/huggingface/transformers/issues/18560/events
https://github.com/huggingface/transformers/pull/18560
1,334,859,629
PR_kwDOCUB6oc48-FO4
18,560
raise atol for MT5OnnxConfig
{ "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._", "I need to check the `# Copied` issue.", "Hi, @ydshieh. Does this PR fix the two failing tests?\r\n\r\nIf not, I can work on it too.", "The test is still running. I think it should be fine :-) but will let you know once the test r...
1,660
1,662
1,660
COLLABORATOR
null
# What does this PR do? MT5 is newly added to ONNX tests, but currently failed with ``` AssertionError: mt5, seq2seq-lm -> Outputs values doesn't match between reference model and ONNX exported model: Got max absolute difference of: 0.000148773193359375 AssertionError: mt5, seq2seq-lm-with-past -> Outputs value...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18560/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/18560/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18560", "html_url": "https://github.com/huggingface/transformers/pull/18560", "diff_url": "https://github.com/huggingface/transformers/pull/18560.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18560.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18559
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18559/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18559/comments
https://api.github.com/repos/huggingface/transformers/issues/18559/events
https://github.com/huggingface/transformers/pull/18559
1,334,837,434
PR_kwDOCUB6oc48-BGW
18,559
[WIP]Add TF BEiT Implementation
{ "login": "MadElf1337", "id": 34575523, "node_id": "MDQ6VXNlcjM0NTc1NTIz", "avatar_url": "https://avatars.githubusercontent.com/u/34575523?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MadElf1337", "html_url": "https://github.com/MadElf1337", "followers_url": "https://api.github.com/use...
[]
open
false
null
[]
[ "@gante @amyeroberts Here's the WIP draft of BEiT!\r\n\r\nPlease tell me if I have done anything wrong, I'll make the changes right away!\r\n\r\nThanks!", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18559). All of your documentation changes will be reflected on that ...
1,660
1,708
null
NONE
null
Porting BEiT model from PyTorch to TensorFlow backend # 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 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18559/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/18559/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18559", "html_url": "https://github.com/huggingface/transformers/pull/18559", "diff_url": "https://github.com/huggingface/transformers/pull/18559.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18559.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18558
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18558/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18558/comments
https://api.github.com/repos/huggingface/transformers/issues/18558/events
https://github.com/huggingface/transformers/issues/18558
1,334,786,109
I_kwDOCUB6oc5Pjzg9
18,558
Module 'seqeval' doesn't exist on the Hugging Face Hub either
{ "login": "datquocnguyen", "id": 2412555, "node_id": "MDQ6VXNlcjI0MTI1NTU=", "avatar_url": "https://avatars.githubusercontent.com/u/2412555?v=4", "gravatar_id": "", "url": "https://api.github.com/users/datquocnguyen", "html_url": "https://github.com/datquocnguyen", "followers_url": "https://api.github....
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Now I can make `run_ner.py` running by changing the line 508 from `metric = evaluate.load(\"seqeval\")` to `metric = evaluate.load(\"/absoluate/path/to/seqeval.py\")`. But I think this is still a potential bug as the fine-tuning script had worked well before, without changing the file `run_ner.py`. ", "I meet t...
1,660
1,689
1,660
CONTRIBUTOR
null
### System Info - `transformers` version: 4.22.0.dev0 - Platform: Linux-5.4.0-77-generic-x86_64-with-debian-bullseye-sid - Python version: 3.7.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.9.1+cu111 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18558/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18558/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18557
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18557/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18557/comments
https://api.github.com/repos/huggingface/transformers/issues/18557/events
https://github.com/huggingface/transformers/issues/18557
1,334,731,062
I_kwDOCUB6oc5PjmE2
18,557
Segformer ouput size
{ "login": "joihn", "id": 11663917, "node_id": "MDQ6VXNlcjExNjYzOTE3", "avatar_url": "https://avatars.githubusercontent.com/u/11663917?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joihn", "html_url": "https://github.com/joihn", "followers_url": "https://api.github.com/users/joihn/follow...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "cc @NielsRogge -- is the right logits shape `(batch_size, num_labels, height, width)` or `(batch_size, num_labels, height/4, width/4)`?\r\n\r\n@joihn depending on @NielsRogge answer, would you like to open a PR to fix the documentation? :) The PyTorch model has the same comments, that may need to be fixed.", "Hi...
1,660
1,660
1,660
CONTRIBUTOR
null
### System Info thanks for this repo, Segformer `output size` is `input_size/4,` as mentionned here https://github.com/huggingface/transformers/blob/main/src/transformers/models/segformer/modeling_tf_segformer.py#L780 However, this line of documentation is wrong: https://github.com/huggingface/transformers/blo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18557/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18557/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18556
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18556/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18556/comments
https://api.github.com/repos/huggingface/transformers/issues/18556/events
https://github.com/huggingface/transformers/pull/18556
1,334,621,692
PR_kwDOCUB6oc489UUR
18,556
[Title]: Fix the ner example for tenforflow
{ "login": "jack-cx", "id": 6050491, "node_id": "MDQ6VXNlcjYwNTA0OTE=", "avatar_url": "https://avatars.githubusercontent.com/u/6050491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jack-cx", "html_url": "https://github.com/jack-cx", "followers_url": "https://api.github.com/users/jack-cx/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18556). All of your documentation changes will be reflected on that endpoint." ]
1,660
1,660
1,660
NONE
null
[Detail]: The MODEL_MAPPING should change to TF_MODEL_MAPPING in tensorflow platform. [To do]: None # What does this PR do? To fix the problem that ner example in tensorflow dir runs failed. the error message is : (tensorflow) ➜ token-classification git:(main) ✗ python run_ner.py \ --model_name_or_path ber...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18556/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18556/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18556", "html_url": "https://github.com/huggingface/transformers/pull/18556", "diff_url": "https://github.com/huggingface/transformers/pull/18556.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18556.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18555
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18555/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18555/comments
https://api.github.com/repos/huggingface/transformers/issues/18555/events
https://github.com/huggingface/transformers/pull/18555
1,334,589,057
PR_kwDOCUB6oc489NPE
18,555
TensorFlow MobileViT
{ "login": "sayakpaul", "id": 22957388, "node_id": "MDQ6VXNlcjIyOTU3Mzg4", "avatar_url": "https://avatars.githubusercontent.com/u/22957388?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sayakpaul", "html_url": "https://github.com/sayakpaul", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Didn't realize that re-requesting a review from @gante would result in removing @amyeroberts and @sgugger from the reviewer list. Please know that it was completely unintentional. ", "@sayakpaul no worries :)", "Thanks for anothe...
1,660
1,662
1,662
MEMBER
null
This PR implements the MobileViT model in TensorFlow. ## Interesting points * The classification and segmentation models provided with MobileViT are fully compatible with TensorFlow Lite. Therefore, I have included sample code in the model documentation showing how to perform the TensorFlow Lite conversion (~4 li...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18555/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18555/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18555", "html_url": "https://github.com/huggingface/transformers/pull/18555", "diff_url": "https://github.com/huggingface/transformers/pull/18555.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18555.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18554
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18554/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18554/comments
https://api.github.com/repos/huggingface/transformers/issues/18554/events
https://github.com/huggingface/transformers/issues/18554
1,334,512,527
I_kwDOCUB6oc5PiwuP
18,554
Illegal instruction: 4 error when importing TextClassificationPipeline
{ "login": "ehsong", "id": 5554659, "node_id": "MDQ6VXNlcjU1NTQ2NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/5554659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ehsong", "html_url": "https://github.com/ehsong", "followers_url": "https://api.github.com/users/ehsong/foll...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "hi @ehsong ,\r\n\r\nAre you on Mac M1 ? Do you mind running `transformers-cli env` and printing the output here ?\r\n\r\nWhat code are you using the trigger the issue ?\r\n\r\nI googled and found this : https://stackoverflow.com/questions/14268887/what-is-the-illegal-instruction-4-error-and-why-does-mmacosx-versio...
1,660
1,663
1,663
NONE
null
### System Info ``` Name: transformers Version: 4.22.0.dev0 Name: tensorflow Version: 2.5.0 Name: torch Version: 1.12.1 Python 3.9.12 ``` I keep getting the error 'Illegal instruction: 4 ' when trying to import TextClassificationPipeline from transformers, does this have anything to do with the vers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18554/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18554/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18553
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18553/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18553/comments
https://api.github.com/repos/huggingface/transformers/issues/18553/events
https://github.com/huggingface/transformers/issues/18553
1,334,300,956
I_kwDOCUB6oc5Ph9Ec
18,553
OWL-ViT outputs are offset for non-square images
{ "login": "segments-tobias", "id": 89590365, "node_id": "MDQ6VXNlcjg5NTkwMzY1", "avatar_url": "https://avatars.githubusercontent.com/u/89590365?v=4", "gravatar_id": "", "url": "https://api.github.com/users/segments-tobias", "html_url": "https://github.com/segments-tobias", "followers_url": "https://api...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "I just saw that @alaradirik acknowledged this issue in the [Community tab of the Spaces demo](https://huggingface.co/spaces/adirik/OWL-ViT/discussions/1), but I'll keep this issue open, so it's easier for others to find.", "I can also confirm that @cceyda 's finding works for me, i.e. doing\r\n```python\r\nimage...
1,660
1,660
1,660
NONE
null
### System Info - `transformers` version: 4.21.1 - Platform: Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.1+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18553/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18553/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18552
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18552/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18552/comments
https://api.github.com/repos/huggingface/transformers/issues/18552/events
https://github.com/huggingface/transformers/issues/18552
1,334,165,201
I_kwDOCUB6oc5Phb7R
18,552
wav2vec2 : No MSELoss implementation
{ "login": "LaurenceYozi", "id": 107841252, "node_id": "U_kgDOBm2G5A", "avatar_url": "https://avatars.githubusercontent.com/u/107841252?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LaurenceYozi", "html_url": "https://github.com/LaurenceYozi", "followers_url": "https://api.github.com/use...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hey @LaurenceYozi\r\n\r\nIndeed! The MSE loss is not implemented. Would you like to open a PR to add this? You can refer to BERT for the loss function/labels logic:\r\nhttps://github.com/huggingface/transformers/blob/cfd623a859890c6d106610d3c688064eadc7bd61/src/transformers/models/bert/modeling_bert.py#L1578-L1598...
1,660
1,665
1,665
NONE
null
### System Info modeling_wav2vec2.py : 1822 lines only implements CrossEntropyLoss() if labels is not None: loss_fct = CrossEntropyLoss() loss = loss_fct(logits.view(-1, self.config.num_labels), labels.view(-1)) labels (torch.LongTensor of shape (batch_size,), optional) — Labels for ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18552/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18552/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18551
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18551/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18551/comments
https://api.github.com/repos/huggingface/transformers/issues/18551/events
https://github.com/huggingface/transformers/pull/18551
1,333,910,647
PR_kwDOCUB6oc4869QK
18,551
PEGASUS-X
{ "login": "zphang", "id": 1668462, "node_id": "MDQ6VXNlcjE2Njg0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/1668462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zphang", "html_url": "https://github.com/zphang", "followers_url": "https://api.github.com/users/zphang/foll...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "cc @ArthurZucker ", "On it 🤗", "I can follow up on the rest of the feedback this weekend / early next week: most of it looks manageable.\r\n\r\nOne comment on `DimensionInfo`: I use it to capture all of the shape-related attribu...
1,660
1,667
1,662
CONTRIBUTOR
null
# What does this PR do? Adds [PEGASUS-X](https://arxiv.org/abs/2208.04347) implementation. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18551/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18551/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18551", "html_url": "https://github.com/huggingface/transformers/pull/18551", "diff_url": "https://github.com/huggingface/transformers/pull/18551.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18551.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18550
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18550/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18550/comments
https://api.github.com/repos/huggingface/transformers/issues/18550/events
https://github.com/huggingface/transformers/pull/18550
1,333,891,537
PR_kwDOCUB6oc4865QL
18,550
Update philosophy to include other preprocessing classes
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,660
1,660
1,660
MEMBER
null
This PR removes the emphasis on NLP and focuses more on `transformers` being designed for all modalities.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18550/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18550/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18550", "html_url": "https://github.com/huggingface/transformers/pull/18550", "diff_url": "https://github.com/huggingface/transformers/pull/18550.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18550.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18549
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18549/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18549/comments
https://api.github.com/repos/huggingface/transformers/issues/18549/events
https://github.com/huggingface/transformers/issues/18549
1,333,784,900
I_kwDOCUB6oc5Pf_FE
18,549
fail to import import transformers.trainer due to libssl.so.10: cannot open shared object file: No such file or directory
{ "login": "xxiexuezhi", "id": 23486817, "node_id": "MDQ6VXNlcjIzNDg2ODE3", "avatar_url": "https://avatars.githubusercontent.com/u/23486817?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xxiexuezhi", "html_url": "https://github.com/xxiexuezhi", "followers_url": "https://api.github.com/use...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "I am not exacly sure how solve it. But bascially I tried all combination from pip and conda and somehow it works.", "I don't think this should be closed as I'm getting the same error on `continuumio/anaconda3` after `conda install -c huggingface transformers` but `pip install transformers` did work.", "Got the...
1,660
1,705
1,660
NONE
null
### System Info Traceback (most recent call last): File "/home/xxie92/anaconda3/envs/sema/lib/python3.8/site-packages/transformers/utils/import_utils.py", line 1002, in _get_module return importlib.import_module("." + module_name, self.__name__) File "/home/xxie92/anaconda3/envs/sema/lib/python3.8/imp...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18549/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/18549/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18548
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18548/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18548/comments
https://api.github.com/repos/huggingface/transformers/issues/18548/events
https://github.com/huggingface/transformers/pull/18548
1,333,779,735
PR_kwDOCUB6oc486hDw
18,548
Update documentation build section
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,660
1,660
1,660
MEMBER
null
This PR updates the `build_doc` with the `build_pr_documentation` job and how to see where things went wrong if the job fails.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18548/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18548/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18548", "html_url": "https://github.com/huggingface/transformers/pull/18548", "diff_url": "https://github.com/huggingface/transformers/pull/18548.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18548.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18547
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18547/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18547/comments
https://api.github.com/repos/huggingface/transformers/issues/18547/events
https://github.com/huggingface/transformers/pull/18547
1,333,511,548
PR_kwDOCUB6oc485oiT
18,547
Fix memory leak issue in `torch_fx` tests
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "- without new process\r\n - 2~3 minutes for 100 runs\r\n - 15 MB leak per run\r\n\r\n- with `fork`\r\n - 5 minutes for 100 runs\r\n - 1 MB leak per run\r\n - hangs if `MKL_NUM_THREADS` > 1\r\n\r\n- with `spawn`\r\n - 30 minutes...
1,660
1,661
1,661
COLLABORATOR
null
# What does this PR do? ~~**Question**: On GPU VMs, we have to use `spawn`, see [here](https://github.com/huggingface/transformers/pull/18547#issuecomment-1210375716). However, it still hangs with `spawn` (I can't figure out this yet). Should we have 2 branches: one using new process for CPU VM (on CircleCI), and an...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18547/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18547/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18547", "html_url": "https://github.com/huggingface/transformers/pull/18547", "diff_url": "https://github.com/huggingface/transformers/pull/18547.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18547.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18546
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18546/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18546/comments
https://api.github.com/repos/huggingface/transformers/issues/18546/events
https://github.com/huggingface/transformers/pull/18546
1,333,469,507
PR_kwDOCUB6oc485ffj
18,546
TF: XLA-trainable DeBERTa v2
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@gante I think it's better to replace \r\n\r\n```python\r\nflat_x = tf.reshape(x, (-1, x.shape[-1]))\r\nflat_indices = tf.reshape(indices, (-1, indices.shape[-1]))\r\ngathered = tf.gather(flat_x, flat_indices, batch_dims=1)\r\ngather...
1,660
1,660
1,660
MEMBER
null
# What does this PR do? As discussed in https://github.com/huggingface/transformers/issues/18476 and https://github.com/huggingface/transformers/issues/18239, there are two problems while training DeBERTa v2 with TensorFlow: 1. `TFDebertaV2StableDropout` doesn't work at training time (actually, its logic is only tr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18546/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18546/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18546", "html_url": "https://github.com/huggingface/transformers/pull/18546", "diff_url": "https://github.com/huggingface/transformers/pull/18546.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18546.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18545
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18545/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18545/comments
https://api.github.com/repos/huggingface/transformers/issues/18545/events
https://github.com/huggingface/transformers/pull/18545
1,333,406,463
PR_kwDOCUB6oc485See
18,545
Preserve hub-related kwargs in AutoModel.from_pretrained
{ "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,660
1,660
1,660
COLLABORATOR
null
# What does this PR do? As was reported in #18537, when using `AutoConfig` inside the `AutoModel.from_pretrained` method, some kwargs are deleted and not passed to the `from_pretrained` method of the model. This PR makes sure they are preserved for those calls. Fixes #18537
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18545/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18545/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18545", "html_url": "https://github.com/huggingface/transformers/pull/18545", "diff_url": "https://github.com/huggingface/transformers/pull/18545.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18545.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18544
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18544/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18544/comments
https://api.github.com/repos/huggingface/transformers/issues/18544/events
https://github.com/huggingface/transformers/pull/18544
1,333,306,248
PR_kwDOCUB6oc48488C
18,544
german docs translation
{ "login": "flozi00", "id": 47894090, "node_id": "MDQ6VXNlcjQ3ODk0MDkw", "avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4", "gravatar_id": "", "url": "https://api.github.com/users/flozi00", "html_url": "https://github.com/flozi00", "followers_url": "https://api.github.com/users/flozi0...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I think it's preferable to use the more formal option, but in most cases, I'd prefer to reformulate the sentences to use the first person plural (wir) unless the sentence actually describes an action the user has to take. We're using...
1,660
1,660
1,660
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/18544/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18544/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18544", "html_url": "https://github.com/huggingface/transformers/pull/18544", "diff_url": "https://github.com/huggingface/transformers/pull/18544.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18544.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18543
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18543/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18543/comments
https://api.github.com/repos/huggingface/transformers/issues/18543/events
https://github.com/huggingface/transformers/issues/18543
1,333,093,537
I_kwDOCUB6oc5PdWSh
18,543
Typo in configuration
{ "login": "ariG23498", "id": 36856589, "node_id": "MDQ6VXNlcjM2ODU2NTg5", "avatar_url": "https://avatars.githubusercontent.com/u/36856589?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ariG23498", "html_url": "https://github.com/ariG23498", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nthanks for spotting, feel free to fix it in #18020 ", "Will do!", "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 g...
1,660
1,663
1,663
CONTRIBUTOR
null
Hey @NielsRogge I found an inconsistency in the documentation and the code for configuration of GroupViT. The default for `num_output_groups` is `[64, 8, 8]` (notice the last element in the list), while that documented is `[64, 8, 0]`. It would be great if we could make the two consistent. https://github.com/hug...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18543/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18543/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18542
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18542/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18542/comments
https://api.github.com/repos/huggingface/transformers/issues/18542/events
https://github.com/huggingface/transformers/pull/18542
1,333,036,490
PR_kwDOCUB6oc484Ce0
18,542
[Test] Fix redirected links issue
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This should be fixed upstream (there's an open issue IIRC)", "Okay I see! I think that you are referring to this issue: https://github.com/huggingface/transformers/issues/17582 posting it here for visibility!\r\nI can't see any rel...
1,660
1,660
1,660
CONTRIBUTOR
null
# What does this PR do? This PR tries to address the issue of loading a model when the original link is redirected. This happened for BLOOM models where the repo ids has been changed but the code does not take into account redirected links. I am not sure how to properly test if this does not break anything so I am...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18542/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18542/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18542", "html_url": "https://github.com/huggingface/transformers/pull/18542", "diff_url": "https://github.com/huggingface/transformers/pull/18542.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18542.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18541
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18541/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18541/comments
https://api.github.com/repos/huggingface/transformers/issues/18541/events
https://github.com/huggingface/transformers/pull/18541
1,332,997,048
PR_kwDOCUB6oc4836A1
18,541
Minor update of `run_call_with_unpacked_inputs`
{ "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._", "Thanks for making the change 👍 " ]
1,660
1,662
1,660
COLLABORATOR
null
# What does this PR do? Use `type(self).__name__` instead of `str(self).lower()`. This is a follow-up of [this comment](https://github.com/huggingface/transformers/pull/18097#discussion_r926907848) by @gante.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18541/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18541/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18541", "html_url": "https://github.com/huggingface/transformers/pull/18541", "diff_url": "https://github.com/huggingface/transformers/pull/18541.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18541.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18540
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18540/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18540/comments
https://api.github.com/repos/huggingface/transformers/issues/18540/events
https://github.com/huggingface/transformers/pull/18540
1,332,911,923
PR_kwDOCUB6oc483nrS
18,540
BART - Fix attention mask device issue on copied models
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I guess the reason we did not see it yet for other models using the same attention mask pre-processing function is that those models does not support `device_map=auto` yet (tried it with PegasusForCausalLM only) ", "BART slow tests...
1,660
1,660
1,660
CONTRIBUTOR
null
# What does this PR do? This PR fixes a small issue when combining `device_map=auto` and OPT. When running the script below (tested it on my VM + Google Colab) (`pip install accelerate && pip install transformers`) ``` from transformers import AutoModelForCausalLM, AutoTokenizer MAX_NEW_TOKENS = 128 model_na...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18540/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/18540/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18540", "html_url": "https://github.com/huggingface/transformers/pull/18540", "diff_url": "https://github.com/huggingface/transformers/pull/18540.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18540.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18539
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18539/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18539/comments
https://api.github.com/repos/huggingface/transformers/issues/18539/events
https://github.com/huggingface/transformers/issues/18539
1,332,784,120
I_kwDOCUB6oc5PcKv4
18,539
Thoughts on updating package metadata
{ "login": "ofek", "id": 9677399, "node_id": "MDQ6VXNlcjk2NzczOTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9677399?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ofek", "html_url": "https://github.com/ofek", "followers_url": "https://api.github.com/users/ofek/followers", ...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,660
1,663
1,663
NONE
null
### Feature request Switch to modern Python packaging standards. ### Motivation The Python packaging ecosystem has standardized on the interface for build backends ([PEP 517](https://peps.python.org/pep-0517/)/[PEP 660](https://peps.python.org/pep-0660/)) and the format for metadata declaration ([PEP 621](https://pe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18539/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/18539/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18538
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18538/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18538/comments
https://api.github.com/repos/huggingface/transformers/issues/18538/events
https://github.com/huggingface/transformers/issues/18538
1,332,721,088
I_kwDOCUB6oc5Pb7XA
18,538
AttributeError: 'LayoutLMForTokenClassification' object has no attribute 'config'
{ "login": "blueprintparadise", "id": 29310954, "node_id": "MDQ6VXNlcjI5MzEwOTU0", "avatar_url": "https://avatars.githubusercontent.com/u/29310954?v=4", "gravatar_id": "", "url": "https://api.github.com/users/blueprintparadise", "html_url": "https://github.com/blueprintparadise", "followers_url": "https...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi,\r\n\r\nThis question seems better suited for our [forum](https://discuss.huggingface.co/). Would you be able to post your question there?\r\n\r\nThanks!", "ok sir" ]
1,660
1,660
1,660
NONE
null
### System Info Adding image embeddings to layoutLM makes the model unconvertable After following the - https://colab.research.google.com/github/NielsRogge/Transformers-Tutorials/blob/master/LayoutLM/Add_image_embeddings_to_LayoutLM.ipynb I wanted to convert the .pt model to onnx. The issue is that the changes ma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18538/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18538/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18537
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18537/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18537/comments
https://api.github.com/repos/huggingface/transformers/issues/18537/events
https://github.com/huggingface/transformers/issues/18537
1,332,563,034
I_kwDOCUB6oc5PbUxa
18,537
AutoModel(s) do not respect the `revision` flag while loading custom models
{ "login": "ankrgyl", "id": 565363, "node_id": "MDQ6VXNlcjU2NTM2Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/565363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ankrgyl", "html_url": "https://github.com/ankrgyl", "followers_url": "https://api.github.com/users/ankrgyl/fo...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "cc @sgugger ", "Thanks for flagging! The PR linked above should solve this.", "Appreciate the quick turnaround :)" ]
1,660
1,660
1,660
CONTRIBUTOR
null
### System Info - `transformers` version: 4.21.1 - Platform: macOS-12.4-arm64-arm-64bit - Python version: 3.10.5 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.1 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not inst...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18537/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18537/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18536
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18536/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18536/comments
https://api.github.com/repos/huggingface/transformers/issues/18536/events
https://github.com/huggingface/transformers/pull/18536
1,332,509,345
PR_kwDOCUB6oc482Rpu
18,536
Propose file change
{ "login": "NoelBram", "id": 49926511, "node_id": "MDQ6VXNlcjQ5OTI2NTEx", "avatar_url": "https://avatars.githubusercontent.com/u/49926511?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NoelBram", "html_url": "https://github.com/NoelBram", "followers_url": "https://api.github.com/users/Noe...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18536). 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,660
1,663
1,663
NONE
null
I am looking to start contributing to OSS on GitHub and trying it out first with some simple grammar fixes.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18536/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18536/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18536", "html_url": "https://github.com/huggingface/transformers/pull/18536", "diff_url": "https://github.com/huggingface/transformers/pull/18536.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18536.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18535
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18535/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18535/comments
https://api.github.com/repos/huggingface/transformers/issues/18535/events
https://github.com/huggingface/transformers/pull/18535
1,332,494,659
PR_kwDOCUB6oc482OY1
18,535
Update Metrics in docs with Evaluate
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,660
1,660
MEMBER
null
This PR updates the fine-tuning tutorial to use Evaluate instead of Metrics 🙂
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18535/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18535/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18535", "html_url": "https://github.com/huggingface/transformers/pull/18535", "diff_url": "https://github.com/huggingface/transformers/pull/18535.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18535.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18534
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18534/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18534/comments
https://api.github.com/repos/huggingface/transformers/issues/18534/events
https://github.com/huggingface/transformers/pull/18534
1,332,404,376
PR_kwDOCUB6oc4816fy
18,534
Use commit hash to look in cache instead of calling head
{ "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,659
1,660
1,660
COLLABORATOR
null
# What does this PR do? This PR tries to limit the calls to requests.head made for cached models every time we try to load them. Currently on the main branch, a call to the following objects results to the following number of underlying calls to the API: - AutoConfig: 1 (fiou) - AutoModel: 2 (model + config) - Au...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18534/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/18534/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18534", "html_url": "https://github.com/huggingface/transformers/pull/18534", "diff_url": "https://github.com/huggingface/transformers/pull/18534.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18534.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18533
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18533/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18533/comments
https://api.github.com/repos/huggingface/transformers/issues/18533/events
https://github.com/huggingface/transformers/pull/18533
1,332,171,845
PR_kwDOCUB6oc481HzN
18,533
Add ConvNeXt Mask R-CNN
{ "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
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,659
1,667
1,667
CONTRIBUTOR
null
# What does this PR do? This PR is an initial draft for implementing the classic Mask R-CNN framework with ConvNeXt as backbone. The framework is implemented in a single script, with the exception of 3 files (for now): * assign_result.py * losses.py * mask_target.py As we have a one model, one file policy,...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18533/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18533/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18533", "html_url": "https://github.com/huggingface/transformers/pull/18533", "diff_url": "https://github.com/huggingface/transformers/pull/18533.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18533.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18532
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18532/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18532/comments
https://api.github.com/repos/huggingface/transformers/issues/18532/events
https://github.com/huggingface/transformers/pull/18532
1,332,085,347
PR_kwDOCUB6oc4801Hv
18,532
Update perf_train_gpu_one.mdx
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
Fixes doc newlines (which is causing markdown parser errors) preview rendering correctly: <img width="500" alt="Screenshot 2022-08-08 at 18 35 08" src="https://user-images.githubusercontent.com/11827707/183468189-0be58ab5-b1fa-4a98-a4f4-ae4751960933.png">
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18532/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18532/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18532", "html_url": "https://github.com/huggingface/transformers/pull/18532", "diff_url": "https://github.com/huggingface/transformers/pull/18532.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18532.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18531
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18531/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18531/comments
https://api.github.com/repos/huggingface/transformers/issues/18531/events
https://github.com/huggingface/transformers/pull/18531
1,332,079,285
PR_kwDOCUB6oc480zzy
18,531
Update BLOOM parameter counts
{ "login": "Muennighoff", "id": 62820084, "node_id": "MDQ6VXNlcjYyODIwMDg0", "avatar_url": "https://avatars.githubusercontent.com/u/62820084?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Muennighoff", "html_url": "https://github.com/Muennighoff", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi @Muennighoff !\r\nThanks for the fix, just FI the original model sizes were taken from: https://github.com/bigscience-workshop/bigscience/tree/master/train/tr11-176B-ml/smaller_models \r\nAnd I am afraid changing model names can lead to some breaking changes (thinking especially of all the Spaces that are using...
1,659
1,660
1,660
CONTRIBUTOR
null
Update parameter counts of BLOOM models. The original counts were incorrect & have already been updated on the hub. I can't add reviewers, but @younesbelkada @thomasw21 may want to review Script for counting: ```python def count_parameters(model): return sum(p.numel() for p in model.parameters() if p.requir...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18531/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18531/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18531", "html_url": "https://github.com/huggingface/transformers/pull/18531", "diff_url": "https://github.com/huggingface/transformers/pull/18531.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18531.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18530
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18530/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18530/comments
https://api.github.com/repos/huggingface/transformers/issues/18530/events
https://github.com/huggingface/transformers/issues/18530
1,332,045,752
I_kwDOCUB6oc5PZWe4
18,530
[New Model] Donut: Document Understanding Transformer
{ "login": "WaterKnight1998", "id": 41203448, "node_id": "MDQ6VXNlcjQxMjAzNDQ4", "avatar_url": "https://avatars.githubusercontent.com/u/41203448?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WaterKnight1998", "html_url": "https://github.com/WaterKnight1998", "followers_url": "https://api...
[ { "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
[]
[ "See #18488 ", "Cool to see you working there, thank you very much =D" ]
1,659
1,659
1,659
NONE
null
### Model description Donut doughnut, Document understanding transformer, is a new method of document understanding that utilizes an OCR-free end-to-end Transformer model. Donut does not require off-the-shelf OCR engines/APIs, yet it shows state-of-the-art performances on various visual document understanding tasks, s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18530/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/18530/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18529
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18529/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18529/comments
https://api.github.com/repos/huggingface/transformers/issues/18529/events
https://github.com/huggingface/transformers/pull/18529
1,332,014,565
PR_kwDOCUB6oc480l1j
18,529
Fix ORTTrainer failure on DeBERTa(base/v2/sew_d) fp16 training
{ "login": "JingyaHuang", "id": 44135271, "node_id": "MDQ6VXNlcjQ0MTM1Mjcx", "avatar_url": "https://avatars.githubusercontent.com/u/44135271?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JingyaHuang", "html_url": "https://github.com/JingyaHuang", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18529). All of your documentation changes will be reflected on that endpoint.", "close as it turned to be too messy even after rebasing. " ]
1,659
1,661
1,660
CONTRIBUTOR
null
# What does this PR do? __Context__ It was reported in optimum https://github.com/huggingface/optimum/issues/305 that the training on DeBERTa with optimum.onnxruntime.ORTTrainer is broken. After investigation, the break comes from two causes: * At that time `XDropOut` didn't have a symbolic function. And it ha...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18529/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18529/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18529", "html_url": "https://github.com/huggingface/transformers/pull/18529", "diff_url": "https://github.com/huggingface/transformers/pull/18529.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18529.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18528
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18528/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18528/comments
https://api.github.com/repos/huggingface/transformers/issues/18528/events
https://github.com/huggingface/transformers/issues/18528
1,332,004,992
I_kwDOCUB6oc5PZMiA
18,528
[New Model] LiLT: A Simple yet Effective Language-Independent Layout Transformer for Structured Document Understanding
{ "login": "WaterKnight1998", "id": 41203448, "node_id": "MDQ6VXNlcjQxMjAzNDQ4", "avatar_url": "https://avatars.githubusercontent.com/u/41203448?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WaterKnight1998", "html_url": "https://github.com/WaterKnight1998", "followers_url": "https://api...
[ { "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\nthanks for your great effort. Contact me if any problem encountered :)", "Closing as it has been added in #19450 " ]
1,659
1,666
1,666
NONE
null
### Model description Structured document understanding has attracted considerable attention and made significant progress recently, owing to its crucial role in intelligent document processing. However, most existing related models can only deal with the document data of specific language(s) (typically English) inclu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18528/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18528/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18527
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18527/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18527/comments
https://api.github.com/repos/huggingface/transformers/issues/18527/events
https://github.com/huggingface/transformers/pull/18527
1,331,933,312
PR_kwDOCUB6oc480UVe
18,527
unpin resampy
{ "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._", "Looks good! The test running time is also normal." ]
1,659
1,659
1,659
COLLABORATOR
null
# What does this PR do? unpin resampy
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18527/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18527/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18527", "html_url": "https://github.com/huggingface/transformers/pull/18527", "diff_url": "https://github.com/huggingface/transformers/pull/18527.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18527.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18526
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18526/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18526/comments
https://api.github.com/repos/huggingface/transformers/issues/18526/events
https://github.com/huggingface/transformers/pull/18526
1,331,918,723
PR_kwDOCUB6oc480RLN
18,526
Specify en in doc-builder README example
{ "login": "ankrgyl", "id": 565363, "node_id": "MDQ6VXNlcjU2NTM2Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/565363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ankrgyl", "html_url": "https://github.com/ankrgyl", "followers_url": "https://api.github.com/users/ankrgyl/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? Corrects a small typo in the docs README Fixes #18508 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONT...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18526/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18526/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18526", "html_url": "https://github.com/huggingface/transformers/pull/18526", "diff_url": "https://github.com/huggingface/transformers/pull/18526.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18526.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18525
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18525/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18525/comments
https://api.github.com/repos/huggingface/transformers/issues/18525/events
https://github.com/huggingface/transformers/issues/18525
1,331,914,135
I_kwDOCUB6oc5PY2WX
18,525
[Summary] Regarding memory issue in tests
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[ { "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.githu...
[ "**TensorFlow hangs if a TF model is forked**\r\n\r\nThis will hangs\r\n\r\n```python\r\nimport tensorflow as tf\r\nfrom transformers import TFDistilBertModel, DistilBertConfig\r\nimport multiprocessing\r\n\r\nconfig = DistilBertConfig()\r\nconfig.n_layers = 1\r\nconfig.n_heads = 2\r\nconfig.dim = 4\r\nconfig.hidde...
1,659
1,663
null
COLLABORATOR
null
### Description This is a short summary of the memory issue in our tests ### The following tests definitely have memory issues - PyTorch (increase ~`15 MB` each call): - test_torch_fx - test_torch_fx_output_loss - TensorFlow: - test_xla_fit - test_xla_generate_fast (increase ~`100 MB` each call) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18525/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18525/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/18524
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18524/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18524/comments
https://api.github.com/repos/huggingface/transformers/issues/18524/events
https://github.com/huggingface/transformers/pull/18524
1,331,892,811
PR_kwDOCUB6oc480LnP
18,524
Add EntityPairClassification Pipeline, AutoClass & LUKE ONNX Support
{ "login": "kayvane1", "id": 42403093, "node_id": "MDQ6VXNlcjQyNDAzMDkz", "avatar_url": "https://avatars.githubusercontent.com/u/42403093?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kayvane1", "html_url": "https://github.com/kayvane1", "followers_url": "https://api.github.com/users/kay...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18524). All of your documentation changes will be reflected on that endpoint.", "Hi @NielsRogge - what next steps would you suggest?\r\nHappy to make updates to the PR", "I don't think it makes sense to create an auto-map...
1,659
1,665
1,665
NONE
null
# What does this PR do? This PR started out in adding support for Luke in ONNX. To not break existing AutoPatterns in [FeaturesManager](src/transformers/onnx/features.py), [AutoModelForEntityPairClassification](src/transformers/models/auto/modeling_auto.py) has also been added. Additionally, a pipeline for [En...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18524/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18524/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18524", "html_url": "https://github.com/huggingface/transformers/pull/18524", "diff_url": "https://github.com/huggingface/transformers/pull/18524.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18524.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18523
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18523/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18523/comments
https://api.github.com/repos/huggingface/transformers/issues/18523/events
https://github.com/huggingface/transformers/pull/18523
1,331,881,726
PR_kwDOCUB6oc480JNd
18,523
[VideoMAE] Add model to doc tests
{ "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._", "Hi @NielsRogge , it is this file to add\r\n\r\n```\r\ndocker/transformers-all-latest-gpu/Dockerfile\r\n```", "(The image will only be built tonight)\r\n\r\nIf you want to build it now + even run the doctest to make sure it works, ...
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? This PR fixes the fact that VideoMAE supports the doc tests, but wasn't actually run. cc @ydshieh, could you point me where I need to add pip install decord to the setup of the machine that runs the doc tests?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18523/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18523/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18523", "html_url": "https://github.com/huggingface/transformers/pull/18523", "diff_url": "https://github.com/huggingface/transformers/pull/18523.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18523.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18522
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18522/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18522/comments
https://api.github.com/repos/huggingface/transformers/issues/18522/events
https://github.com/huggingface/transformers/pull/18522
1,331,879,743
PR_kwDOCUB6oc480Ixu
18,522
New cache fixes: add safeguard before looking in folders
{ "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,659
1,659
1,659
COLLABORATOR
null
# What does this PR do? This PR adds a few fixes in the new cache functions, mainly to not call `os.listdir` on a folder that does not exist Fixes #18517
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18522/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18522/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18522", "html_url": "https://github.com/huggingface/transformers/pull/18522", "diff_url": "https://github.com/huggingface/transformers/pull/18522.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18522.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18521
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18521/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18521/comments
https://api.github.com/repos/huggingface/transformers/issues/18521/events
https://github.com/huggingface/transformers/pull/18521
1,331,853,920
PR_kwDOCUB6oc480DGh
18,521
update fsdp docs
{ "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? 1. updates FSDP doc to reflect the recently integrated features.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18521/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18521/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18521", "html_url": "https://github.com/huggingface/transformers/pull/18521", "diff_url": "https://github.com/huggingface/transformers/pull/18521.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18521.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18520
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18520/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18520/comments
https://api.github.com/repos/huggingface/transformers/issues/18520/events
https://github.com/huggingface/transformers/pull/18520
1,331,731,498
PR_kwDOCUB6oc48zobp
18,520
Image transforms library
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "@sgugger @NielsRogge @alaradirik @LysandreJik Adding you all for a first-pass review for the draft ImageProcessor work. This PR is failing because it's not safely importing e.g. `PIL` if it's not available, but the core logic shouldn't change. I'll add you to the follow up PRs too. Note: `ImageProcessor` has only...
1,659
1,665
1,665
COLLABORATOR
null
# What does this PR do? This is the first of a series of PRs to replace feature extractors with image processors for vision models. Create a new module `image_transforms.py` that will contain functions for transforming images e.g. `resize`. The functions are designed to: * Accept numpy arrays. * Return n...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18520/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18520/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18520", "html_url": "https://github.com/huggingface/transformers/pull/18520", "diff_url": "https://github.com/huggingface/transformers/pull/18520.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18520.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18519
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18519/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18519/comments
https://api.github.com/repos/huggingface/transformers/issues/18519/events
https://github.com/huggingface/transformers/pull/18519
1,331,672,790
PR_kwDOCUB6oc48zbe0
18,519
Add seed setting to image classification example
{ "login": "regisss", "id": 15324346, "node_id": "MDQ6VXNlcjE1MzI0MzQ2", "avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4", "gravatar_id": "", "url": "https://api.github.com/users/regisss", "html_url": "https://github.com/regisss", "followers_url": "https://api.github.com/users/regiss...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
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/18519/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18519/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18519", "html_url": "https://github.com/huggingface/transformers/pull/18519", "diff_url": "https://github.com/huggingface/transformers/pull/18519.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18519.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18518
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18518/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18518/comments
https://api.github.com/repos/huggingface/transformers/issues/18518/events
https://github.com/huggingface/transformers/issues/18518
1,331,668,263
I_kwDOCUB6oc5PX6Un
18,518
onnx run error at translation model
{ "login": "xyx361100238", "id": 19569322, "node_id": "MDQ6VXNlcjE5NTY5MzIy", "avatar_url": "https://avatars.githubusercontent.com/u/19569322?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xyx361100238", "html_url": "https://github.com/xyx361100238", "followers_url": "https://api.github.c...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hey @regisss @JingyaHuang @michaelbenayoun, do you have ideas about what might be happening there? I never used onnxruntime's `InferenceSession`.", "@xyx361100238 The error message says that the model requires 4 inputs but you are providing only 2 of them. Either you need to provide the missing inputs, or you n...
1,659
1,669
1,662
NONE
null
### System Info - `transformers` version: 4.17.0 - Platform: Linux-5.4.0-122-generic-x86_64-with-debian-bullseye-sid - Python version: 3.7.11 - PyTorch version (GPU?): 1.8.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/18518/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18518/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18517
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18517/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18517/comments
https://api.github.com/repos/huggingface/transformers/issues/18517/events
https://github.com/huggingface/transformers/issues/18517
1,331,655,054
I_kwDOCUB6oc5PX3GO
18,517
layoutlmv3 processor
{ "login": "rihabfounoun", "id": 74436019, "node_id": "MDQ6VXNlcjc0NDM2MDE5", "avatar_url": "https://avatars.githubusercontent.com/u/74436019?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rihabfounoun", "html_url": "https://github.com/rihabfounoun", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "cc @sgugger ", "Is that the entire stacktrace, @founou-rihab ?" ]
1,659
1,659
1,659
NONE
null
### System Info ```shell The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`. There was a problem when trying to move your cache: File...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18517/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18517/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18516
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18516/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18516/comments
https://api.github.com/repos/huggingface/transformers/issues/18516/events
https://github.com/huggingface/transformers/pull/18516
1,331,618,844
PR_kwDOCUB6oc48zPyt
18,516
[DX fix] Fixing QA pipeline streaming a dataset.
{ "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._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? Linked to https://github.com/huggingface/transformers/issues/18510 Enabling nicer code. The dataset example of the docs : https://huggingface.co/docs/transformers/pipeline_tutorial#audio-pipeline Wouldn't work as nicely on QA because of `QuestionAnsweringArgumentHandler`. This han...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18516/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18516/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18516", "html_url": "https://github.com/huggingface/transformers/pull/18516", "diff_url": "https://github.com/huggingface/transformers/pull/18516.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18516.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18515
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18515/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18515/comments
https://api.github.com/repos/huggingface/transformers/issues/18515/events
https://github.com/huggingface/transformers/pull/18515
1,331,540,406
PR_kwDOCUB6oc48y-9C
18,515
Adds CLIP to models exportable with ONNX
{ "login": "unography", "id": 5240449, "node_id": "MDQ6VXNlcjUyNDA0NDk=", "avatar_url": "https://avatars.githubusercontent.com/u/5240449?v=4", "gravatar_id": "", "url": "https://api.github.com/users/unography", "html_url": "https://github.com/unography", "followers_url": "https://api.github.com/users/un...
[]
closed
false
null
[]
[ "Hi, @unography. Could you give us a more detailed traceback, please?\r\n\r\nIt's hard to say without the script command and the full traceback.", "> Hi, @unography. Could you give us a more detailed traceback, please?\r\n> \r\n> It's hard to say without the script command and the full traceback.\r\n\r\nthis is t...
1,659
1,660
1,660
CONTRIBUTOR
null
This isn't currently working, getting an error while validating the model - ``` onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type. Actual: (tensor(float)) , expected: (tensor(int64)) ``` Environment: Pytorch: 1.13.0.dev20220806 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18515/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18515/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18515", "html_url": "https://github.com/huggingface/transformers/pull/18515", "diff_url": "https://github.com/huggingface/transformers/pull/18515.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18515.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18514
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18514/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18514/comments
https://api.github.com/repos/huggingface/transformers/issues/18514/events
https://github.com/huggingface/transformers/pull/18514
1,331,492,617
PR_kwDOCUB6oc48y0ob
18,514
unpin torch to use 1.12.1
{ "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._", "Let's maybe add a `!=1.12.0` as well. cc @sgugger, who also has a PR open here: https://github.com/huggingface/transformers/pull/17925", "Here are the tests to fix before we can use 1.12.1\r\n\r\n - tests/models/tapas/test_modelin...
1,659
1,662
1,659
COLLABORATOR
null
# What does this PR do? unpin torch to use 1.12.1
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18514/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18514/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18514", "html_url": "https://github.com/huggingface/transformers/pull/18514", "diff_url": "https://github.com/huggingface/transformers/pull/18514.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18514.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18513
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18513/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18513/comments
https://api.github.com/repos/huggingface/transformers/issues/18513/events
https://github.com/huggingface/transformers/issues/18513
1,331,073,716
I_kwDOCUB6oc5PVpK0
18,513
VisionEncoderDecoderModel gradient checkpointing
{ "login": "metemadi", "id": 4220153, "node_id": "MDQ6VXNlcjQyMjAxNTM=", "avatar_url": "https://avatars.githubusercontent.com/u/4220153?v=4", "gravatar_id": "", "url": "https://api.github.com/users/metemadi", "html_url": "https://github.com/metemadi", "followers_url": "https://api.github.com/users/metem...
[]
closed
false
null
[]
[ "@NielsRogge, have you seen such examples? :)", "Here's a PR that added gradient checkpointing to T5: https://github.com/huggingface/transformers/pull/11353/files", "Fixed per #18697" ]
1,659
1,661
1,661
NONE
null
### Feature request Would love to be able to use gradient checkpointing on VisionEncoderDecoder model. >>> model.gradient_checkpointing_enable() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/conda/lib/python3.8/site-packages/transformers/modeling_utils.py", line 1418, in gr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18513/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18513/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18512
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18512/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18512/comments
https://api.github.com/repos/huggingface/transformers/issues/18512/events
https://github.com/huggingface/transformers/pull/18512
1,331,069,782
PR_kwDOCUB6oc48xbxs
18,512
Add Spanish translation of converting_tensorflow_models.mdx
{ "login": "donelianc", "id": 7807897, "node_id": "MDQ6VXNlcjc4MDc4OTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7807897?v=4", "gravatar_id": "", "url": "https://api.github.com/users/donelianc", "html_url": "https://github.com/donelianc", "followers_url": "https://api.github.com/users/do...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hola @omarespejel. This PR is ready for review. Can you help me here? Thx a lot!", "@donelianc muchas gracias for the translation! I added a few comments as a review 🚀.", "@omarespejel suggested changes done 😀", "Muchas graci...
1,659
1,659
1,659
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/18512/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18512/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18512", "html_url": "https://github.com/huggingface/transformers/pull/18512", "diff_url": "https://github.com/huggingface/transformers/pull/18512.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18512.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18511
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18511/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18511/comments
https://api.github.com/repos/huggingface/transformers/issues/18511/events
https://github.com/huggingface/transformers/issues/18511
1,330,953,352
I_kwDOCUB6oc5PVLyI
18,511
FSDP - TypeError: load_state_dict() got an unexpected keyword argument 'strict'
{ "login": "shrinath-suresh", "id": 63862647, "node_id": "MDQ6VXNlcjYzODYyNjQ3", "avatar_url": "https://avatars.githubusercontent.com/u/63862647?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shrinath-suresh", "html_url": "https://github.com/shrinath-suresh", "followers_url": "https://api...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
{ "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://api.github.com/users/...
[ { "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://a...
[ "Hello @shrinath-suresh , this issue has to be fixed from PyTorch side. The issue raised with PyTorch has been linked above.", "Also, when using `auto_wrap` please specify either `--fsdp_transformer_layer_cls_to_wrap <value>` or `--fsdp_min_num_params <number>` as part of cmd arguments. This is what enables shar...
1,659
1,665
1,663
NONE
null
### System Info ``` - `transformers` version: 4.22.0.dev0 - Platform: Linux-5.4.0-1072-aws-x86_64-with-debian-buster-sid - Python version: 3.7.10 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.0+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not in...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18511/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18511/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18510
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18510/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18510/comments
https://api.github.com/repos/huggingface/transformers/issues/18510/events
https://github.com/huggingface/transformers/issues/18510
1,330,928,879
I_kwDOCUB6oc5PVFzv
18,510
Tqdm not working with question-answering pipeline
{ "login": "Alex-apostolo", "id": 44866858, "node_id": "MDQ6VXNlcjQ0ODY2ODU4", "avatar_url": "https://avatars.githubusercontent.com/u/44866858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Alex-apostolo", "html_url": "https://github.com/Alex-apostolo", "followers_url": "https://api.githu...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi there,\r\n\r\nTry this:\r\n\r\n```python\r\nfrom tqdm.auto import tqdm\r\nfrom transformers import pipeline\r\nfrom datasets import load_dataset\r\n\r\ndataset = load_dataset('cuad', split='test')\r\ndataset = dataset.remove_columns(['id', 'title', 'answers'])\r\n\r\nbatch_size = 16\r\nnlp = pipeline(\"question...
1,659
1,659
1,659
NONE
null
### System Info Running inside a notebook on Google Colab - `transformers` version: 4.21.1 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.0+cu113 (True) - Tensorflow version (GPU?): 2.8.2 (True) - Flax version (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18510/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18510/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18509
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18509/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18509/comments
https://api.github.com/repos/huggingface/transformers/issues/18509/events
https://github.com/huggingface/transformers/issues/18509
1,330,895,368
I_kwDOCUB6oc5PU9oI
18,509
How to use run_glue.py with tensorboard?
{ "login": "Daromog", "id": 40415903, "node_id": "MDQ6VXNlcjQwNDE1OTAz", "avatar_url": "https://avatars.githubusercontent.com/u/40415903?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Daromog", "html_url": "https://github.com/Daromog", "followers_url": "https://api.github.com/users/Daromo...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Try using `--report_to tensorboard`" ]
1,659
1,660
1,660
NONE
null
### System Info I'm writting a folder path in --logging_dir but nothing is written there . I've tried with --logging_dir foldername --logging_dir pathtofolder But nothing works @LysandreJik @sgugger ### Who can help? @sgugger @LysandreJik ### Information - [X] The official example scrip...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18509/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18509/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18508
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18508/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18508/comments
https://api.github.com/repos/huggingface/transformers/issues/18508/events
https://github.com/huggingface/transformers/issues/18508
1,330,866,608
I_kwDOCUB6oc5PU2mw
18,508
Small typo in docs/README.md
{ "login": "ankrgyl", "id": 565363, "node_id": "MDQ6VXNlcjU2NTM2Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/565363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ankrgyl", "html_url": "https://github.com/ankrgyl", "followers_url": "https://api.github.com/users/ankrgyl/fo...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hey @ankrgyl! It seems that is correct! Would you like to open a PR to fix the problem? Happy to guide you through it if you need pointers; please ping @sgugger and myself on the PR. Thanks!", "Hi, `CONTRIBUTING.md` also requires a language such as \"en\" to be specified in the doc-builder. @ankrgyl @LysandreJik...
1,659
1,666
1,659
CONTRIBUTOR
null
### System Info Working on main (commit 9129fd0377e4d46cb2d0ea28dc1eb91a15f65b77). The suggested command: ``` doc-builder build transformers docs/source/ --build_dir ~/tmp/test-build ``` fails with: ``` FileNotFoundError: [Errno 2] No such file or directory: 'docs/source/_toctree.yml' ``` I think is...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18508/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18508/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18507
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18507/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18507/comments
https://api.github.com/repos/huggingface/transformers/issues/18507/events
https://github.com/huggingface/transformers/issues/18507
1,330,814,711
I_kwDOCUB6oc5PUp73
18,507
https://github.com/huggingface/transformers/blob/f0d496828d3da3bf1e3c8fbed394d7847e839fa6/src/transformers/models/funnel/modeling_funnel.py#L1004
{ "login": "Tharolzakariya", "id": 109880164, "node_id": "U_kgDOBoyjZA", "avatar_url": "https://avatars.githubusercontent.com/u/109880164?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Tharolzakariya", "html_url": "https://github.com/Tharolzakariya", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "This does not look like an issue :) Closing \r\n\r\nFeel free to reopen with the actual question." ]
1,659
1,660
1,660
NONE
null
https://github.com/huggingface/transformers/blob/f0d496828d3da3bf1e3c8fbed394d7847e839fa6/src/transformers/models/funnel/modeling_funnel.py#L1004
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18507/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18507/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18506
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18506/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18506/comments
https://api.github.com/repos/huggingface/transformers/issues/18506/events
https://github.com/huggingface/transformers/issues/18506
1,330,732,913
I_kwDOCUB6oc5PUV9x
18,506
bert-large-uncased gives `(1024) must match the size of tensor b (512) at non-singleton dimension 1` error
{ "login": "monk1337", "id": 17107749, "node_id": "MDQ6VXNlcjE3MTA3NzQ5", "avatar_url": "https://avatars.githubusercontent.com/u/17107749?v=4", "gravatar_id": "", "url": "https://api.github.com/users/monk1337", "html_url": "https://github.com/monk1337", "followers_url": "https://api.github.com/users/mon...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @monk1337 \r\nThe loaded model has a maximum sequence length of 512 tokens.\r\n\r\nIf you use:\r\n`model = BertModel.from_pretrained(\"bert-large-uncased\", max_position_embeddings=1024)`\r\nThe model won't be loaded because the loaded checkpoint also relies on 512 tokens (wrong tensor size).\r\n\r\nIf you set ...
1,659
1,663
1,663
NONE
null
### System Info Python : python3.6 "transformers_version": "4.18.0" ### Who can help? _No response_ ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (give ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18506/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18506/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18505
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18505/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18505/comments
https://api.github.com/repos/huggingface/transformers/issues/18505/events
https://github.com/huggingface/transformers/issues/18505
1,330,728,188
I_kwDOCUB6oc5PUUz8
18,505
Suppress `reset_parameters` of `torch.nn.Linear,Conv2d...` inside `no_init_weights`
{ "login": "YouJiacheng", "id": 83971976, "node_id": "MDQ6VXNlcjgzOTcxOTc2", "avatar_url": "https://avatars.githubusercontent.com/u/83971976?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YouJiacheng", "html_url": "https://github.com/YouJiacheng", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,659
1,702
1,702
CONTRIBUTOR
null
### Feature request `torch.nn.Linear,Conv2d...` will call `self.reset_parameters()` inside their `__init__`. I'd like to make `reset_parameters` be a no-op inside `no_init_weights` context manager. ### Motivation `no_init_weights` is used in `from_pretrained` to speed up loading large models. However, torch-built-...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18505/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18505/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18504
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18504/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18504/comments
https://api.github.com/repos/huggingface/transformers/issues/18504/events
https://github.com/huggingface/transformers/pull/18504
1,330,725,212
PR_kwDOCUB6oc48wZ0d
18,504
Restore _init_weights value in no_init_weights
{ "login": "YouJiacheng", "id": 83971976, "node_id": "MDQ6VXNlcjgzOTcxOTc2", "avatar_url": "https://avatars.githubusercontent.com/u/83971976?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YouJiacheng", "html_url": "https://github.com/YouJiacheng", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger has also been contributing extensively to that part of the code and might have something to say!", "Thanks a lot for iterating on this!" ]
1,659
1,660
1,660
CONTRIBUTOR
null
Fend for potential nested use, and match the intuitive expectation for context managers(). In addition, users might modify private no_init_weights as well. @patrickvonplaten @stas00
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18504/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18504/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18504", "html_url": "https://github.com/huggingface/transformers/pull/18504", "diff_url": "https://github.com/huggingface/transformers/pull/18504.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18504.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18503
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18503/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18503/comments
https://api.github.com/repos/huggingface/transformers/issues/18503/events
https://github.com/huggingface/transformers/issues/18503
1,330,715,745
I_kwDOCUB6oc5PURxh
18,503
Add Mask2Former
{ "login": "shivalikasingh95", "id": 73357305, "node_id": "MDQ6VXNlcjczMzU3MzA1", "avatar_url": "https://avatars.githubusercontent.com/u/73357305?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shivalikasingh95", "html_url": "https://github.com/shivalikasingh95", "followers_url": "https://...
[ { "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
[]
[ "@NielsRogge I'd like to work on adding this model if no one is working on it yet?", "cc'ing @alaradirik, yes we're planning to add this model. If you're interested in it, feel free to get started with a draft PR. Note that we already have [MaskFormer](https://github.com/huggingface/transformers/tree/main/src/tra...
1,659
1,668
null
CONTRIBUTOR
null
### Model description Mask2Former is a single architecture for panoptic, instance and semantic segmentation. **Mask2Former Paper Abstract**: Image segmentation is about grouping pixels with different semantics, e.g., category or instance membership, where each choice of semantics defines a task. While only the sem...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18503/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18503/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/18502
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18502/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18502/comments
https://api.github.com/repos/huggingface/transformers/issues/18502/events
https://github.com/huggingface/transformers/issues/18502
1,330,633,353
I_kwDOCUB6oc5PT9qJ
18,502
The Document of LongT5 confilcts with and its example code of prefix
{ "login": "GabrielLin", "id": 9721795, "node_id": "MDQ6VXNlcjk3MjE3OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/9721795?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GabrielLin", "html_url": "https://github.com/GabrielLin", "followers_url": "https://api.github.com/users...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "@stancld @patil-suraj Could you please help to solve this issue and tell me how to set and use special down tasks for LongT5? Thanks.", "Hi @GabrielLin, with LongT5 model no prefix should be added to the input sentence. The doc example seems not to be accurate.", "Hi, @stancld . Thank you for your reply. Could...
1,659
1,662
1,662
NONE
null
### System Info All. ### Who can help? @patrickvonplaten ### Reproduction See https://huggingface.co/docs/transformers/main/en/model_doc/longt5 ### Expected behavior In the above document, it said `Unlike the T5 model, LongT5 does not use a task prefix. Furthermore, it uses a different pre-trainin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18502/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18502/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18501
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18501/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18501/comments
https://api.github.com/repos/huggingface/transformers/issues/18501/events
https://github.com/huggingface/transformers/issues/18501
1,330,586,343
I_kwDOCUB6oc5PTyLn
18,501
Wav2Vec 2.0 model output logits related audio pad?
{ "login": "YooSungHyun", "id": 34292279, "node_id": "MDQ6VXNlcjM0MjkyMjc5", "avatar_url": "https://avatars.githubusercontent.com/u/34292279?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YooSungHyun", "html_url": "https://github.com/YooSungHyun", "followers_url": "https://api.github.com/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "cc @sanchit-gandhi as well", "@patrickvonplaten plz help!", "Hey @YooSungHyun!\r\n\r\nI too have experienced differences in eval WER results by changing my padding strategy. In this case, I changed how I bucketed my inputs from bins of 2s to 1.5s, and got a 0.5% WER improvement when training on LibriSpeech 100...
1,659
1,666
1,666
NONE
null
### System Info ubuntu 18.04 python 3.6, 3.9 transformers 1.18.0 ### Who can help? @patrickvonplaten, @anton-l ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] M...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18501/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18501/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18500
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18500/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18500/comments
https://api.github.com/repos/huggingface/transformers/issues/18500/events
https://github.com/huggingface/transformers/pull/18500
1,330,418,791
PR_kwDOCUB6oc48vlcp
18,500
Update to use interlibrary links instead of Markdown
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
MEMBER
null
This PR updates Markdown links to other HF libraries with the doc-builder's interlibrary links instead.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18500/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18500/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18500", "html_url": "https://github.com/huggingface/transformers/pull/18500", "diff_url": "https://github.com/huggingface/transformers/pull/18500.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18500.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18499
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18499/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18499/comments
https://api.github.com/repos/huggingface/transformers/issues/18499/events
https://github.com/huggingface/transformers/pull/18499
1,330,404,863
PR_kwDOCUB6oc48vi-z
18,499
Update feature extractor methods to enable type cast before normalize
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Looks good to me! If the changes per model are small enough, it would probably be best to change them all in the same PR, rather than doing individual ones.\r\n\r\n@sgugger Yep, I completely agree. The changes all together aren't t...
1,659
1,661
1,660
COLLABORATOR
null
# What does this PR do? At the moment, the return type of our feature extractors isn't always as expected or sometimes fails if a `do_xxx` config flag is set to `False`. This PR introduces the necessary changes to the `ImageFeatureExtractionMixin` methods such that we can modify the feature extractor calls to fix th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18499/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18499/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18499", "html_url": "https://github.com/huggingface/transformers/pull/18499", "diff_url": "https://github.com/huggingface/transformers/pull/18499.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18499.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18498
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18498/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18498/comments
https://api.github.com/repos/huggingface/transformers/issues/18498/events
https://github.com/huggingface/transformers/pull/18498
1,330,384,392
PR_kwDOCUB6oc48ve1p
18,498
Add example of multimodal usage to pipeline tutorial
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
MEMBER
null
As suggested by @NielsRogge, this PR adds a small example of how to use a multimodal pipeline (VQA) in the pipeline tutorial. 🙂
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18498/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18498/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18498", "html_url": "https://github.com/huggingface/transformers/pull/18498", "diff_url": "https://github.com/huggingface/transformers/pull/18498.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18498.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18497
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18497/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18497/comments
https://api.github.com/repos/huggingface/transformers/issues/18497/events
https://github.com/huggingface/transformers/pull/18497
1,330,364,505
PR_kwDOCUB6oc48vajV
18,497
Clean up 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._", "I still had an error mentioning `ImportError: cannot import name 'cached_path' from 'transformers.utils' `\r\n@ `tf.__version__ == '2.11.0'`. Is this related? What should i do?", "You should stop using that function, as it has been...
1,659
1,670
1,659
COLLABORATOR
null
# What does this PR do? This PR removes all uses of the old utils in Transformers to migrate to the new version using `cached_file`, and remove said utils from the Transformers library. It is slightly breaking since we remove objects (in particular `cached_path` is in the main init albeit not documented), but those...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18497/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/18497/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18497", "html_url": "https://github.com/huggingface/transformers/pull/18497", "diff_url": "https://github.com/huggingface/transformers/pull/18497.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18497.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18496
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18496/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18496/comments
https://api.github.com/repos/huggingface/transformers/issues/18496/events
https://github.com/huggingface/transformers/issues/18496
1,330,235,211
I_kwDOCUB6oc5PScdL
18,496
TF to ONNX export fails with large models
{ "login": "cchan-lm", "id": 88676609, "node_id": "MDQ6VXNlcjg4Njc2NjA5", "avatar_url": "https://avatars.githubusercontent.com/u/88676609?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cchan-lm", "html_url": "https://github.com/cchan-lm", "followers_url": "https://api.github.com/users/cch...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "cc @JingyaHuang @michaelbenayoun ", "If there are no onnx-level solutions, it may be due to TF1 code (embeddings) in our models -- see https://github.com/tensorflow/tensorflow/issues/45041\r\n\r\nRewriting embeddings into TF2 code is in our to do list, which may fix this issue.", "TF2ONNX offers the [support f...
1,659
1,663
1,663
NONE
null
### System Info - `transformers` version: 4.21.1 - Platform: Linux-4.15.0-187-generic-x86_64-with-debian-buster-sid - Python version: 3.7.5 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): not installed (NA) - Tensorflow version (GPU?): 2.7.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18496/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18496/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18495
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18495/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18495/comments
https://api.github.com/repos/huggingface/transformers/issues/18495/events
https://github.com/huggingface/transformers/issues/18495
1,330,187,700
I_kwDOCUB6oc5PSQ20
18,495
TF to ONNX export fails with CLI using example from docs
{ "login": "cchan-lm", "id": 88676609, "node_id": "MDQ6VXNlcjg4Njc2NjA5", "avatar_url": "https://avatars.githubusercontent.com/u/88676609?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cchan-lm", "html_url": "https://github.com/cchan-lm", "followers_url": "https://api.github.com/users/cch...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hmmm that's interesting, indeed!\r\n\r\nThe docs should be updated, but it would be nice to also support this out of the box. Would you like to try your hand at a PR? \r\n\r\ncc @lewtun @michaelbenayoun @JingyaHuang for knowledge", "Sure, I can try making a PR for it! Will be doing so from my personal account, @...
1,659
1,662
1,662
NONE
null
### System Info - `transformers` version: 4.21.1 - Platform: Linux-4.15.0-187-generic-x86_64-with-debian-buster-sid - Python version: 3.7.5 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): not installed (NA) - Tensorflow version (GPU?): 2.7.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18495/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18495/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18494
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18494/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18494/comments
https://api.github.com/repos/huggingface/transformers/issues/18494/events
https://github.com/huggingface/transformers/pull/18494
1,330,137,780
PR_kwDOCUB6oc48upSX
18,494
`pipeline` support for `device="mps"` (or any other string)
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks @julien-c . am getting a new error\r\nMy guess this is on the pytorch op.\r\n> NotImplementedError: The operator 'aten::unique_consecutive' is not current implemented for the MPS device. If you want this op to be added in pri...
1,659
1,660
1,660
MEMBER
null
No tests yet given we don't officially support `torch==1.12` yet (and M1-based CI is still a work in progress)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18494/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18494/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18494", "html_url": "https://github.com/huggingface/transformers/pull/18494", "diff_url": "https://github.com/huggingface/transformers/pull/18494.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18494.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18493
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18493/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18493/comments
https://api.github.com/repos/huggingface/transformers/issues/18493/events
https://github.com/huggingface/transformers/pull/18493
1,330,136,063
PR_kwDOCUB6oc48uo6_
18,493
Typo reported by Joel Grus on TWTR
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18493/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18493/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18493", "html_url": "https://github.com/huggingface/transformers/pull/18493", "diff_url": "https://github.com/huggingface/transformers/pull/18493.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18493.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18492
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18492/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18492/comments
https://api.github.com/repos/huggingface/transformers/issues/18492/events
https://github.com/huggingface/transformers/pull/18492
1,330,127,591
PR_kwDOCUB6oc48unGq
18,492
Move cache folder to huggingface/hub for consistency with hf_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,659
1,659
1,659
COLLABORATOR
null
# What does this PR do? This PR relocates the cache to just `~/.cache/huggingface/` when no environment variable has been set. Users having pulled between #18348 and now will need to move their cache manually.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18492/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18492/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18492", "html_url": "https://github.com/huggingface/transformers/pull/18492", "diff_url": "https://github.com/huggingface/transformers/pull/18492.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18492.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18491
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18491/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18491/comments
https://api.github.com/repos/huggingface/transformers/issues/18491/events
https://github.com/huggingface/transformers/pull/18491
1,330,124,887
PR_kwDOCUB6oc48umh9
18,491
Update the original mapping in _LazyConfigMapping to fix AutoTokenizer registration
{ "login": "lolipopshock", "id": 22512825, "node_id": "MDQ6VXNlcjIyNTEyODI1", "avatar_url": "https://avatars.githubusercontent.com/u/22512825?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lolipopshock", "html_url": "https://github.com/lolipopshock", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18491). All of your documentation changes will be reflected on that endpoint.", "cc @sgugger ", "Do you have a full example of the error you are reporting I could run? I am unable to reproduce it. Something like the [test...
1,659
1,663
1,663
NONE
null
# What does this PR do? Currently when we want to register a new config+tokenizer+model, per [the instructions](https://huggingface.co/docs/transformers/model_doc/auto), it seems we should do the following: ``` from transformers import AutoConfig, AutoModel AutoConfig.register("new-model", NewModelConfig) Au...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18491/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18491/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18491", "html_url": "https://github.com/huggingface/transformers/pull/18491", "diff_url": "https://github.com/huggingface/transformers/pull/18491.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18491.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18490
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18490/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18490/comments
https://api.github.com/repos/huggingface/transformers/issues/18490/events
https://github.com/huggingface/transformers/pull/18490
1,330,083,680
PR_kwDOCUB6oc48udvP
18,490
`transformers-cli login` => `huggingface-cli login`
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Failures are due to `ERROR tests/sagemaker/scripts/pytorch/run_glue_model_parallelism.py` trying to be run in a non-torch setup and without the appropriate decorator setup; Fine to ignore the failure for me." ]
1,659
1,659
1,659
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18490/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18490/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18490", "html_url": "https://github.com/huggingface/transformers/pull/18490", "diff_url": "https://github.com/huggingface/transformers/pull/18490.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18490.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18489
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18489/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18489/comments
https://api.github.com/repos/huggingface/transformers/issues/18489/events
https://github.com/huggingface/transformers/pull/18489
1,330,063,670
PR_kwDOCUB6oc48uZb5
18,489
Just re-reading the whole doc every couple of months 😬
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18489/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18489/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18489", "html_url": "https://github.com/huggingface/transformers/pull/18489", "diff_url": "https://github.com/huggingface/transformers/pull/18489.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18489.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18488
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18488/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18488/comments
https://api.github.com/repos/huggingface/transformers/issues/18488/events
https://github.com/huggingface/transformers/pull/18488
1,329,934,135
PR_kwDOCUB6oc48t9cO
18,488
Add Donut
{ "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._", "I have implemented a new `DonutSwinModel`, that copies everything of `SwinModel`, except the final layer norm. I've added it in a file called `modeling_donut_swin.py` (and implemented a corresponding `DonutSwinConfig` in `configurati...
1,659
1,660
1,660
CONTRIBUTOR
null
# What does this PR do? This PR adds Donut to the library. Donut is to LayoutLM what T5 is to BERT. :D The model is implemented as an instance of our existing `VisionEncoderDecoderModel`. See also https://github.com/clovaai/donut/issues/10#issue-1324734927 To do: - [x] move repos to appropriate organiza...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18488/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18488/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18488", "html_url": "https://github.com/huggingface/transformers/pull/18488", "diff_url": "https://github.com/huggingface/transformers/pull/18488.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18488.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18487
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18487/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18487/comments
https://api.github.com/repos/huggingface/transformers/issues/18487/events
https://github.com/huggingface/transformers/pull/18487
1,329,905,157
PR_kwDOCUB6oc48t3EL
18,487
Fix pipeline tests
{ "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
[]
[ "> Why weren't these ran on the original PR ?\r\n\r\nCause the common test files used not only have the tester for each pipeline, not tests of its own, so is not triggered by the `tests_fetcher`. Will fix in this PR as well.", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
COLLABORATOR
null
# What does this PR do? Changes in #18392 broke tests in the pipelines, this PR fixes them.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18487/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18487/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18487", "html_url": "https://github.com/huggingface/transformers/pull/18487", "diff_url": "https://github.com/huggingface/transformers/pull/18487.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18487.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18486
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18486/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18486/comments
https://api.github.com/repos/huggingface/transformers/issues/18486/events
https://github.com/huggingface/transformers/pull/18486
1,329,903,927
PR_kwDOCUB6oc48t2zG
18,486
Change BartLearnedPositionalEmbedding's forward method signature to support Opacus training
{ "login": "donebydan", "id": 15520428, "node_id": "MDQ6VXNlcjE1NTIwNDI4", "avatar_url": "https://avatars.githubusercontent.com/u/15520428?v=4", "gravatar_id": "", "url": "https://api.github.com/users/donebydan", "html_url": "https://github.com/donebydan", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "You will also need to apply the same changes to all the models that are touched by the change in embedding (mBART, plBARt etc) to have the tests passing.", "@sgugger I am iterating through. 👍 thanks for the heads up, though!", "...
1,659
1,660
1,660
CONTRIBUTOR
null
As outlined in #18425, this PR changes the signature of `BartLearnedPositionalEmbedding`'s forward method signature to take the `input_ids` tensor (and not just its shape). This is needed to enable private training of BART via DP-SGD in Opacus. PR welcomed by @sgugger in linked issue. Fixes #18425.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18486/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18486/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18486", "html_url": "https://github.com/huggingface/transformers/pull/18486", "diff_url": "https://github.com/huggingface/transformers/pull/18486.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18486.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18485
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18485/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18485/comments
https://api.github.com/repos/huggingface/transformers/issues/18485/events
https://github.com/huggingface/transformers/pull/18485
1,329,874,929
PR_kwDOCUB6oc48twdZ
18,485
Remove py.typed
{ "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,659
1,659
1,659
COLLABORATOR
null
The experiment was fun (not). As we are getting a rise in issues of users complaining typecheckers are not happy with our annotations, which we have chosen to keep simple for the sake of documentation, this PR removes the `py.typed` file indicating to type-checkers that Transformers is properly typed. It is not, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18485/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/18485/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18485", "html_url": "https://github.com/huggingface/transformers/pull/18485", "diff_url": "https://github.com/huggingface/transformers/pull/18485.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18485.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18484
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18484/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18484/comments
https://api.github.com/repos/huggingface/transformers/issues/18484/events
https://github.com/huggingface/transformers/pull/18484
1,329,872,343
PR_kwDOCUB6oc48tv4d
18,484
Update some expected values in `quicktour.mdx` for `resampy 0.3.0`
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,662
1,659
COLLABORATOR
null
# What does this PR do? It took me some time to figure out the test failure is due to different `resampy` versions. Some current values work with `0.2.2`, but not with `0.3.0`. [current failed job](https://github.com/huggingface/transformers/runs/7682932969?check_suite_focus=true)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18484/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18484/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18484", "html_url": "https://github.com/huggingface/transformers/pull/18484", "diff_url": "https://github.com/huggingface/transformers/pull/18484.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18484.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18483
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18483/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18483/comments
https://api.github.com/repos/huggingface/transformers/issues/18483/events
https://github.com/huggingface/transformers/issues/18483
1,329,732,057
I_kwDOCUB6oc5PQhnZ
18,483
RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback): initialization failed
{ "login": "danielbellhv", "id": 84714841, "node_id": "MDQ6VXNlcjg0NzE0ODQx", "avatar_url": "https://avatars.githubusercontent.com/u/84714841?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danielbellhv", "html_url": "https://github.com/danielbellhv", "followers_url": "https://api.github.c...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Changed Kernel: `conda_tensorflow2_p38`" ]
1,659
1,659
1,659
NONE
null
### System Info Goal: Run a **GPT-2** model instance. I am using the latest Tensorflow and Hugging Face 🤗 Transformers. - Tensorflow - 2.9.1 - Transformers - 4.21.1 Notebook: ``` pip install tensorflow ``` ``` pip install transformers ``` ``` from transformers import pipeline, set_seed generator = ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18483/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18483/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18482
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18482/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18482/comments
https://api.github.com/repos/huggingface/transformers/issues/18482/events
https://github.com/huggingface/transformers/pull/18482
1,329,654,129
PR_kwDOCUB6oc48tAW0
18,482
Fix `test_dbmdz_english` by updating expected values
{ "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._", "I think we can update the results instead yes:\r\n\r\nThe original string didn't have the typo:\r\n\r\nhttps://github.com/huggingface/transformers/issues/5077#issuecomment-656398617\r\n\r\nSo probably my bad in putting it into a test...
1,659
1,662
1,659
COLLABORATOR
null
# What does this PR do? Fix #18405 I originally stated this is an expected value - it turns out to be an **input sentence**. But probably it is still intentional to have `the the`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18482/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18482/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18482", "html_url": "https://github.com/huggingface/transformers/pull/18482", "diff_url": "https://github.com/huggingface/transformers/pull/18482.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18482.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18481
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18481/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18481/comments
https://api.github.com/repos/huggingface/transformers/issues/18481/events
https://github.com/huggingface/transformers/pull/18481
1,329,570,749
PR_kwDOCUB6oc48sufR
18,481
Add TF prefix to TF-Res test class
{ "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,659
1,662
1,659
COLLABORATOR
null
# What does this PR do? Let's give TF a bit more space.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18481/reactions", "total_count": 5, "+1": 0, "-1": 0, "laugh": 3, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/18481/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18481", "html_url": "https://github.com/huggingface/transformers/pull/18481", "diff_url": "https://github.com/huggingface/transformers/pull/18481.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18481.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18480
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18480/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18480/comments
https://api.github.com/repos/huggingface/transformers/issues/18480/events
https://github.com/huggingface/transformers/issues/18480
1,329,505,600
I_kwDOCUB6oc5PPqVA
18,480
Not able to use DistilBERT in VisualTextDualEncoder
{ "login": "jagjeetsian", "id": 65284408, "node_id": "MDQ6VXNlcjY1Mjg0NDA4", "avatar_url": "https://avatars.githubusercontent.com/u/65284408?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jagjeetsian", "html_url": "https://github.com/jagjeetsian", "followers_url": "https://api.github.com/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "I believe this is because [this line in `modeling_vision_text_dual_encoder.py`](https://github.com/huggingface/transformers/blob/14928921e2f6d5b049d8dcfa07982e9ca351a402/src/transformers/models/vision_text_dual_encoder/modeling_vision_text_dual_encoder.py#L368) passes a keyword argument `token_type_ids` to the `te...
1,659
1,663
1,663
NONE
null
### System Info - `transformers` version: 4.20.1 - Platform: Linux-5.10.133+-x86_64-with-debian-bullseye-sid - Python version: 3.7.12 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.11.0 (True) - Tensorflow version (GPU?): 2.6.4 (True) - Flax version (CPU?/GPU?/TPU?): 0.5.2 (gpu) - Jax version: 0...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18480/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18480/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18479
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18479/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18479/comments
https://api.github.com/repos/huggingface/transformers/issues/18479/events
https://github.com/huggingface/transformers/pull/18479
1,329,406,393
PR_kwDOCUB6oc48sLVn
18,479
join last hidden states of layers for BertForSequenceClassification
{ "login": "dantruonghtno1", "id": 55061612, "node_id": "MDQ6VXNlcjU1MDYxNjEy", "avatar_url": "https://avatars.githubusercontent.com/u/55061612?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dantruonghtno1", "html_url": "https://github.com/dantruonghtno1", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18479). All of your documentation changes will be reflected on that endpoint.", "Hey @dantruonghtno1, was this discussed in an issue somewhere? We're very unlikely to merge this as it seems like a niche use-case that adds a...
1,659
1,663
1,663
NONE
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18479/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18479/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18479", "html_url": "https://github.com/huggingface/transformers/pull/18479", "diff_url": "https://github.com/huggingface/transformers/pull/18479.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18479.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18478
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18478/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18478/comments
https://api.github.com/repos/huggingface/transformers/issues/18478/events
https://github.com/huggingface/transformers/issues/18478
1,329,385,185
I_kwDOCUB6oc5PPM7h
18,478
How to do batch inference in GPT-J
{ "login": "ZeyiLiao", "id": 97815464, "node_id": "U_kgDOBdSLqA", "avatar_url": "https://avatars.githubusercontent.com/u/97815464?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZeyiLiao", "html_url": "https://github.com/ZeyiLiao", "followers_url": "https://api.github.com/users/ZeyiLiao/fo...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Maybe @gante can help out regarding generate", "EDIT: removed this comment, a correct example is given below.\r\n", "@gante ,Thanks for your reply! \r\nActually, your reply just made me a bit confused about the padding things. Why do we need to do the left padding? Typically, I think we are doing the RHS paddi...
1,659
1,669
1,659
NONE
null
### System Info - `transformers` version: 4.21.1 - Platform: Linux-4.15.0-189-generic-x86_64-with-debian-buster-sid - Python version: 3.7.3 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.7.1 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18478/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18478/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18477
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18477/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18477/comments
https://api.github.com/repos/huggingface/transformers/issues/18477/events
https://github.com/huggingface/transformers/pull/18477
1,329,326,701
PR_kwDOCUB6oc48r64K
18,477
Spanish translation of summarization.mdx (#15947)
{ "login": "AguilaCudicio", "id": 11493956, "node_id": "MDQ6VXNlcjExNDkzOTU2", "avatar_url": "https://avatars.githubusercontent.com/u/11493956?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AguilaCudicio", "html_url": "https://github.com/AguilaCudicio", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Muchas gracias @AguilaCudicio por la traducción! Agregué algunos comentarios en el review.", "Gracias @AguilaCudicio for the translation! 🚀\r\n\r\n@sgugger LGTM :)" ]
1,659
1,659
1,659
CONTRIBUTOR
null
Spanish translation of summarization.mdx (#15947) <!-- Remove if not applicable --> Fixes #15947 (issue) ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/tr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18477/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18477/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18477", "html_url": "https://github.com/huggingface/transformers/pull/18477", "diff_url": "https://github.com/huggingface/transformers/pull/18477.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18477.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18476
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18476/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18476/comments
https://api.github.com/repos/huggingface/transformers/issues/18476/events
https://github.com/huggingface/transformers/issues/18476
1,329,105,139
I_kwDOCUB6oc5POIjz
18,476
Fine tuning TensorFlow DeBERTa fails on TPU
{ "login": "tmoroder", "id": 48967773, "node_id": "MDQ6VXNlcjQ4OTY3Nzcz", "avatar_url": "https://avatars.githubusercontent.com/u/48967773?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tmoroder", "html_url": "https://github.com/tmoroder", "followers_url": "https://api.github.com/users/tmo...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @tmoroder 👋 Thank you for adding all that information to the issue <3 \r\n\r\nIf I got it right, the second notebook replaces the `take_along_axis` function, and the third notebook also replaces the custom dropout. Still, there are XLA exceptions.\r\n\r\nBefore diving into debugging, two questions:\r\n1. Does ...
1,659
1,660
1,660
NONE
null
### System Info Latest version of transformers, Colab TPU, tensorflow 2. - Colab TPU - transformers: 4.21.0 - tensorflow: 2.8.2 / 2.6.2 - Python 3.7 ### Who can help? @LysandreJik, @Rocketknight1, @san ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An offic...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18476/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18476/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18475
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18475/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18475/comments
https://api.github.com/repos/huggingface/transformers/issues/18475/events
https://github.com/huggingface/transformers/pull/18475
1,329,002,189
PR_kwDOCUB6oc48q299
18,475
Add type hints to XLM-Roberta-XL models
{ "login": "asofiaoliveira", "id": 74454835, "node_id": "MDQ6VXNlcjc0NDU0ODM1", "avatar_url": "https://avatars.githubusercontent.com/u/74454835?v=4", "gravatar_id": "", "url": "https://api.github.com/users/asofiaoliveira", "html_url": "https://github.com/asofiaoliveira", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hello @Rocketknight1 , just reminding you of this ", "Hi @asofiaoliveira, I'm extremely sorry for the delay here! The PR is perfect, and I'm merging now!" ]
1,659
1,662
1,662
CONTRIBUTOR
null
This PR adds type hints for the PyTorch XLM-Roberta-XL as mentioned in #16059 @Rocketknight1
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18475/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18475/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18475", "html_url": "https://github.com/huggingface/transformers/pull/18475", "diff_url": "https://github.com/huggingface/transformers/pull/18475.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18475.patch", "merged_at...