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/15260
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15260/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15260/comments
https://api.github.com/repos/huggingface/transformers/issues/15260/events
https://github.com/huggingface/transformers/issues/15260
1,109,663,478
I_kwDOCUB6oc5CJB72
15,260
Fine Tunning the Pytorch script
{ "login": "SatishDeshbhratar", "id": 7983108, "node_id": "MDQ6VXNlcjc5ODMxMDg=", "avatar_url": "https://avatars.githubusercontent.com/u/7983108?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SatishDeshbhratar", "html_url": "https://github.com/SatishDeshbhratar", "followers_url": "https:/...
[]
closed
false
null
[]
[ "Maybe you remove all the '\\' in the code, the problem will be solved.", "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 guidelin...
1,642
1,646
1,646
NONE
null
I am trying a text summarization project mentioned in this link https://github.com/SatishDeshbhratar/transformers/tree/master/examples/pytorch/summarization But I am facing the error related to hf argument parser as below > (pytorch_nlp) PS D:\Docs\Course work\Final Project (Text Summarization)\Script> python run...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15260/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15260/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15259
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15259/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15259/comments
https://api.github.com/repos/huggingface/transformers/issues/15259/events
https://github.com/huggingface/transformers/pull/15259
1,109,655,874
PR_kwDOCUB6oc4xV7nE
15,259
Update fine-tune docs
{ "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,642
1,643
1,643
MEMBER
null
This is a first draft of the updated fine-tune tutorial. Main updates include: - Preprocess a different dataset (users are probably very used to seeing `imdb` now) to include more diverse examples so users don't feel like they are doing the same thing over and over. - Update the `Trainer` example to include evaluat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15259/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15259/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15259", "html_url": "https://github.com/huggingface/transformers/pull/15259", "diff_url": "https://github.com/huggingface/transformers/pull/15259.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15259.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15258
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15258/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15258/comments
https://api.github.com/repos/huggingface/transformers/issues/15258/events
https://github.com/huggingface/transformers/pull/15258
1,109,619,540
PR_kwDOCUB6oc4xV0Is
15,258
Fix crash when logs are empty because Keras has wiped them out of spite
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15258). All of your documentation changes will be reflected on that endpoint.", "Great job merging this PR! the documentation will now be removed from the staging environment." ]
1,642
1,642
1,642
MEMBER
null
In situations where the training history is empty, TF model card creation via `model.create_model_card()` or `model.push_to_hub()` no longer crashes.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15258/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15258/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15258", "html_url": "https://github.com/huggingface/transformers/pull/15258", "diff_url": "https://github.com/huggingface/transformers/pull/15258.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15258.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15257
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15257/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15257/comments
https://api.github.com/repos/huggingface/transformers/issues/15257/events
https://github.com/huggingface/transformers/pull/15257
1,109,552,090
PR_kwDOCUB6oc4xVmE5
15,257
Fix code examples
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? This PR fixes a few mistakes in code examples in the docs.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15257/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15257/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15257", "html_url": "https://github.com/huggingface/transformers/pull/15257", "diff_url": "https://github.com/huggingface/transformers/pull/15257.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15257.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15256
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15256/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15256/comments
https://api.github.com/repos/huggingface/transformers/issues/15256/events
https://github.com/huggingface/transformers/pull/15256
1,109,534,561
PR_kwDOCUB6oc4xVigb
15,256
Fix TF Causal LM models' returned logits
{ "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._", "Could @Rocketknight1 or @gante give this a look?", "To summarize: In causal LM models, logits and labels are offset by 1 before loss computations. In PT, the pre-shift logits are returned in the output, but in TF the post-shift log...
1,642
1,651
1,643
COLLABORATOR
null
# What does this PR do? Fix TF causal LM models' returned logits ## Details In TF causal LM models, the returned logits is the one being cut ``` if inputs["labels"] is not None: # shift labels to the left and cut last logit token **logits = logits[:, :-1]** la...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15256/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15256/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15256", "html_url": "https://github.com/huggingface/transformers/pull/15256", "diff_url": "https://github.com/huggingface/transformers/pull/15256.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15256.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15255
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15255/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15255/comments
https://api.github.com/repos/huggingface/transformers/issues/15255/events
https://github.com/huggingface/transformers/pull/15255
1,109,418,448
PR_kwDOCUB6oc4xVKYD
15,255
Tentative workflow improvement
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "See the edits of the comment above.", "I'm ok with both solutions 1 and 3 - I agree that it might be odd for the comment to be deleted, and hiding the comment removes that peculiarity.\r\n\r\nIf it's ok with you, I'll merge this PR...
1,642
1,642
1,642
MEMBER
null
This improves the workflow of the doc-builder bot by adding a single comment when the PR is opened. When the PR is closed or merged, it edits that comment. If the PR is reopened, it re-edits that comment.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15255/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/15255/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15255", "html_url": "https://github.com/huggingface/transformers/pull/15255", "diff_url": "https://github.com/huggingface/transformers/pull/15255.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15255.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15254
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15254/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15254/comments
https://api.github.com/repos/huggingface/transformers/issues/15254/events
https://github.com/huggingface/transformers/issues/15254
1,109,413,548
I_kwDOCUB6oc5CIE6s
15,254
Export LayoutLMv2 to TorchScript
{ "login": "vvalouch", "id": 22592860, "node_id": "MDQ6VXNlcjIyNTkyODYw", "avatar_url": "https://avatars.githubusercontent.com/u/22592860?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vvalouch", "html_url": "https://github.com/vvalouch", "followers_url": "https://api.github.com/users/vva...
[]
closed
false
null
[]
[ "cc @NielsRogge ", "I was looking into a bit more and I found out that the reason why the torchscript conversion is crashing are following:\r\n1) torch.jit._trace.py ->line 958 module._c._create_method_from_trace is unsqueezing the inputs thus instead of passing original e.g. attention_mask input as {Tensor:(1,24...
1,642
1,646
1,646
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.15.0 - Platform: MacOS - Python version: 3.8 - PyTorch version (GPU?): 1.10 CPU - Tensorflow version (GPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15254/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15254/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15253
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15253/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15253/comments
https://api.github.com/repos/huggingface/transformers/issues/15253/events
https://github.com/huggingface/transformers/pull/15253
1,109,384,278
PR_kwDOCUB6oc4xVDN6
15,253
Make sure to raise NotImplementedError with correct method name
{ "login": "kumapo", "id": 70637, "node_id": "MDQ6VXNlcjcwNjM3", "avatar_url": "https://avatars.githubusercontent.com/u/70637?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kumapo", "html_url": "https://github.com/kumapo", "followers_url": "https://api.github.com/users/kumapo/followers", ...
[]
closed
false
null
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15253). All of your documentation changes will be reflected on that endpoint.", "Great job merging this PR! the documentation will now be removed from the staging environment." ]
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? I've found a message raised with `NotImplementedError` by `PreTrainedModel._init_weights()` is not correct. This PR resolves that. ## 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 [contribu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15253/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15253/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15253", "html_url": "https://github.com/huggingface/transformers/pull/15253", "diff_url": "https://github.com/huggingface/transformers/pull/15253.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15253.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15252
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15252/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15252/comments
https://api.github.com/repos/huggingface/transformers/issues/15252/events
https://github.com/huggingface/transformers/pull/15252
1,109,378,522
PR_kwDOCUB6oc4xVB_j
15,252
corrected typo in robust speech event README.md regarding OVH Cloud link
{ "login": "mattchurgin", "id": 25486237, "node_id": "MDQ6VXNlcjI1NDg2MjM3", "avatar_url": "https://avatars.githubusercontent.com/u/25486237?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mattchurgin", "html_url": "https://github.com/mattchurgin", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "US OVHcloud service is sadly not supported by this event" ]
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? Corrects a typo in robust speech event README that incorrectly directed US users to the Canadian OVH Cloud site. ## 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? @patrickvonplaten @anton-l
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15252/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15252/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15252", "html_url": "https://github.com/huggingface/transformers/pull/15252", "diff_url": "https://github.com/huggingface/transformers/pull/15252.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15252.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15251
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15251/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15251/comments
https://api.github.com/repos/huggingface/transformers/issues/15251/events
https://github.com/huggingface/transformers/pull/15251
1,109,374,547
PR_kwDOCUB6oc4xVBHs
15,251
Tentative workflow improvement
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,642
1,642
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15251/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15251/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15251", "html_url": "https://github.com/huggingface/transformers/pull/15251", "diff_url": "https://github.com/huggingface/transformers/pull/15251.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15251.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15250
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15250/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15250/comments
https://api.github.com/repos/huggingface/transformers/issues/15250/events
https://github.com/huggingface/transformers/pull/15250
1,109,318,481
PR_kwDOCUB6oc4xU1jD
15,250
Add PoolFormer
{ "login": "tanaymeh", "id": 26519539, "node_id": "MDQ6VXNlcjI2NTE5NTM5", "avatar_url": "https://avatars.githubusercontent.com/u/26519539?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tanaymeh", "html_url": "https://github.com/tanaymeh", "followers_url": "https://api.github.com/users/tan...
[]
closed
false
null
[]
[]
1,642
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? This PR adds the PoolFormer model to the 🤗 repository. I also opened an Issue for adding the model #14584 ## Who can review? @NielsRogge
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15250/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15250/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15250", "html_url": "https://github.com/huggingface/transformers/pull/15250", "diff_url": "https://github.com/huggingface/transformers/pull/15250.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15250.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15249
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15249/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15249/comments
https://api.github.com/repos/huggingface/transformers/issues/15249/events
https://github.com/huggingface/transformers/pull/15249
1,109,301,749
PR_kwDOCUB6oc4xUyEf
15,249
Soft length regulation
{ "login": "kevinpl07", "id": 18429675, "node_id": "MDQ6VXNlcjE4NDI5Njc1", "avatar_url": "https://avatars.githubusercontent.com/u/18429675?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kevinpl07", "html_url": "https://github.com/kevinpl07", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15249). All of your documentation changes will be reflected on that endpoint.", "Thank you for your PR. The documentation will now be removed from the staging environment - feel free to reopen this PR...
1,642
1,642
1,642
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/15249/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15249/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15249", "html_url": "https://github.com/huggingface/transformers/pull/15249", "diff_url": "https://github.com/huggingface/transformers/pull/15249.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15249.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15248
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15248/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15248/comments
https://api.github.com/repos/huggingface/transformers/issues/15248/events
https://github.com/huggingface/transformers/issues/15248
1,109,214,294
I_kwDOCUB6oc5CHURW
15,248
Cannot load BART-base model
{ "login": "yana-xuyan", "id": 38536635, "node_id": "MDQ6VXNlcjM4NTM2NjM1", "avatar_url": "https://avatars.githubusercontent.com/u/38536635?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yana-xuyan", "html_url": "https://github.com/yana-xuyan", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hey! Do you have a local folder with the same name as `facebook/bart-base`?", "Hi, thank you for your quick reply! \r\n\r\nOh yes, I made this folder, but I was not aware of it before you mention! Thank you very much!" ]
1,642
1,642
1,642
NONE
null
## Environment info - `transformers` version: 4.12.3 - Platform: Linux-5.4.0-1059-aws-x86_64-with-debian-buster-sid - Python version: 3.7.10 - PyTorch version (GPU?): 1.7.1 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - J...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15248/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15248/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15247
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15247/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15247/comments
https://api.github.com/repos/huggingface/transformers/issues/15247/events
https://github.com/huggingface/transformers/pull/15247
1,109,191,734
PR_kwDOCUB6oc4xUbL7
15,247
[Wav2Vec2ProcessorWithLM] improve multi processing
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for the heads-up!", "Failure is unrelated - merging this PR" ]
1,642
1,642
1,642
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15247/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15247/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15247", "html_url": "https://github.com/huggingface/transformers/pull/15247", "diff_url": "https://github.com/huggingface/transformers/pull/15247.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15247.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15246
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15246/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15246/comments
https://api.github.com/repos/huggingface/transformers/issues/15246/events
https://github.com/huggingface/transformers/pull/15246
1,109,137,242
PR_kwDOCUB6oc4xUPxX
15,246
Update README.md
{ "login": "anton-l", "id": 26864830, "node_id": "MDQ6VXNlcjI2ODY0ODMw", "avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anton-l", "html_url": "https://github.com/anton-l", "followers_url": "https://api.github.com/users/anton-...
[]
closed
false
null
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15246). All of your documentation changes will be reflected on that endpoint.", "Great job merging this PR! the documentation will now be removed from the staging environment." ]
1,642
1,642
1,642
MEMBER
null
Clarify OVH instruction
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15246/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15246/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15246", "html_url": "https://github.com/huggingface/transformers/pull/15246", "diff_url": "https://github.com/huggingface/transformers/pull/15246.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15246.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15245
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15245/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15245/comments
https://api.github.com/repos/huggingface/transformers/issues/15245/events
https://github.com/huggingface/transformers/pull/15245
1,109,120,734
PR_kwDOCUB6oc4xUMUi
15,245
Add soft length regulation for sequence generation
{ "login": "kevinpl07", "id": 18429675, "node_id": "MDQ6VXNlcjE4NDI5Njc1", "avatar_url": "https://avatars.githubusercontent.com/u/18429675?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kevinpl07", "html_url": "https://github.com/kevinpl07", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15245). All of your documentation changes will be reflected on that endpoint.", "@patrickvonplaten, @LysandreJik", "Hey @kevinpl07,\r\n\r\nThanks a lot for your PR! Do you know whether this method i...
1,642
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? This PR enables users to softly regulate the length when using sampling method in model.generate(). We had the use case where we wanted to keep a generated sequence adequately short with no "hard" cutoff - we wanted the model to come to an end without just setting max_length, so that the end_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15245/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15245/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15245", "html_url": "https://github.com/huggingface/transformers/pull/15245", "diff_url": "https://github.com/huggingface/transformers/pull/15245.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15245.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15244
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15244/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15244/comments
https://api.github.com/repos/huggingface/transformers/issues/15244/events
https://github.com/huggingface/transformers/issues/15244
1,109,093,885
I_kwDOCUB6oc5CG239
15,244
Evaluation Padding_idx Error when using BERTScore and Deepspeed Zero3 but not with Zero2
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "Hi @KMFODA,\r\n\r\nzero3 is different from zero2 in that it shards the params. zero3 magically gathers them on each gpu before the model's forward calls, so the model has no idea its weights were manipulated. But if you do other forward's that aren't part of the model and which are called before the model, deepspe...
1,642
1,647
1,645
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.16.0.dev0 - Platform: Linux-5.11.0-37-generic-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch version (GPU?): 1.8.0 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not insta...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15244/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15244/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15243
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15243/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15243/comments
https://api.github.com/repos/huggingface/transformers/issues/15243/events
https://github.com/huggingface/transformers/pull/15243
1,109,073,123
PR_kwDOCUB6oc4xUCdk
15,243
Update pipelines.mdx
{ "login": "kamalkraj", "id": 17096858, "node_id": "MDQ6VXNlcjE3MDk2ODU4", "avatar_url": "https://avatars.githubusercontent.com/u/17096858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kamalkraj", "html_url": "https://github.com/kamalkraj", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15243). All of your documentation changes will be reflected on that endpoint.", "Feel free to merge.", "Great job merging this PR! the documentation will now be removed from the staging environment....
1,642
1,642
1,642
CONTRIBUTOR
null
fix few spelling mistakes # 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. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15243/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15243/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15243", "html_url": "https://github.com/huggingface/transformers/pull/15243", "diff_url": "https://github.com/huggingface/transformers/pull/15243.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15243.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15242
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15242/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15242/comments
https://api.github.com/repos/huggingface/transformers/issues/15242/events
https://github.com/huggingface/transformers/pull/15242
1,109,057,406
PR_kwDOCUB6oc4xT_PQ
15,242
[ViTMAE] Add image pretraining script
{ "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._", "We do have a speech-pretraining folder in the examples directory, which also only works for a single model (`Wav2Vec2ForPreTraining`).", "Do what you want then :-) " ]
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? This PR adds an example script to a new folder, "image-pretraining". It allows the user to pre-train a Vision Transformer (ViT) using the [MAE](https://arxiv.org/abs/2111.06377) method. More specifically, one can pre-train a `ViTMAEForPreTraining` with the script. After pre-training, one can ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15242/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15242/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15242", "html_url": "https://github.com/huggingface/transformers/pull/15242", "diff_url": "https://github.com/huggingface/transformers/pull/15242.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15242.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15241
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15241/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15241/comments
https://api.github.com/repos/huggingface/transformers/issues/15241/events
https://github.com/huggingface/transformers/pull/15241
1,109,025,579
PR_kwDOCUB6oc4xT4mw
15,241
Updating InfNanLogitsprocess to also remove negative infinity.
{ "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._", "I'm not really sure that this is the reason of the problem. Usually there is nothing wrong with `float(\"-inf\")` values for PyTorch's softmax or sampling function. I've debugged: \r\n\r\n```python\r\nfrom transformers import T5Token...
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15241/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15241/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15241", "html_url": "https://github.com/huggingface/transformers/pull/15241", "diff_url": "https://github.com/huggingface/transformers/pull/15241.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15241.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15240
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15240/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15240/comments
https://api.github.com/repos/huggingface/transformers/issues/15240/events
https://github.com/huggingface/transformers/pull/15240
1,109,020,428
PR_kwDOCUB6oc4xT3jL
15,240
[Fix doc example] missing import
{ "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
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15240). All of your documentation changes will be reflected on that endpoint.", "Great job merging this PR! the documentation will now be removed from the staging environment." ]
1,642
1,651
1,642
COLLABORATOR
null
# What does this PR do? Add `from transformers import EncoderDecoderModel, TFEncoderDecoderModel` in a doc example.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15240/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15240/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15240", "html_url": "https://github.com/huggingface/transformers/pull/15240", "diff_url": "https://github.com/huggingface/transformers/pull/15240.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15240.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15239
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15239/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15239/comments
https://api.github.com/repos/huggingface/transformers/issues/15239/events
https://github.com/huggingface/transformers/pull/15239
1,109,020,407
PR_kwDOCUB6oc4xT3i5
15,239
Update README.md
{ "login": "anton-l", "id": 26864830, "node_id": "MDQ6VXNlcjI2ODY0ODMw", "avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anton-l", "html_url": "https://github.com/anton-l", "followers_url": "https://api.github.com/users/anton-...
[]
closed
false
null
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15239). All of your documentation changes will be reflected on that endpoint.", "Great job merging this PR! the documentation will now be removed from the staging environment." ]
1,642
1,642
1,642
MEMBER
null
# What does this PR do? Adds an OVHcloud tutorial URL for the Robust Speech Challenge
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15239/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15239/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15239", "html_url": "https://github.com/huggingface/transformers/pull/15239", "diff_url": "https://github.com/huggingface/transformers/pull/15239.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15239.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15238
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15238/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15238/comments
https://api.github.com/repos/huggingface/transformers/issues/15238/events
https://github.com/huggingface/transformers/pull/15238
1,108,981,669
PR_kwDOCUB6oc4xTviC
15,238
Fix a bug that QuestionAnsweringPipeline ignores max_seq_len parameter
{ "login": "wptoux", "id": 6761483, "node_id": "MDQ6VXNlcjY3NjE0ODM=", "avatar_url": "https://avatars.githubusercontent.com/u/6761483?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wptoux", "html_url": "https://github.com/wptoux", "followers_url": "https://api.github.com/users/wptoux/foll...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Merging now since this PR is relatively trivial and was running for long enough, sorry about the review time." ]
1,642
1,644
1,644
CONTRIBUTOR
null
# What does this PR do? Fix a bug that QuestionAnsweringPipeline ignores max_seq_len parameter <!-- 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15238/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15238/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15238", "html_url": "https://github.com/huggingface/transformers/pull/15238", "diff_url": "https://github.com/huggingface/transformers/pull/15238.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15238.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15237
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15237/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15237/comments
https://api.github.com/repos/huggingface/transformers/issues/15237/events
https://github.com/huggingface/transformers/issues/15237
1,108,884,908
I_kwDOCUB6oc5CGD2s
15,237
why training bigbird-512 model is much slower than bert-512?
{ "login": "jinxinglu", "id": 26435943, "node_id": "MDQ6VXNlcjI2NDM1OTQz", "avatar_url": "https://avatars.githubusercontent.com/u/26435943?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jinxinglu", "html_url": "https://github.com/jinxinglu", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "If your maximum sequence length is just 512, it does indeed not make much sense to use BigBird and BERT, AlBERT, or DeBERTa make much more sense. BigBird should be used for models that require sequence lengths > 2048", "The main promise of BigBird is not that it is faster than BERT for seq_len < 512, but rather ...
1,642
1,643
1,643
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.15.0 - Platform: - Python version: 3.6.8 - PyTorch version (GPU?): 1.10.1+cu102 - Tensorflow version (GP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15237/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15237/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15236
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15236/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15236/comments
https://api.github.com/repos/huggingface/transformers/issues/15236/events
https://github.com/huggingface/transformers/issues/15236
1,108,782,711
I_kwDOCUB6oc5CFq53
15,236
wav2vec2_with_lm
{ "login": "liroda", "id": 24436690, "node_id": "MDQ6VXNlcjI0NDM2Njkw", "avatar_url": "https://avatars.githubusercontent.com/u/24436690?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liroda", "html_url": "https://github.com/liroda", "followers_url": "https://api.github.com/users/liroda/fo...
[]
closed
false
null
[]
[ "You can run a hyperparameter search by inferencing a test set with different alpha and beta values. But if you have a small language model there might not be a difference. Maybe use a larger language model or larger test set.", "This issue has been automatically marked as stale because it has not had recent acti...
1,642
1,661
1,645
NONE
null
I refer to the example and run kenlm on the Chinese test set, it is ok ,but the language model weight, no matter how I adjust it, the result remains the same, this is my debugging code # dict vocabfile = os.path.join(model_path,'vocab.json') with open(vocabfile,'r',encoding="utf-8") as f: vocab_d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15236/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15236/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15235
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15235/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15235/comments
https://api.github.com/repos/huggingface/transformers/issues/15235/events
https://github.com/huggingface/transformers/pull/15235
1,108,732,252
PR_kwDOCUB6oc4xS8eF
15,235
Specify providers explicitly in ORT session initialization
{ "login": "wangyems", "id": 52801275, "node_id": "MDQ6VXNlcjUyODAxMjc1", "avatar_url": "https://avatars.githubusercontent.com/u/52801275?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wangyems", "html_url": "https://github.com/wangyems", "followers_url": "https://api.github.com/users/wan...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? Since ORT 1.9, you are required to explicitly set the providers parameter when instantiating InferenceSession. For example, onnxruntime.InferenceSession(..., providers=['CUDAExecutionProvider', 'CPUExecutionProvider'], ...) <!-- Congratulations! You've made it this far! You're not quite don...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15235/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15235/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15235", "html_url": "https://github.com/huggingface/transformers/pull/15235", "diff_url": "https://github.com/huggingface/transformers/pull/15235.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15235.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15234
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15234/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15234/comments
https://api.github.com/repos/huggingface/transformers/issues/15234/events
https://github.com/huggingface/transformers/pull/15234
1,108,406,457
PR_kwDOCUB6oc4xR4gq
15,234
Fixes tf_default_data_collator sometimes guessing the wrong dtype for labels
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15234). All of your documentation changes will be reflected on that endpoint.", "Great job merging this PR! the documentation will now be removed from the staging environment." ]
1,642
1,642
1,642
MEMBER
null
Fixes issues reported by @philschmid in [this notebook](https://colab.research.google.com/drive/13nMZPJpgJpqzdl2e5t4cnV26m_l2xwlw?usp=sharing) with `labels` occasionally ending up as `tf.float32` instead of `tf.int64`. The underlying cause was that the `dtype` checking code failed in cases when the label for a sing...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15234/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/15234/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15234", "html_url": "https://github.com/huggingface/transformers/pull/15234", "diff_url": "https://github.com/huggingface/transformers/pull/15234.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15234.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15233
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15233/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15233/comments
https://api.github.com/repos/huggingface/transformers/issues/15233/events
https://github.com/huggingface/transformers/pull/15233
1,108,342,066
PR_kwDOCUB6oc4xRrEu
15,233
Adapt Common Voice Talk Title and Abstract
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15233). All of your documentation changes will be reflected on that endpoint.", "Great job merging this PR! the documentation will now be removed from the staging environment." ]
1,642
1,642
1,642
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15233/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15233/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15233", "html_url": "https://github.com/huggingface/transformers/pull/15233", "diff_url": "https://github.com/huggingface/transformers/pull/15233.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15233.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15232
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15232/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15232/comments
https://api.github.com/repos/huggingface/transformers/issues/15232/events
https://github.com/huggingface/transformers/issues/15232
1,108,329,278
I_kwDOCUB6oc5CD8M-
15,232
Wav2Vec2ForPreTraining doc example has None loss
{ "login": "Sorrow321", "id": 20703486, "node_id": "MDQ6VXNlcjIwNzAzNDg2", "avatar_url": "https://avatars.githubusercontent.com/u/20703486?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sorrow321", "html_url": "https://github.com/Sorrow321", "followers_url": "https://api.github.com/users/...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" }, { "id": 3551105283, "node_id": "LA_kwDO...
closed
false
null
[]
[ "Hi,\r\n\r\nThanks for spotting. Feel free to open a PR to fix this :) ", "Hi As I am a beginner, I would love to contribute to this Good First Issue, can anyone guide me.\r\nThankYou", "Hi,\r\n\r\nThe docs of `Wav2Vec2ForPretraining` can be found in `modeling_wav2vec2.py`, [here](https://github.com/huggingface...
1,642
1,664
1,664
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.15.0 - Platform: Linux-5.11.0-46-generic-x86_64-with-glibc2.31 - Python version: 3.9.7 - PyTorch version (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15232/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15232/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15231
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15231/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15231/comments
https://api.github.com/repos/huggingface/transformers/issues/15231/events
https://github.com/huggingface/transformers/pull/15231
1,108,264,796
PR_kwDOCUB6oc4xRa4W
15,231
Fix PR number
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_${PR_NUMBER}). All of your documentation changes will be reflected on that endpoint.", "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr...
1,642
1,642
1,642
MEMBER
null
Updates the reference to the environment variable to respect Github Actions' format.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15231/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15231/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15231", "html_url": "https://github.com/huggingface/transformers/pull/15231", "diff_url": "https://github.com/huggingface/transformers/pull/15231.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15231.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15230
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15230/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15230/comments
https://api.github.com/repos/huggingface/transformers/issues/15230/events
https://github.com/huggingface/transformers/pull/15230
1,108,261,102
PR_kwDOCUB6oc4xRaGo
15,230
Adds missing module_specs for usages of _LazyModule
{ "login": "jkuball", "id": 5645703, "node_id": "MDQ6VXNlcjU2NDU3MDM=", "avatar_url": "https://avatars.githubusercontent.com/u/5645703?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jkuball", "html_url": "https://github.com/jkuball", "followers_url": "https://api.github.com/users/jkuball/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "😍 exactly what i need", "I have just moved the test. I also have a local commit lying around that adds the module_spec to all occurences of the LazyModule, but I am not that sure on where to put the tests for that.\r\n\r\nLooking ...
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? This PR adds a missing `__spec__` to the `_LazyModule` instances of all models. When a module is missing a spec it could not be imported via `importlib.import_module`, which is what [torchmetrics does](https://github.com/PyTorchLightning/metrics/blob/master/torchmetrics/utilities/imports.p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15230/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/15230/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15230", "html_url": "https://github.com/huggingface/transformers/pull/15230", "diff_url": "https://github.com/huggingface/transformers/pull/15230.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15230.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15229
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15229/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15229/comments
https://api.github.com/repos/huggingface/transformers/issues/15229/events
https://github.com/huggingface/transformers/issues/15229
1,108,247,277
I_kwDOCUB6oc5CDoLt
15,229
Is there any script for running RACE dataset?
{ "login": "whaor", "id": 70442598, "node_id": "MDQ6VXNlcjcwNDQyNTk4", "avatar_url": "https://avatars.githubusercontent.com/u/70442598?v=4", "gravatar_id": "", "url": "https://api.github.com/users/whaor", "html_url": "https://github.com/whaor", "followers_url": "https://api.github.com/users/whaor/follow...
[]
closed
false
null
[]
[]
1,642
1,642
1,642
NONE
null
# 🚀 Feature request examples/multiple-choice/run_swag.py is the script for running SWAG dataset, although readme says that a tweak of preprocess_function() should get things work for RACE dataset, but i still can not figure it out with this little information. is there any information about how to run RACE?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15229/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/15229/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15228
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15228/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15228/comments
https://api.github.com/repos/huggingface/transformers/issues/15228/events
https://github.com/huggingface/transformers/pull/15228
1,108,182,557
PR_kwDOCUB6oc4xRJjU
15,228
Fix typo in BERT tokenization file
{ "login": "qqaatw", "id": 24835382, "node_id": "MDQ6VXNlcjI0ODM1Mzgy", "avatar_url": "https://avatars.githubusercontent.com/u/24835382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qqaatw", "html_url": "https://github.com/qqaatw", "followers_url": "https://api.github.com/users/qqaatw/fo...
[]
closed
false
null
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15228). All of your documentation changes will be reflected on that endpoint.", "I was actually going to work on that :-)\r\nThanks for fixing! You can see the doc after your fix [here](https://moon-c...
1,642
1,642
1,642
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/15228/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15228/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15228", "html_url": "https://github.com/huggingface/transformers/pull/15228", "diff_url": "https://github.com/huggingface/transformers/pull/15228.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15228.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15227
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15227/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15227/comments
https://api.github.com/repos/huggingface/transformers/issues/15227/events
https://github.com/huggingface/transformers/pull/15227
1,108,165,695
PR_kwDOCUB6oc4xRGAt
15,227
[Speech Event] Fix speech event readme
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_$PR_NUMBER). All of your documentation changes will be reflected on that endpoint.", "Thank you!", "Great job merging this PR! the documentation will now be removed from the staging environment." ]
1,642
1,642
1,642
MEMBER
null
# What does this PR do?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15227/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15227/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15227", "html_url": "https://github.com/huggingface/transformers/pull/15227", "diff_url": "https://github.com/huggingface/transformers/pull/15227.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15227.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15226
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15226/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15226/comments
https://api.github.com/repos/huggingface/transformers/issues/15226/events
https://github.com/huggingface/transformers/pull/15226
1,108,162,794
PR_kwDOCUB6oc4xRFZS
15,226
Correct Speech Event Readme
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_$PR_NUMBER). All of your documentation changes will be reflected on that endpoint.", "Great job merging this PR! the documentation will now be removed from the staging environment." ]
1,642
1,642
1,642
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15226/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15226/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15226", "html_url": "https://github.com/huggingface/transformers/pull/15226", "diff_url": "https://github.com/huggingface/transformers/pull/15226.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15226.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15225
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15225/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15225/comments
https://api.github.com/repos/huggingface/transformers/issues/15225/events
https://github.com/huggingface/transformers/pull/15225
1,108,112,281
PR_kwDOCUB6oc4xQ6nm
15,225
[Fix doc example] TFFunnelTokenizer' is not defined
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[]
1,642
1,642
1,642
COLLABORATOR
null
# What does this PR do? `TFFunnelTokenizer` should be changed to `FunnelTokenizer`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15225/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15225/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15225", "html_url": "https://github.com/huggingface/transformers/pull/15225", "diff_url": "https://github.com/huggingface/transformers/pull/15225.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15225.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15224
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15224/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15224/comments
https://api.github.com/repos/huggingface/transformers/issues/15224/events
https://github.com/huggingface/transformers/issues/15224
1,108,015,253
I_kwDOCUB6oc5CCviV
15,224
Copy of the custom modeling file when saving a model
{ "login": "benderama3", "id": 48454918, "node_id": "MDQ6VXNlcjQ4NDU0OTE4", "avatar_url": "https://avatars.githubusercontent.com/u/48454918?v=4", "gravatar_id": "", "url": "https://api.github.com/users/benderama3", "html_url": "https://github.com/benderama3", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Yes, there are plans to couple this we the `AutoXxx.register` API so that when you register a new architecture, the custom code is copied to the right places when doing `save_pretrained`. I'm hoping to get to this by the end of the week.", "This issue has been automatically marked as stale because it has not had...
1,642
1,648
1,648
NONE
null
Hi, When using the dynamic code loading feature #13467 , the custom modeling file (eg: modeling.py) isn't copied into the folder when you save the model. In this case, you have to manually copy the file to the folder to be able to reload the model from the checkpoint. Code example: ``` from transformers impor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15224/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15224/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15223
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15223/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15223/comments
https://api.github.com/repos/huggingface/transformers/issues/15223/events
https://github.com/huggingface/transformers/issues/15223
1,107,997,269
I_kwDOCUB6oc5CCrJV
15,223
where is the 4.16.0dev??
{ "login": "sipie800", "id": 42767079, "node_id": "MDQ6VXNlcjQyNzY3MDc5", "avatar_url": "https://avatars.githubusercontent.com/u/42767079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sipie800", "html_url": "https://github.com/sipie800", "followers_url": "https://api.github.com/users/sip...
[]
closed
false
null
[]
[ "Hey! That's the current `master` version :)\r\n\r\nhttps://github.com/huggingface/transformers/blob/80f72960913ab6682451c33dfa8035ef0c932128/setup.py#L354", "You can either clone the repo and install it locally, or install it with the following:\r\n```\r\npip install -U git+https://github.com/huggingface/transfo...
1,642
1,645
1,645
NONE
null
I'm running the run_mlm.py script. There is such a line, # Will error if the minimal version of Transformers is not installed. Remove at your own risks. check_min_version("4.16.0.dev0") but where is it? can't find by pip,no in github too.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15223/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15223/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15222
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15222/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15222/comments
https://api.github.com/repos/huggingface/transformers/issues/15222/events
https://github.com/huggingface/transformers/issues/15222
1,107,975,147
I_kwDOCUB6oc5CClvr
15,222
Is it possible to support Wav2Vec in ZeroShotClassificationPipeline?
{ "login": "mabu-dev", "id": 22409996, "node_id": "MDQ6VXNlcjIyNDA5OTk2", "avatar_url": "https://avatars.githubusercontent.com/u/22409996?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mabu-dev", "html_url": "https://github.com/mabu-dev", "followers_url": "https://api.github.com/users/mab...
[]
closed
false
null
[]
[ "Maybe of interest to @Narsil and @patrickvonplaten", "Pretty cool idea! @mabu-dev do you know whether there is a research paper on it? For NLI zero-shot we have this paper: https://huggingface.co/facebook/bart-large-mnli#nli-based-zero-shot-text-classification", "This issue has been automatically marked as sta...
1,642
1,645
1,645
NONE
null
Similar to the very helpful NLI-based zero-shot classification pipeline using a ModelForSequenceClassification, it would be great to have zero-shot on audio data. Pass wav file(s) with candidate labels to the pipeline and get a prediction. Is this at all on the roadmap?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15222/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15222/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15221
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15221/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15221/comments
https://api.github.com/repos/huggingface/transformers/issues/15221/events
https://github.com/huggingface/transformers/pull/15221
1,107,961,507
PR_kwDOCUB6oc4xQaf-
15,221
[ViTMAE] Various fixes
{ "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
[]
[ "Great job merging this PR! the documentation will now be removed from the staging environment." ]
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? This PR: - adds a link to a demo notebook for Facebook's MAE. - fixes the links to the docs of various Vision Transformer-based models in ViT's doc page. - fixes the code examples for MAE. - adds MAE to the `AutoFeatureExtractor` API.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15221/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15221/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15221", "html_url": "https://github.com/huggingface/transformers/pull/15221", "diff_url": "https://github.com/huggingface/transformers/pull/15221.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15221.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15220
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15220/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15220/comments
https://api.github.com/repos/huggingface/transformers/issues/15220/events
https://github.com/huggingface/transformers/issues/15220
1,107,943,582
I_kwDOCUB6oc5CCeCe
15,220
Wav2vec code not working with kenlm n-gram
{ "login": "harveenchadha", "id": 30959215, "node_id": "MDQ6VXNlcjMwOTU5MjE1", "avatar_url": "https://avatars.githubusercontent.com/u/30959215?v=4", "gravatar_id": "", "url": "https://api.github.com/users/harveenchadha", "html_url": "https://github.com/harveenchadha", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hey @harveenchadha, \r\n\r\nCould you try to instead follow the steps of the official blog post: https://huggingface.co/blog/wav2vec2-with-ngram . It's more up-to-date and contains more in-detail information.", "Hi, \r\nI created a processor with LM using my own data in Urdu Language. \r\nWhen decoding, I am get...
1,642
1,646
1,646
NONE
null
I followed all the steps listed in https://discuss.huggingface.co/t/how-to-create-wav2vec2-with-language-model/12703/7 to create LM but seems like I am getting no output at all. I tried to replicate all the steps listed for Hindi and failed. Also I tried to run the Spanish repo as pointed out by @patrickvonplaten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15220/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15220/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15219
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15219/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15219/comments
https://api.github.com/repos/huggingface/transformers/issues/15219/events
https://github.com/huggingface/transformers/pull/15219
1,107,911,597
PR_kwDOCUB6oc4xQP1U
15,219
Make chuking smartly (long files) work on asr ctc_with_lm.
{ "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
[]
[ "Great job merging this PR! the documentation will now be removed from the staging environment." ]
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15219/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15219/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15219", "html_url": "https://github.com/huggingface/transformers/pull/15219", "diff_url": "https://github.com/huggingface/transformers/pull/15219.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15219.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15218
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15218/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15218/comments
https://api.github.com/repos/huggingface/transformers/issues/15218/events
https://github.com/huggingface/transformers/issues/15218
1,107,805,988
I_kwDOCUB6oc5CB8ck
15,218
MobileBertForPreTraining means IB-BERT PreTraining?
{ "login": "changquanyou", "id": 9205633, "node_id": "MDQ6VXNlcjkyMDU2MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/9205633?v=4", "gravatar_id": "", "url": "https://api.github.com/users/changquanyou", "html_url": "https://github.com/changquanyou", "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/master/CONTRIBUTING.md)...
1,642
1,646
1,646
NONE
null
https://github.com/huggingface/transformers/blob/05fa1a7ac17bb7aa07b9e0c1e138ecb31a28bbfe/src/transformers/models/mobilebert/modeling_mobilebert.py#L902 You Know that the mobilebert(student model) is distilled from IB-BERT(The Teacher Model), The MobileBertForPreTraining means IB-BERT PreTraining?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15218/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15218/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15217
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15217/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15217/comments
https://api.github.com/repos/huggingface/transformers/issues/15217/events
https://github.com/huggingface/transformers/issues/15217
1,107,776,628
I_kwDOCUB6oc5CB1R0
15,217
[ONNX] transformer.onnx exporting fails for longformer
{ "login": "RaedShabbir", "id": 10871104, "node_id": "MDQ6VXNlcjEwODcxMTA0", "avatar_url": "https://avatars.githubusercontent.com/u/10871104?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RaedShabbir", "html_url": "https://github.com/RaedShabbir", "followers_url": "https://api.github.com/...
[]
closed
false
{ "login": "lewtun", "id": 26859204, "node_id": "MDQ6VXNlcjI2ODU5MjA0", "avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewtun", "html_url": "https://github.com/lewtun", "followers_url": "https://api.github.com/users/lewtun/fo...
[ { "login": "lewtun", "id": 26859204, "node_id": "MDQ6VXNlcjI2ODU5MjA0", "avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewtun", "html_url": "https://github.com/lewtun", "followers_url": "https://api.github...
[ "Hi @RaedShabbir thank you for reporting this bug! It seems that this one slipped through our unit tests and it's not currently possible to export Longformer due to a limitation with the ops supported in JIT.\r\n\r\nWe plan to remove Longformer from the list of supported architectures for ONNX until a long-term sol...
1,642
1,648
1,648
NONE
null
## Environment info - `transformers` version: 4.16.0.dev0 - Platform: Linux-5.11.0-1024-gcp-x86_64-with-debian-bullseye-sid - Python version: 3.7.11 - PyTorch version (GPU?): 1.10.1+cu102 (True) - Tensorflow version (GPU?): 2.7.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not ins...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15217/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15217/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15216
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15216/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15216/comments
https://api.github.com/repos/huggingface/transformers/issues/15216/events
https://github.com/huggingface/transformers/issues/15216
1,107,770,420
I_kwDOCUB6oc5CBzw0
15,216
DebertaForMaskedLM cannot load the parameters in the MLM head from microsoft/deberta-base
{ "login": "tqfang", "id": 32098489, "node_id": "MDQ6VXNlcjMyMDk4NDg5", "avatar_url": "https://avatars.githubusercontent.com/u/32098489?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tqfang", "html_url": "https://github.com/tqfang", "followers_url": "https://api.github.com/users/tqfang/fo...
[]
closed
false
null
[]
[ "Pinging @BigBird01 on the issue", "does someone know the answer?", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](...
1,642
1,648
1,647
NONE
null
my env: ``` transformers 4.15.0 ``` ``` from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("microsoft/deberta-base") ``` The warning goes like: ``` Some weights of the model checkpoint at microsoft/deberta-base were not used when initializing DebertaForMasked...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15216/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15216/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15215
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15215/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15215/comments
https://api.github.com/repos/huggingface/transformers/issues/15215/events
https://github.com/huggingface/transformers/issues/15215
1,107,665,073
I_kwDOCUB6oc5CBaCx
15,215
ALL YOUR BASE ARE BELONG TO 504.
{ "login": "ark10806", "id": 30382262, "node_id": "MDQ6VXNlcjMwMzgyMjYy", "avatar_url": "https://avatars.githubusercontent.com/u/30382262?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ark10806", "html_url": "https://github.com/ark10806", "followers_url": "https://api.github.com/users/ark...
[]
closed
false
null
[]
[ "![image](https://user-images.githubusercontent.com/48780754/150070713-002d6e62-f87f-4d8e-b380-7963413953b8.png)\r\n", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues ...
1,642
1,645
1,645
NONE
null
<img width="1223" alt="image" src="https://user-images.githubusercontent.com/30382262/150070377-edb319a5-7c28-4478-ba8e-123aebc46499.png">
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15215/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 3, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15215/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15214
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15214/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15214/comments
https://api.github.com/repos/huggingface/transformers/issues/15214/events
https://github.com/huggingface/transformers/issues/15214
1,107,467,450
I_kwDOCUB6oc5CApy6
15,214
Add support for BERT SequenceClassification conversion to ONNX
{ "login": "naimenz", "id": 29357492, "node_id": "MDQ6VXNlcjI5MzU3NDky", "avatar_url": "https://avatars.githubusercontent.com/u/29357492?v=4", "gravatar_id": "", "url": "https://api.github.com/users/naimenz", "html_url": "https://github.com/naimenz", "followers_url": "https://api.github.com/users/naimen...
[]
closed
false
null
[]
[ "I'm pretty sure `xxxForSequenceClassification` models are supported. You can read the updated docs [here](https://huggingface.co/docs/transformers/master/en/serialization).\r\n\r\nFor instance, you can convert one as follows:\r\n\r\n```\r\npython -m transformers.onnx --model=distilbert-base-uncased-finetuned-sst-2...
1,642
1,642
1,642
NONE
null
# 🚀 Feature request Currently, the `SequenceClassification` pipeline is not supported for converting BERT-based models to ONNX. Support for this pipeline would be great. ## Motivation As part of a recent internship, I needed to deploy a `SequenceClassification` `SciBERT` model by first converting it to ONNX a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15214/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15214/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15213
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15213/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15213/comments
https://api.github.com/repos/huggingface/transformers/issues/15213/events
https://github.com/huggingface/transformers/pull/15213
1,107,431,592
PR_kwDOCUB6oc4xOsg_
15,213
[WIP] [doc] performance/scalability revamp
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "Hi @stas00 \r\n\r\nThanks for shaping the structure - this is looking great! I have been thinking about this a bit more and have a two main comments:\r\n- Not sure if you copy-pasted the subsections or if they are supposed to be like that. There is a lot of redundancy and I think if we e.g. explain mixed precision...
1,642
1,651
1,645
CONTRIBUTOR
null
@lvwerra and I are working on a massive performance/scalability docs revamp: So the rough plan is to make custom plans for each of the combinations `[inference|training] * [1 gpu|many gpus|cpu]` so that it's very easy for the user to follow the instructions that are specific to their needs. So the proposed doc la...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15213/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15213/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15213", "html_url": "https://github.com/huggingface/transformers/pull/15213", "diff_url": "https://github.com/huggingface/transformers/pull/15213.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15213.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15212
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15212/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15212/comments
https://api.github.com/repos/huggingface/transformers/issues/15212/events
https://github.com/huggingface/transformers/issues/15212
1,107,230,096
I_kwDOCUB6oc5B_v2Q
15,212
ValueError: transformers.models.auto.__spec__ is None. causing import errors
{ "login": "lucymc12", "id": 20420553, "node_id": "MDQ6VXNlcjIwNDIwNTUz", "avatar_url": "https://avatars.githubusercontent.com/u/20420553?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucymc12", "html_url": "https://github.com/lucymc12", "followers_url": "https://api.github.com/users/luc...
[]
closed
false
null
[]
[ "Having the same issue too! Exact same reproducible code + transformers version.", "Same issue with `transformers 4.10.0, 4.10.2` and `pytorch-lightning 1.3.5`", "I have the same issue :(", "Installing `torchmetrics==0.6.2` helped in my case.", "Seems like [this PR](https://github.com/huggingface/transform...
1,642
1,642
1,642
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.15.0 - Platform: Colaboratory - Python version: 3.7.12 ### Who can help @LysandreJik <!-- Your iss...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15212/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15212/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15211
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15211/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15211/comments
https://api.github.com/repos/huggingface/transformers/issues/15211/events
https://github.com/huggingface/transformers/pull/15211
1,107,205,809
PR_kwDOCUB6oc4xN9ln
15,211
Add FastTokenizer to REALM
{ "login": "qqaatw", "id": 24835382, "node_id": "MDQ6VXNlcjI0ODM1Mzgy", "avatar_url": "https://avatars.githubusercontent.com/u/24835382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qqaatw", "html_url": "https://github.com/qqaatw", "followers_url": "https://api.github.com/users/qqaatw/fo...
[]
closed
false
null
[]
[]
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? This is a follow-up PR of https://github.com/huggingface/transformers/pull/13292#discussion_r786162541 and https://github.com/huggingface/transformers/pull/13292#discussion_r780749863. This PR removes the `BertTokenizer` abstraction and adds a `FastTokenizer` to REALM. <!-- Remove if no...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15211/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15211/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15211", "html_url": "https://github.com/huggingface/transformers/pull/15211", "diff_url": "https://github.com/huggingface/transformers/pull/15211.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15211.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15210
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15210/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15210/comments
https://api.github.com/repos/huggingface/transformers/issues/15210/events
https://github.com/huggingface/transformers/pull/15210
1,107,126,511
PR_kwDOCUB6oc4xNtH9
15,210
Build dev documentation
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Thank you for your PR. The documentation will now be removed from the staging environment - feel free to reopen this PR to recreate it.", "Thank you for your PR! The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15110).\\n\\nAll of your documentation changes will be reflec...
1,642
1,642
1,642
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15210/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15210/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15210", "html_url": "https://github.com/huggingface/transformers/pull/15210", "diff_url": "https://github.com/huggingface/transformers/pull/15210.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15210.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15209
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15209/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15209/comments
https://api.github.com/repos/huggingface/transformers/issues/15209/events
https://github.com/huggingface/transformers/pull/15209
1,107,078,538
PR_kwDOCUB6oc4xNi52
15,209
Build dev documentation
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,642
1,642
1,642
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15209/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15209/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15209", "html_url": "https://github.com/huggingface/transformers/pull/15209", "diff_url": "https://github.com/huggingface/transformers/pull/15209.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15209.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15208
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15208/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15208/comments
https://api.github.com/repos/huggingface/transformers/issues/15208/events
https://github.com/huggingface/transformers/pull/15208
1,107,066,082
PR_kwDOCUB6oc4xNgUM
15,208
Build dev documentation
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,642
1,642
1,642
MEMBER
null
Builds the dev documentation
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15208/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15208/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15208", "html_url": "https://github.com/huggingface/transformers/pull/15208", "diff_url": "https://github.com/huggingface/transformers/pull/15208.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15208.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15207
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15207/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15207/comments
https://api.github.com/repos/huggingface/transformers/issues/15207/events
https://github.com/huggingface/transformers/pull/15207
1,107,031,049
PR_kwDOCUB6oc4xNZCm
15,207
Rename compute_loss in TF models
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,642
1,642
1,642
MEMBER
null
This PR renames the `compute_loss` method on our models to `hf_compute_loss`, as Keras has just added a `compute_loss` method to its base `Model` class that causes lots of conflicts. Draft PR for now, since this will probably break something!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15207/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15207/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15207", "html_url": "https://github.com/huggingface/transformers/pull/15207", "diff_url": "https://github.com/huggingface/transformers/pull/15207.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15207.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15206
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15206/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15206/comments
https://api.github.com/repos/huggingface/transformers/issues/15206/events
https://github.com/huggingface/transformers/issues/15206
1,107,030,571
I_kwDOCUB6oc5B-_Ir
15,206
Different generations with the NLP model MarianMT of HuggingFace
{ "login": "yassine0abba", "id": 43982510, "node_id": "MDQ6VXNlcjQzOTgyNTEw", "avatar_url": "https://avatars.githubusercontent.com/u/43982510?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yassine0abba", "html_url": "https://github.com/yassine0abba", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "for the notice, 58100 is the pad_id of the model\r\n", "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!", "This issue has been automatically marked as stale beca...
1,642
1,646
1,646
NONE
null
I'm trying to use the NLP model " MarianMT" from HuggingFace, and I want to use my own implementation of decoding (ex : Greedy Decoding). I compared my implementatin to Hugging Face implementation. (model.generate()) I implemented it; I checked the code 100 times and I don't know why I have different text generation...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15206/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15206/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15205
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15205/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15205/comments
https://api.github.com/repos/huggingface/transformers/issues/15205/events
https://github.com/huggingface/transformers/pull/15205
1,106,986,917
PR_kwDOCUB6oc4xNPyd
15,205
Remove dependency to quiet Dependabot
{ "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
[]
[]
1,642
1,642
1,642
COLLABORATOR
null
# What does this PR do? We are spammed by Dependabot alerts on this dependency, and there doesn't seem to be a version with a fix, so I'm suggesting removing it entirely.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15205/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15205/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15205", "html_url": "https://github.com/huggingface/transformers/pull/15205", "diff_url": "https://github.com/huggingface/transformers/pull/15205.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15205.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15204
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15204/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15204/comments
https://api.github.com/repos/huggingface/transformers/issues/15204/events
https://github.com/huggingface/transformers/pull/15204
1,106,982,878
PR_kwDOCUB6oc4xNO7w
15,204
Ignore empty subfolders when identifying submodules
{ "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
[]
[ "Thanks for fixing!" ]
1,642
1,642
1,642
COLLABORATOR
null
# What does this PR do? As point out by @NielsRogge, when someone has an empty subfolder with just pycache in them (after checking out a branch for instance), the new check in `check_inits` will fail. This PR addresses that.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15204/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15204/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15204", "html_url": "https://github.com/huggingface/transformers/pull/15204", "diff_url": "https://github.com/huggingface/transformers/pull/15204.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15204.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15203
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15203/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15203/comments
https://api.github.com/repos/huggingface/transformers/issues/15203/events
https://github.com/huggingface/transformers/issues/15203
1,106,972,266
I_kwDOCUB6oc5B-w5q
15,203
How can i add new_token ?
{ "login": "mathshangw", "id": 81472315, "node_id": "MDQ6VXNlcjgxNDcyMzE1", "avatar_url": "https://avatars.githubusercontent.com/u/81472315?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mathshangw", "html_url": "https://github.com/mathshangw", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nCan you please ask this question on our [forum](https://discuss.huggingface.co/) rather than here?\r\n\r\nWe'd like to keep Github issues for bugs/feature requests.\r\n\r\nThanks!" ]
1,642
1,642
1,642
NONE
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15203/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15203/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15202
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15202/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15202/comments
https://api.github.com/repos/huggingface/transformers/issues/15202/events
https://github.com/huggingface/transformers/pull/15202
1,106,955,541
PR_kwDOCUB6oc4xNJQX
15,202
Copies and docstring styling
{ "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
[]
[]
1,642
1,642
1,642
COLLABORATOR
null
# What does this PR do? This PR makes the `check_copies` script a little bit more resilient by making sure it applies the styling on the docstrings when making/checking the copies. This will fixe issues like the one encountered in #15079
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15202/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15202/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15202", "html_url": "https://github.com/huggingface/transformers/pull/15202", "diff_url": "https://github.com/huggingface/transformers/pull/15202.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15202.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15201
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15201/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15201/comments
https://api.github.com/repos/huggingface/transformers/issues/15201/events
https://github.com/huggingface/transformers/pull/15201
1,106,926,503
PR_kwDOCUB6oc4xNDLx
15,201
[MBartTokenizer] remove dep on xlm-roberta tokenizer
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,642
1,642
1,642
MEMBER
null
# What does this PR do? This PR makes `MBartTokenizer` and `MBartTokenizerFast` standalone and removes dependency on `XLMRobertaTokenizer`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15201/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/15201/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15201", "html_url": "https://github.com/huggingface/transformers/pull/15201", "diff_url": "https://github.com/huggingface/transformers/pull/15201.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15201.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15200
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15200/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15200/comments
https://api.github.com/repos/huggingface/transformers/issues/15200/events
https://github.com/huggingface/transformers/pull/15200
1,106,920,050
PR_kwDOCUB6oc4xNB0_
15,200
[ASR pipeline] correct with lm pipeline
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,642
1,642
1,642
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15200/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15200/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15200", "html_url": "https://github.com/huggingface/transformers/pull/15200", "diff_url": "https://github.com/huggingface/transformers/pull/15200.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15200.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15199
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15199/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15199/comments
https://api.github.com/repos/huggingface/transformers/issues/15199/events
https://github.com/huggingface/transformers/issues/15199
1,106,877,343
I_kwDOCUB6oc5B-Zuf
15,199
GPT2: masked_bias should be sufficiently small instead of -1e4
{ "login": "maxwellzh", "id": 32546978, "node_id": "MDQ6VXNlcjMyNTQ2OTc4", "avatar_url": "https://avatars.githubusercontent.com/u/32546978?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maxwellzh", "html_url": "https://github.com/maxwellzh", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hey @maxwellzh, this is a similar conversation to what was said here: https://github.com/huggingface/transformers/issues/14859\r\n\r\nThanks for raising this issue!", "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 co...
1,642
1,645
1,645
NONE
null
See also #9594 My package build `transformers==4.12.3`. Ideally for a causal language model, we should set it as -inf. Current setting -1e4 is not **small** enough. In my case, the model would learn to lower the attention weight of left context such that it could get the information of right context, which is ill...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15199/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15199/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15198
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15198/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15198/comments
https://api.github.com/repos/huggingface/transformers/issues/15198/events
https://github.com/huggingface/transformers/pull/15198
1,106,785,626
PR_kwDOCUB6oc4xMlQ6
15,198
[examples/Flax] add a section about GPUs
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,642
1,643
1,643
MEMBER
null
# What does this PR do? This PR adds a section in the flax readme on how to run the example scripts on GPU and links JAX's GPU installation guide.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15198/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/15198/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15198", "html_url": "https://github.com/huggingface/transformers/pull/15198", "diff_url": "https://github.com/huggingface/transformers/pull/15198.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15198.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15197
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15197/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15197/comments
https://api.github.com/repos/huggingface/transformers/issues/15197/events
https://github.com/huggingface/transformers/issues/15197
1,106,771,434
I_kwDOCUB6oc5B9_3q
15,197
Question about fine-tuning BeitForSemanticSegmentation model
{ "login": "KombangkoeDias", "id": 47164917, "node_id": "MDQ6VXNlcjQ3MTY0OTE3", "avatar_url": "https://avatars.githubusercontent.com/u/47164917?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KombangkoeDias", "html_url": "https://github.com/KombangkoeDias", "followers_url": "https://api.gi...
[]
closed
false
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[ { "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https:...
[ "Hi,\r\n\r\nYou can take a look at this notebook: https://github.com/NielsRogge/Transformers-Tutorials/blob/master/SegFormer/Fine_tune_SegFormer_on_custom_dataset.ipynb\r\n\r\nIt shows how to fine-tune SegFormer on a custom dataset (BeiT is equivalent), and it also outputs logits of shape (batch_size, num_labels, h...
1,642
1,642
1,642
NONE
null
From the documentation, it says that the logits shape will be (batch_size, num_labels, height/4, width/4) I assume that the logits are the output masks of the model (since I'm doing the segmentation). How do I convert this shape (height /4, width /4) to the original image's shape before being resized to (height, wid...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15197/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15197/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15196
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15196/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15196/comments
https://api.github.com/repos/huggingface/transformers/issues/15196/events
https://github.com/huggingface/transformers/issues/15196
1,106,769,114
I_kwDOCUB6oc5B9_Ta
15,196
Wav2Vec2ForCTC fine-tuning best practices
{ "login": "stefan-falk", "id": 43335432, "node_id": "MDQ6VXNlcjQzMzM1NDMy", "avatar_url": "https://avatars.githubusercontent.com/u/43335432?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-falk", "html_url": "https://github.com/stefan-falk", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey @stefan-falk, \r\n\r\nTo answer your questions above:\r\n\r\n> Q: Should we use subwords instead of characters in the vocabulary?\r\n> Subwords appear to work great for Transformer-models but I am not sure what the best practice is here with a CTC model.\r\n\r\nYou can try, but I don't recommend to do it. The ...
1,642
1,646
1,646
NONE
null
I have started to train models based on [this tutorial](https://huggingface.co/blog/fine-tune-wav2vec2-english) (thanks to @patrickvonplaten) and so far everything works. > Note: The model I am fine-tuning here is the [`facebook/wav2vec-base`](https://huggingface.co/facebook/wav2vec2-base) model as I am targeting m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15196/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15196/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15195
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15195/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15195/comments
https://api.github.com/repos/huggingface/transformers/issues/15195/events
https://github.com/huggingface/transformers/issues/15195
1,106,752,094
I_kwDOCUB6oc5B97Je
15,195
Tensorboard missing values
{ "login": "stefan-falk", "id": 43335432, "node_id": "MDQ6VXNlcjQzMzM1NDMy", "avatar_url": "https://avatars.githubusercontent.com/u/43335432?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-falk", "html_url": "https://github.com/stefan-falk", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "That's strange @severo do you maybe have any idea?", "BTW, @stefan-falk feel free to share a link to your training repo here if the 30% WER seems to high for you. There are some hidden tricks on how to evaluate and train wav2vec2-base, *e.g.* https://github.com/pytorch/fairseq/issues/3227", "No idea. @stefan-f...
1,642
1,648
1,648
NONE
null
## Environment info - `transformers` version: 4.12.5 - Platform: Ubuntu 18 - Python version: 3.8 ### Who can help Models: - Wav2Vec2 @patrickvonplaten @anton-l ## Information Model I am using is Wav2Vec2ForCTC and it is regarding the eval/loss in Tensorboard. For some (most) of my experiments I'd no...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15195/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15195/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15194
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15194/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15194/comments
https://api.github.com/repos/huggingface/transformers/issues/15194/events
https://github.com/huggingface/transformers/pull/15194
1,106,740,618
PR_kwDOCUB6oc4xMbwk
15,194
`is_ctc` needs to be updated to `self.type == "ctc".
{ "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
[]
[]
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15194/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15194/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15194", "html_url": "https://github.com/huggingface/transformers/pull/15194", "diff_url": "https://github.com/huggingface/transformers/pull/15194.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15194.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15193
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15193/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15193/comments
https://api.github.com/repos/huggingface/transformers/issues/15193/events
https://github.com/huggingface/transformers/pull/15193
1,106,705,232
PR_kwDOCUB6oc4xMUPb
15,193
M2M100 support for ONNX export
{ "login": "michaelbenayoun", "id": 25418079, "node_id": "MDQ6VXNlcjI1NDE4MDc5", "avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/michaelbenayoun", "html_url": "https://github.com/michaelbenayoun", "followers_url": "https://api...
[]
closed
false
null
[]
[ "The export for `seq2seq-lm` and `seq2seq-lm-with-past` is failing due to \r\n```\r\nRuntimeError: Exporting model exceed maximum protobuf size of 2GB. Please call torch.onnx.export without setting use_external_data_format parameter.\r\n```\r\nThe `OnnxConfig.use_external_data_format` finds that the size is ok... w...
1,642
1,646
1,646
MEMBER
null
# What does this PR do? Enable ONNX export for M2M100 models for the following tasks: - default - default-with-past - seq2seq-lm - seq2seq-lm-with-past Related issue: #15060
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15193/reactions", "total_count": 4, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15193/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15193", "html_url": "https://github.com/huggingface/transformers/pull/15193", "diff_url": "https://github.com/huggingface/transformers/pull/15193.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15193.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15192
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15192/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15192/comments
https://api.github.com/repos/huggingface/transformers/issues/15192/events
https://github.com/huggingface/transformers/issues/15192
1,106,473,687
I_kwDOCUB6oc5B83LX
15,192
Question about fine-tuning with vision transformer (VIT)
{ "login": "YHYeooooong", "id": 43724177, "node_id": "MDQ6VXNlcjQzNzI0MTc3", "avatar_url": "https://avatars.githubusercontent.com/u/43724177?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YHYeooooong", "html_url": "https://github.com/YHYeooooong", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nYou can easily disable parameters which you don't want to train with requires_grad=False:\r\n\r\n```\r\nfrom transformers import ViTForImageClassification\r\n\r\nmodel = ViTForImageClassification.from_pretrained(\"google/vit-base-patch16-224-in21k\")\r\n\r\nfor name, param in model.named_parameters():\r...
1,642
1,642
1,642
NONE
null
Thanks for sharing great work! I have a simple question about fine-tuning with VIT. Is there any option for selecting trainable weight during fine-tuning phase? Or can I only train all weight?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15192/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15192/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15191
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15191/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15191/comments
https://api.github.com/repos/huggingface/transformers/issues/15191/events
https://github.com/huggingface/transformers/issues/15191
1,106,449,286
I_kwDOCUB6oc5B8xOG
15,191
can't set gradient_checkpointing=True when using the DistributedDataParallel mode
{ "login": "jinxinglu", "id": 26435943, "node_id": "MDQ6VXNlcjI2NDM1OTQz", "avatar_url": "https://avatars.githubusercontent.com/u/26435943?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jinxinglu", "html_url": "https://github.com/jinxinglu", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "You need to have `dpp_find_unused_parameters=False` when using `gradient_checkpointing=True`.", "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...
1,642
1,645
1,645
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.15.0 - Platform: 2GPU-V100 with 16GB - Python version: 3.6.8 - PyTorch version (GPU?): 1.10.1+cu102 - Ten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15191/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15191/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15190
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15190/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15190/comments
https://api.github.com/repos/huggingface/transformers/issues/15190/events
https://github.com/huggingface/transformers/issues/15190
1,106,364,207
I_kwDOCUB6oc5B8ccv
15,190
`AutoConfig` doesn't support `gpt-neox`
{ "login": "mkshing", "id": 33302880, "node_id": "MDQ6VXNlcjMzMzAyODgw", "avatar_url": "https://avatars.githubusercontent.com/u/33302880?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mkshing", "html_url": "https://github.com/mkshing", "followers_url": "https://api.github.com/users/mkshin...
[]
closed
false
null
[]
[ "@patil-suraj I found the problem in my code. Because I defined the `gpt-neox` model by my own custom class, of course, `transformers` couldn't recognize it! My apologies! I will close this issue. " ]
1,642
1,642
1,642
NONE
null
@patil-suraj ## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: v4.11.3 - Platform: Macbook (CPU) - Python version: 3.8.10 - PyTorch version (GPU?): 1.10.0(CP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15190/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15190/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15189
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15189/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15189/comments
https://api.github.com/repos/huggingface/transformers/issues/15189/events
https://github.com/huggingface/transformers/issues/15189
1,106,345,148
I_kwDOCUB6oc5B8Xy8
15,189
run_t5_mlm_flax.py Multi GPU Training
{ "login": "ToluClassics", "id": 38908008, "node_id": "MDQ6VXNlcjM4OTA4MDA4", "avatar_url": "https://avatars.githubusercontent.com/u/38908008?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ToluClassics", "html_url": "https://github.com/ToluClassics", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hey @ToluClassics,\r\n\r\nCould you please open an issue on https://github.com/google/jax as your problem does not seem to be related to Transformers", "@ToluClassics @patrickvonplaten @patil-suraj @sgugger \r\nI also have the same issue with the exact same script.\r\n\r\nHow is it resolved finally?\r\nHow can I...
1,642
1,680
1,642
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.15.0 - Platform: Ubuntu - Python version: Python 3.9.9 - PyTorch version (GPU?): 1.10.1 ### Who can he...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15189/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15189/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15188
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15188/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15188/comments
https://api.github.com/repos/huggingface/transformers/issues/15188/events
https://github.com/huggingface/transformers/pull/15188
1,106,212,094
PR_kwDOCUB6oc4xKu1G
15,188
Mark bad tokenizers version
{ "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
[]
[ "Errors come from Hub connection errors, so merging." ]
1,642
1,642
1,642
COLLABORATOR
null
# What does this PR do? Last release of tokenizers breaks many tests, this makes sure the bad version is not installed.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15188/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 1, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15188/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15188", "html_url": "https://github.com/huggingface/transformers/pull/15188", "diff_url": "https://github.com/huggingface/transformers/pull/15188.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15188.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15187
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15187/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15187/comments
https://api.github.com/repos/huggingface/transformers/issues/15187/events
https://github.com/huggingface/transformers/pull/15187
1,106,207,888
PR_kwDOCUB6oc4xKt-e
15,187
[Fix doc example] TFRagModel
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[]
1,642
1,651
1,642
COLLABORATOR
null
# What does this PR do? Fix some doc examples in TFRagModel, e.g. missing/wrong import, wrong class name, missing real checkpoint name, etc. ## Who can review?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15187/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15187/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15187", "html_url": "https://github.com/huggingface/transformers/pull/15187", "diff_url": "https://github.com/huggingface/transformers/pull/15187.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15187.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15186
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15186/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15186/comments
https://api.github.com/repos/huggingface/transformers/issues/15186/events
https://github.com/huggingface/transformers/pull/15186
1,106,190,897
PR_kwDOCUB6oc4xKqbh
15,186
Error when code examples are improperly closed
{ "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
[]
[]
1,642
1,642
1,642
COLLABORATOR
null
# What does this PR do? When an MDX file has a code sample that is not properly closed, the doc styler ends up removing part of that file. This PR addresses that problem by raising an error before the file is overwritten, so the user knows what's wrong and can fix it.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15186/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15186/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15186", "html_url": "https://github.com/huggingface/transformers/pull/15186", "diff_url": "https://github.com/huggingface/transformers/pull/15186.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15186.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15185
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15185/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15185/comments
https://api.github.com/repos/huggingface/transformers/issues/15185/events
https://github.com/huggingface/transformers/issues/15185
1,106,119,603
I_kwDOCUB6oc5B7guz
15,185
Longformer Set Global Attention Layers Non-Trainable
{ "login": "MarkWijkhuizen", "id": 9844332, "node_id": "MDQ6VXNlcjk4NDQzMzI=", "avatar_url": "https://avatars.githubusercontent.com/u/9844332?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MarkWijkhuizen", "html_url": "https://github.com/MarkWijkhuizen", "followers_url": "https://api.gith...
[]
closed
false
null
[]
[ "Hi @MarkWijkhuizen! Thank you for your input. \r\n\r\nIf you have the time, I'd like to encourage you to open a PR with the change. Otherwise, no worries, let us know (and, if possible, give us more pointers -- e.g., a reference to the paragraph in the paper where they mention this part of the training regime) 🤗 ...
1,642
1,645
1,645
NONE
null
# 🚀 Feature request Tensorflow Longformer model set global attention layers non-trainable. ## Motivation During training global attention is not used giving zero gradients for all global attention weights. Setting the global attention layers to non-trainable will decrease training time and reduce memory consu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15185/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15185/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15184
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15184/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15184/comments
https://api.github.com/repos/huggingface/transformers/issues/15184/events
https://github.com/huggingface/transformers/pull/15184
1,106,084,147
PR_kwDOCUB6oc4xKUBA
15,184
[doc] new MoE paper
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[]
1,642
1,642
1,642
CONTRIBUTOR
null
add new paper
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15184/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15184/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15184", "html_url": "https://github.com/huggingface/transformers/pull/15184", "diff_url": "https://github.com/huggingface/transformers/pull/15184.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15184.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15183
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15183/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15183/comments
https://api.github.com/repos/huggingface/transformers/issues/15183/events
https://github.com/huggingface/transformers/issues/15183
1,106,038,138
I_kwDOCUB6oc5B7M16
15,183
ValueError When Padding Long Sequences To Small Max Length (Pytorch and Tensorflow)
{ "login": "darien-schettler", "id": 50381286, "node_id": "MDQ6VXNlcjUwMzgxMjg2", "avatar_url": "https://avatars.githubusercontent.com/u/50381286?v=4", "gravatar_id": "", "url": "https://api.github.com/users/darien-schettler", "html_url": "https://github.com/darien-schettler", "followers_url": "https://...
[]
closed
false
null
[]
[ "I'm not sure where the bug is: you want to pad sequences to a length lower than the maximum length of your two sentences. The tokenizer does that but you end up with two sentences of different length (the smallest one has been padded to 8 tokens and the longest one is longer) so it's not possible to batch them tog...
1,642
1,705
1,642
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.15.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15183/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15183/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15182
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15182/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15182/comments
https://api.github.com/repos/huggingface/transformers/issues/15182/events
https://github.com/huggingface/transformers/pull/15182
1,106,007,529
PR_kwDOCUB6oc4xKD_d
15,182
Fix incorrect max_seq_length bug in pytorch training scripts
{ "login": "novice03", "id": 44259234, "node_id": "MDQ6VXNlcjQ0MjU5MjM0", "avatar_url": "https://avatars.githubusercontent.com/u/44259234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/novice03", "html_url": "https://github.com/novice03", "followers_url": "https://api.github.com/users/nov...
[]
closed
false
null
[]
[ "As said on the linked issue, this should not be changed." ]
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? Fixes #15181 Input sequences are not correctly truncated to the correct length in the `run_mlm.py` script. Even if a model can support large sequence lengths (such as 1024 or 2048), the sequences are truncated to the tokenizer's default `model_max_length`. This bug is described [here](htt...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15182/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15182/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15182", "html_url": "https://github.com/huggingface/transformers/pull/15182", "diff_url": "https://github.com/huggingface/transformers/pull/15182.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15182.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15181
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15181/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15181/comments
https://api.github.com/repos/huggingface/transformers/issues/15181/events
https://github.com/huggingface/transformers/issues/15181
1,106,006,801
I_kwDOCUB6oc5B7FMR
15,181
Bug with max_seq_length argument in training scripts
{ "login": "novice03", "id": 44259234, "node_id": "MDQ6VXNlcjQ0MjU5MjM0", "avatar_url": "https://avatars.githubusercontent.com/u/44259234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/novice03", "html_url": "https://github.com/novice03", "followers_url": "https://api.github.com/users/nov...
[]
closed
false
null
[]
[ "No, the tokenizer used should be manually fixed if its maximum length is incorrect, but we shouldn't change that part of the script. This is not a bug, but a desired feature, as the corresponding pretrained model will not work with a greater maximum length.\r\n\r\nYou can always change the example script (which ar...
1,642
1,642
1,642
CONTRIBUTOR
null
Hello, I am trying to train Nystromformer for Masked Language Modeling with a sequence length of 1024 using the [run_mlm.py](https://github.com/huggingface/transformers/blob/master/examples/pytorch/language-modeling/run_mlm.py) script. As, I understand it, the `max_seq_length` argument of the script controls the maximu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15181/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15181/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15180
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15180/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15180/comments
https://api.github.com/repos/huggingface/transformers/issues/15180/events
https://github.com/huggingface/transformers/pull/15180
1,105,902,411
PR_kwDOCUB6oc4xJtuQ
15,180
Fix deprecation warnings for int div
{ "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
[]
[]
1,642
1,642
1,642
COLLABORATOR
null
Co-authored-by: mgoldey <matthew.goldey@gmail.com> # What does this PR do? This PR fixes the int div warnings by using the new API in PyTorch for versions >= 1.8 all the while keeping backward compatibility with older versions. Supersedes #14577
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15180/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15180/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15180", "html_url": "https://github.com/huggingface/transformers/pull/15180", "diff_url": "https://github.com/huggingface/transformers/pull/15180.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15180.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15179
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15179/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15179/comments
https://api.github.com/repos/huggingface/transformers/issues/15179/events
https://github.com/huggingface/transformers/issues/15179
1,105,884,759
I_kwDOCUB6oc5B6nZX
15,179
Unclear documentation regarding sequence length for all-MiniLM-L6-v2
{ "login": "sanderland", "id": 48946947, "node_id": "MDQ6VXNlcjQ4OTQ2OTQ3", "avatar_url": "https://avatars.githubusercontent.com/u/48946947?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanderland", "html_url": "https://github.com/sanderland", "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/master/CONTRIBUTING.md)...
1,642
1,697
1,645
CONTRIBUTOR
null
On [the model card for MiniLM-L6](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) it says > By default, input text longer than 256 word pieces is truncated. However, looking at the model and tokenizer ```model = AutoModel.from_pretrained("sentence-transformers/all-MiniLM-L6-v2")``` It seems to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15179/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15179/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15178
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15178/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15178/comments
https://api.github.com/repos/huggingface/transformers/issues/15178/events
https://github.com/huggingface/transformers/pull/15178
1,105,840,970
PR_kwDOCUB6oc4xJgqp
15,178
Fix dtype issue in TF BART
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,642
1,642
1,642
MEMBER
null
Fixes an issue in BART caused by implicit casting of Python ints to tf.int32, when other inputs are tf.int64. We usually get away with this, but tf.where() requires both inputs to have the same dtype.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15178/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/15178/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15178", "html_url": "https://github.com/huggingface/transformers/pull/15178", "diff_url": "https://github.com/huggingface/transformers/pull/15178.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15178.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15177
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15177/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15177/comments
https://api.github.com/repos/huggingface/transformers/issues/15177/events
https://github.com/huggingface/transformers/issues/15177
1,105,823,905
I_kwDOCUB6oc5B6Yih
15,177
processing texts longer than 512 tokens with token-classification pipeline
{ "login": "oliverguhr", "id": 3495355, "node_id": "MDQ6VXNlcjM0OTUzNTU=", "avatar_url": "https://avatars.githubusercontent.com/u/3495355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oliverguhr", "html_url": "https://github.com/oliverguhr", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Hi @oliverguhr ,\r\n\r\nSo this specific pipelines truncates by default, and changing that would mean a breaking change.\r\n\r\nThe problem with \"chunking\" on this pipeline is that models usually need context before and after a token to get proper context to get a useful classification.\r\nThat means, than in or...
1,642
1,669
1,645
CONTRIBUTOR
null
# 🚀 Feature request Currently, the token-classification pipeline truncates input texts longer than 512 tokens. It would be great if the pipeline could process texts of any length. ## Motivation This issue is a result of this feature request: huggingface/hub-docs#11 As suggested I am tagging @Narsil here...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15177/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15177/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15176
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15176/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15176/comments
https://api.github.com/repos/huggingface/transformers/issues/15176/events
https://github.com/huggingface/transformers/issues/15176
1,105,738,823
I_kwDOCUB6oc5B6DxH
15,176
Bug in seq2seq fine tuning section of Automatic Speech Recognition Examples
{ "login": "sekharvth", "id": 37143160, "node_id": "MDQ6VXNlcjM3MTQzMTYw", "avatar_url": "https://avatars.githubusercontent.com/u/37143160?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sekharvth", "html_url": "https://github.com/sekharvth", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Thanks for reporting this. It should be fixed soon: https://github.com/huggingface/transformers/pull/15056 . I'll make sure to speed-up the process now - sorry for being so late on this.", "No worries! Thanks for the prompt resolution" ]
1,642
1,642
1,642
NONE
null
## Environment info - `transformers` version: 4.16.0.dev0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version (GPU?): 1.10.0+cu111 (True) - Tensorflow version (GPU?): 2.7.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15176/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15176/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15175
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15175/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15175/comments
https://api.github.com/repos/huggingface/transformers/issues/15175/events
https://github.com/huggingface/transformers/pull/15175
1,105,545,270
PR_kwDOCUB6oc4xIho7
15,175
Compute loss independent from decoder for TF EncDec models (as #14139)
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[]
1,642
1,644
1,644
COLLABORATOR
null
# What does this PR do? Apply the same change in #14139 to TF Encoder-Decoder like models. (As discussed in [this comment in 14148](https://github.com/huggingface/transformers/pull/14148#discussion_r780361117)) @NielsRogge & @patrickvonplaten knows better the context @gante @Rocketknight1 for TF
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15175/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15175/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15175", "html_url": "https://github.com/huggingface/transformers/pull/15175", "diff_url": "https://github.com/huggingface/transformers/pull/15175.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15175.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15174
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15174/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15174/comments
https://api.github.com/repos/huggingface/transformers/issues/15174/events
https://github.com/huggingface/transformers/pull/15174
1,105,443,533
PR_kwDOCUB6oc4xIMXL
15,174
Fix handling of multiple stopping criteria
{ "login": "christiancosgrove", "id": 963802, "node_id": "MDQ6VXNlcjk2MzgwMg==", "avatar_url": "https://avatars.githubusercontent.com/u/963802?v=4", "gravatar_id": "", "url": "https://api.github.com/users/christiancosgrove", "html_url": "https://github.com/christiancosgrove", "followers_url": "https://a...
[]
closed
false
null
[]
[ "@christiancosgrove Do you mind sharing the bug you are trying to fix ?\r\n\r\nWhat you are trying to fix should be handled here: https://github.com/huggingface/transformers/blob/master/src/transformers/generation_stopping_criteria.py#L113", "This issue has been automatically marked as stale because it has not ha...
1,642
1,645
1,645
NONE
null
If multiple stopping criteria are used, the current logic will break.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15174/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15174/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15174", "html_url": "https://github.com/huggingface/transformers/pull/15174", "diff_url": "https://github.com/huggingface/transformers/pull/15174.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15174.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15173
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15173/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15173/comments
https://api.github.com/repos/huggingface/transformers/issues/15173/events
https://github.com/huggingface/transformers/pull/15173
1,105,329,785
PR_kwDOCUB6oc4xH0Sb
15,173
Add class LayoutLMv2ForRelationExtraction
{ "login": "yuan-wenhua", "id": 20900716, "node_id": "MDQ6VXNlcjIwOTAwNzE2", "avatar_url": "https://avatars.githubusercontent.com/u/20900716?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuan-wenhua", "html_url": "https://github.com/yuan-wenhua", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "I've [implemented](https://github.com/woflowinc/transformers/tree/add-layoutlmv2-re) the requested changes, but I'm not sure how to contribute to this PR from here.", "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 co...
1,642
1,650
1,648
NONE
null
# What does this PR do? Add class LayoutLMv2ForRelationExtraction which in https://github.com/microsoft/unilm/tree/master/layoutlmft
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15173/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15173/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15173", "html_url": "https://github.com/huggingface/transformers/pull/15173", "diff_url": "https://github.com/huggingface/transformers/pull/15173.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15173.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15172
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15172/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15172/comments
https://api.github.com/repos/huggingface/transformers/issues/15172/events
https://github.com/huggingface/transformers/pull/15172
1,105,052,638
PR_kwDOCUB6oc4xG9Ls
15,172
Fix encoder-decoder models when labels is passed
{ "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
[]
[ "@NielsRogge Could you take a look whenever you have sometime? Or tag another person if you think more properly. Thanks!", "@NielsRogge - would be amazing if you could wait a day or so here so that I can quickly take a look as well before merging :-)" ]
1,642
1,643
1,643
COLLABORATOR
null
# What does this PR do? Fix encoder-decoder models when labels is passed and `return_dict` is `False`. ## Details This line https://github.com/huggingface/transformers/blob/669e3c50c98ad5b506555a551d2ecbf72ceb3c99/src/transformers/models/encoder_decoder/modeling_encoder_decoder.py#L526 fails when `label...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15172/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15172/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15172", "html_url": "https://github.com/huggingface/transformers/pull/15172", "diff_url": "https://github.com/huggingface/transformers/pull/15172.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15172.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15171
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15171/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15171/comments
https://api.github.com/repos/huggingface/transformers/issues/15171/events
https://github.com/huggingface/transformers/issues/15171
1,105,049,960
I_kwDOCUB6oc5B3blo
15,171
RuntimeError: expected scalar type Half but found Float
{ "login": "yinzhangyue", "id": 40982202, "node_id": "MDQ6VXNlcjQwOTgyMjAy", "avatar_url": "https://avatars.githubusercontent.com/u/40982202?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yinzhangyue", "html_url": "https://github.com/yinzhangyue", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "What is `run_glue_sparse.py`?", "> What is `run_glue_sparse.py`?\r\n\r\nHello, we just implement our Sparse Attention by deepspeed in run_glue.py. You can just think it as run_glue.py.", "Without knowing the model you are using and the script you are using, we can't reproduce the bug and cannot help.", "> Wi...
1,642
1,643
1,643
NONE
null
## Environment info - `transformers` version: 4.4.0 - Platform: Linux-4.4.0-142-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GPU?): 1.9.0 (True) - Tensorflow version (GPU?): 2.6.0 (False) - Using GPU in script?: <fill in> - Using distributed or parallel set-up in script?: <fill in> ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15171/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15171/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15170
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15170/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15170/comments
https://api.github.com/repos/huggingface/transformers/issues/15170/events
https://github.com/huggingface/transformers/issues/15170
1,104,960,757
I_kwDOCUB6oc5B3Fz1
15,170
Using the accelerate MLM example still results in CUDA out of memory
{ "login": "tanyaroosta", "id": 30936777, "node_id": "MDQ6VXNlcjMwOTM2Nzc3", "avatar_url": "https://avatars.githubusercontent.com/u/30936777?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tanyaroosta", "html_url": "https://github.com/tanyaroosta", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nCan you try out this: https://github.com/rentruewang/koila\r\n\r\nLet me know if it resolves your issue.", "koila didn't work for me. I basically had to use a p3.24 instance to get it to work with a batch size of 1." ]
1,642
1,642
1,642
NONE
null
Hi, I am using [this example](https://github.com/huggingface/transformers/blob/master/examples/pytorch/language-modeling/run_mlm_no_trainer.py) and instructions on [this discussion](https://discuss.huggingface.co/t/how-to-use-specified-gpus-with-accelerator-to-train-the-model/10967) to adapt the code from [run_summari...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15170/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15170/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15169
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15169/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15169/comments
https://api.github.com/repos/huggingface/transformers/issues/15169/events
https://github.com/huggingface/transformers/issues/15169
1,104,942,437
I_kwDOCUB6oc5B3BVl
15,169
model.generate with prefix_allowed_tokens_fn throws RuntimeError: probability tensor contains either `inf`, `nan` or element < 0
{ "login": "iamjanvijay", "id": 17268217, "node_id": "MDQ6VXNlcjE3MjY4MjE3", "avatar_url": "https://avatars.githubusercontent.com/u/17268217?v=4", "gravatar_id": "", "url": "https://api.github.com/users/iamjanvijay", "html_url": "https://github.com/iamjanvijay", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "@patrickvonplaten Pinging you to get your input on this.\r\n\r\nIt seems `-inf` are explicitely set by `prefix_allowed_tokens_fn` and `remove_invalid_values` **doesn't** remove `float(-inf)` specifically.\r\n\r\nHowever the script does seems to fail currently.\r\n\r\nI added a PR containing the \"fix\" to accelera...
1,642
1,707
1,647
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.15.0 - Platform: Linux-5.4.0-90-generic-x86_64-with-debian-bullseye-sid - Python version: 3.7.12 - PyTorch...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15169/reactions", "total_count": 5, "+1": 5, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15169/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15168
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15168/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15168/comments
https://api.github.com/repos/huggingface/transformers/issues/15168/events
https://github.com/huggingface/transformers/issues/15168
1,104,732,694
I_kwDOCUB6oc5B2OIW
15,168
Add Model Interpretability Module
{ "login": "Alymostafa", "id": 34445689, "node_id": "MDQ6VXNlcjM0NDQ1Njg5", "avatar_url": "https://avatars.githubusercontent.com/u/34445689?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Alymostafa", "html_url": "https://github.com/Alymostafa", "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/master/CONTRIBUTING.md)...
1,642
1,645
1,645
NONE
null
# 🚀 Feature request What about adding an Interpretability Module like integrating the captum with hugging face, because there are a lot of difficulties when trying to use captum with hugging face transformer models
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15168/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15168/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15167
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15167/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15167/comments
https://api.github.com/repos/huggingface/transformers/issues/15167/events
https://github.com/huggingface/transformers/pull/15167
1,104,242,342
PR_kwDOCUB6oc4xEP9x
15,167
Enable tqdm toggling
{ "login": "jaketae", "id": 25360440, "node_id": "MDQ6VXNlcjI1MzYwNDQw", "avatar_url": "https://avatars.githubusercontent.com/u/25360440?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jaketae", "html_url": "https://github.com/jaketae", "followers_url": "https://api.github.com/users/jaketa...
[]
closed
false
null
[]
[ "1. In `datasets`, `tqdm_utils.py` functions are exposed at the upper level via imports in `__init__.py` ([link](https://github.com/huggingface/datasets/blob/ccc28d4141006924af85c2d940d82d71da4c6ec0/src/datasets/utils/__init__.py#L41)). It seems that this is not the case with utility functions in `transformers`. Do...
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? Fixes https://github.com/huggingface/transformers/issues/14889. ## 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/ma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15167/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15167/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15167", "html_url": "https://github.com/huggingface/transformers/pull/15167", "diff_url": "https://github.com/huggingface/transformers/pull/15167.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15167.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15166
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15166/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15166/comments
https://api.github.com/repos/huggingface/transformers/issues/15166/events
https://github.com/huggingface/transformers/issues/15166
1,104,155,625
I_kwDOCUB6oc5B0BPp
15,166
Add FastSpeech2
{ "login": "jaketae", "id": 25360440, "node_id": "MDQ6VXNlcjI1MzYwNDQw", "avatar_url": "https://avatars.githubusercontent.com/u/25360440?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jaketae", "html_url": "https://github.com/jaketae", "followers_url": "https://api.github.com/users/jaketa...
[ { "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
[]
[ "This thread is a summary of some details discussed in today's meeting with Patrick and Anton.\r\n\r\n- Ideally, use weights from [DiffSinger](https://github.com/MoonInTheRiver/DiffSinger), as it is the best approximation of the original implementation currently available\r\n- Check inference results\r\n- Compare w...
1,642
1,645
null
CONTRIBUTOR
null
# 🌟 New model addition ## Model description FastSpeech2 is a TTS model that outputs mel-spectrograms given some input text. From the [paper](https://arxiv.org/abs/2006.04558) abstract: > Non-autoregressive text to speech (TTS) models such as FastSpeech can synthesize speech significantly faster than previous ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15166/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15166/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/15165
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15165/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15165/comments
https://api.github.com/repos/huggingface/transformers/issues/15165/events
https://github.com/huggingface/transformers/pull/15165
1,104,005,058
PR_kwDOCUB6oc4xDfJA
15,165
Update tutorial docs
{ "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
[]
[ "Thanks for the feedback y'all! I've also made a few additional changes:\r\n\r\n- Rewrite multimodal tutorial with a different dataset (LJ Speech) because we can't use TIMIT.\r\n- Add output image for preprocessed image so users can see what it looks like.\r\n\r\nLet me know if there is anything else you'd like to ...
1,642
1,643
1,643
MEMBER
null
This is a first draft of tutorial docs for the `pipeline`, `AutoClasses`, and how to preprocess data. Main updates include: - How to use the `pipeline` for image and vision tasks. - Highlight the `AutoFeatureExtractor` and `AutoProcessor` for image, vision and multimodal tasks. - Add tutorials for how to preproces...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15165/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15165/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15165", "html_url": "https://github.com/huggingface/transformers/pull/15165", "diff_url": "https://github.com/huggingface/transformers/pull/15165.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15165.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15164
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15164/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15164/comments
https://api.github.com/repos/huggingface/transformers/issues/15164/events
https://github.com/huggingface/transformers/pull/15164
1,103,993,891
PR_kwDOCUB6oc4xDcyG
15,164
[WIP] add ctc speech streaming
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "What's missing here ? Anything you could take some support?", "superseded by https://github.com/huggingface/transformers/pull/15309 " ]
1,642
1,643
1,643
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15164/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15164/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15164", "html_url": "https://github.com/huggingface/transformers/pull/15164", "diff_url": "https://github.com/huggingface/transformers/pull/15164.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15164.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15163
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15163/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15163/comments
https://api.github.com/repos/huggingface/transformers/issues/15163/events
https://github.com/huggingface/transformers/pull/15163
1,103,939,003
PR_kwDOCUB6oc4xDROW
15,163
[Speech models] Disable non-existing chunking in tests
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,642
1,642
1,642
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15163/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15163/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15163", "html_url": "https://github.com/huggingface/transformers/pull/15163", "diff_url": "https://github.com/huggingface/transformers/pull/15163.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15163.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15162
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15162/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15162/comments
https://api.github.com/repos/huggingface/transformers/issues/15162/events
https://github.com/huggingface/transformers/pull/15162
1,103,912,924
PR_kwDOCUB6oc4xDLp2
15,162
Update from keras2onnx to tf2onnx
{ "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
[]
[]
1,642
1,646
1,642
MEMBER
null
# What does this PR do? [keras2onnx](https://github.com/onnx/keras-onnx) has been dead for a while, with the development being made in [tf2onnx](https://github.com/onnx/tensorflow-onnx/tree/6c417b4210285208ba7165068318542d9e3d9656). It is the successor, yet also retrocompatible. In fact, our tests were failing ri...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15162/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15162/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15162", "html_url": "https://github.com/huggingface/transformers/pull/15162", "diff_url": "https://github.com/huggingface/transformers/pull/15162.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15162.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15161
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15161/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15161/comments
https://api.github.com/repos/huggingface/transformers/issues/15161/events
https://github.com/huggingface/transformers/issues/15161
1,103,825,669
I_kwDOCUB6oc5BywsF
15,161
Add in `model.generate` support to encoder outputs for flax models
{ "login": "borisdayma", "id": 715491, "node_id": "MDQ6VXNlcjcxNTQ5MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/borisdayma", "html_url": "https://github.com/borisdayma", "followers_url": "https://api.github.com/users/b...
[]
closed
false
null
[]
[ "Hey @borisdayma, \r\n\r\nAren't we already doing this here: https://github.com/huggingface/transformers/blob/b8810847d0576e3c142854ad3b8a607ecd3df291/src/transformers/generation_flax_utils.py#L140 ? ", "If you do:\r\n```python\r\nmodel.generate(…)\r\nmodel.generate(…) #same params\r\n```\r\n\r\nYou will get twi...
1,642
1,644
1,644
CONTRIBUTOR
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> Add support to encoder outputs in `model.generate` for flax models (similar to Pytorch models). ## Motivation <!-- Please outline the motivation for the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15161/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/15161/timeline
completed
null
null