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/14756
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14756/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14756/comments
https://api.github.com/repos/huggingface/transformers/issues/14756/events
https://github.com/huggingface/transformers/pull/14756
1,079,115,647
PR_kwDOCUB6oc4vykmJ
14,756
Add an argument to set bucket_cap_mb for PyTorch DDP
{ "login": "changlan", "id": 603293, "node_id": "MDQ6VXNlcjYwMzI5Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/603293?v=4", "gravatar_id": "", "url": "https://api.github.com/users/changlan", "html_url": "https://github.com/changlan", "followers_url": "https://api.github.com/users/changla...
[]
closed
false
null
[]
[ "There is just the formatting issue to deal with before we can merge. Can you run `make style` on your branch to fix it?\r\nThanks!", "Done - thanks for the review!", "Mmm, are you sure you installed the proper versions of the formatting tools with `pip install transformers[dev]` or `pip install transformers[qu...
1,639
1,640
1,640
CONTRIBUTOR
null
# What does this PR do? `bucket_cap_mb` determines the bucket size that PyTorch's `DistributedDataParallel` will group gradient parameters in. In some occasions, tuning this parameter will have significant impact on the distributed training performance. This PR allows user to change the `bucket_cap_mb` parameter via...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14756/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14756/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14756", "html_url": "https://github.com/huggingface/transformers/pull/14756", "diff_url": "https://github.com/huggingface/transformers/pull/14756.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14756.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14755
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14755/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14755/comments
https://api.github.com/repos/huggingface/transformers/issues/14755/events
https://github.com/huggingface/transformers/pull/14755
1,079,075,874
PR_kwDOCUB6oc4vyb_v
14,755
Update Table of Contents
{ "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
[]
[ "Merging since it will fix the doc on master and is fairly straightforward." ]
1,639
1,639
1,639
COLLABORATOR
null
# What does this PR do? This PR adds the missing pages in the table of contents, found thanks to [doc-builder#54](https://github.com/huggingface/doc-builder/pull/54).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14755/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14755/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14755", "html_url": "https://github.com/huggingface/transformers/pull/14755", "diff_url": "https://github.com/huggingface/transformers/pull/14755.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14755.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14754
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14754/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14754/comments
https://api.github.com/repos/huggingface/transformers/issues/14754/events
https://github.com/huggingface/transformers/pull/14754
1,078,899,284
PR_kwDOCUB6oc4vx05f
14,754
PoC for conserving old links
{ "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
[]
[ "so where can I see it rendered?\r\n\r\nin the past it was possible to see the doc as it was built on CI - I don't seem to be able to find the same in this new incarnation. ", "Tested it manually by saving the html and editing it as you proposed. It's probably safe to assume everybody uses modern browsers these d...
1,639
1,639
1,639
COLLABORATOR
null
# What does this PR do? The PR evolved to having a little compact section for old links, see this comment for a demo: https://github.com/huggingface/transformers/pull/14754#issuecomment-995067459 ---------------- This follows up from a [#14753 comment](https://github.com/huggingface/transformers/pull/14753#di...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14754/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14754/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14754", "html_url": "https://github.com/huggingface/transformers/pull/14754", "diff_url": "https://github.com/huggingface/transformers/pull/14754.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14754.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14753
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14753/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14753/comments
https://api.github.com/repos/huggingface/transformers/issues/14753/events
https://github.com/huggingface/transformers/pull/14753
1,078,799,329
PR_kwDOCUB6oc4vxfpT
14,753
Convert Trainer doc page to MarkDown
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,639
1,639
1,639
COLLABORATOR
null
# What does this PR do? The `doc-builder` only resolves `ref` when they point to sections in the same page, so this PR fixes #14730 by converting the doc page to MarkDown and fixing all links. In passing, it removes mention of the `TFTrainer` which is now deprecated.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14753/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14753/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14753", "html_url": "https://github.com/huggingface/transformers/pull/14753", "diff_url": "https://github.com/huggingface/transformers/pull/14753.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14753.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14752
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14752/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14752/comments
https://api.github.com/repos/huggingface/transformers/issues/14752/events
https://github.com/huggingface/transformers/pull/14752
1,078,787,885
PR_kwDOCUB6oc4vxdNX
14,752
update the arguments `add_prefix_space` and `trim_offsets` in `backend_tokenizer.post_processor` of `RobertaTokenizerFast`
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[]
closed
false
null
[]
[ "Is this leveraging PR https://github.com/huggingface/tokenizers/pull/844 that was just merged in `tokenizers` ? I believe it isn't part of a version yet, right?\r\n\r\nOr is this meant as a patch on top of the current tokenizers version?", "@LysandreJik, you do raise an important point.\r\n\r\nThis PR only propo...
1,639
1,640
1,640
CONTRIBUTOR
null
# What does this PR do? Roberta's tokenizer fast has `add_prefix_space` and `trim_offsets` as arguments. It seems to me that these last 2 arguments should be updated accordingly in the post processor `RobertaProcessing` of its `backend_tokenizer`. This PR proposes to automate this update with a strategy similar ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14752/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14752/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14752", "html_url": "https://github.com/huggingface/transformers/pull/14752", "diff_url": "https://github.com/huggingface/transformers/pull/14752.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14752.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14751
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14751/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14751/comments
https://api.github.com/repos/huggingface/transformers/issues/14751/events
https://github.com/huggingface/transformers/pull/14751
1,078,716,165
PR_kwDOCUB6oc4vxOAu
14,751
Small fixes for the doc
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "Got approval from Lysandre offline so merging." ]
1,639
1,639
1,639
COLLABORATOR
null
# What does this PR do? This removes the index.rst (left by mistake) and changes the branch for the installation of doc-builder (needs to be merged after the corresponding PR is merged on doc-builder).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14751/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14751/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14751", "html_url": "https://github.com/huggingface/transformers/pull/14751", "diff_url": "https://github.com/huggingface/transformers/pull/14751.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14751.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14750
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14750/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14750/comments
https://api.github.com/repos/huggingface/transformers/issues/14750/events
https://github.com/huggingface/transformers/pull/14750
1,078,688,956
PR_kwDOCUB6oc4vxIPC
14,750
Improve perceiver
{ "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
[]
[]
1,639
1,639
1,639
CONTRIBUTOR
null
# What does this PR do? This PR removes the need for the hard-coded `d_model` attribute of the Perceiver. Instead, one calculates the dimensionality (i.e. number of channels) of the inputs based on the `num_channels` property of the preprocessor. Note that `d_model` is still relevant for users 1) when embedding t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14750/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14750/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14750", "html_url": "https://github.com/huggingface/transformers/pull/14750", "diff_url": "https://github.com/huggingface/transformers/pull/14750.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14750.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14749
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14749/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14749/comments
https://api.github.com/repos/huggingface/transformers/issues/14749/events
https://github.com/huggingface/transformers/pull/14749
1,078,599,948
PR_kwDOCUB6oc4vw1TY
14,749
Feature/fix slow test in mluke
{ "login": "ryokan0123", "id": 17979572, "node_id": "MDQ6VXNlcjE3OTc5NTcy", "avatar_url": "https://avatars.githubusercontent.com/u/17979572?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ryokan0123", "html_url": "https://github.com/ryokan0123", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Merging this :)" ]
1,639
1,640
1,640
CONTRIBUTOR
null
# What does this PR do? Fix slow tests in MLuke/Luke (https://github.com/huggingface/transformers/pull/14690). * Replace tokenizers to dummy tokenizers in `MLukeTokenizerTest/LukeTokenizerTest`. * Add a missing entry in toctree. ## Who can review? @sgugger @NielsRogge
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14749/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14749/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14749", "html_url": "https://github.com/huggingface/transformers/pull/14749", "diff_url": "https://github.com/huggingface/transformers/pull/14749.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14749.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14748
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14748/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14748/comments
https://api.github.com/repos/huggingface/transformers/issues/14748/events
https://github.com/huggingface/transformers/pull/14748
1,078,579,129
PR_kwDOCUB6oc4vww1b
14,748
Fix the perceiver docs
{ "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,639
1,639
1,639
MEMBER
null
Fix a typo in the perceiver docs
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14748/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14748/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14748", "html_url": "https://github.com/huggingface/transformers/pull/14748", "diff_url": "https://github.com/huggingface/transformers/pull/14748.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14748.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14747
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14747/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14747/comments
https://api.github.com/repos/huggingface/transformers/issues/14747/events
https://github.com/huggingface/transformers/pull/14747
1,078,547,922
PR_kwDOCUB6oc4vwqIj
14,747
Update docs
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,639
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/14747/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14747/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14747", "html_url": "https://github.com/huggingface/transformers/pull/14747", "diff_url": "https://github.com/huggingface/transformers/pull/14747.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14747.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14746
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14746/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14746/comments
https://api.github.com/repos/huggingface/transformers/issues/14746/events
https://github.com/huggingface/transformers/pull/14746
1,078,521,510
PR_kwDOCUB6oc4vwkaL
14,746
Change how to load config of XLNetLMHeadModel
{ "login": "josutk", "id": 19808747, "node_id": "MDQ6VXNlcjE5ODA4NzQ3", "avatar_url": "https://avatars.githubusercontent.com/u/19808747?v=4", "gravatar_id": "", "url": "https://api.github.com/users/josutk", "html_url": "https://github.com/josutk", "followers_url": "https://api.github.com/users/josutk/fo...
[]
closed
false
null
[]
[]
1,639
1,639
1,639
CONTRIBUTOR
null
# What does this PR do? Fix load config of XLNET. Fixes #14736 ## Who can review? @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14746/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14746/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14746", "html_url": "https://github.com/huggingface/transformers/pull/14746", "diff_url": "https://github.com/huggingface/transformers/pull/14746.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14746.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14745
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14745/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14745/comments
https://api.github.com/repos/huggingface/transformers/issues/14745/events
https://github.com/huggingface/transformers/pull/14745
1,078,511,185
PR_kwDOCUB6oc4vwiLC
14,745
Skip Perceiver tests
{ "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,639
1,639
1,639
MEMBER
null
Skip tests for Perceiver while working on https://github.com/huggingface/transformers/pull/14739
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14745/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14745/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14745", "html_url": "https://github.com/huggingface/transformers/pull/14745", "diff_url": "https://github.com/huggingface/transformers/pull/14745.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14745.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14744
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14744/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14744/comments
https://api.github.com/repos/huggingface/transformers/issues/14744/events
https://github.com/huggingface/transformers/pull/14744
1,078,476,311
PR_kwDOCUB6oc4vwavD
14,744
Deprecates AdamW and adds `--optim`
{ "login": "manuelciosici", "id": 51477, "node_id": "MDQ6VXNlcjUxNDc3", "avatar_url": "https://avatars.githubusercontent.com/u/51477?v=4", "gravatar_id": "", "url": "https://api.github.com/users/manuelciosici", "html_url": "https://github.com/manuelciosici", "followers_url": "https://api.github.com/user...
[]
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "@sgugger Thank you for the suggestions. I think an enum makes sense. I will add that and fix the missing `optimizer_cls` line.", "@manuelciosici. have we lost you or are you just on an extended vacation? \r\n\r\nLet's finish this up, so we can test out various optimizers. I will sync the recent changes in doc fo...
1,639
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/14744/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14744/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14744", "html_url": "https://github.com/huggingface/transformers/pull/14744", "diff_url": "https://github.com/huggingface/transformers/pull/14744.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14744.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14743
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14743/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14743/comments
https://api.github.com/repos/huggingface/transformers/issues/14743/events
https://github.com/huggingface/transformers/issues/14743
1,078,360,625
I_kwDOCUB6oc5ARnox
14,743
Batch size affecting output when using GPT2Model
{ "login": "wade3han", "id": 34769499, "node_id": "MDQ6VXNlcjM0NzY5NDk5", "avatar_url": "https://avatars.githubusercontent.com/u/34769499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wade3han", "html_url": "https://github.com/wade3han", "followers_url": "https://api.github.com/users/wad...
[]
closed
false
null
[]
[ "Hello! I ran your code sample on CPU and got the following results:\r\n```\r\ntensor([[0., 0., 0., ..., 0., 0., 0.],\r\n [0., 0., 0., ..., 0., 0., 0.],\r\n [0., 0., 0., ..., 0., 0., 0.],\r\n [0., 0., 0., ..., 0., 0., 0.],\r\n [0., 0., 0., ..., 0., 0., 0.]], grad_fn=<SubBackward0>)\...
1,639
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: - Platform: 4.12.5 - Python version: Python 3.8.12 - PyTorch version (GPU?): 1.10.0 (GPU) - Tensorflow vers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14743/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14743/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14742
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14742/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14742/comments
https://api.github.com/repos/huggingface/transformers/issues/14742/events
https://github.com/huggingface/transformers/pull/14742
1,078,295,524
PR_kwDOCUB6oc4vvz2J
14,742
Swap TF and PT code inside two blocks
{ "login": "LucienShui", "id": 30151093, "node_id": "MDQ6VXNlcjMwMTUxMDkz", "avatar_url": "https://avatars.githubusercontent.com/u/30151093?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LucienShui", "html_url": "https://github.com/LucienShui", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,639
1,639
1,639
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/14742/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14742/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14742", "html_url": "https://github.com/huggingface/transformers/pull/14742", "diff_url": "https://github.com/huggingface/transformers/pull/14742.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14742.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14741
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14741/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14741/comments
https://api.github.com/repos/huggingface/transformers/issues/14741/events
https://github.com/huggingface/transformers/issues/14741
1,078,288,654
I_kwDOCUB6oc5ARWEO
14,741
TF and PT code confuse in the documentation
{ "login": "LucienShui", "id": 30151093, "node_id": "MDQ6VXNlcjMwMTUxMDkz", "avatar_url": "https://avatars.githubusercontent.com/u/30151093?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LucienShui", "html_url": "https://github.com/LucienShui", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Thanks again for fixing it!" ]
1,639
1,639
1,639
CONTRIBUTOR
null
Hi, @sgugger, at [quicktour.mdx#L337](https://github.com/huggingface/transformers/blame/5eca742f6c0e513d8c7d8085fd14b7a754ea96f7/docs/source/quicktour.mdx#L337) and [quicktour.mdx#L345](https://github.com/huggingface/transformers/blame/5eca742f6c0e513d8c7d8085fd14b7a754ea96f7/docs/source/quicktour.mdx#L345), TF code wa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14741/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14741/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14740
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14740/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14740/comments
https://api.github.com/repos/huggingface/transformers/issues/14740/events
https://github.com/huggingface/transformers/pull/14740
1,078,285,017
PR_kwDOCUB6oc4vvxsK
14,740
add support to DistilBertLMHeadModel
{ "login": "kwang2049", "id": 71278644, "node_id": "MDQ6VXNlcjcxMjc4NjQ0", "avatar_url": "https://avatars.githubusercontent.com/u/71278644?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kwang2049", "html_url": "https://github.com/kwang2049", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Thanks for the PR! There's a similar PR here #11085, which is almost complete, so let's wait for the author to see if he's still interested to finish it :) ", "> Thanks for the PR! There's a similar PR here #11085, which is almost complete, so let's wait for the author to see if he's still interested to finish i...
1,639
1,642
1,642
NONE
null
# What does this PR do? Fixes #14737 Goal: Add support to DistilBertLMHeadModel Changes: 1. Modified [modeling_distilbert.py](https://github.com/huggingface/transformers/blob/master/src/transformers/models/distilbert/modeling_distilbert.py): Changed `MultiHeadSelfAttention`, `Transformer`, `TransformerBlock` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14740/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14740/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14740", "html_url": "https://github.com/huggingface/transformers/pull/14740", "diff_url": "https://github.com/huggingface/transformers/pull/14740.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14740.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14739
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14739/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14739/comments
https://api.github.com/repos/huggingface/transformers/issues/14739/events
https://github.com/huggingface/transformers/pull/14739
1,078,284,442
PR_kwDOCUB6oc4vvxkU
14,739
Fixing tests for Perceiver
{ "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
[]
[ "> Do not run image-classification pipeline (_CHECKPOINT_FOR_DOC uses the checkpoint for\r\nlanguage, which cannot load a FeatureExtractor so current logic fails).\r\n\r\nOk but the Perceiver has 3 variants (`PerceiverForImageClassificationLearned`, `PerceiverForImageClassificationFourier`, `PerceiverForImageClassi...
1,639
1,639
1,639
CONTRIBUTOR
null
# What does this PR do? - Do not run image-classification pipeline (_CHECKPOINT_FOR_DOC uses the checkpoint for langage, which cannot load a FeatureExtractor so current logic fails). - Add a safeguard to not run tests when `tokenizer_class` or `feature_extractor_class` **are** defined, but cannot be loaded This happen...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14739/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/14739/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14739", "html_url": "https://github.com/huggingface/transformers/pull/14739", "diff_url": "https://github.com/huggingface/transformers/pull/14739.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14739.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14738
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14738/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14738/comments
https://api.github.com/repos/huggingface/transformers/issues/14738/events
https://github.com/huggingface/transformers/pull/14738
1,078,242,762
PR_kwDOCUB6oc4vvo1e
14,738
Mention no images added to repository
{ "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
[]
[ "WIll merge this as a first step!", "Merged too soon? We need a concrete destination for images that we all share.", "Here it is: https://huggingface.co/datasets/huggingface/documentation-images", "but it's not part of this PR that was merged. i.e. @NielsRogge's suggestion wasn't integrated into the doc.\r\n\...
1,639
1,639
1,639
MEMBER
null
Mention that images shouldn't be added to the repository as it will otherwise significantly weigh down the repository.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14738/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14738/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14738", "html_url": "https://github.com/huggingface/transformers/pull/14738", "diff_url": "https://github.com/huggingface/transformers/pull/14738.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14738.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14737
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14737/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14737/comments
https://api.github.com/repos/huggingface/transformers/issues/14737/events
https://github.com/huggingface/transformers/issues/14737
1,077,963,243
I_kwDOCUB6oc5AQGnr
14,737
Add support to DistilBertLMHeadModel
{ "login": "kwang2049", "id": 71278644, "node_id": "MDQ6VXNlcjcxMjc4NjQ0", "avatar_url": "https://avatars.githubusercontent.com/u/71278644?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kwang2049", "html_url": "https://github.com/kwang2049", "followers_url": "https://api.github.com/users/...
[]
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,639
1,642
1,642
NONE
null
# 🚀 Feature request ## Background Hi, I am the first author of the paper ["**TSDAE**: Using Transformer-based Sequential Denoising Auto-Encoder for Unsupervised Sentence Embedding Learning"](https://arxiv.org/abs/2104.06979). The work proposed a new method, TSDAE to train unsupervised-sentence-embedding models wit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14737/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14737/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14736
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14736/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14736/comments
https://api.github.com/repos/huggingface/transformers/issues/14736/events
https://github.com/huggingface/transformers/issues/14736
1,077,919,697
I_kwDOCUB6oc5AP7_R
14,736
XLNetLMHeadModel has no attribute 'from_config'
{ "login": "josutk", "id": 19808747, "node_id": "MDQ6VXNlcjE5ODA4NzQ3", "avatar_url": "https://avatars.githubusercontent.com/u/19808747?v=4", "gravatar_id": "", "url": "https://api.github.com/users/josutk", "html_url": "https://github.com/josutk", "followers_url": "https://api.github.com/users/josutk/fo...
[]
closed
false
null
[]
[ "Good catch @josutk,\r\n\r\nI think we should change this line to:\r\n\r\n```\r\nmodel = XLNetLMHeadModel(config)\r\n```\r\n\r\nwould you like to open a PR for this? :-)", "@patrickvonplaten I have open PR." ]
1,639
1,639
1,639
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.8.0 - Platform: Linux-4.15.0-20-generic-x86_64-with-LinuxMint-19-tara - Python version: 3.6.9 - PyTorch ve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14736/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14736/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14735
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14735/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14735/comments
https://api.github.com/repos/huggingface/transformers/issues/14735/events
https://github.com/huggingface/transformers/pull/14735
1,077,852,034
PR_kwDOCUB6oc4vuZGd
14,735
Avoid using tf.tile in embeddings for TF models
{ "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
[]
[ "I love it, thank you for doing this! I wonder if there's a reason for using the `Add()` layers like that originally? It feels very odd.", "Either way, it's a straightforward change and I'm happy to merge as-is, so let me know once you're ready.", "> I love it, thank you for doing this! I wonder if there's a re...
1,639
1,651
1,639
COLLABORATOR
null
# What does this PR do? Some TF models use ``` position_embeds = tf.gather(params=self.position_embeddings, indices=position_ids) position_embeds = tf.tile(input=position_embeds, multiples=(input_shape[0], 1, 1)) ``` which assume that `position_ids` has size 1 along batch dimension. If users don't specify `po...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14735/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14735/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14735", "html_url": "https://github.com/huggingface/transformers/pull/14735", "diff_url": "https://github.com/huggingface/transformers/pull/14735.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14735.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14734
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14734/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14734/comments
https://api.github.com/repos/huggingface/transformers/issues/14734/events
https://github.com/huggingface/transformers/pull/14734
1,077,836,448
PR_kwDOCUB6oc4vuWKL
14,734
Fix: change tooslow to slow
{ "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
[]
[ "LGTM!" ]
1,639
1,651
1,639
COLLABORATOR
null
# What does this PR do? `test_saved_model_creation_extended` in `TFViT` test is currently `tooslow`. It was copied from TF common test. #14415 move it from common test to TF core test + changed it to `slow`. This PR fix this inconsistency. ## Who can review? @Rocketknight1
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14734/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14734/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14734", "html_url": "https://github.com/huggingface/transformers/pull/14734", "diff_url": "https://github.com/huggingface/transformers/pull/14734.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14734.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14733
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14733/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14733/comments
https://api.github.com/repos/huggingface/transformers/issues/14733/events
https://github.com/huggingface/transformers/issues/14733
1,077,803,949
I_kwDOCUB6oc5APfut
14,733
Do we have pretrain (from scratch) scripts for BART?
{ "login": "One-punch24", "id": 63431994, "node_id": "MDQ6VXNlcjYzNDMxOTk0", "avatar_url": "https://avatars.githubusercontent.com/u/63431994?v=4", "gravatar_id": "", "url": "https://api.github.com/users/One-punch24", "html_url": "https://github.com/One-punch24", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Oh, sorry, the answer is listed here: [https://github.com/huggingface/transformers/issues/5096#issuecomment-645860271](url)" ]
1,639
1,639
1,639
NONE
null
I just want to train a new bart on my own dataset. But it seems that there is no pretrain scripts.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14733/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14733/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14732
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14732/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14732/comments
https://api.github.com/repos/huggingface/transformers/issues/14732/events
https://github.com/huggingface/transformers/pull/14732
1,077,685,948
PR_kwDOCUB6oc4vt5fH
14,732
Add ability to get a list of supported pipeline tasks
{ "login": "codesue", "id": 11793274, "node_id": "MDQ6VXNlcjExNzkzMjc0", "avatar_url": "https://avatars.githubusercontent.com/u/11793274?v=4", "gravatar_id": "", "url": "https://api.github.com/users/codesue", "html_url": "https://github.com/codesue", "followers_url": "https://api.github.com/users/codesu...
[]
closed
false
null
[]
[ "Thanks for the PR! \r\n\r\nOff-topic from the actual PR but for background information, this is where the \"canonical\" list of pipelines (even outside of transformers) supported by the HuggingFace hub is stored: https://github.com/huggingface/huggingface_hub/blob/main/widgets/src/lib/interfaces/Types.ts", "Than...
1,639
1,639
1,639
CONTRIBUTOR
null
# What does this PR do? This change adds the ability to programmatically get a list of supported pipeline tasks. Currently, when new users want to know which tasks are supported in a pipeline, we have to reference the [Pipelines documentation](https://huggingface.co/docs/transformers/main_classes/pipelines) or pa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14732/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14732/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14732", "html_url": "https://github.com/huggingface/transformers/pull/14732", "diff_url": "https://github.com/huggingface/transformers/pull/14732.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14732.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14731
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14731/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14731/comments
https://api.github.com/repos/huggingface/transformers/issues/14731/events
https://github.com/huggingface/transformers/issues/14731
1,077,661,586
I_kwDOCUB6oc5AO8-S
14,731
Possible simplification in T5 docs
{ "login": "xhluca", "id": 21180505, "node_id": "MDQ6VXNlcjIxMTgwNTA1", "avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xhluca", "html_url": "https://github.com/xhluca", "followers_url": "https://api.github.com/users/xhluca/fo...
[]
closed
false
null
[]
[ "Hey,\r\n\r\nthat's indeed a way more readable way of replacing padding tokens by -100. \r\n\r\nThe docs of T5 is located [here](https://github.com/huggingface/transformers/blob/master/docs/source/model_doc/t5.rst). Note that we are migrating all docs from .rst files to Markdown. But for now, you can add just updat...
1,639
1,639
1,639
CONTRIBUTOR
null
I noticed the following nested list comprehension being recommended in the [T5 docs:](https://huggingface.co/docs/transformers/model_doc/t5) ```python # replace padding token id's of the labels by -100 labels = [ [(label if label != tokenizer.pad_token_id else -100) for label in labels_example] for lab...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14731/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14731/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14730
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14730/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14730/comments
https://api.github.com/repos/huggingface/transformers/issues/14730/events
https://github.com/huggingface/transformers/issues/14730
1,077,622,224
I_kwDOCUB6oc5AOzXQ
14,730
Fix docs pointers for DeepSpeed
{ "login": "marctorsoc", "id": 22045779, "node_id": "MDQ6VXNlcjIyMDQ1Nzc5", "avatar_url": "https://avatars.githubusercontent.com/u/22045779?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marctorsoc", "html_url": "https://github.com/marctorsoc", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "If I'm not mistaken this is patched on `master` and will be reflected soon on the documentation cc @sgugger ", "@LysandreJik At least in this line: https://github.com/huggingface/transformers/blame/master/docs/source/main_classes/trainer.rst#L506, it seems to be still outdated. Are you sure this is patched?", ...
1,639
1,639
1,639
NONE
null
In this [section](https://huggingface.co/docs/transformers/master/en/main_classes/trainer#deepspeed), the reader is pointed to several links that are broken: * https://huggingface.co/docs/transformers/master/en/main_classes/trainer#deepspeed-trainer-integration * https://huggingface.co/docs/transformers/master/en/m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14730/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14730/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14729
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14729/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14729/comments
https://api.github.com/repos/huggingface/transformers/issues/14729/events
https://github.com/huggingface/transformers/pull/14729
1,077,621,196
PR_kwDOCUB6oc4vtu_v
14,729
Add `ElectraForCausalLM` -> Enable Electra encoder-decoder model
{ "login": "stancld", "id": 46073029, "node_id": "MDQ6VXNlcjQ2MDczMDI5", "avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stancld", "html_url": "https://github.com/stancld", "followers_url": "https://api.github.com/users/stancl...
[]
closed
false
null
[]
[ "This looks good to me as well! Regarding the docs, could you try to follow @sgugger 's suggestion [here](https://github.com/huggingface/transformers/pull/13967#issuecomment-999565664) on how to fix it? \r\n\r\nLet me know if you need any help :-)", "Merging as failing test has been fixed on master and other fail...
1,639
1,640
1,640
CONTRIBUTOR
null
# What does this PR do? This PR adds `ElectraForCausalLM` and thus enable to use `Electra` model in the encoder-decoder setting. Fixes #14269 ## Before submitting - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-re...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14729/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/14729/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14729", "html_url": "https://github.com/huggingface/transformers/pull/14729", "diff_url": "https://github.com/huggingface/transformers/pull/14729.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14729.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14728
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14728/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14728/comments
https://api.github.com/repos/huggingface/transformers/issues/14728/events
https://github.com/huggingface/transformers/issues/14728
1,077,546,932
I_kwDOCUB6oc5AOg-0
14,728
Include documentation on linking to transformers docs with Intersphinx
{ "login": "cthoyt", "id": 5069736, "node_id": "MDQ6VXNlcjUwNjk3MzY=", "avatar_url": "https://avatars.githubusercontent.com/u/5069736?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cthoyt", "html_url": "https://github.com/cthoyt", "followers_url": "https://api.github.com/users/cthoyt/foll...
[]
closed
false
null
[]
[ "Note that we do not use Sphinx anymore for our doc, since moving to https://huggingface.co/docs/transformers (we use raw markdown with some custom features on top of it, implemented in Svelte)\r\n\r\nHowever (not at all familiar with Intersphinx so I'm shooting in the dark here) maybe there's a specification that ...
1,639
1,653
1,642
NONE
null
I'm one of the maintainers of PyKEEN and we're adding a feature where you can use various transformers in combination with knowledge graph embedding models in https://github.com/pykeen/pykeen/pull/652. We're using sphinx to build our documentation and have out-links to various packages like numpy, but we haven't been a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14728/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/14728/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14727
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14727/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14727/comments
https://api.github.com/repos/huggingface/transformers/issues/14727/events
https://github.com/huggingface/transformers/issues/14727
1,077,399,787
I_kwDOCUB6oc5AN9Dr
14,727
Difference between vocab_size in model T5forConditionalGeneration “t5-small” and its corresponding Tokenizer “t5-small”
{ "login": "ashutoshml", "id": 2375919, "node_id": "MDQ6VXNlcjIzNzU5MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/2375919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ashutoshml", "html_url": "https://github.com/ashutoshml", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "My main goal is to `add_tokens` to the T5Tokenizer, but not sure how the `vocab_size` of the model would get affected due to this, after resize_embeddings. It would help to get an idea of how to incorporate the above.", "See #4875" ]
1,639
1,639
1,639
NONE
null
## Environment info - `transformers` version: 4.13.0 - Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version (GPU?): 1.10.0+cu111 (False) - Tensorflow version (GPU?): 2.7.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - Ja...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14727/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/14727/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14726
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14726/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14726/comments
https://api.github.com/repos/huggingface/transformers/issues/14726/events
https://github.com/huggingface/transformers/pull/14726
1,077,345,999
PR_kwDOCUB6oc4vtD2v
14,726
[CI/pt-nightly] switch to cuda-11.3
{ "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,639
1,639
1,639
CONTRIBUTOR
null
This PR updates the pt-nightly ci job to use a more recent cuda-11.3 for the docker image and pytorch install. @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14726/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14726/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14726", "html_url": "https://github.com/huggingface/transformers/pull/14726", "diff_url": "https://github.com/huggingface/transformers/pull/14726.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14726.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14725
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14725/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14725/comments
https://api.github.com/repos/huggingface/transformers/issues/14725/events
https://github.com/huggingface/transformers/pull/14725
1,077,331,125
PR_kwDOCUB6oc4vtA1o
14,725
[doc] document MoE model approach and current solutions
{ "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
[]
[ "As a reference for future PRs, it would be nice to put the images in a dataset hosted on hf.co - putting them in the repo weighs down the repo significantly (+72kb here) and it can't be removed from the history without altering it. Images in the docs can also be taken from a dataset, see SegFormer for example: htt...
1,639
1,639
1,639
CONTRIBUTOR
null
This PR gives the reader an idea to travel a novel MoE Transformer architecture for a much faster training, albeit much larger memory requirements. While most of the solutions are in the Tensorflow/TPU land, Deepspeed has introduced a pytorch solution based on Megatron-Deepspeed. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14725/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14725/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14725", "html_url": "https://github.com/huggingface/transformers/pull/14725", "diff_url": "https://github.com/huggingface/transformers/pull/14725.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14725.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14724
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14724/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14724/comments
https://api.github.com/repos/huggingface/transformers/issues/14724/events
https://github.com/huggingface/transformers/pull/14724
1,077,307,578
PR_kwDOCUB6oc4vs8MK
14,724
Update transformers metadata
{ "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,639
1,639
1,639
COLLABORATOR
null
# What does this PR do? This PR adds a job that will auto-update the repository [transformers-metadata](https://huggingface.co/datasets/huggingface/transformers-metadata) each time it's necessary.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14724/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14724/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14724", "html_url": "https://github.com/huggingface/transformers/pull/14724", "diff_url": "https://github.com/huggingface/transformers/pull/14724.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14724.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14723
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14723/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14723/comments
https://api.github.com/repos/huggingface/transformers/issues/14723/events
https://github.com/huggingface/transformers/pull/14723
1,077,305,234
PR_kwDOCUB6oc4vs7tV
14,723
Add Speaker Diarization and Verification heads
{ "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
[]
[ "@patrickvonplaten the code is ready for a full review now. I'll post the model links and evaluation results (DER and EER metrics) shortly.", "checking tomorrow after the `-large` checkpoint problem is solved :-)" ]
1,639
1,639
1,639
MEMBER
null
# What does this PR do? This adds the Audio Frame classification (equivalent of token classification) and X-vector (speaker embedding extraction) heads to `Wav2Vec2` and `UniSpeech-SAT` models. The target tasks for the heads are SUPERB's Speaker Diarization and Speaker Verification respectively. These were mainly mo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14723/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14723/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14723", "html_url": "https://github.com/huggingface/transformers/pull/14723", "diff_url": "https://github.com/huggingface/transformers/pull/14723.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14723.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14722
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14722/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14722/comments
https://api.github.com/repos/huggingface/transformers/issues/14722/events
https://github.com/huggingface/transformers/pull/14722
1,077,275,332
PR_kwDOCUB6oc4vs1je
14,722
Fix broken links to distillation on index page of documentation
{ "login": "amitness", "id": 8587189, "node_id": "MDQ6VXNlcjg1ODcxODk=", "avatar_url": "https://avatars.githubusercontent.com/u/8587189?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amitness", "html_url": "https://github.com/amitness", "followers_url": "https://api.github.com/users/amitn...
[]
closed
false
null
[]
[ "@sgugger Running that command modifies `index.mdx` and resets the links back to the broken link. I'm not sure why that's the case.\r\n\r\n![image](https://user-images.githubusercontent.com/8587189/145652891-5b315b7b-cad8-4581-b5fc-06fc937b3ae8.png)\r\n", "Ah you need to fix them in the main README, the rest is u...
1,639
1,639
1,639
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/14722/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14722/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14722", "html_url": "https://github.com/huggingface/transformers/pull/14722", "diff_url": "https://github.com/huggingface/transformers/pull/14722.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14722.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14721
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14721/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14721/comments
https://api.github.com/repos/huggingface/transformers/issues/14721/events
https://github.com/huggingface/transformers/pull/14721
1,077,208,986
PR_kwDOCUB6oc4vsn0v
14,721
Fix special character in MDX
{ "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
[]
[ "Merging to test the new automatic jobs to update notebooks and check the doc building is not broken :-)", ":+1: " ]
1,639
1,639
1,639
COLLABORATOR
null
# What does this PR do? In the `quicktour.mdx`, there are a few &amp;lt; that should be < in some of the model outputs. This will need to be cherry-picked when re-building the stable doc.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14721/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14721/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14721", "html_url": "https://github.com/huggingface/transformers/pull/14721", "diff_url": "https://github.com/huggingface/transformers/pull/14721.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14721.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14720
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14720/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14720/comments
https://api.github.com/repos/huggingface/transformers/issues/14720/events
https://github.com/huggingface/transformers/pull/14720
1,077,198,069
PR_kwDOCUB6oc4vsljM
14,720
TF model cards
{ "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
[]
[ "@sgugger all comments should be addressed and testing looks good. My main remaining concern is that `model.push_to_hub` does not generate a model card by default, because that method comes from the cross-platform `PushToHubMixin`. If you want, I can edit that method so that it creates a model card if you pass it a...
1,639
1,639
1,639
MEMBER
null
- Creating model cards for models trained with Keras! - Model cards will automatically be created by the `PushToHubCallback` - the callback will peek at the metrics and accumulate information during the training run to enable this. - Calling `model.push_to_hub()` will not, by default, create a model card. This method...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14720/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14720/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14720", "html_url": "https://github.com/huggingface/transformers/pull/14720", "diff_url": "https://github.com/huggingface/transformers/pull/14720.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14720.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14719
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14719/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14719/comments
https://api.github.com/repos/huggingface/transformers/issues/14719/events
https://github.com/huggingface/transformers/pull/14719
1,077,123,399
PR_kwDOCUB6oc4vsVuX
14,719
Fixing tests for perceiver (texts)
{ "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,639
1,639
1,639
CONTRIBUTOR
null
# What does this PR do? Fixes the tests by supporting `input_ids` on PerceiverForSequenceClassification&co. If both `inputs` and `input_ids` are supplied, crash with an error. <!-- 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 note...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14719/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14719/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14719", "html_url": "https://github.com/huggingface/transformers/pull/14719", "diff_url": "https://github.com/huggingface/transformers/pull/14719.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14719.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14718
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14718/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14718/comments
https://api.github.com/repos/huggingface/transformers/issues/14718/events
https://github.com/huggingface/transformers/pull/14718
1,077,074,119
PR_kwDOCUB6oc4vsLkT
14,718
Automatically build doc notebooks
{ "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,639
1,639
1,639
COLLABORATOR
null
# What does this PR do? This PR automatically build the notebooks associated to the doc pages and updates them when building the documentation. For now it relies on [this unmerged PR](https://github.com/huggingface/doc-builder/pull/50/files) on the doc-builder side, hence the specific branch (so I can test). Once...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14718/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14718/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14718", "html_url": "https://github.com/huggingface/transformers/pull/14718", "diff_url": "https://github.com/huggingface/transformers/pull/14718.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14718.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14717
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14717/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14717/comments
https://api.github.com/repos/huggingface/transformers/issues/14717/events
https://github.com/huggingface/transformers/issues/14717
1,077,050,926
I_kwDOCUB6oc5AMn4u
14,717
Support for Kaldi formatted Audio files, especially "segments"
{ "login": "picheny-nyu", "id": 55798528, "node_id": "MDQ6VXNlcjU1Nzk4NTI4", "avatar_url": "https://avatars.githubusercontent.com/u/55798528?v=4", "gravatar_id": "", "url": "https://api.github.com/users/picheny-nyu", "html_url": "https://github.com/picheny-nyu", "followers_url": "https://api.github.com/...
[]
closed
false
{ "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-...
[ { "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.git...
[ "Thanks for your interest, @picheny-nyu!\r\nIndeed, this could be quite useful. The logic can either be implemented in `huggingface/datasets` for each dataset in Kaldi format individually, or we could add an example script to `transformers/examples` that converts Kaldi datasets. Feel free to open a PR if you'd like...
1,639
1,652
1,643
NONE
null
# 🚀 Feature request Kaldi is a popular open source speech recognition system that manages audio in a simple but unique format. It would be great to have some addition to the datasets object that would take a Kaldi directory and turn this into a dataset. Barring this, it would be very helpful to have a modification ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14717/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14717/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14716
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14716/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14716/comments
https://api.github.com/repos/huggingface/transformers/issues/14716/events
https://github.com/huggingface/transformers/pull/14716
1,076,903,450
PR_kwDOCUB6oc4vroJa
14,716
Adding support for multiple mask tokens.
{ "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,639
1,639
1,639
CONTRIBUTOR
null
# What does this PR do? - Original implem: https://github.com/huggingface/transformers/pull/10222 When presented multiple masks, it's impossible to retrieve the conjugate probabilities. Instead of trying to workaround that (see discussions in previous PR) this PR instead just outputs the raw `top_k` proposition...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14716/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/14716/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14716", "html_url": "https://github.com/huggingface/transformers/pull/14716", "diff_url": "https://github.com/huggingface/transformers/pull/14716.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14716.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14715
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14715/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14715/comments
https://api.github.com/repos/huggingface/transformers/issues/14715/events
https://github.com/huggingface/transformers/pull/14715
1,076,886,564
PR_kwDOCUB6oc4vrkjW
14,715
Update bug-report.md
{ "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
[]
[ "Also @Narsil, \r\n\r\nI've put you under generate now as well - is this ok? Think you know the method pretty well by now :-)", "@patrickvonplaten I am ok with that !" ]
1,639
1,639
1,639
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/14715/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14715/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14715", "html_url": "https://github.com/huggingface/transformers/pull/14715", "diff_url": "https://github.com/huggingface/transformers/pull/14715.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14715.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14714
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14714/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14714/comments
https://api.github.com/repos/huggingface/transformers/issues/14714/events
https://github.com/huggingface/transformers/pull/14714
1,076,860,871
PR_kwDOCUB6oc4vrfP_
14,714
IterableDatasetShard should use per device batch size instead of real…
{ "login": "SysuCharon", "id": 10196635, "node_id": "MDQ6VXNlcjEwMTk2NjM1", "avatar_url": "https://avatars.githubusercontent.com/u/10196635?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SysuCharon", "html_url": "https://github.com/SysuCharon", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,639
1,640
1,640
CONTRIBUTOR
null
IterableDatasetShard should use per device batch size instead of real batch size
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14714/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14714/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14714", "html_url": "https://github.com/huggingface/transformers/pull/14714", "diff_url": "https://github.com/huggingface/transformers/pull/14714.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14714.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14713
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14713/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14713/comments
https://api.github.com/repos/huggingface/transformers/issues/14713/events
https://github.com/huggingface/transformers/pull/14713
1,076,778,439
PR_kwDOCUB6oc4vrODp
14,713
[Adafactor] Fix adafactor
{ "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
[]
[ "I've tested this fix on the following script: \r\n\r\n```\r\nCUDA_VISIBLE_DEVICES=\"0\" python run_speech_recognition_ctc.py \\\r\n --dataset_name=\"common_voice\" \\\r\n --model_name_or_path=\"ntu-spml/distilhubert\" \\\r\n --dataset_config_name=\"ab\" \\\r\n --output_dir=\"./dummy\" \...
1,639
1,639
1,639
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/14713/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14713/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14713", "html_url": "https://github.com/huggingface/transformers/pull/14713", "diff_url": "https://github.com/huggingface/transformers/pull/14713.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14713.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14712
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14712/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14712/comments
https://api.github.com/repos/huggingface/transformers/issues/14712/events
https://github.com/huggingface/transformers/issues/14712
1,076,762,270
I_kwDOCUB6oc5ALhae
14,712
DeBERTa V3 Fast Tokenizer
{ "login": "ikergarcia1996", "id": 18737249, "node_id": "MDQ6VXNlcjE4NzM3MjQ5", "avatar_url": "https://avatars.githubusercontent.com/u/18737249?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ikergarcia1996", "html_url": "https://github.com/ikergarcia1996", "followers_url": "https://api.gi...
[ { "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": "" } ]
closed
false
null
[]
[ "From my understanding DeBERTa-V3 has the same tokenizer as V2.\r\nThe problem is Transformers DeBERTa-V2 does not have a FastTokenizer implementation,\r\nso we need a request for V2 FastTokenizer.", "That would be a nice community contribution! I'll add the `Good First Issue` label, and happy to guide anyone fro...
1,639
1,656
1,650
CONTRIBUTOR
null
# 🚀 Feature request Fast Tokenizer for DeBERTA-V3 and mDeBERTa-V3 ## Motivation DeBERTa V3 is an improved version of DeBERTa. With the V3 version, the authors also released a multilingual model "mDeBERTa-base" that outperforms XLM-R-base. However, DeBERTa V3 currently lacks a FastTokenizer implementation whi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14712/reactions", "total_count": 11, "+1": 11, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14712/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14711
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14711/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14711/comments
https://api.github.com/repos/huggingface/transformers/issues/14711/events
https://github.com/huggingface/transformers/pull/14711
1,076,751,518
PR_kwDOCUB6oc4vrIbu
14,711
Adding `Perceiver` to `AutoTokenizer`.
{ "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,639
1,639
1,639
CONTRIBUTOR
null
# What does this PR do? Make ```python tokenizer = AutoTokenizer.from_pretrained("deepmind/language-perceiver") ``` work. <!-- 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 ti...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14711/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14711/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14711", "html_url": "https://github.com/huggingface/transformers/pull/14711", "diff_url": "https://github.com/huggingface/transformers/pull/14711.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14711.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14710
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14710/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14710/comments
https://api.github.com/repos/huggingface/transformers/issues/14710/events
https://github.com/huggingface/transformers/issues/14710
1,076,437,996
I_kwDOCUB6oc5AKSPs
14,710
GPT-NEO Incosistent inference TPU vs GPU
{ "login": "vvv-tech", "id": 72090554, "node_id": "MDQ6VXNlcjcyMDkwNTU0", "avatar_url": "https://avatars.githubusercontent.com/u/72090554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vvv-tech", "html_url": "https://github.com/vvv-tech", "followers_url": "https://api.github.com/users/vvv...
[]
closed
false
null
[]
[ "cc @patil-suraj and @patrickvonplaten", "Hey @sjeffry-o,\r\n\r\nI'm not really sure what we can do here to help. Did you train a model and then when you run the model on inference on TPU it works well and the same model does not work well on GPU? Could you give us a reproducible code snippet that we can just run...
1,639
1,642
1,642
NONE
null
Problem: On GPU with huggingface library i'm getting much weaker results compared to inference on TPU Model: GPT-NEO 1.3B Steps: 20750 Dataset: Books crawl (file ".txt" 240 Gb) - I've prepared dataset and new Tokenizer according to [original GPT-NEO](https://github.com/EleutherAI/gpt-neo) guide. - For 1.3B model...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14710/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14710/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14709
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14709/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14709/comments
https://api.github.com/repos/huggingface/transformers/issues/14709/events
https://github.com/huggingface/transformers/pull/14709
1,076,235,713
PR_kwDOCUB6oc4vpdai
14,709
[WIP] add noisy-average new word embed init
{ "login": "john-hewitt", "id": 8755768, "node_id": "MDQ6VXNlcjg3NTU3Njg=", "avatar_url": "https://avatars.githubusercontent.com/u/8755768?v=4", "gravatar_id": "", "url": "https://api.github.com/users/john-hewitt", "html_url": "https://github.com/john-hewitt", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Thanks for the pull request @john-hewitt - I'm inclined to add such a feature. I think it's a good addition and necessary since we've seen issues about this before. \r\n\r\nWhat do you think @LysandreJik @sgugger ?", "This issue has been automatically marked as stale because it has not had recent activity. If yo...
1,639
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? This WIP PR is intended to start a discussion around the default initialization of new word embeddings when the vocabulary of a pretrained LM is expanded. A few existing github issues (e.g., #8472, #8039) bring up the issue that after adding new words to the `gpt2` model ("vocabulary expan...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14709/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14709/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14709", "html_url": "https://github.com/huggingface/transformers/pull/14709", "diff_url": "https://github.com/huggingface/transformers/pull/14709.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14709.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14708
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14708/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14708/comments
https://api.github.com/repos/huggingface/transformers/issues/14708/events
https://github.com/huggingface/transformers/pull/14708
1,075,890,524
PR_kwDOCUB6oc4voVEA
14,708
[WIP] [performance doc] faster/leaner optimizers
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_14708). All of your documentation changes will be reflected on that endpoint." ]
1,639
1,650
null
CONTRIBUTOR
null
documenting faster / leaner optimizers TODO: - add `--optim adamw_bnb_8bit` for HF Trainer.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14708/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/14708/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14708", "html_url": "https://github.com/huggingface/transformers/pull/14708", "diff_url": "https://github.com/huggingface/transformers/pull/14708.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14708.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14707
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14707/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14707/comments
https://api.github.com/repos/huggingface/transformers/issues/14707/events
https://github.com/huggingface/transformers/issues/14707
1,075,861,557
I_kwDOCUB6oc5AIFg1
14,707
Erroneous 404 warning when using AutoTokenizer.from_pretrained
{ "login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/...
[ { "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": "" } ]
closed
false
null
[]
[ "Seems to be working fine for me\r\n\r\n```\r\nPython 3.7.13 (default, Mar 28 2022, 07:24:34) \r\n[Clang 12.0.0 ] :: Anaconda, Inc. on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import transformers\r\n>>> tokenizer = transformers.AutoTokenizer.from_pretrained(\"b...
1,639
1,693
1,693
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.12.5 - Platform: Linux-5.11.0-41-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GPU?): 1.9.0+cu111 (True) - Tensorflow version (GPU?): 2.6.0 (False) - Flax version (CPU?/GPU?/TPU?): 0.3.6 (cpu) - Jax version: 0.2.24 - JaxLib version: 0...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14707/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/14707/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14706
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14706/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14706/comments
https://api.github.com/repos/huggingface/transformers/issues/14706/events
https://github.com/huggingface/transformers/issues/14706
1,075,840,291
I_kwDOCUB6oc5AIAUj
14,706
[chinese wwm] load_datasets behavior not as expected when using run_mlm_wwm.py script
{ "login": "hyusterr", "id": 52968111, "node_id": "MDQ6VXNlcjUyOTY4MTEx", "avatar_url": "https://avatars.githubusercontent.com/u/52968111?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hyusterr", "html_url": "https://github.com/hyusterr", "followers_url": "https://api.github.com/users/hyu...
[]
closed
false
null
[]
[ "This script is not an actively maintained example, so you should ping the original contributor for any question on it :-)", "@julien-c ", "@hyusterr Sorry for late, I met the same question.\r\nThe file load by `load_dataset ()` is kind of diff from norm way, so just run the check as follows:\r\n\r\n```python\...
1,639
1,645
1,640
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.7.0 - Platform: Linux-5.4.0-91-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14706/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14706/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14705
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14705/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14705/comments
https://api.github.com/repos/huggingface/transformers/issues/14705/events
https://github.com/huggingface/transformers/pull/14705
1,075,725,153
PR_kwDOCUB6oc4vnx7u
14,705
Fix : wrong link in the documentation (ConvBERT vs DistilBERT)
{ "login": "Tikquuss", "id": 49171640, "node_id": "MDQ6VXNlcjQ5MTcxNjQw", "avatar_url": "https://avatars.githubusercontent.com/u/49171640?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Tikquuss", "html_url": "https://github.com/Tikquuss", "followers_url": "https://api.github.com/users/Tik...
[]
closed
false
null
[]
[]
1,639
1,639
1,639
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/14705/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14705/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14705", "html_url": "https://github.com/huggingface/transformers/pull/14705", "diff_url": "https://github.com/huggingface/transformers/pull/14705.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14705.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14704
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14704/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14704/comments
https://api.github.com/repos/huggingface/transformers/issues/14704/events
https://github.com/huggingface/transformers/pull/14704
1,075,630,882
PR_kwDOCUB6oc4vneB7
14,704
Fix typo in toctree
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "regarding this conversation, every new doc page needs to be added to _toctree.yml (it serves the same purpose as this section of previous index.rst)\r\nhttps://github.com/huggingface/transformers/blame/fc1d97f29d7b98e82ae17fc5ac49229e2859bcca/docs/source/index.rst#L603-L652\r\nwe can probably create some automatic...
1,639
1,639
1,639
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/14704/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14704/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14704", "html_url": "https://github.com/huggingface/transformers/pull/14704", "diff_url": "https://github.com/huggingface/transformers/pull/14704.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14704.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14703
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14703/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14703/comments
https://api.github.com/repos/huggingface/transformers/issues/14703/events
https://github.com/huggingface/transformers/pull/14703
1,075,536,868
PR_kwDOCUB6oc4vnJ_E
14,703
Fix Perceiver tests
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,639
1,639
1,639
CONTRIBUTOR
null
# What does this PR do? This PR fixes the Perceiver tests by setting the appropriate device, and fixing a test for the tokenizer.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14703/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14703/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14703", "html_url": "https://github.com/huggingface/transformers/pull/14703", "diff_url": "https://github.com/huggingface/transformers/pull/14703.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14703.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14702
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14702/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14702/comments
https://api.github.com/repos/huggingface/transformers/issues/14702/events
https://github.com/huggingface/transformers/issues/14702
1,075,471,162
I_kwDOCUB6oc5AGmM6
14,702
MarianForCausalLM doc example not working
{ "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
[]
[ "Similar issue for doc example in `PegasusForCausalLM`\r\n\r\n```\r\n Example::\r\n\r\n >>> from transformers import PegasusTokenizer, PegasusForCausalLM\r\n\r\n >>> tokenizer = PegasusTokenizer.from_pretrained('facebook/bart-large')\r\n >>> model = PegasusForCausalLM.from_pr...
1,639
1,645
1,645
COLLABORATOR
null
## Environment info - `transformers` version: 4.13.0.dev0 - Platform: Windows-10-10.0.19042-SP0 - Python version: 3.9.5 - PyTorch version (GPU?): 1.9.0+cpu (False) - Tensorflow version (GPU?): 2.7.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14702/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14702/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14701
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14701/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14701/comments
https://api.github.com/repos/huggingface/transformers/issues/14701/events
https://github.com/huggingface/transformers/pull/14701
1,075,401,391
PR_kwDOCUB6oc4vmtKh
14,701
Fix doc examples: ... takes no keyword arguments
{ "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
[]
[ "I tried to solve the merge conflicts but I ended up with code quality issues - do you mind taking a look when you have a minute? Sorry about that!", "> I tried to solve the merge conflicts but I ended up with code quality issues - do you mind taking a look when you have a minute? Sorry about that!\r\n\r\nLooks f...
1,639
1,651
1,640
COLLABORATOR
null
# What does this PR do? In some doc examples, there are ``` >>> y = XSoftmax.apply(x, mask, dim=-1) ``` which gives `TypeError: apply() takes no keyword arguments`. This PR fixes it by ``` >>> # Specify the dimension to apply softmax >>> dim = -1 >>> y = XSo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14701/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14701/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14701", "html_url": "https://github.com/huggingface/transformers/pull/14701", "diff_url": "https://github.com/huggingface/transformers/pull/14701.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14701.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14700
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14700/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14700/comments
https://api.github.com/repos/huggingface/transformers/issues/14700/events
https://github.com/huggingface/transformers/pull/14700
1,075,389,205
PR_kwDOCUB6oc4vmqnW
14,700
Onnx enable tasks for supported models (part 2)
{ "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
[]
[ "Gently pinging @LysandreJik for his blessing on the latest round of changes :)", "Does this ONNX conversion support `beam search` automatically for BART based summarizers? ", "> Does this ONNX conversion support `beam search` automatically for BART based summarizers?\r\n\r\nHi @sorenmc, no, you'll have to impl...
1,639
1,652
1,640
MEMBER
null
# What does this PR do? This PR reapplies the reverted PR #14358, and solves the issues that caused the revert. --- # What does this PR do? This PR adds support for almost all the features available for already supported models. Main contributions: - `OnnxSeq2SeqConfigWithPast`: a new class inheriti...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14700/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14700/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14700", "html_url": "https://github.com/huggingface/transformers/pull/14700", "diff_url": "https://github.com/huggingface/transformers/pull/14700.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14700.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14699
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14699/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14699/comments
https://api.github.com/repos/huggingface/transformers/issues/14699/events
https://github.com/huggingface/transformers/pull/14699
1,075,381,796
PR_kwDOCUB6oc4vmpFX
14,699
Fix doc examples: KeyError
{ "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,639
1,651
1,639
COLLABORATOR
null
# What does this PR do? The doc examples in `BlenderbotSmall` have ``` >>> inputs = tokenizer([UTTERANCE], return_tensors='pt') >>> inputs.pop("token_type_ids") ``` However, `BlenderbotSmallTokenizer` doesn't give `token_type_ids`, and cause `KeyError` here. This PR fix this. ## Who can ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14699/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14699/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14699", "html_url": "https://github.com/huggingface/transformers/pull/14699", "diff_url": "https://github.com/huggingface/transformers/pull/14699.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14699.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14698
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14698/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14698/comments
https://api.github.com/repos/huggingface/transformers/issues/14698/events
https://github.com/huggingface/transformers/pull/14698
1,075,360,782
PR_kwDOCUB6oc4vmkuA
14,698
Fix doc examples: cannot import name
{ "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
[]
[ "Great catch - thanks a lot for fixing it! I think we should do the exact same thing for the speech models (UniSpeech, SEW, UniSpeechSAT) actually. Feel free to open a PR if you want - I'll put it on my ToDo list as well though", "@patrickvonplaten \r\n\r\nSo `UniSpeechSatFeatureExtractor` shouldn't be used by `U...
1,639
1,651
1,639
COLLABORATOR
null
# What does this PR do? In doc examples in some PT model files, there are `cannot import name` error. This PR fixes this issue. ## Who can review? @patrickvonplaten ## Question: @patrickvonplaten , in `modeling_unispeech.py`, there are examples using ``` from transformers import UniSpeechSatFeatureE...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14698/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14698/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14698", "html_url": "https://github.com/huggingface/transformers/pull/14698", "diff_url": "https://github.com/huggingface/transformers/pull/14698.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14698.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14697
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14697/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14697/comments
https://api.github.com/repos/huggingface/transformers/issues/14697/events
https://github.com/huggingface/transformers/pull/14697
1,075,338,452
PR_kwDOCUB6oc4vmgAW
14,697
Fix doc examples: modify config before super().__init__
{ "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
[]
[ " This makes sense to me - thanks for outlining the problem in the issue! @sgugger @LysandreJik - can you take a quick look as well?" ]
1,639
1,651
1,639
COLLABORATOR
null
# What does this PR do? Some PT Causal LM models modify config after `super().__init__(config)`. This causes some doc examples failed. See #14672 for the details. This PR fixes this issue: It does the same as what has been done in ``` class ProphetNetForCausalLM(ProphetNetPreTrainedModel): def __init__(s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14697/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14697/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14697", "html_url": "https://github.com/huggingface/transformers/pull/14697", "diff_url": "https://github.com/huggingface/transformers/pull/14697.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14697.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14696
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14696/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14696/comments
https://api.github.com/repos/huggingface/transformers/issues/14696/events
https://github.com/huggingface/transformers/issues/14696
1,075,305,072
I_kwDOCUB6oc5AF9pw
14,696
Occasional Can not load roberta-base tokenizer
{ "login": "CaoYiqingT", "id": 45160643, "node_id": "MDQ6VXNlcjQ1MTYwNjQz", "avatar_url": "https://avatars.githubusercontent.com/u/45160643?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CaoYiqingT", "html_url": "https://github.com/CaoYiqingT", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "I think this is probably due to an internet connection error, unfortunately", "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 gui...
1,639
1,642
1,642
NONE
null
**Environment info** transformers 4.12.0.dev **issue** when using `tokenizer = AutoTokenizer.from_pretrained('roberta-base')`, got the bug as following: ``` OSError: Can't load config for 'roberta-base'. Make sure that: - 'roberta-base' is a correct model identifier listed on 'https://huggingface.co/models' ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14696/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14696/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14695
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14695/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14695/comments
https://api.github.com/repos/huggingface/transformers/issues/14695/events
https://github.com/huggingface/transformers/pull/14695
1,075,289,052
PR_kwDOCUB6oc4vmVmf
14,695
Improve documentation of some models
{ "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
[]
[ "Please ping me when you're ready to merge it @NielsRogge so that I may update the stable docs with this" ]
1,639
1,639
1,639
CONTRIBUTOR
null
# What does this PR do? This PR: - migrates the docs of ImageGPT, TAPAS and TrOCR from rst to Markdown. - adds links to my demo notebooks for ViT, BEiT, LUKE, Perceiver. - improves the docstrings of the Perceiver model.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14695/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14695/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14695", "html_url": "https://github.com/huggingface/transformers/pull/14695", "diff_url": "https://github.com/huggingface/transformers/pull/14695.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14695.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14694
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14694/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14694/comments
https://api.github.com/repos/huggingface/transformers/issues/14694/events
https://github.com/huggingface/transformers/issues/14694
1,075,288,878
I_kwDOCUB6oc5AF5su
14,694
The loss function should ignore tokens whose index is set to - 100
{ "login": "Silypie", "id": 52056975, "node_id": "MDQ6VXNlcjUyMDU2OTc1", "avatar_url": "https://avatars.githubusercontent.com/u/52056975?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Silypie", "html_url": "https://github.com/Silypie", "followers_url": "https://api.github.com/users/Silypi...
[]
closed
false
null
[]
[ "No, the ignore_index is set to -100 by default as can be seen in PyTorch' [docs](https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html).", "> No, the ignore_index is set to -100 by default as can be seen in PyTorch' [docs](https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.htm...
1,639
1,639
1,639
NONE
null
Loss function in `EncoderDecoderModel` as well as `BartForConditionalGeneration` didn't ignore special tokens: https://github.com/huggingface/transformers/blob/e9800122a6f6a68aee7dff347c8f4a6d28e345a2/src/transformers/models/encoder_decoder/modeling_encoder_decoder.py#L529 Does it need to be like the loss function ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14694/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14694/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14693
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14693/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14693/comments
https://api.github.com/repos/huggingface/transformers/issues/14693/events
https://github.com/huggingface/transformers/issues/14693
1,075,123,780
I_kwDOCUB6oc5AFRZE
14,693
Multiple answers for QA
{ "login": "anil8593", "id": 22313222, "node_id": "MDQ6VXNlcjIyMzEzMjIy", "avatar_url": "https://avatars.githubusercontent.com/u/22313222?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anil8593", "html_url": "https://github.com/anil8593", "followers_url": "https://api.github.com/users/ani...
[]
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,639
1,642
1,642
NONE
null
Hi Team, I would like to know if the current implementation for Question answering tasks on the squad data format considers multiple answers that can be passed in the format. Going through the code, i think it does not however wanted to know it from you.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14693/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14693/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14692
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14692/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14692/comments
https://api.github.com/repos/huggingface/transformers/issues/14692/events
https://github.com/huggingface/transformers/issues/14692
1,075,075,441
I_kwDOCUB6oc5AFFlx
14,692
LongformerTokenizer Error
{ "login": "Gracccce", "id": 38037481, "node_id": "MDQ6VXNlcjM4MDM3NDgx", "avatar_url": "https://avatars.githubusercontent.com/u/38037481?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Gracccce", "html_url": "https://github.com/Gracccce", "followers_url": "https://api.github.com/users/Gra...
[]
closed
false
null
[]
[]
1,639
1,639
1,639
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: 2.11.0 - Platform: Linux-5.10.68+-x86_64-with-debian-buster-sid - Python version: 3.7.6 - PyTorch version (G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14692/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14692/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14691
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14691/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14691/comments
https://api.github.com/repos/huggingface/transformers/issues/14691/events
https://github.com/huggingface/transformers/pull/14691
1,074,918,060
PR_kwDOCUB6oc4vlF8-
14,691
Fix `AttributeError` from `PreTrainedTokenizerFast.decoder`
{ "login": "aphedges", "id": 14283972, "node_id": "MDQ6VXNlcjE0MjgzOTcy", "avatar_url": "https://avatars.githubusercontent.com/u/14283972?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aphedges", "html_url": "https://github.com/aphedges", "followers_url": "https://api.github.com/users/aph...
[]
closed
false
null
[]
[ "Pinging @n1t0, @LysandreJik." ]
1,639
1,640
1,640
CONTRIBUTOR
null
# What does this PR do? Calling the `decoder` attribute for the T5 fast tokenizer raises an error because it tries accessing the non-existent `_tokenizer` field of `tokenizers.Tokenizer`. In `PreTrainedTokenizerFast.decoder`, `self._tokenizer._tokenizer.decoder` is executed, which contains a probably unintentional r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14691/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14691/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14691", "html_url": "https://github.com/huggingface/transformers/pull/14691", "diff_url": "https://github.com/huggingface/transformers/pull/14691.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14691.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14690
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14690/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14690/comments
https://api.github.com/repos/huggingface/transformers/issues/14690/events
https://github.com/huggingface/transformers/pull/14690
1,074,817,532
PR_kwDOCUB6oc4vkzNt
14,690
Make MLuke tokenizer tests slow
{ "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
[]
[ "cc @NielsRogge ", "Hi, I suspect that the slowness is from reading the large `entity_vocab.json` in `MLukeTokenizer.__init__()`, which has 418 MB ([studio-ousia/mluke-base](https://huggingface.co/studio-ousia/mluke-base/tree/main)).\r\nWhen I tried on my local PC, only reading the entity vocab file in `__init__(...
1,638
1,639
1,638
COLLABORATOR
null
# What does this PR do? To avoid the timeouts in the test suites, this PR makes all mLuke tokenizer tests slow until we figure out a way to speed them up.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14690/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14690/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14690", "html_url": "https://github.com/huggingface/transformers/pull/14690", "diff_url": "https://github.com/huggingface/transformers/pull/14690.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14690.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14689
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14689/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14689/comments
https://api.github.com/repos/huggingface/transformers/issues/14689/events
https://github.com/huggingface/transformers/pull/14689
1,074,807,707
PR_kwDOCUB6oc4vkxI1
14,689
Fix doc examples: unexpected keyword argument
{ "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
[]
[ "Not sure why `ProphetNetTokenizer` returns `token_type_ids` by default while `ProphetNetEncoder` can't accept it.\r\n\r\n```\r\n >>> tokenizer = ProphetNetTokenizer.from_pretrained('microsoft/prophetnet-large-uncased')\r\n >>> model = ProphetNetEncoder.from_pretrained('patrickvonplaten/prophe...
1,638
1,651
1,639
COLLABORATOR
null
# What does this PR do? Fix `unexpected keyword argument` in doc examples (in PT model files) ## Who can review? @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14689/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14689/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14689", "html_url": "https://github.com/huggingface/transformers/pull/14689", "diff_url": "https://github.com/huggingface/transformers/pull/14689.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14689.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14688
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14688/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14688/comments
https://api.github.com/repos/huggingface/transformers/issues/14688/events
https://github.com/huggingface/transformers/pull/14688
1,074,793,333
PR_kwDOCUB6oc4vkuE_
14,688
[trainer] support UserDict inputs (torch-nightly)
{ "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,638
1,638
1,638
CONTRIBUTOR
null
torch-nightly has changed the behavior of DataLoader. Until now its iterator was returning a `dict` structure, but with pt-11 it now returns our custom `BatchEncoding` dict structure, which broke `_prepare_inputs` in Trainer as it misses the `dict` check. This PR fixes the problem switching to checking if it's any k...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14688/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14688/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14688", "html_url": "https://github.com/huggingface/transformers/pull/14688", "diff_url": "https://github.com/huggingface/transformers/pull/14688.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14688.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14687
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14687/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14687/comments
https://api.github.com/repos/huggingface/transformers/issues/14687/events
https://github.com/huggingface/transformers/pull/14687
1,074,782,235
PR_kwDOCUB6oc4vkrva
14,687
Fix doc examples: name '...' 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
[]
[ "> Thanks for fixing. For the one in visual BERT, it shouldn't be run by doctest, so the `>>>` should be removed.\r\n\r\nI removed `>>>` and `...` as suggested.", "Thnaks!" ]
1,638
1,651
1,638
COLLABORATOR
null
# What does this PR do? For some doc examples in PT model files, we get exception: `NameError: name '...' is not defined` This PR fixes this issue. In `modeling_visual_bert.py`, there are some places using an assumed-existing function `get_visual_embeddings`. ``` # Assumption: `get_visual_embeddings(image)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14687/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14687/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14687", "html_url": "https://github.com/huggingface/transformers/pull/14687", "diff_url": "https://github.com/huggingface/transformers/pull/14687.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14687.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14686
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14686/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14686/comments
https://api.github.com/repos/huggingface/transformers/issues/14686/events
https://github.com/huggingface/transformers/pull/14686
1,074,749,574
PR_kwDOCUB6oc4vkk5c
14,686
Move pyctcdecode
{ "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,638
1,638
1,638
COLLABORATOR
null
# What does this PR do? This PR moves the `pyctcdedcode` to the methods of `Wav2Vec2ProcessorWithLM` so that one can always import it. The dependencies seem a bit tricky to all install (and in particular kenlm is a hard requirement but it doesn't seem to always work properly, especially in notebooks) so this makes t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14686/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14686/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14686", "html_url": "https://github.com/huggingface/transformers/pull/14686", "diff_url": "https://github.com/huggingface/transformers/pull/14686.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14686.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14685
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14685/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14685/comments
https://api.github.com/repos/huggingface/transformers/issues/14685/events
https://github.com/huggingface/transformers/pull/14685
1,074,746,146
PR_kwDOCUB6oc4vkkLR
14,685
Fix wrong checkpoint paths in doc examples
{ "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
[]
[ "> Thanks for fixing those. For Megatron BERT, a manual download is required, see the [doc page](https://huggingface.co/docs/transformers/model_doc/megatron_bert) for more information.\r\n\r\nOK, so I should update the doc example by using a manual download, I guess.", "No need for that (as it requires some bash ...
1,638
1,651
1,638
COLLABORATOR
null
# What does this PR do? In some (PT) model files, there are doc examples with the wrong checkpoint paths. For example, ``` model = BigBirdPegasusForConditionalGeneration.from_pretrained('bigbird-pegasus-large-arxiv') ``` which should be `'google/bigbird-pegasus-large-arxiv'` This PR fixes this issue. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14685/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14685/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14685", "html_url": "https://github.com/huggingface/transformers/pull/14685", "diff_url": "https://github.com/huggingface/transformers/pull/14685.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14685.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14684
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14684/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14684/comments
https://api.github.com/repos/huggingface/transformers/issues/14684/events
https://github.com/huggingface/transformers/pull/14684
1,074,730,644
PR_kwDOCUB6oc4vkhSv
14,684
Put back open in colab markers
{ "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
[]
[ "Making a note that this PR should be merged after https://github.com/huggingface/moon-landing/pull/1621 gets merged", "@sgugger done on the moon-landing side. Please feel free to merge this PR", "Thanks!" ]
1,638
1,639
1,639
COLLABORATOR
null
# What does this PR do? This PR should be merged once everything is ready on moon-landing (cc @mishig25 I will wait for your green light).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14684/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/14684/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14684", "html_url": "https://github.com/huggingface/transformers/pull/14684", "diff_url": "https://github.com/huggingface/transformers/pull/14684.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14684.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14683
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14683/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14683/comments
https://api.github.com/repos/huggingface/transformers/issues/14683/events
https://github.com/huggingface/transformers/pull/14683
1,074,728,393
PR_kwDOCUB6oc4vkg0k
14,683
Revert open-in-colab and add perceiver
{ "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
[]
[ "LGTM!" ]
1,638
1,639
1,638
COLLABORATOR
null
# What does this PR do? I merged a bit too fast #14665 so this PR reverts the [[open-in-colab]] markers since the corresponding Svelte component has not been merged yet. This PR also adds Perceiver to the table of content. (cc @NielsRogge )
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14683/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14683/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14683", "html_url": "https://github.com/huggingface/transformers/pull/14683", "diff_url": "https://github.com/huggingface/transformers/pull/14683.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14683.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14682
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14682/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14682/comments
https://api.github.com/repos/huggingface/transformers/issues/14682/events
https://github.com/huggingface/transformers/pull/14682
1,074,727,649
PR_kwDOCUB6oc4vkgqy
14,682
add str hub token to repository when provided else fallback to default
{ "login": "philschmid", "id": 32632186, "node_id": "MDQ6VXNlcjMyNjMyMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/32632186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/philschmid", "html_url": "https://github.com/philschmid", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "should we/can we add in the upcoming release to have it \"fixed\" for now and then improve on it? @Rocketknight1 @LysandreJik ? ", "Yes, agreed that it should be in the PR; pinging @Rocketknight1 for a quick review and will merge afterwards.", "Also I'll be doing significant updates to the PushToHubCallback in...
1,638
1,639
1,639
MEMBER
null
# What does this PR do? This PR fixes the Repository creation when using `PushToHubCallback`. Currently, the Repository is created assuming the `HF_TOKEN` is available on the machine, but that's not the case for every scenario. These changes check if the `hub_token` parameter is provided if yes then it is passed i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14682/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14682/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14682", "html_url": "https://github.com/huggingface/transformers/pull/14682", "diff_url": "https://github.com/huggingface/transformers/pull/14682.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14682.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14681
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14681/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14681/comments
https://api.github.com/repos/huggingface/transformers/issues/14681/events
https://github.com/huggingface/transformers/pull/14681
1,074,684,194
PR_kwDOCUB6oc4vkZCd
14,681
Fixes in init
{ "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,638
1,638
1,638
COLLABORATOR
null
# What does this PR do? Small init fixes for the `Wav2Vec2ProcessorWithLm`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14681/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14681/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14681", "html_url": "https://github.com/huggingface/transformers/pull/14681", "diff_url": "https://github.com/huggingface/transformers/pull/14681.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14681.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14680
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14680/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14680/comments
https://api.github.com/repos/huggingface/transformers/issues/14680/events
https://github.com/huggingface/transformers/pull/14680
1,074,670,760
PR_kwDOCUB6oc4vkWOK
14,680
Improvements to Comet Integration
{ "login": "DN6", "id": 7529846, "node_id": "MDQ6VXNlcjc1Mjk4NDY=", "avatar_url": "https://avatars.githubusercontent.com/u/7529846?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DN6", "html_url": "https://github.com/DN6", "followers_url": "https://api.github.com/users/DN6/followers", "f...
[]
closed
false
null
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
# What does this PR do? I noticed that a lot of the `TrainingArguments` parameters were not being logged to [Comet](https://www.comet.ml/site/) with the latest version of `transformers`. The issue seems to be in this line of the integration https://github.com/huggingface/transformers/blob/3772af49ceba348f2c9c5bbb...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14680/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14680/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14680", "html_url": "https://github.com/huggingface/transformers/pull/14680", "diff_url": "https://github.com/huggingface/transformers/pull/14680.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14680.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14679
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14679/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14679/comments
https://api.github.com/repos/huggingface/transformers/issues/14679/events
https://github.com/huggingface/transformers/pull/14679
1,074,661,002
PR_kwDOCUB6oc4vkUMJ
14,679
Revert "Added support for other features for already supported models"
{ "login": "lewtun", "id": 26859204, "node_id": "MDQ6VXNlcjI2ODU5MjA0", "avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewtun", "html_url": "https://github.com/lewtun", "followers_url": "https://api.github.com/users/lewtun/fo...
[]
closed
false
null
[]
[]
1,638
1,638
1,638
MEMBER
null
Reverts huggingface/transformers#14358 (to hold off from the next release) cc @LysandreJik @sgugger @michaelbenayoun
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14679/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14679/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14679", "html_url": "https://github.com/huggingface/transformers/pull/14679", "diff_url": "https://github.com/huggingface/transformers/pull/14679.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14679.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14678
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14678/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14678/comments
https://api.github.com/repos/huggingface/transformers/issues/14678/events
https://github.com/huggingface/transformers/pull/14678
1,074,631,643
PR_kwDOCUB6oc4vkOBx
14,678
Fix doc examples: 'CausalLMOutput...' object has no attribute 'last_hidden_state'
{ "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
[]
[ "Awesome!" ]
1,638
1,651
1,639
COLLABORATOR
null
# What does this PR do? In some doc examples, the line ``` last_hidden_states = outputs.last_hidden_state ``` will fail when the return value if of type `CausalLMOutput...` (e.g. `CausalLMOutputWithCrossAttentions`). This PR fixes these lines by using ``` logits = outputs.logits ``` ## Who can rev...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14678/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14678/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14678", "html_url": "https://github.com/huggingface/transformers/pull/14678", "diff_url": "https://github.com/huggingface/transformers/pull/14678.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14678.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14677
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14677/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14677/comments
https://api.github.com/repos/huggingface/transformers/issues/14677/events
https://github.com/huggingface/transformers/issues/14677
1,074,464,040
I_kwDOCUB6oc5ACwUo
14,677
[Feature request] Doc example copy button - option to remove input prompts and outputs
{ "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
[]
[ "This is a bug that will be fixed soon, see https://github.com/huggingface/doc-builder/issues/41. cc @mishig25. Thanks for reporting.", "Thanks, @NielsRogge . I didn't follow that repository. I am closing this issue." ]
1,638
1,638
1,638
COLLABORATOR
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. --> Documentation page: Make example copy buttons remove input prompts (`>>>` and `...`) before copying, as well as skip lines that don’t start with prompts (in ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14677/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14677/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14676
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14676/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14676/comments
https://api.github.com/repos/huggingface/transformers/issues/14676/events
https://github.com/huggingface/transformers/pull/14676
1,074,456,707
PR_kwDOCUB6oc4vjpHf
14,676
Fix doc builder
{ "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,638
1,638
1,638
MEMBER
null
Add ken-lm to the doc builder.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14676/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14676/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14676", "html_url": "https://github.com/huggingface/transformers/pull/14676", "diff_url": "https://github.com/huggingface/transformers/pull/14676.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14676.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14675
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14675/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14675/comments
https://api.github.com/repos/huggingface/transformers/issues/14675/events
https://github.com/huggingface/transformers/pull/14675
1,074,382,471
PR_kwDOCUB6oc4vjZT3
14,675
[AutoProcessor] Add Wav2Vec2WithLM & small fix
{ "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
[]
[ "Test failure is unrelated", "Failures are unrelated - merging" ]
1,638
1,638
1,638
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/14675/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14675/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14675", "html_url": "https://github.com/huggingface/transformers/pull/14675", "diff_url": "https://github.com/huggingface/transformers/pull/14675.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14675.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14674
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14674/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14674/comments
https://api.github.com/repos/huggingface/transformers/issues/14674/events
https://github.com/huggingface/transformers/issues/14674
1,074,352,295
I_kwDOCUB6oc5ACVCn
14,674
Loading t5 from config file
{ "login": "hadifar", "id": 7101287, "node_id": "MDQ6VXNlcjcxMDEyODc=", "avatar_url": "https://avatars.githubusercontent.com/u/7101287?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hadifar", "html_url": "https://github.com/hadifar", "followers_url": "https://api.github.com/users/hadifar/...
[]
closed
false
{ "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://...
[ { "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", "follo...
[ "This is due to the fact that the \"architectures\" attribute of the [config](https://huggingface.co/t5-small/blob/main/config.json#L3) of the \"t5-small\" checkpoint is set to `T5WithLMHeadModel`, however it was renamed to `T5ForConditionalGeneration`.\r\n\r\nI believe that should be updated (as well as the other ...
1,638
1,639
1,639
NONE
null
Why cannot load T5 from a config file? Python: 3.9.5 Transformer: 4.12.5 OS: ubuntu 18.04 CPU ``` from transformers import ( AutoConfig, T5Model, T5ForConditionalGeneration, T5Config, ) config = AutoConfig.from_pretrained('t5-small') model = T5ForConditionalGeneration.from_pretrained(config) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14674/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14674/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14673
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14673/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14673/comments
https://api.github.com/repos/huggingface/transformers/issues/14673/events
https://github.com/huggingface/transformers/issues/14673
1,074,204,301
I_kwDOCUB6oc5ABw6N
14,673
Output sequences are different between SummarizationPipeline and model.generate
{ "login": "tagucci", "id": 12934276, "node_id": "MDQ6VXNlcjEyOTM0Mjc2", "avatar_url": "https://avatars.githubusercontent.com/u/12934276?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tagucci", "html_url": "https://github.com/tagucci", "followers_url": "https://api.github.com/users/tagucc...
[]
closed
false
null
[]
[ "Hey @tagucci,\r\n\r\nGood question! It took me some time to find the difference :D . The pipeline automatically takes the `model.config.prefix` parameter into account as well. So if you change your script as follows you should get the same results: \r\n\r\n```diff\r\nfrom transformers import (\r\n BartTokenizer...
1,638
1,639
1,639
CONTRIBUTOR
null
## Environment info transformers version: 4.12.5 Platform: Linux Python version: 3.8.5 PyTorch version (GPU?): 1.10 Tensorflow version (GPU?): N/A Using GPU in script?: Yes Using distributed or parallel set-up in script?: No ### Who can help @patrickvonplaten, @patil-suraj ## Information Model I am usin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14673/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14673/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14672
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14672/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14672/comments
https://api.github.com/repos/huggingface/transformers/issues/14672/events
https://github.com/huggingface/transformers/issues/14672
1,074,162,293
I_kwDOCUB6oc5ABmp1
14,672
PT CausalLM models config issue
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
{ "login": "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://...
[ { "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", "follo...
[]
1,638
1,639
1,639
COLLABORATOR
null
## Environment info - `transformers` version: 4.13.0.dev0 - Platform: Windows-10-10.0.19042-SP0 - Python version: 3.9.5 - PyTorch version (GPU?): 1.9.0+cpu (False) - Tensorflow version (GPU?): 2.7.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14672/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14672/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14671
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14671/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14671/comments
https://api.github.com/repos/huggingface/transformers/issues/14671/events
https://github.com/huggingface/transformers/pull/14671
1,074,098,185
PR_kwDOCUB6oc4vidX-
14,671
fix deprecated tf method
{ "login": "zoheth", "id": 32609676, "node_id": "MDQ6VXNlcjMyNjA5Njc2", "avatar_url": "https://avatars.githubusercontent.com/u/32609676?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zoheth", "html_url": "https://github.com/zoheth", "followers_url": "https://api.github.com/users/zoheth/fo...
[]
closed
false
null
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
tf.matrix_band_part -> tf.linalg.band_part Fixes #14670
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14671/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14671/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14671", "html_url": "https://github.com/huggingface/transformers/pull/14671", "diff_url": "https://github.com/huggingface/transformers/pull/14671.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14671.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14670
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14670/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14670/comments
https://api.github.com/repos/huggingface/transformers/issues/14670/events
https://github.com/huggingface/transformers/issues/14670
1,074,073,416
I_kwDOCUB6oc5ABQ9I
14,670
tf.matrix_band_part have been deprecated
{ "login": "zoheth", "id": 32609676, "node_id": "MDQ6VXNlcjMyNjA5Njc2", "avatar_url": "https://avatars.githubusercontent.com/u/32609676?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zoheth", "html_url": "https://github.com/zoheth", "followers_url": "https://api.github.com/users/zoheth/fo...
[]
closed
false
null
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
https://github.com/huggingface/transformers/blob/fae0b9faefc371977d139b60202a63dcedbd8ea8/src/transformers/models/xlnet/modeling_tf_xlnet.py#L500 This should be replaced by `tf.linalg.band_part` here?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14670/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14670/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14669
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14669/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14669/comments
https://api.github.com/repos/huggingface/transformers/issues/14669/events
https://github.com/huggingface/transformers/pull/14669
1,073,882,202
PR_kwDOCUB6oc4vhwaQ
14,669
[logging] implement warning_advice / TRANSFORMERS_NO_ADVISORY_WARNINGS
{ "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
[]
[ "Looks good to me! I'm wondering whether we actually need a new logger function `logger.warning_advice` or whether it might make sense to simply overwrite `logger.warning` since 100% backward compatibility is kept ", "> Looks good to me! I'm wondering whether we actually need a new logger function `logger.warning...
1,638
1,640
1,640
CONTRIBUTOR
null
This PR implements the idea of advisory logger warnings as discussed at https://github.com/huggingface/transformers/issues/14455 The main ideas is to enable users to turn some logger warnings off when they re-run the same program again and again and either don't care or can't do something about those warnings. Addit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14669/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14669/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14669", "html_url": "https://github.com/huggingface/transformers/pull/14669", "diff_url": "https://github.com/huggingface/transformers/pull/14669.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14669.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14668
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14668/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14668/comments
https://api.github.com/repos/huggingface/transformers/issues/14668/events
https://github.com/huggingface/transformers/issues/14668
1,073,876,757
I_kwDOCUB6oc5AAg8V
14,668
Generate: Passing encoder_hidden_states in with num_beams > 1 raises an error
{ "login": "michalk8", "id": 46717574, "node_id": "MDQ6VXNlcjQ2NzE3NTc0", "avatar_url": "https://avatars.githubusercontent.com/u/46717574?v=4", "gravatar_id": "", "url": "https://api.github.com/users/michalk8", "html_url": "https://github.com/michalk8", "followers_url": "https://api.github.com/users/mic...
[]
closed
false
null
[]
[ "Hey @michalk8,\r\n\r\nIn general, we try not to use the issue tracker too much for questions of non-official, costumized models. Could you maybe use the forum: https://discuss.huggingface.co/ instead the next time. \r\n\r\nTo answer your question, the approach of doing:\r\n\r\n```python\r\nehs_stacked = torch.cat(...
1,638
1,685
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: both 4.12.5 and 4.13.0.dev0 - Platform: Linux - Python version: 3.8.12 - PyTorch version (GPU?): 1.10, no GP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14668/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14668/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14667
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14667/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14667/comments
https://api.github.com/repos/huggingface/transformers/issues/14667/events
https://github.com/huggingface/transformers/issues/14667
1,073,806,919
I_kwDOCUB6oc5AAP5H
14,667
Wrong link in the documentation (ConvBERT, BART, Fnet)
{ "login": "Tikquuss", "id": 49171640, "node_id": "MDQ6VXNlcjQ5MTcxNjQw", "avatar_url": "https://avatars.githubusercontent.com/u/49171640?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Tikquuss", "html_url": "https://github.com/Tikquuss", "followers_url": "https://api.github.com/users/Tik...
[]
closed
false
null
[]
[ "Nice catch! Would you like to submit a PR to amend this?", "Sure ! As soon as I finish reading the documentation, to avoid making two PRs in case I find another error.", "Going through the documentation I found an error and a warning. I'll make a PR about it. I just want to note that I didn't do a documentatio...
1,638
1,639
1,639
CONTRIBUTOR
null
In the documentation on transform-based models [0], the link that is supposed to point to the **ConvBERT** paper [1, 2] points instead to the **DistilBERT** paper [3]. [0] https://huggingface.co/docs/transformers [1] https://huggingface.co/docs/transformers/model_summary#convbert [2] https://arxiv.org/pdf/2008.024...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14667/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14667/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14666
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14666/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14666/comments
https://api.github.com/repos/huggingface/transformers/issues/14666/events
https://github.com/huggingface/transformers/pull/14666
1,073,763,033
PR_kwDOCUB6oc4vhXYC
14,666
Code parrot minor fixes/niceties
{ "login": "ncoop57", "id": 7613470, "node_id": "MDQ6VXNlcjc2MTM0NzA=", "avatar_url": "https://avatars.githubusercontent.com/u/7613470?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ncoop57", "html_url": "https://github.com/ncoop57", "followers_url": "https://api.github.com/users/ncoop57/...
[]
closed
false
null
[]
[ "Alrighty @lvwerra, I think this PR should be (:crossed_fingers:) good to go :rocket:! Lemme know if anything else needs to be done!" ]
1,638
1,639
1,639
CONTRIBUTOR
null
# What does this PR do? Hi there, really excited by HF expanding into Deep Learning for Software Engineering! This PR just adds a few fixes/niceties I found while testing out the scripts. Specifically: 1. Move the training code to a main function to allow using TPUs (TPU testing still needs to be done, but GPU trai...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14666/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14666/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14666", "html_url": "https://github.com/huggingface/transformers/pull/14666", "diff_url": "https://github.com/huggingface/transformers/pull/14666.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14666.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14665
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14665/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14665/comments
https://api.github.com/repos/huggingface/transformers/issues/14665/events
https://github.com/huggingface/transformers/pull/14665
1,073,755,206
PR_kwDOCUB6oc4vhVvY
14,665
Convert tutorials
{ "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,638
1,638
1,638
COLLABORATOR
null
# What does this PR do? Fresh version of #14655
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14665/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14665/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14665", "html_url": "https://github.com/huggingface/transformers/pull/14665", "diff_url": "https://github.com/huggingface/transformers/pull/14665.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14665.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14664
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14664/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14664/comments
https://api.github.com/repos/huggingface/transformers/issues/14664/events
https://github.com/huggingface/transformers/pull/14664
1,073,729,707
PR_kwDOCUB6oc4vhQa7
14,664
Small fix for GPT2OnnxConfig
{ "login": "nguyenhuuthuat09", "id": 29718711, "node_id": "MDQ6VXNlcjI5NzE4NzEx", "avatar_url": "https://avatars.githubusercontent.com/u/29718711?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nguyenhuuthuat09", "html_url": "https://github.com/nguyenhuuthuat09", "followers_url": "https://...
[]
closed
false
null
[]
[ "cc @mfuntowicz @lewtun @michaelbenayoun ", "Oh, great to know about it! Never mind, I am going to close this PR. \r\n\r\nHope to see the new update soon and thank you all very much for your great contribution to the community!" ]
1,638
1,638
1,638
NONE
null
# What does this PR do? This PR fix a small bug of `GPT2OnnxConfig()`. Since `GPT2OnnxConfig.input` currently lacks a `dynamic_axes` for `input sequence length`, we cannot feed an input of any length into exported `GPT2 Onnx model` when doing inference. (I used [this guide](https://huggingface.co/docs/transforme...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14664/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14664/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14664", "html_url": "https://github.com/huggingface/transformers/pull/14664", "diff_url": "https://github.com/huggingface/transformers/pull/14664.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14664.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14663
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14663/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14663/comments
https://api.github.com/repos/huggingface/transformers/issues/14663/events
https://github.com/huggingface/transformers/pull/14663
1,073,720,741
PR_kwDOCUB6oc4vhOjJ
14,663
[trainer] conditional ctx managers into one wrapper
{ "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,638
1,638
1,638
CONTRIBUTOR
null
This PR simplifies the code by taking 3 conditionals that are repeated in 3 places in trainer.py and makes use of a wrapper method. Let me know if you prefer I make this helper method private and add a leading `_`. If this looks good, we could repeat this in the other places where we have similar situations. Whil...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14663/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14663/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14663", "html_url": "https://github.com/huggingface/transformers/pull/14663", "diff_url": "https://github.com/huggingface/transformers/pull/14663.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14663.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14662
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14662/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14662/comments
https://api.github.com/repos/huggingface/transformers/issues/14662/events
https://github.com/huggingface/transformers/pull/14662
1,073,632,824
PR_kwDOCUB6oc4vg8zy
14,662
Add a job to test doc building (for realsies this time)
{ "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
[]
[ "Just rebased on `master` and force-pushed.", "Checking that it fails as it's missing the `kenlm` dependency, which I will add right after I confirm it fails.", "Yes the object and its docstings exist whether or not `kenlm` is installed." ]
1,638
1,639
1,639
COLLABORATOR
null
# What does this PR do? This PR takes over from #14645 to do it properly this time, meaning: - we don't rely on secrets anymore which doesn't work for pull-request - we don't need the secrets as we are not pushing anywhere - we actually checkout the content after the PR merge, and not just master 🤦
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14662/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14662/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14662", "html_url": "https://github.com/huggingface/transformers/pull/14662", "diff_url": "https://github.com/huggingface/transformers/pull/14662.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14662.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14661
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14661/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14661/comments
https://api.github.com/repos/huggingface/transformers/issues/14661/events
https://github.com/huggingface/transformers/pull/14661
1,073,545,962
PR_kwDOCUB6oc4vgq2Z
14,661
fix: verify jsonlines file in run_translation (#14660)
{ "login": "GaurangTandon", "id": 6308683, "node_id": "MDQ6VXNlcjYzMDg2ODM=", "avatar_url": "https://avatars.githubusercontent.com/u/6308683?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GaurangTandon", "html_url": "https://github.com/GaurangTandon", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "Thanks for your PR! You should accept both extensions as there are many jsonline files that actually have the .json extension.", "Thanks @sgugger , it is fixed now" ]
1,638
1,638
1,638
CONTRIBUTOR
null
# What does this PR do? Fixes #14660 The documentation and the code everywhere mention jsonlines file except in the actual code where the verification was for json file instead. ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14661/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14661/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14661", "html_url": "https://github.com/huggingface/transformers/pull/14661", "diff_url": "https://github.com/huggingface/transformers/pull/14661.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14661.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14660
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14660/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14660/comments
https://api.github.com/repos/huggingface/transformers/issues/14660/events
https://github.com/huggingface/transformers/issues/14660
1,073,542,740
I_kwDOCUB6oc4__PZU
14,660
Do we use JSON lines or JSON only for run_translation.py in PyTorch?
{ "login": "GaurangTandon", "id": 6308683, "node_id": "MDQ6VXNlcjYzMDg2ODM=", "avatar_url": "https://avatars.githubusercontent.com/u/6308683?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GaurangTandon", "html_url": "https://github.com/GaurangTandon", "followers_url": "https://api.github....
[]
closed
false
null
[]
[]
1,638
1,638
1,638
CONTRIBUTOR
null
### Who can help Models: - maintained examples (not research project or legacy): @sgugger, @patil-suraj ## Information The run_translation.py file requires that we pass `train_file` and `validation_file` as **json** file only, see: https://github.com/huggingface/transformers/blob/master/examples/pytorch/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14660/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14660/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/14659
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14659/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14659/comments
https://api.github.com/repos/huggingface/transformers/issues/14659/events
https://github.com/huggingface/transformers/pull/14659
1,073,541,854
PR_kwDOCUB6oc4vgp_n
14,659
Add Nystromformer
{ "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
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "Hey @novice03 , really cool PR, can't wait to fine-tune models with it :)\r\n\r\nI have some questions about the tokenization part: it seems that the ALBERT tokenizer (and an albert spm model) is used and uploaded to the model hub, so I think in `config.json` the entry `\"tokenizer_class\": \"AlbertTokenizer\"` sh...
1,638
1,641
1,641
CONTRIBUTOR
null
# What does this PR do? This PR adds the Nystromformer transformer model to the repository. Paper: [https://arxiv.org/abs/2102.03902](https://arxiv.org/abs/2102.03902) Code: [https://github.com/mlpen/Nystromformer](https://github.com/mlpen/Nystromformer) Checkpoint: [Nystromformer sequence length 512](https://w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14659/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/14659/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14659", "html_url": "https://github.com/huggingface/transformers/pull/14659", "diff_url": "https://github.com/huggingface/transformers/pull/14659.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14659.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14658
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14658/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14658/comments
https://api.github.com/repos/huggingface/transformers/issues/14658/events
https://github.com/huggingface/transformers/pull/14658
1,073,349,202
PR_kwDOCUB6oc4vgBgU
14,658
Fixing Dataset for TQA + token-classification.
{ "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,638
1,638
1,638
CONTRIBUTOR
null
# What does this PR do? Fixes #14301 Fixes TQA tests to actually decouple TF and PT (some TF tests need PT, but not the other way around, if we have all requirements, basically no test ever get run by automated tests.) Enable Dataset with TQA too. <!-- Congratulations! You've made it this far! You're not quite done ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14658/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14658/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14658", "html_url": "https://github.com/huggingface/transformers/pull/14658", "diff_url": "https://github.com/huggingface/transformers/pull/14658.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14658.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/14657
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/14657/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/14657/comments
https://api.github.com/repos/huggingface/transformers/issues/14657/events
https://github.com/huggingface/transformers/pull/14657
1,073,032,338
PR_kwDOCUB6oc4ve-AO
14,657
[WIP] Check doc examples
{ "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,638
1,638
1,638
COLLABORATOR
null
# What does this PR do? Check doc examples
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/14657/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/14657/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/14657", "html_url": "https://github.com/huggingface/transformers/pull/14657", "diff_url": "https://github.com/huggingface/transformers/pull/14657.diff", "patch_url": "https://github.com/huggingface/transformers/pull/14657.patch", "merged_at...