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/9730
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9730/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9730/comments
https://api.github.com/repos/huggingface/transformers/issues/9730/events
https://github.com/huggingface/transformers/issues/9730
791,108,250
MDU6SXNzdWU3OTExMDgyNTA=
9,730
Docs suggest to use discriminator weights for ElectraForMaskedLM instead of generator
{ "login": "jbingel", "id": 10550688, "node_id": "MDQ6VXNlcjEwNTUwNjg4", "avatar_url": "https://avatars.githubusercontent.com/u/10550688?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jbingel", "html_url": "https://github.com/jbingel", "followers_url": "https://api.github.com/users/jbinge...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hello! Indeed, this is a mistake! Do you want to update the docs to show the generator instead?", "This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this th...
1,611
1,614
1,614
NONE
null
## Environment info - `transformers` version: 4.2.2 - Platform: Linux-5.3.0-64-generic-x86_64-with-Ubuntu-19.10-eoan - Python version: 3.7.5 - PyTorch version (GPU?): 1.6.0 (False) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: no - Using distributed or parallel set-up in script?: no ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9730/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9730/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9729
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9729/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9729/comments
https://api.github.com/repos/huggingface/transformers/issues/9729/events
https://github.com/huggingface/transformers/pull/9729
791,065,551
MDExOlB1bGxSZXF1ZXN0NTU5MTgxMDcy
9,729
Changing model default for TableQuestionAnsweringPipeline.
{ "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,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? Niels removed his tapas model from the Hub, so we need to update the default to `google` organization - Discussion: https://discuss.huggingface.co/t/table-question-answering-is-not-an-available-task-under-pipeline/3284/6 - Had to update the slow test that was out-of-sync I think, @Lysandr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9729/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9729/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9729", "html_url": "https://github.com/huggingface/transformers/pull/9729", "diff_url": "https://github.com/huggingface/transformers/pull/9729.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9729.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9728
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9728/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9728/comments
https://api.github.com/repos/huggingface/transformers/issues/9728/events
https://github.com/huggingface/transformers/pull/9728
791,010,477
MDExOlB1bGxSZXF1ZXN0NTU5MTM3MDU4
9,728
Fix some TF slow tests
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? This PR fixes several slow tests related to saved model creation.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9728/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9728/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9728", "html_url": "https://github.com/huggingface/transformers/pull/9728", "diff_url": "https://github.com/huggingface/transformers/pull/9728.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9728.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9727
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9727/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9727/comments
https://api.github.com/repos/huggingface/transformers/issues/9727/events
https://github.com/huggingface/transformers/issues/9727
790,968,872
MDU6SXNzdWU3OTA5Njg4NzI=
9,727
ERROR about using layer_past and use_cache in Attention Layer of GPT2
{ "login": "ouwenjie03", "id": 5829193, "node_id": "MDQ6VXNlcjU4MjkxOTM=", "avatar_url": "https://avatars.githubusercontent.com/u/5829193?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ouwenjie03", "html_url": "https://github.com/ouwenjie03", "followers_url": "https://api.github.com/users...
[]
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...
[ "Hey @ouwenjie03,\r\n\r\nyou should not do this steps:\r\n\r\n```python\r\ninput_ids = torch.cat([input_ids, added_input_ids], dim=1)\r\n```\r\n\r\nIt should just be \r\n\r\n```pyhton \r\ninput_ids = added_input_ids\r\n```\r\n\r\nWhen passing `past_key_values` the input_ids should correspond **only** to the last to...
1,611
1,611
1,611
NONE
null
Hi, I am trying to use "use_cache" and "past_key_values" to speed up the decode steps. But I have some questions about the Attention Layer, here are some codes in forward function: [layer_past code](https://github.com/huggingface/transformers/blob/master/src/transformers/models/gpt2/modeling_gpt2.py#L230) ``` pytho...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9727/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9727/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9726
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9726/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9726/comments
https://api.github.com/repos/huggingface/transformers/issues/9726/events
https://github.com/huggingface/transformers/pull/9726
790,937,321
MDExOlB1bGxSZXF1ZXN0NTU5MDcyNTcz
9,726
fix T5 head mask in model_parallel
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "That's a better solution actually! Thanks @patil-suraj ", "Also, there is a whole bunch of issues including this one I believe fixed in this PR: https://github.com/huggingface/transformers/pull/9323 where we no longer do it one by one." ]
1,611
1,611
1,611
MEMBER
null
# What does this PR do? `head_mask` in T5 is not parallelized correctly in model parallel, each layer's head mask should be put on that layer's device if it's not `None`. Fixes #9718
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9726/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/9726/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9726", "html_url": "https://github.com/huggingface/transformers/pull/9726", "diff_url": "https://github.com/huggingface/transformers/pull/9726.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9726.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9725
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9725/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9725/comments
https://api.github.com/repos/huggingface/transformers/issues/9725/events
https://github.com/huggingface/transformers/issues/9725
790,928,729
MDU6SXNzdWU3OTA5Mjg3Mjk=
9,725
AutoModel doesn't work with DPRContextEncoder
{ "login": "antoniolanza1996", "id": 40452030, "node_id": "MDQ6VXNlcjQwNDUyMDMw", "avatar_url": "https://avatars.githubusercontent.com/u/40452030?v=4", "gravatar_id": "", "url": "https://api.github.com/users/antoniolanza1996", "html_url": "https://github.com/antoniolanza1996", "followers_url": "https://...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread.", "I ran into this recently and posted a question about it [on the forum](https://discuss.hug...
1,611
1,635
1,614
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.2.2 - Platform: Darwin-19.6.0-x86_64-i386-64bit - Python version: 3.7.9 - PyTorch version (GPU?): 1.7.1 (False) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: no - Using distributed or parallel set-up in script?: no ### Who can help @lh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9725/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9725/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9724
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9724/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9724/comments
https://api.github.com/repos/huggingface/transformers/issues/9724/events
https://github.com/huggingface/transformers/issues/9724
790,900,093
MDU6SXNzdWU3OTA5MDAwOTM=
9,724
Run_ner.py falsely aligns prediction list
{ "login": "Stimmot", "id": 29411999, "node_id": "MDQ6VXNlcjI5NDExOTk5", "avatar_url": "https://avatars.githubusercontent.com/u/29411999?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Stimmot", "html_url": "https://github.com/Stimmot", "followers_url": "https://api.github.com/users/Stimmo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "You can check https://github.com/uf-hobi-informatics-lab/ClinicalTransformerNER\r\nWe essentially wrap the models in transformers with our NER implementation that can handle sentences longer than the max_len.", "Hi @Stimmot ,\r\n\r\ndid you run the `scripts/preprocess.py` to make sure that there are no sentence...
1,611
1,614
1,614
NONE
null
## Environment info - `transformers` version: 3.5.1 - Platform: Linux-5.9.1-kd-cluster-x86_64-with-glibc2.10 - Python version: 3.8.0 - PyTorch version (GPU?): 1.7.0 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No ### Who ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9724/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9724/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9723
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9723/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9723/comments
https://api.github.com/repos/huggingface/transformers/issues/9723/events
https://github.com/huggingface/transformers/pull/9723
790,870,691
MDExOlB1bGxSZXF1ZXN0NTU5MDE1NDM3
9,723
[LED] Reduce Slow Test required GPU RAM from 16GB to 8GB
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
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/9723/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9723/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9723", "html_url": "https://github.com/huggingface/transformers/pull/9723", "diff_url": "https://github.com/huggingface/transformers/pull/9723.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9723.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9722
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9722/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9722/comments
https://api.github.com/repos/huggingface/transformers/issues/9722/events
https://github.com/huggingface/transformers/issues/9722
790,860,854
MDU6SXNzdWU3OTA4NjA4NTQ=
9,722
convert_graph_to_onnx.convert broken for translation model facebook/wmt19-en-de
{ "login": "oborchers", "id": 26734737, "node_id": "MDQ6VXNlcjI2NzM0NzM3", "avatar_url": "https://avatars.githubusercontent.com/u/26734737?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oborchers", "html_url": "https://github.com/oborchers", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Thank you for this excellent report, @oborchers - I'll investigate and report back.", "Fixed in https://github.com/huggingface/transformers/pull/9736 \r\n\r\nBut found another problem: https://github.com/huggingface/transformers/issues/9737. Fixed in https://github.com/huggingface/transformers/pull/9738\r\n\r\nS...
1,611
1,613
1,611
NONE
null
## Environment info - `transformers` version: 4.2.2 - Platform: Linux-4.15.0-132-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GPU?): 1.7.1 (True) - Tensorflow version (GPU?): 2.5.0 (True) - Using GPU in script?: True - Using distributed or parallel set-up in script?: False ### Who ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9722/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9722/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9721
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9721/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9721/comments
https://api.github.com/repos/huggingface/transformers/issues/9721/events
https://github.com/huggingface/transformers/pull/9721
790,859,886
MDExOlB1bGxSZXF1ZXN0NTU5MDA2MTA5
9,721
[T5] Fix T5 model parallel tests
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
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/9721/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9721/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9721", "html_url": "https://github.com/huggingface/transformers/pull/9721", "diff_url": "https://github.com/huggingface/transformers/pull/9721.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9721.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9720
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9720/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9720/comments
https://api.github.com/repos/huggingface/transformers/issues/9720/events
https://github.com/huggingface/transformers/pull/9720
790,851,821
MDExOlB1bGxSZXF1ZXN0NTU4OTk5MTkx
9,720
Temporarily deactivate TPU tests while we work on fixing them
{ "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,611
1,611
1,611
MEMBER
null
Temporarily deactivates TPU tests while we work on fixing them.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9720/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9720/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9720", "html_url": "https://github.com/huggingface/transformers/pull/9720", "diff_url": "https://github.com/huggingface/transformers/pull/9720.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9720.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9719
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9719/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9719/comments
https://api.github.com/repos/huggingface/transformers/issues/9719/events
https://github.com/huggingface/transformers/pull/9719
790,832,792
MDExOlB1bGxSZXF1ZXN0NTU4OTgzMTE4
9,719
[PretrainedModel] add tie_weights to init
{ "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
[]
[ "Actually the init takes care of this so no need for this PR" ]
1,611
1,611
1,611
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/9719/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9719/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9719", "html_url": "https://github.com/huggingface/transformers/pull/9719", "diff_url": "https://github.com/huggingface/transformers/pull/9719.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9719.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9718
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9718/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9718/comments
https://api.github.com/repos/huggingface/transformers/issues/9718/events
https://github.com/huggingface/transformers/issues/9718
790,825,593
MDU6SXNzdWU3OTA4MjU1OTM=
9,718
T5 Model Parallelism in 4.3.0
{ "login": "PeterAJansen", "id": 3813268, "node_id": "MDQ6VXNlcjM4MTMyNjg=", "avatar_url": "https://avatars.githubusercontent.com/u/3813268?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PeterAJansen", "html_url": "https://github.com/PeterAJansen", "followers_url": "https://api.github.com...
[]
closed
false
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "htt...
[ "If you run into other issues please try this PR: https://github.com/huggingface/transformers/pull/9323\r\nwhich has lots of improvements. It just hasn't been merged since we are waiting for me I think to sort the whole MP/PP out before moving forward." ]
1,611
1,611
1,611
NONE
null
## Environment info - `transformers` version: 4.3.0.dev0 - Platform: Linux-5.4.0-62-generic-x86_64-with-debian-bullseye-sid - Python version: 3.7.9 - PyTorch version (GPU?): 1.8.0.dev20210120 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: Yes -- 4x A100-SXM4-40GB - Using distrib...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9718/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9718/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9717
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9717/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9717/comments
https://api.github.com/repos/huggingface/transformers/issues/9717/events
https://github.com/huggingface/transformers/pull/9717
790,815,118
MDExOlB1bGxSZXF1ZXN0NTU4OTY4MjQ0
9,717
ConvBERT Model
{ "login": "abhishekkrthakur", "id": 1183441, "node_id": "MDQ6VXNlcjExODM0NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhishekkrthakur", "html_url": "https://github.com/abhishekkrthakur", "followers_url": "https://ap...
[ { "id": 1834056761, "node_id": "MDU6TGFiZWwxODM0MDU2NzYx", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Modeling", "name": "Core: Modeling", "color": "FF8446", "default": false, "description": "Internals of the library; Models." }, { "id": 26695770...
closed
false
{ "login": "abhishekkrthakur", "id": 1183441, "node_id": "MDQ6VXNlcjExODM0NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhishekkrthakur", "html_url": "https://github.com/abhishekkrthakur", "followers_url": "https://ap...
[ { "login": "abhishekkrthakur", "id": 1183441, "node_id": "MDQ6VXNlcjExODM0NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhishekkrthakur", "html_url": "https://github.com/abhishekkrthakur", "followe...
[ "> Also, I think you forgot to add the model to the README.md (I'll forget it all the time as well :D)\r\n\r\nOh and while you are at it, a short entry in the `model_summary` would be great too!" ]
1,611
1,612
1,611
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9717/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9717/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9717", "html_url": "https://github.com/huggingface/transformers/pull/9717", "diff_url": "https://github.com/huggingface/transformers/pull/9717.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9717.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9716
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9716/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9716/comments
https://api.github.com/repos/huggingface/transformers/issues/9716/events
https://github.com/huggingface/transformers/issues/9716
790,674,583
MDU6SXNzdWU3OTA2NzQ1ODM=
9,716
CUDA out of memory error on Trainer hyperparameter_search
{ "login": "gchhablani", "id": 29076344, "node_id": "MDQ6VXNlcjI5MDc2MzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gchhablani", "html_url": "https://github.com/gchhablani", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "There's not enough information here to help you. Please provide env info, the model/tasks you are using, and a short text code snippet to reproduce the error. ", "@patil-suraj I have edited the comment. Please help me out. Thanks.", "@patil-suraj Same issue here\r\n", "This issue has been automatically mark...
1,611
1,619
1,619
CONTRIBUTOR
null
Hi, I am using Colab to GridSearch on a dataset. The dataset has 7000 samples. I use 1/5 shard and batch_size is 1. No matter what I do, I get this error. Env Related Info ----------- tranformers (4.2.1) datasets (1.2.1) Model Used ---------------- [SpanBERT Large](https://huggingface.co/SpanBERT/spanber...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9716/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9716/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9715
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9715/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9715/comments
https://api.github.com/repos/huggingface/transformers/issues/9715/events
https://github.com/huggingface/transformers/issues/9715
790,571,779
MDU6SXNzdWU3OTA1NzE3Nzk=
9,715
Error when passing --line_by_line to run_mlm.py
{ "login": "mlpacheco", "id": 2424080, "node_id": "MDQ6VXNlcjI0MjQwODA=", "avatar_url": "https://avatars.githubusercontent.com/u/2424080?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mlpacheco", "html_url": "https://github.com/mlpacheco", "followers_url": "https://api.github.com/users/ml...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Update: this error was present when using Python 3.6.9, it disappeared when using Python 3.7.5\r\nI found the hint at: https://github.com/huggingface/transformers/issues/8212 ", "This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contribut...
1,611
1,614
1,614
NONE
null
I am trying to run the `run_mlm.py` examples/language-modeling using my own data file. It works fine if I don't pass the `--line_by_line` parameter, but if I do, it breaks. I can't figure this out using the error trace, can anyone give me a hand? ``` python3 run_mlm.py --model_name_or_path bert-base-uncased --t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9715/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9715/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9714
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9714/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9714/comments
https://api.github.com/repos/huggingface/transformers/issues/9714/events
https://github.com/huggingface/transformers/issues/9714
790,492,391
MDU6SXNzdWU3OTA0OTIzOTE=
9,714
Slow BERT Tokenizer adds UNK when calling tokenize()
{ "login": "ethch18", "id": 12580176, "node_id": "MDQ6VXNlcjEyNTgwMTc2", "avatar_url": "https://avatars.githubusercontent.com/u/12580176?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ethch18", "html_url": "https://github.com/ethch18", "followers_url": "https://api.github.com/users/ethch1...
[]
closed
false
null
[]
[ "I wonder why the docstring says that, I believe both the slow and fast tokenizers replace with the unknown token. @thomwolf do you remember if that wasn't the case when you wrote the docstring?", "Hi @thomwolf, any thoughts on this?\r\n\r\nAlso @LysandreJik, do you know if there's a way to prevent the replacemen...
1,611
1,611
1,611
CONTRIBUTOR
null
Hi! I've run into an inconsistency between the base tokenizer docstring and the slow BERT tokenizer. Specifically, when calling `tokenizer.encode()`, the `[UNK]` token is inserted for unknown tokens, even though the [docstring](https://github.com/huggingface/transformers/blob/v4.0.1/src/transformers/tokenization_util...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9714/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9714/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9713
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9713/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9713/comments
https://api.github.com/repos/huggingface/transformers/issues/9713/events
https://github.com/huggingface/transformers/pull/9713
790,483,134
MDExOlB1bGxSZXF1ZXN0NTU4NjczNTg5
9,713
Fix memory regression in Seq2Seq example
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "I agree with Patrick here, the collator was added to encode the text and to prepare the `decoder_input_ids` and `labels`, replace pad with 100 etc. Now we could encode and prepare `labels` in datasets.map(...) so collator won't be needed anymore. \r\n\r\nThe only thing we need IMO is to be able to prepare `decoder...
1,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? This PR fixes the memory regression introduced when putting the `Seq2SeqTrainer` inside the main library. The root of the memory regression comes from the fact that when doing label smoothing, we ended up computing the log softmax of the logits twice, once in the cross entropy loss, and a sec...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9713/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/9713/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9713", "html_url": "https://github.com/huggingface/transformers/pull/9713", "diff_url": "https://github.com/huggingface/transformers/pull/9713.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9713.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9712
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9712/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9712/comments
https://api.github.com/repos/huggingface/transformers/issues/9712/events
https://github.com/huggingface/transformers/pull/9712
790,445,971
MDExOlB1bGxSZXF1ZXN0NTU4NjM5NDcy
9,712
[trainer] no --deepspeed and --sharded_ddp together
{ "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
[]
[ "Thanks for fixing!" ]
1,611
1,611
1,611
CONTRIBUTOR
null
This PR fixes an invalid if branch, which fails to detect a concurrent use of `--deepspeed` and `--sharded_ddp`, which should never be used together. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9712/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9712/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9712", "html_url": "https://github.com/huggingface/transformers/pull/9712", "diff_url": "https://github.com/huggingface/transformers/pull/9712.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9712.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9711
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9711/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9711/comments
https://api.github.com/repos/huggingface/transformers/issues/9711/events
https://github.com/huggingface/transformers/issues/9711
790,437,584
MDU6SXNzdWU3OTA0Mzc1ODQ=
9,711
Add support for RemBERT
{ "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://api.github.com/users/...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" }, { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg...
closed
false
{ "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://api.github.com/users/...
[ { "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://a...
[ "Decided it would be easier for us to take care of this since we plan to directly release the model checkpoint in huggingface.\r\n\r\nStarted working on it over the week-end, will share PR once it is more polished. ", "This is great news @Iwontbecreative! Let us know if you need help." ]
1,611
1,627
1,627
COLLABORATOR
null
# 🌟 New model addition ## Model description Hi, I just found this really interesting upcoming ICLR 2021 paper: "Rethinking Embedding Coupling in Pre-trained Language Models": > We re-evaluate the standard practice of sharing weights between input and output embeddings in state-of-the-art pre-trained langu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9711/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/9711/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9710
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9710/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9710/comments
https://api.github.com/repos/huggingface/transformers/issues/9710/events
https://github.com/huggingface/transformers/issues/9710
790,355,407
MDU6SXNzdWU3OTAzNTU0MDc=
9,710
Let Trainer provide the device to perform training
{ "login": "earlyr1", "id": 31624290, "node_id": "MDQ6VXNlcjMxNjI0Mjkw", "avatar_url": "https://avatars.githubusercontent.com/u/31624290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/earlyr1", "html_url": "https://github.com/earlyr1", "followers_url": "https://api.github.com/users/earlyr...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
NONE
null
# 🚀 Feature request Training_args object [chooses](https://github.com/huggingface/transformers/blob/7acfa95afb8194f8f9c1f4d2c6028224dbed35a2/src/transformers/training_args.py#L477) the training device by itself(cuda:0 by default). I request a possibility for a user to be able to choose it :) ## Motivation I...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9710/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9710/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9709
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9709/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9709/comments
https://api.github.com/repos/huggingface/transformers/issues/9709/events
https://github.com/huggingface/transformers/issues/9709
790,320,177
MDU6SXNzdWU3OTAzMjAxNzc=
9,709
DeepSpeed: Exits with CUDA runtime error on A100 (requires recompiling DeepSpeed for NVIDIA 8.0 Arch)
{ "login": "PeterAJansen", "id": 3813268, "node_id": "MDQ6VXNlcjM4MTMyNjg=", "avatar_url": "https://avatars.githubusercontent.com/u/3813268?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PeterAJansen", "html_url": "https://github.com/PeterAJansen", "followers_url": "https://api.github.com...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Pinging @stas00", "Heh, actually I wrote this section: https://www.deepspeed.ai/tutorials/advanced-install/#building-for-the-correct-architectures and the autodetector, since I originally had the same issue.\r\n\r\nThis problem is also partially in pytorch - which is now fixed too in pytorch-nightly.\r\n\r\n `TO...
1,611
1,614
1,614
NONE
null
## Environment info - `transformers` version: 4.3.0 (unofficial, off current main branch) - Platform: Linux - Python version: 3.7 - PyTorch version (GPU?): 1.7.1 - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: Yes ## Information Model I am using (Bert, XLNet ...): T-5 The...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9709/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9709/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9708
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9708/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9708/comments
https://api.github.com/repos/huggingface/transformers/issues/9708/events
https://github.com/huggingface/transformers/pull/9708
790,264,576
MDExOlB1bGxSZXF1ZXN0NTU4NDc5MDIx
9,708
fix typo
{ "login": "Muennighoff", "id": 62820084, "node_id": "MDQ6VXNlcjYyODIwMDg0", "avatar_url": "https://avatars.githubusercontent.com/u/62820084?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Muennighoff", "html_url": "https://github.com/Muennighoff", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? fix typo <!-- 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 replac...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9708/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9708/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9708", "html_url": "https://github.com/huggingface/transformers/pull/9708", "diff_url": "https://github.com/huggingface/transformers/pull/9708.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9708.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9707
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9707/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9707/comments
https://api.github.com/repos/huggingface/transformers/issues/9707/events
https://github.com/huggingface/transformers/pull/9707
790,232,980
MDExOlB1bGxSZXF1ZXN0NTU4NDUyNDc5
9,707
Allow text generation for ProphetNetForCausalLM
{ "login": "guillaume-be", "id": 27071604, "node_id": "MDQ6VXNlcjI3MDcxNjA0", "avatar_url": "https://avatars.githubusercontent.com/u/27071604?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guillaume-be", "html_url": "https://github.com/guillaume-be", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Thanks a lot for fixing it @guillaume-be " ]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? The configuration for ProphetNetForCausalLM is overwritten at initialization to ensure that it is used as a decoder (and not as an encoder_decoder) for text generation. The initialization of the parent class for ProphetNetForCausalLM is done before this overwrite, causing the `model.config...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9707/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9707/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9707", "html_url": "https://github.com/huggingface/transformers/pull/9707", "diff_url": "https://github.com/huggingface/transformers/pull/9707.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9707.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9706
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9706/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9706/comments
https://api.github.com/repos/huggingface/transformers/issues/9706/events
https://github.com/huggingface/transformers/pull/9706
790,163,401
MDExOlB1bGxSZXF1ZXN0NTU4Mzk0NjUz
9,706
[PR/Issue templates] normalize, group, sort + add myself for deepspeed
{ "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
[]
[ "Once the PR template is complete and everybody is happy I will sync with the Issue template. So please only review the former if you're just joining in.", "should we add bullets? As in:\r\n\r\n```\r\n\r\nModels:\r\n\r\n- albert, bert, xlm: @LysandreJik\r\n- blenderbot, bart, marian, pegasus, encoderdecoder, long...
1,611
1,611
1,611
CONTRIBUTOR
null
This PR: * case-normalizes, groups and sorts the tagging entries * removes one duplicate * adds myself for deepspeed * adds/removes/moves others based on their suggestions through this PR @LysandreJik, @sgugger, @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9706/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9706/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9706", "html_url": "https://github.com/huggingface/transformers/pull/9706", "diff_url": "https://github.com/huggingface/transformers/pull/9706.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9706.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9705
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9705/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9705/comments
https://api.github.com/repos/huggingface/transformers/issues/9705/events
https://github.com/huggingface/transformers/pull/9705
790,153,146
MDExOlB1bGxSZXF1ZXN0NTU4Mzg2MDg2
9,705
[deepspeed] fix the backward for deepspeed
{ "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
[]
[ "Thanks for fixing!" ]
1,611
1,611
1,611
CONTRIBUTOR
null
This PR fixes a bug in my deepspeed integration - `backward` needs to be called on the deepspeed object. @sgugger Fixes: https://github.com/huggingface/transformers/issues/9694
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9705/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9705/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9705", "html_url": "https://github.com/huggingface/transformers/pull/9705", "diff_url": "https://github.com/huggingface/transformers/pull/9705.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9705.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9704
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9704/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9704/comments
https://api.github.com/repos/huggingface/transformers/issues/9704/events
https://github.com/huggingface/transformers/issues/9704
790,152,367
MDU6SXNzdWU3OTAxNTIzNjc=
9,704
ValueError("The training dataset must have an asserted cardinality") when running run_tf_ner.py
{ "login": "Xuanfang1121", "id": 33194029, "node_id": "MDQ6VXNlcjMzMTk0MDI5", "avatar_url": "https://avatars.githubusercontent.com/u/33194029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Xuanfang1121", "html_url": "https://github.com/Xuanfang1121", "followers_url": "https://api.github.c...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Maybe @jplu has an idea!", "Hello!\r\n\r\nThis error is always raised by the TFTrainer when your dataset has not a cardinality attached.\r\n\r\nCan you give me the version of the `run_tf_ner.py` you are using please?", "The run_tf_ner.py I used was downloaded from this https://github.com/huggingface/transforme...
1,611
1,614
1,614
NONE
null
## Environment info - `transformers` version: 4.2.0 - Platform: linux - Python version: python3.6 - PyTorch version (GPU?): 1.7.1 gpu - Tensorflow version (GPU?):2.4.0 - Using GPU in script?: yes - Using distributed or parallel set-up in script?:no ### Who can help @stefan-it ## Information Model I a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9704/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9704/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9703
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9703/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9703/comments
https://api.github.com/repos/huggingface/transformers/issues/9703/events
https://github.com/huggingface/transformers/pull/9703
790,148,629
MDExOlB1bGxSZXF1ZXN0NTU4MzgyMjg1
9,703
Fix WAND_DISABLED test
{ "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,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? As reported in #9699, the test for the WAND_DISABLED environment variable is not working right now. This PR fixes that. Fixes #9699
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9703/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9703/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9703", "html_url": "https://github.com/huggingface/transformers/pull/9703", "diff_url": "https://github.com/huggingface/transformers/pull/9703.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9703.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9702
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9702/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9702/comments
https://api.github.com/repos/huggingface/transformers/issues/9702/events
https://github.com/huggingface/transformers/issues/9702
790,099,554
MDU6SXNzdWU3OTAwOTk1NTQ=
9,702
ProphetNetForCausalLM text generation fails
{ "login": "guillaume-be", "id": 27071604, "node_id": "MDQ6VXNlcjI3MDcxNjA0", "avatar_url": "https://avatars.githubusercontent.com/u/27071604?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guillaume-be", "html_url": "https://github.com/guillaume-be", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "You're totally right @gui11aume! Thanks for posting this issue - it would be great if you could open a PR to fix it. The checkpoint I uploaded won't work well because I just took the decoder part of the encoder-decoder model and removed all cross-attention layer. The model would have to be fine-tuned to work corre...
1,611
1,611
1,611
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: latest master (4.3.0.dev0) - Platform: win64 - Python version: 3.7 - PyTorch version (GPU?): 1.7 - Tensorfl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9702/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9702/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9701
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9701/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9701/comments
https://api.github.com/repos/huggingface/transformers/issues/9701/events
https://github.com/huggingface/transformers/issues/9701
789,993,047
MDU6SXNzdWU3ODk5OTMwNDc=
9,701
how to run pegasus finetune on multiple gpus
{ "login": "cheop-byeon", "id": 55306172, "node_id": "MDQ6VXNlcjU1MzA2MTcy", "avatar_url": "https://avatars.githubusercontent.com/u/55306172?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cheop-byeon", "html_url": "https://github.com/cheop-byeon", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Please use the [forums](https://discuss.huggingface.co/) to ask questions like this. Also note that there is no `finetune` script in the example folder anymore, so you should probably be using `finetune_trainer` or `run_seq2seq`." ]
1,611
1,611
1,611
NONE
null
## Environment Information - transformers version: 4.2.0dev0 - Platform: Linux-3.10.0-1062.18.1.el7.x86_64-x86_64-with-centos-7.7.1908-Core - Python version: 3.7.3 - PyTorch version (GPU?): 1.7.1 (False) - Tensorflow version (GPU?): 2.4.0 (False) - Using GPU in script?: - Using distributed or parallel set-up in ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9701/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9701/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9700
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9700/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9700/comments
https://api.github.com/repos/huggingface/transformers/issues/9700/events
https://github.com/huggingface/transformers/issues/9700
789,978,878
MDU6SXNzdWU3ODk5Nzg4Nzg=
9,700
NAN return from F.softmax function in pytorch implementation of BART self-attention
{ "login": "KaiQiangSong", "id": 9112038, "node_id": "MDQ6VXNlcjkxMTIwMzg=", "avatar_url": "https://avatars.githubusercontent.com/u/9112038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KaiQiangSong", "html_url": "https://github.com/KaiQiangSong", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "It may cause similar issues in other models and other versions of the same model as well.", "HI @KaiQiangSong \r\n\r\nWe haven't yet observed `NaN`s with BART specifically, could you post a code snippet where the model returns `NaN` so we could take a look ?", "> HI @KaiQiangSong\r\n> \r\n> We haven't yet obse...
1,611
1,619
1,619
NONE
null
Pytorch 1.7.1 with GPU transformers 3.0.2 Filling all masked positions with "-inf" may cause a NAN issue for softmax function returns.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9700/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9700/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9699
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9699/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9699/comments
https://api.github.com/repos/huggingface/transformers/issues/9699/events
https://github.com/huggingface/transformers/issues/9699
789,973,748
MDU6SXNzdWU3ODk5NzM3NDg=
9,699
WANDB_DISABLED env variable not working as expected
{ "login": "Wadaboa", "id": 1256055, "node_id": "MDQ6VXNlcjEyNTYwNTU=", "avatar_url": "https://avatars.githubusercontent.com/u/1256055?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Wadaboa", "html_url": "https://github.com/Wadaboa", "followers_url": "https://api.github.com/users/Wadaboa/...
[]
closed
false
null
[]
[ "You're right, thanks for reporting! The PR mentioned above should fix that." ]
1,611
1,611
1,611
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.2.1 - Platform: Linux-5.4.34-1-pve-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GPU?):...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9699/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9699/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9698
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9698/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9698/comments
https://api.github.com/repos/huggingface/transformers/issues/9698/events
https://github.com/huggingface/transformers/issues/9698
789,945,749
MDU6SXNzdWU3ODk5NDU3NDk=
9,698
Model Parallelism for DeBERTa
{ "login": "saichandrapandraju", "id": 41769919, "node_id": "MDQ6VXNlcjQxNzY5OTE5", "avatar_url": "https://avatars.githubusercontent.com/u/41769919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/saichandrapandraju", "html_url": "https://github.com/saichandrapandraju", "followers_url": "ht...
[]
closed
false
null
[]
[ "Hello! It's currently not implemented for DeBERTa, unfortunately. Following the document you linked, it should be pretty easy to do it in a script!", "Hi @LysandreJik ,\r\n\r\nWill DeBERTa (or any of RoBERTa, ALBERT) work if I separate these layers as two or three parts and connect them sequentially?\r\nBecause ...
1,611
1,619
1,619
NONE
null
Hi, Is there any way to apply [Model Parallelism](https://pytorch.org/tutorials/intermediate/model_parallel_tutorial.html#apply-model-parallel-to-existing-modules) for DeBERTa ? I want to run 'microsoft/deberta-large' on 2 GPU's (32 GB each) using [PyTorch's Model Parallelism](https://pytorch.org/tutorials/inte...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9698/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9698/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9697
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9697/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9697/comments
https://api.github.com/repos/huggingface/transformers/issues/9697/events
https://github.com/huggingface/transformers/pull/9697
789,895,962
MDExOlB1bGxSZXF1ZXN0NTU4MTcxNzUw
9,697
Fix TF template
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[]
closed
false
null
[]
[ "Thanks for fixing!" ]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? Fix a template issue for TF.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9697/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9697/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9697", "html_url": "https://github.com/huggingface/transformers/pull/9697", "diff_url": "https://github.com/huggingface/transformers/pull/9697.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9697.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9696
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9696/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9696/comments
https://api.github.com/repos/huggingface/transformers/issues/9696/events
https://github.com/huggingface/transformers/pull/9696
789,883,305
MDExOlB1bGxSZXF1ZXN0NTU4MTYwOTc1
9,696
Add notebook
{ "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,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? Add a notebook to the list of community notebooks, illustrating how you can fine-tune `LayoutLMForSequenceClassification` for classifying scanned documents, just as invoices or resumes. ## Who can review? @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9696/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9696/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9696", "html_url": "https://github.com/huggingface/transformers/pull/9696", "diff_url": "https://github.com/huggingface/transformers/pull/9696.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9696.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9695
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9695/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9695/comments
https://api.github.com/repos/huggingface/transformers/issues/9695/events
https://github.com/huggingface/transformers/issues/9695
789,872,170
MDU6SXNzdWU3ODk4NzIxNzA=
9,695
The model learns nothing after 3 epochs of training
{ "login": "geminiwenxu", "id": 41744366, "node_id": "MDQ6VXNlcjQxNzQ0MzY2", "avatar_url": "https://avatars.githubusercontent.com/u/41744366?v=4", "gravatar_id": "", "url": "https://api.github.com/users/geminiwenxu", "html_url": "https://github.com/geminiwenxu", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead? You'll get more answers over there.\r\n\r\nThanks!" ]
1,611
1,611
1,611
NONE
null
I have trained a multilingual Bert model on 3 different input data configurations ( imbalanced, partial balanced, and full balanced) for the sentiment classification task. Everything works fine so far, except the zero-shot model being trainined on the full balanced dataset (training data: label balanced data; val/test ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9695/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9695/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9694
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9694/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9694/comments
https://api.github.com/repos/huggingface/transformers/issues/9694/events
https://github.com/huggingface/transformers/issues/9694
789,835,800
MDU6SXNzdWU3ODk4MzU4MDA=
9,694
ModuleAttributeError: 'GPT2LMHeadModel' object has no attribute 'backward'
{ "login": "Octopirate1", "id": 35666310, "node_id": "MDQ6VXNlcjM1NjY2MzEw", "avatar_url": "https://avatars.githubusercontent.com/u/35666310?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Octopirate1", "html_url": "https://github.com/Octopirate1", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "> It would appear that line 1286 in trainer.py actually calls the backward method on the model, not the loss object. I will try rebuilding after fixing that line and seeing if it helps.\r\n\r\nThis is incorrect. It appears that the ``model_wrapped.module`` in the aforementioned trainer.py actually resolves to GPT2...
1,611
1,611
1,611
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.2.1 - Platform: Linux-4.19.0-12-cloud-amd64-x86_64-with-debian-10.6 - Python version: 3.7.8 - PyTorch vers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9694/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9694/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9693
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9693/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9693/comments
https://api.github.com/repos/huggingface/transformers/issues/9693/events
https://github.com/huggingface/transformers/issues/9693
789,832,985
MDU6SXNzdWU3ODk4MzI5ODU=
9,693
ModuleAttributeError: 'GPT2LMHeadModel' object has no attribute 'backward'
{ "login": "Octopirate1", "id": 35666310, "node_id": "MDQ6VXNlcjM1NjY2MzEw", "avatar_url": "https://avatars.githubusercontent.com/u/35666310?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Octopirate1", "html_url": "https://github.com/Octopirate1", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "https://github.com/huggingface/transformers/issues/9694" ]
1,611
1,611
1,611
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: - Platform: - Python version: 3.7 - PyTorch version (GPU?): - Tensorflow version (GPU?): None - Using GPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9693/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9693/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9692
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9692/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9692/comments
https://api.github.com/repos/huggingface/transformers/issues/9692/events
https://github.com/huggingface/transformers/issues/9692
789,832,723
MDU6SXNzdWU3ODk4MzI3MjM=
9,692
input one model's output to another one
{ "login": "omerarshad", "id": 16164105, "node_id": "MDQ6VXNlcjE2MTY0MTA1", "avatar_url": "https://avatars.githubusercontent.com/u/16164105?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omerarshad", "html_url": "https://github.com/omerarshad", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead? You'll get more answers there!\r\n\r\nThanks!" ]
1,611
1,611
1,611
NONE
null
Hello, I want to create a model which generates text and the generated text is input to other model. So basically two models are trained together. How can i achieve this using hugging face? Thanks
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9692/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9692/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9691
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9691/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9691/comments
https://api.github.com/repos/huggingface/transformers/issues/9691/events
https://github.com/huggingface/transformers/pull/9691
789,778,318
MDExOlB1bGxSZXF1ZXN0NTU4MDczNTQy
9,691
Add DeBERTa head 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
[]
[ "Thanks for the review @LysandreJik, the test did fail because of the pooler. Is fixed now!" ]
1,611
1,611
1,611
CONTRIBUTOR
null
This PR adds 3 head models on top of the DeBERTa base model: `DebertaForMaskedLM`, `DebertaForTokenClassification`, `DebertaForQuestionAnswering`. These are mostly copied from `modeling_bert.py` with bert->deberta. ## Who can review? @LysandreJik Also tagging original DeBERTa author: @BigBird01 Fixes #968...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9691/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9691/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9691", "html_url": "https://github.com/huggingface/transformers/pull/9691", "diff_url": "https://github.com/huggingface/transformers/pull/9691.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9691.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9690
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9690/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9690/comments
https://api.github.com/repos/huggingface/transformers/issues/9690/events
https://github.com/huggingface/transformers/issues/9690
789,754,626
MDU6SXNzdWU3ODk3NTQ2MjY=
9,690
Is there a C++ interface?
{ "login": "duan348733684", "id": 26431015, "node_id": "MDQ6VXNlcjI2NDMxMDE1", "avatar_url": "https://avatars.githubusercontent.com/u/26431015?v=4", "gravatar_id": "", "url": "https://api.github.com/users/duan348733684", "html_url": "https://github.com/duan348733684", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "No, only Python.", "> No, only Python.\r\n\r\nthx.\r\nIt means that using torch cannot call bert with c++, right?" ]
1,611
1,611
1,611
NONE
null
Is there a C++ interface? transformers
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9690/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9690/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9689
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9689/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9689/comments
https://api.github.com/repos/huggingface/transformers/issues/9689/events
https://github.com/huggingface/transformers/issues/9689
789,647,423
MDU6SXNzdWU3ODk2NDc0MjM=
9,689
MLM training for DeBERTa not supported: configuration class is missing
{ "login": "xiaolin-cheng", "id": 16944705, "node_id": "MDQ6VXNlcjE2OTQ0NzA1", "avatar_url": "https://avatars.githubusercontent.com/u/16944705?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xiaolin-cheng", "html_url": "https://github.com/xiaolin-cheng", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Looking at the [docs](https://huggingface.co/transformers/model_doc/deberta.html), it seems like there's currently no `DeBERTaForMaskedLM` defined. I will make a PR that adds this." ]
1,611
1,611
1,611
NONE
null
When I ran the example script run_mlm.py to fine tune the pretrained deberta model on a customized dataset, I got the following error. The same command worked for roberta-base. The command: python run_mlm.py --model_name_or_path 'microsoft/deberta-base' --train_file slogans/train.txt --validation_file slogans/test....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9689/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9689/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9688
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9688/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9688/comments
https://api.github.com/repos/huggingface/transformers/issues/9688/events
https://github.com/huggingface/transformers/issues/9688
789,612,309
MDU6SXNzdWU3ODk2MTIzMDk=
9,688
[Open in Colab] links not working in examples/README.md
{ "login": "wilcoln", "id": 24209192, "node_id": "MDQ6VXNlcjI0MjA5MTky", "avatar_url": "https://avatars.githubusercontent.com/u/24209192?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wilcoln", "html_url": "https://github.com/wilcoln", "followers_url": "https://api.github.com/users/wilcol...
[]
closed
false
null
[]
[ "Hi @wilcoln \r\n\r\nYes, the links point to Github, feel free to open a PR to replace the GitHub links with colab :). Thanks!" ]
1,611
1,611
1,611
CONTRIBUTOR
null
For the following tasks below, the ![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg) button contains github links instead of colab links. - question-answering - text-classification - token-classification @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9688/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9688/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9687
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9687/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9687/comments
https://api.github.com/repos/huggingface/transformers/issues/9687/events
https://github.com/huggingface/transformers/issues/9687
789,519,989
MDU6SXNzdWU3ODk1MTk5ODk=
9,687
Can't load previously built tokenizers
{ "login": "hadasah", "id": 7191484, "node_id": "MDQ6VXNlcjcxOTE0ODQ=", "avatar_url": "https://avatars.githubusercontent.com/u/7191484?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hadasah", "html_url": "https://github.com/hadasah", "followers_url": "https://api.github.com/users/hadasah/...
[]
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...
[ "Hello! To make sure I understand your issue, you're doing the following:\r\n\r\n```py\r\nAutoTokenizer.from_pretrained('facebook/blenderbot-400M-distill')\r\n```\r\n\r\non a node which has internet access, and then you're doing the same once you have no internet access. You want the library to rely on the cache th...
1,611
1,619
1,619
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.2.1 - Platform: Linux-3.10.0-957.5.1.el7.x86_64-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch ve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9687/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9687/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9686
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9686/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9686/comments
https://api.github.com/repos/huggingface/transformers/issues/9686/events
https://github.com/huggingface/transformers/issues/9686
789,493,552
MDU6SXNzdWU3ODk0OTM1NTI=
9,686
BertGenerationDecoder .generate() issue during inference with PyTorch Lightning
{ "login": "anicolson", "id": 26111230, "node_id": "MDQ6VXNlcjI2MTExMjMw", "avatar_url": "https://avatars.githubusercontent.com/u/26111230?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anicolson", "html_url": "https://github.com/anicolson", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @anicolson ,\r\n\r\nWe would love to help, but sadly when you post such a long script it will be very hard and time-consuming for us to take a look at. We're happy to assist if you could provide a short, precise, and complete code snippet that is based on Transformers Seq2SeqTrainer only. Here's our guide on [...
1,611
1,689
1,619
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.2.1 - Platform: Ubuntu 20.04.1 LTS - Python version: 3.8.5 - PyTorch version: 1.7.1 - Using GPU in script...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9686/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/9686/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9685
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9685/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9685/comments
https://api.github.com/repos/huggingface/transformers/issues/9685/events
https://github.com/huggingface/transformers/pull/9685
789,459,489
MDExOlB1bGxSZXF1ZXN0NTU3ODAxMDUw
9,685
Fix Trainer and Args to mention AdamW, not Adam.
{ "login": "gchhablani", "id": 29076344, "node_id": "MDQ6VXNlcjI5MDc2MzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gchhablani", "html_url": "https://github.com/gchhablani", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Thanks for opening the PR. As it stands this would break every existing script leveraging the parameters defined, so renaming the parameters is probably not the way to go.\r\n\r\n@sgugger, your insight on this would be very welcome.\r\n\r\n", "There is no reason to change all the names of the parameters indeed, ...
1,611
1,612
1,611
CONTRIBUTOR
null
This PR fixed the issue with Docs and labels in Trainer and TrainingArguments Class for AdamW, current version mentions adam in several places. Fixes #9628 The Trainer class in `trainer.py` uses AdamW as the default optimizer. The TrainingArguments class mentions it as Adam in the documentation, which was confu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9685/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9685/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9685", "html_url": "https://github.com/huggingface/transformers/pull/9685", "diff_url": "https://github.com/huggingface/transformers/pull/9685.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9685.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9684
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9684/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9684/comments
https://api.github.com/repos/huggingface/transformers/issues/9684/events
https://github.com/huggingface/transformers/pull/9684
789,391,040
MDExOlB1bGxSZXF1ZXN0NTU3NzQxMDU3
9,684
Fix model templates and use less than 119 chars
{ "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,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? This PR fixes the model templates that were broken by #9596 (copies not inline with the original anymore). In passing since I'm a dictator, I've rewritten the warning to take less than 119 chars. Will merge as soon as CI is green.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9684/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9684/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9684", "html_url": "https://github.com/huggingface/transformers/pull/9684", "diff_url": "https://github.com/huggingface/transformers/pull/9684.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9684.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9683
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9683/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9683/comments
https://api.github.com/repos/huggingface/transformers/issues/9683/events
https://github.com/huggingface/transformers/pull/9683
789,366,584
MDExOlB1bGxSZXF1ZXN0NTU3NzE5ODEx
9,683
Fix Funnel Transformer conversion script
{ "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
[]
[ "Do not miss ```transformers/cammand/convert.py``` for ```transformer-cli``` user.\r\nNeed ```base_model``` arg for ```convert_tf_checkpoint_to_pytorch(self._tf_checkpoint, self._config, self._pytorch_dump_output)```." ]
1,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? The conversion script was using the wrong kind of model, so wasn't working. I've also added the option to convert the base models. Fixes #9644
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9683/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9683/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9683", "html_url": "https://github.com/huggingface/transformers/pull/9683", "diff_url": "https://github.com/huggingface/transformers/pull/9683.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9683.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9682
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9682/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9682/comments
https://api.github.com/repos/huggingface/transformers/issues/9682/events
https://github.com/huggingface/transformers/pull/9682
789,348,988
MDExOlB1bGxSZXF1ZXN0NTU3NzA0Mzg4
9,682
Add a community page to the docs
{ "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,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? This PR adds a new "community" page in the documentation that aims to gather information about all resources developed by the community. I copied all the community notebooks there, and we have an open PR that will also populate it.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9682/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9682/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9682", "html_url": "https://github.com/huggingface/transformers/pull/9682", "diff_url": "https://github.com/huggingface/transformers/pull/9682.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9682.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9681
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9681/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9681/comments
https://api.github.com/repos/huggingface/transformers/issues/9681/events
https://github.com/huggingface/transformers/pull/9681
789,335,134
MDExOlB1bGxSZXF1ZXN0NTU3NjkyNDAy
9,681
Restrain tokenizer.model_max_length default
{ "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,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? Apply the same fix to `run_mlm` (when line_by_line is not selected) as we did previously in `run_clm`. Since the tokenizer model_max_length can be excessively large, we should restrain it when no `max_seq_length` is passed. Fixes #9665
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9681/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9681/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9681", "html_url": "https://github.com/huggingface/transformers/pull/9681", "diff_url": "https://github.com/huggingface/transformers/pull/9681.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9681.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9680
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9680/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9680/comments
https://api.github.com/repos/huggingface/transformers/issues/9680/events
https://github.com/huggingface/transformers/issues/9680
789,329,278
MDU6SXNzdWU3ODkzMjkyNzg=
9,680
Generating sentence embeddings from pretrained transformers model
{ "login": "Prithvi103", "id": 12830451, "node_id": "MDQ6VXNlcjEyODMwNDUx", "avatar_url": "https://avatars.githubusercontent.com/u/12830451?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Prithvi103", "html_url": "https://github.com/Prithvi103", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!" ]
1,611
1,611
1,611
NONE
null
Hi, I have a pretrained BERT based model hosted on huggingface. https://huggingface.co/microsoft/SportsBERT How do I generate sentence vectors using this model? I have explored sentence bert but it doesn't allow you to use custom trained models. I have also seen Bert as a client. It works but for my current scenar...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9680/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9680/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9679
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9679/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9679/comments
https://api.github.com/repos/huggingface/transformers/issues/9679/events
https://github.com/huggingface/transformers/issues/9679
789,317,237
MDU6SXNzdWU3ODkzMTcyMzc=
9,679
Visualize self-attention for GLUE task
{ "login": "Nickil21", "id": 8767964, "node_id": "MDQ6VXNlcjg3Njc5NjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/8767964?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Nickil21", "html_url": "https://github.com/Nickil21", "followers_url": "https://api.github.com/users/Nicki...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!" ]
1,611
1,611
1,611
NONE
null
Is there a way to visualize the self-attention weights for different spans in a sentence, for instance, a sequence classification task inside [`run_glue.py`](https://github.com/huggingface/transformers/blob/master/examples/text-classification/run_glue.py)? [See here for a sample](https://imgur.com/a/7gAJvCJ)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9679/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9679/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9678
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9678/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9678/comments
https://api.github.com/repos/huggingface/transformers/issues/9678/events
https://github.com/huggingface/transformers/issues/9678
789,226,541
MDU6SXNzdWU3ODkyMjY1NDE=
9,678
bert-base-cased predicts tokens instead of whole words after fine-tuning on fill-mask task
{ "login": "LeandraFichtel", "id": 33263354, "node_id": "MDQ6VXNlcjMzMjYzMzU0", "avatar_url": "https://avatars.githubusercontent.com/u/33263354?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LeandraFichtel", "html_url": "https://github.com/LeandraFichtel", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "The pipeline for masked filling can only be used to fill one token, so you should be using different code for your evaluation if you want to be able to predict more than one masked token.", "> The pipeline for masked filling can only be used to fill one token, so you should be using different code for your evalu...
1,611
1,611
1,611
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.2.1 - Platform: Linux-4.15.0-126-generic-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9678/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9678/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9677
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9677/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9677/comments
https://api.github.com/repos/huggingface/transformers/issues/9677/events
https://github.com/huggingface/transformers/pull/9677
789,210,908
MDExOlB1bGxSZXF1ZXN0NTU3NTg3MjIw
9,677
Use datasets squad_v2 metric in run_qa
{ "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,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? The `run_qa` example script was using a copied and fixed version of the "squad_v2" version while waiting for the fix to be merged and released in datasets. That is now the case, so removing the band-aid and adjusting the version of datasets in requirements. Fixes #9620
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9677/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9677/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9677", "html_url": "https://github.com/huggingface/transformers/pull/9677", "diff_url": "https://github.com/huggingface/transformers/pull/9677.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9677.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9676
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9676/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9676/comments
https://api.github.com/repos/huggingface/transformers/issues/9676/events
https://github.com/huggingface/transformers/pull/9676
789,082,442
MDExOlB1bGxSZXF1ZXN0NTU3NDgwMTM2
9,676
Fix GPT conversion script
{ "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,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? One forgotten file in #9674, sorry about that!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9676/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9676/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9676", "html_url": "https://github.com/huggingface/transformers/pull/9676", "diff_url": "https://github.com/huggingface/transformers/pull/9676.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9676.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9675
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9675/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9675/comments
https://api.github.com/repos/huggingface/transformers/issues/9675/events
https://github.com/huggingface/transformers/pull/9675
789,078,351
MDExOlB1bGxSZXF1ZXN0NTU3NDc2Njg4
9,675
Fix old Seq2SeqTrainer
{ "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,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? Removes the reference to the `_actual_model` method that was removed recently in the old `Seq2SeqTrainer`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9675/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9675/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9675", "html_url": "https://github.com/huggingface/transformers/pull/9675", "diff_url": "https://github.com/huggingface/transformers/pull/9675.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9675.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9674
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9674/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9674/comments
https://api.github.com/repos/huggingface/transformers/issues/9674/events
https://github.com/huggingface/transformers/pull/9674
789,072,044
MDExOlB1bGxSZXF1ZXN0NTU3NDcxNDEz
9,674
Fix imports in conversion scripts
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? During the rework of the new init for fast imports, all absolute imports were switched to relative ones indiscriminately (because they usually don't work anymore for the core of the lib). However, the conversion scripts are supposed to be executed as scripts and relative imports can't work th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9674/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9674/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9674", "html_url": "https://github.com/huggingface/transformers/pull/9674", "diff_url": "https://github.com/huggingface/transformers/pull/9674.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9674.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9673
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9673/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9673/comments
https://api.github.com/repos/huggingface/transformers/issues/9673/events
https://github.com/huggingface/transformers/pull/9673
789,047,964
MDExOlB1bGxSZXF1ZXN0NTU3NDUxMTI0
9,673
add mbart to automodel for masked lm
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
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/9673/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9673/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9673", "html_url": "https://github.com/huggingface/transformers/pull/9673", "diff_url": "https://github.com/huggingface/transformers/pull/9673.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9673.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9672
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9672/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9672/comments
https://api.github.com/repos/huggingface/transformers/issues/9672/events
https://github.com/huggingface/transformers/issues/9672
788,913,441
MDU6SXNzdWU3ODg5MTM0NDE=
9,672
AttributeError: 'Seq2SeqTrainer' object has no attribute '_actual_model'
{ "login": "caralen", "id": 26584578, "node_id": "MDQ6VXNlcjI2NTg0NTc4", "avatar_url": "https://avatars.githubusercontent.com/u/26584578?v=4", "gravatar_id": "", "url": "https://api.github.com/users/caralen", "html_url": "https://github.com/caralen", "followers_url": "https://api.github.com/users/carale...
[]
closed
false
null
[]
[ "Hi @caralen \r\n\r\nthe `Seq2SeqTrainer` is now integrated with the main lib, now it's under `src/trainer_seq2seq.py`, and the seq2seq_trainer in examples is about to be deprecated, this bug is fixed in the new version, so I would recommend you to use the new`Seq2SeqTrainer` from the lib rather than examples folde...
1,611
1,611
1,611
NONE
null
_actual_model method is not defined in the Seq2SeqTrainer class, nor in the Trainer class from which is derived https://github.com/huggingface/transformers/blob/12c1b5b8f448d652f5e1fa0f069b9569f4540948/examples/seq2seq/seq2seq_trainer.py#L63
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9672/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9672/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9671
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9671/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9671/comments
https://api.github.com/repos/huggingface/transformers/issues/9671/events
https://github.com/huggingface/transformers/issues/9671
788,896,093
MDU6SXNzdWU3ODg4OTYwOTM=
9,671
How to enable tokenizer padding option in feature extraction pipeline?
{ "login": "bowang-rw-02", "id": 62551515, "node_id": "MDQ6VXNlcjYyNTUxNTE1", "avatar_url": "https://avatars.githubusercontent.com/u/62551515?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bowang-rw-02", "html_url": "https://github.com/bowang-rw-02", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi! I think you're looking for `padding=\"longest\"`?", "Your result if of length 512 because you asked `padding=\"max_length\"`, and the tokenizer max length is 512. If you ask for `\"longest\"`, it will pad up to the longest value in your batch:\r\n\r\n```py\r\n>>> text = \"After stealing money from the bank v...
1,611
1,619
1,619
NONE
null
I am trying to use our pipeline() to extract features of sentence tokens. Because the lengths of my sentences are not same, and I am then going to feed the token features to RNN-based models, I want to padding sentences to a fixed length to get the same size features. Before knowing our convenient pipeline() method, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9671/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/9671/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9670
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9670/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9670/comments
https://api.github.com/repos/huggingface/transformers/issues/9670/events
https://github.com/huggingface/transformers/issues/9670
788,843,889
MDU6SXNzdWU3ODg4NDM4ODk=
9,670
bert_tokenizer.decode(bert_tokenizer.encode(sentence))!=sentence
{ "login": "youngornever", "id": 34613489, "node_id": "MDQ6VXNlcjM0NjEzNDg5", "avatar_url": "https://avatars.githubusercontent.com/u/34613489?v=4", "gravatar_id": "", "url": "https://api.github.com/users/youngornever", "html_url": "https://github.com/youngornever", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi! This is a normal behavior of the BERT tokenizer. You can add the tokens you do not wish to see split to the vocabulary:\r\n```py\r\n>>> tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased')\r\n... tokenizer.add_tokens([\"no_passages_used\"]) # <--------------------------------- Here\r\n... paragraph =...
1,611
1,611
1,611
NONE
null
from transformers import AutoTokenizer # transformers==4.2.1 tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased') paragraph = "no_passages_used __knowledge__ no_passages_used" print(tokenizer.encode(paragraph)) print(tokenizer.decode(tokenizer.encode(paragraph))) """ >[101, 2053, 1035, 13768, 10...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9670/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9670/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9669
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9669/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9669/comments
https://api.github.com/repos/huggingface/transformers/issues/9669/events
https://github.com/huggingface/transformers/pull/9669
788,794,997
MDExOlB1bGxSZXF1ZXN0NTU3MjQwNDgw
9,669
[Bart-like tests] Fix torch device for bart tests
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
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/9669/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/9669/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9669", "html_url": "https://github.com/huggingface/transformers/pull/9669", "diff_url": "https://github.com/huggingface/transformers/pull/9669.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9669.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9668
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9668/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9668/comments
https://api.github.com/repos/huggingface/transformers/issues/9668/events
https://github.com/huggingface/transformers/issues/9668
788,675,954
MDU6SXNzdWU3ODg2NzU5NTQ=
9,668
Cannot compile tokenizers on PowerPC 9 while installing transformers
{ "login": "kmeng01", "id": 13970922, "node_id": "MDQ6VXNlcjEzOTcwOTIy", "avatar_url": "https://avatars.githubusercontent.com/u/13970922?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmeng01", "html_url": "https://github.com/kmeng01", "followers_url": "https://api.github.com/users/kmeng0...
[]
closed
false
null
[]
[ "Hello! Could you open an issue on the [tokenizers](https://github.com/huggingface/tokenizers) repository instead? @n1t0 will probably know what's up!", "Done! https://github.com/huggingface/tokenizers/issues/604", "This is actually a transformers problem I think. It's the old versions of tokenizers imported us...
1,611
1,611
1,611
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: 3.4.0 - Platform: PowerPC 9 - Python version: 3.7.7 - PyTorch version (GPU?): 1.5 w/ GPU - Tensorflow versi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9668/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9668/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9667
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9667/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9667/comments
https://api.github.com/repos/huggingface/transformers/issues/9667/events
https://github.com/huggingface/transformers/pull/9667
788,576,398
MDExOlB1bGxSZXF1ZXN0NTU3MDYyMjM0
9,667
Add new model docs
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,611
1,612
1,612
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/9667/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9667/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9667", "html_url": "https://github.com/huggingface/transformers/pull/9667", "diff_url": "https://github.com/huggingface/transformers/pull/9667.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9667.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9666
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9666/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9666/comments
https://api.github.com/repos/huggingface/transformers/issues/9666/events
https://github.com/huggingface/transformers/issues/9666
788,564,570
MDU6SXNzdWU3ODg1NjQ1NzA=
9,666
Fine-tuning LM with NSP
{ "login": "ahmedkotb98", "id": 42472093, "node_id": "MDQ6VXNlcjQyNDcyMDkz", "avatar_url": "https://avatars.githubusercontent.com/u/42472093?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ahmedkotb98", "html_url": "https://github.com/ahmedkotb98", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi @ahmedkotb98 \r\n\r\nWe would love to help, but it would be better if you could only post the relevant minimal code snippet to reproduce the issue, rather than a bunch of scripts.\r\n\r\nAlso, it's better to ask such type of questions on the [forum](https://discuss.huggingface.co/) first. Here's our guide on [h...
1,611
1,619
1,619
NONE
null
Environment info transformers-4.2.1 PyTorch tokenizers-0.9.4 sentencepiece-0.1.95 when finetuning bert my script run as well but not complete the running and because of this error Traceback (most recent call last): File "/content/run.py", line 757, in <module> main() File "/content/run.py", line 656, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9666/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9666/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9665
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9665/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9665/comments
https://api.github.com/repos/huggingface/transformers/issues/9665/events
https://github.com/huggingface/transformers/issues/9665
788,559,996
MDU6SXNzdWU3ODg1NTk5OTY=
9,665
IndexError: index out of bounds when running run_mlm.py
{ "login": "miguelwon", "id": 7373193, "node_id": "MDQ6VXNlcjczNzMxOTM=", "avatar_url": "https://avatars.githubusercontent.com/u/7373193?v=4", "gravatar_id": "", "url": "https://api.github.com/users/miguelwon", "html_url": "https://github.com/miguelwon", "followers_url": "https://api.github.com/users/mi...
[]
closed
false
null
[]
[ "@sgugger ", "It's very hard to help you without being able to reproduce the bug. Could you share a small version of your csv file that reproduces it?", "Yes, no problem. I just tried with a sample created from the `head`of my `full_corpus.csv` file and got the same error. This is the head:\r\n\r\n```\r\nA toma...
1,611
1,611
1,611
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.3.0.dev0 - Platform: Linux-4.15.0-46-generic-x86_64-with-Ubuntu-16.04-xenial - Python version: 3.6.7 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9665/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9665/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9664
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9664/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9664/comments
https://api.github.com/repos/huggingface/transformers/issues/9664/events
https://github.com/huggingface/transformers/pull/9664
788,541,440
MDExOlB1bGxSZXF1ZXN0NTU3MDMzODg5
9,664
Missing `return_dict` in Doc example
{ "login": "arnaudsm", "id": 3920793, "node_id": "MDQ6VXNlcjM5MjA3OTM=", "avatar_url": "https://avatars.githubusercontent.com/u/3920793?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arnaudsm", "html_url": "https://github.com/arnaudsm", "followers_url": "https://api.github.com/users/arnau...
[]
closed
false
null
[]
[ "Hello! Are you sure you checked in v4.2.1? I just checked on both `master` and v4.2.1 and the code executes (as it should!).\r\n\r\nThe `return_dict` was set to be `True` by default in v4.0.0.", "My bad, I was in the wrong pyenv. Closing the PR." ]
1,611
1,611
1,611
NONE
null
# What does this PR do? Fixes a crash in [Summary of the tasks](https://huggingface.co/transformers/task_summary.html) documentation, by adding `return_dict=True` to the model() function, as we need `start_logits` and `end_logits` afterwards. ## Fixes [Issue 9043](https://github.com/huggingface/transformers/issues...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9664/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9664/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9664", "html_url": "https://github.com/huggingface/transformers/pull/9664", "diff_url": "https://github.com/huggingface/transformers/pull/9664.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9664.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9663
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9663/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9663/comments
https://api.github.com/repos/huggingface/transformers/issues/9663/events
https://github.com/huggingface/transformers/pull/9663
788,536,778
MDExOlB1bGxSZXF1ZXN0NTU3MDMwMTA5
9,663
Fix DPRReaderTokenizer's attention_mask
{ "login": "mkserge", "id": 2992022, "node_id": "MDQ6VXNlcjI5OTIwMjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2992022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mkserge", "html_url": "https://github.com/mkserge", "followers_url": "https://api.github.com/users/mkserge/...
[]
closed
false
null
[]
[ "Thank you both. Should I close the corresponding issue?", "Just did! Thanks!" ]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? This PR fixes an issue with the `attention_mask` not being properly generated by the DPRReaderTokenizer. Please see issue #9555 for more details. I added an integration test that checks the DPRReader following a similar example in the test file. I have some test failures due to ``` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9663/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9663/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9663", "html_url": "https://github.com/huggingface/transformers/pull/9663", "diff_url": "https://github.com/huggingface/transformers/pull/9663.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9663.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9662
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9662/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9662/comments
https://api.github.com/repos/huggingface/transformers/issues/9662/events
https://github.com/huggingface/transformers/pull/9662
788,380,819
MDExOlB1bGxSZXF1ZXN0NTU2OTAyMzUx
9,662
Fix TFTrainer prediction output
{ "login": "janinaj", "id": 4103541, "node_id": "MDQ6VXNlcjQxMDM1NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/4103541?v=4", "gravatar_id": "", "url": "https://api.github.com/users/janinaj", "html_url": "https://github.com/janinaj", "followers_url": "https://api.github.com/users/janinaj/...
[]
closed
false
null
[]
[ "Sorry for the confusion. Here is a detailed description of the first issue:\r\n\r\nIf the number of examples is divisible by eval_batch_size, the first batch is predicted twice. Say we have the following examples (n=8): A, B, C, D, E, F, G, H and eval_batch_size = 4. This will create 2 batches: (A,B,C,D) and (E,F,...
1,610
1,611
1,611
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/9662/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9662/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9662", "html_url": "https://github.com/huggingface/transformers/pull/9662", "diff_url": "https://github.com/huggingface/transformers/pull/9662.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9662.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9661
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9661/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9661/comments
https://api.github.com/repos/huggingface/transformers/issues/9661/events
https://github.com/huggingface/transformers/pull/9661
788,329,556
MDExOlB1bGxSZXF1ZXN0NTU2ODU5NzYw
9,661
Fix TF Flaubert and XLM
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[]
closed
false
null
[]
[ "I'm checking what is going wrong as the tests of equivalence should not fail.", "Ok, now it works 👍 " ]
1,610
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? By doing some experiments on Flaubert and XLM I realized that building a model with a `None` argument forces this value to be `None` when served. Then to fix this issue, the build takes a proper input without a `None` value.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9661/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9661/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9661", "html_url": "https://github.com/huggingface/transformers/pull/9661", "diff_url": "https://github.com/huggingface/transformers/pull/9661.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9661.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9660
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9660/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9660/comments
https://api.github.com/repos/huggingface/transformers/issues/9660/events
https://github.com/huggingface/transformers/issues/9660
788,319,662
MDU6SXNzdWU3ODgzMTk2NjI=
9,660
run_ner.py crashes when dev or test contain previously unseen labels
{ "login": "AleksandrsBerdicevskis", "id": 19609502, "node_id": "MDQ6VXNlcjE5NjA5NTAy", "avatar_url": "https://avatars.githubusercontent.com/u/19609502?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AleksandrsBerdicevskis", "html_url": "https://github.com/AleksandrsBerdicevskis", "followe...
[]
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,610
1,619
1,619
NONE
null
## Environment info - `transformers` version: 4.2.0dev0 - Platform: Linux-3.10.0-1127.19.1.el7.x86_64-x86_64-with-centos-7.8.2003-Core - Python version: 3.6.8 - PyTorch version (GPU?): 1.7.1+cu110 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: yes - Using distributed or paralle...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9660/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9660/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9659
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9659/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9659/comments
https://api.github.com/repos/huggingface/transformers/issues/9659/events
https://github.com/huggingface/transformers/pull/9659
788,270,999
MDExOlB1bGxSZXF1ZXN0NTU2ODEwOTQ3
9,659
Wav2Vec2
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "id": 2669577093, "node_id": "MDU6TGFiZWwyNjY5NTc3MDkz", "url": "https://api.github.com/repos/huggingface/transformers/labels/PR%20for%20Model%20Addition", "name": "PR for Model Addition", "color": "5319e7", "default": false, "description": "" } ]
closed
false
null
[]
[ "hi @patrickvonplaten thank you for creating this PR and converting some model from original to test it\r\n\r\ni want to test by convert XLSR [model](https://github.com/pytorch/fairseq/tree/master/examples/wav2vec ) using your `convert_wav2vec2_original_pytorch_checkpoint_to_pytorch.py`\r\n\r\nby following command ...
1,610
1,614
1,612
MEMBER
null
# What does this PR do? Adds Wav2Vec2 from https://github.com/pytorch/fairseq/blob/master/examples/wav2vec/README.md This PR adds the wav2vec2 Acoustic model to Transformers. The model is different from "conventional" transformer models since it classifies a raw waveform input (float array) into logits. Therefor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9659/reactions", "total_count": 19, "+1": 14, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 5, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9659/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9659", "html_url": "https://github.com/huggingface/transformers/pull/9659", "diff_url": "https://github.com/huggingface/transformers/pull/9659.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9659.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9658
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9658/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9658/comments
https://api.github.com/repos/huggingface/transformers/issues/9658/events
https://github.com/huggingface/transformers/issues/9658
788,243,617
MDU6SXNzdWU3ODgyNDM2MTc=
9,658
Tokenizstion
{ "login": "Syavaprd", "id": 38497601, "node_id": "MDQ6VXNlcjM4NDk3NjAx", "avatar_url": "https://avatars.githubusercontent.com/u/38497601?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Syavaprd", "html_url": "https://github.com/Syavaprd", "followers_url": "https://api.github.com/users/Sya...
[]
closed
false
null
[]
[ "So in short:\r\n- in public open-source projects like this you can say \"Hi all\" or \"Hi folks\", this way you'll address contributors of all genders\r\n- also, do you mind closing this issue and opening a thread on the forum at https://discuss.huggingface.co? We keep the issues for bug reports and feature reques...
1,610
1,610
1,610
NONE
null
Hi all, help me please. I'm trying to solve multilingual WiC problem using XLM-R. I have a word and a sentence, that has this word, but may be in different form. So I want to find the position of its token ids in an encoded sentence. There problems with Chinese, cause they don't have space between many symbols and ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9658/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9658/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9657
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9657/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9657/comments
https://api.github.com/repos/huggingface/transformers/issues/9657/events
https://github.com/huggingface/transformers/issues/9657
788,234,700
MDU6SXNzdWU3ODgyMzQ3MDA=
9,657
ModuleAttributeError occurs during Converting TensorFlow Checkpoints (BERT)
{ "login": "forest1988", "id": 2755894, "node_id": "MDQ6VXNlcjI3NTU4OTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2755894?v=4", "gravatar_id": "", "url": "https://api.github.com/users/forest1988", "html_url": "https://github.com/forest1988", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Hi, how did you obtain your TensorFlow checkpoint? Was it trained with http://github.com/google-research/bert?", "Hi @LysandreJik,\r\n\r\nThank you for giving me the comment.\r\n\r\nThe TensorFlow checkpoint is not my own but is provided by a researcher. There may be my misreading about the related paper, but in...
1,610
1,619
1,619
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.1.1 - Platform: Linux-4.15.0-129-generic-x86_64-with-glibc2.10 - Python version: 3.8.3 - PyTorch version (GPU?): 1.7.0 (True) - Tensorflow version (GPU?): 2.3.1 (True) - Using GPU in script?: <fill in> - Using distributed or parallel set-up in script?: <fill in> ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9657/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9657/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9656
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9656/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9656/comments
https://api.github.com/repos/huggingface/transformers/issues/9656/events
https://github.com/huggingface/transformers/issues/9656
788,223,456
MDU6SXNzdWU3ODgyMjM0NTY=
9,656
"Converting Tensorflow Checkpoints" document has wrong link in v4.2.0+
{ "login": "forest1988", "id": 2755894, "node_id": "MDQ6VXNlcjI3NTU4OTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2755894?v=4", "gravatar_id": "", "url": "https://api.github.com/users/forest1988", "html_url": "https://github.com/forest1988", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Hi! Indeed this link needs to be updated. Do you want to open a PR to fix it?", "@LysandreJik \r\nThank you for your comment! I'd love to open a PR to fix it.\r\nI would like to open a PR by the end of this week.\r\n\r\nShould I devise a way to change the link destination from the document before and after the c...
1,610
1,611
1,611
CONTRIBUTOR
null
## Environment info - `transformers` version: v4.2.0+ ### Who can help documentation: @sgugger ## Information I'd like to convert BERT ckpt to PyTorch, and read [Converting Tensorflow Checkpoints](https://huggingface.co/transformers/converting_tensorflow_models.html) document. It seems that the link to...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9656/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9656/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9655
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9655/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9655/comments
https://api.github.com/repos/huggingface/transformers/issues/9655/events
https://github.com/huggingface/transformers/issues/9655
788,215,851
MDU6SXNzdWU3ODgyMTU4NTE=
9,655
BertTokenizer and encode_plus()
{ "login": "SimplyLucKey", "id": 35954092, "node_id": "MDQ6VXNlcjM1OTU0MDky", "avatar_url": "https://avatars.githubusercontent.com/u/35954092?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SimplyLucKey", "html_url": "https://github.com/SimplyLucKey", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "No it’s still there and still identical. It’s just that you made a typo and typed `encoder_plus` instead of `encode_plus` for what I can tell.\r\n\r\nThough we recommand using just the `__call__` method now which is a shortcut wrapping all the encode method in a single API. You can read more details on the additio...
1,610
1,685
1,611
NONE
null
I see that from version 2.4.0 I was able to use `encode_plus()` with `BertTokenizer` However it seems like that is not the case anymore. `AttributeError: 'BertTokenizer' object has no attribute 'encoder_plus'` Is there a replacement to `encode_plus`?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9655/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9655/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9654
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9654/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9654/comments
https://api.github.com/repos/huggingface/transformers/issues/9654/events
https://github.com/huggingface/transformers/pull/9654
788,206,634
MDExOlB1bGxSZXF1ZXN0NTU2NzU2NzM1
9,654
Add t5 convert to transformers-cli
{ "login": "acul3", "id": 56231298, "node_id": "MDQ6VXNlcjU2MjMxMjk4", "avatar_url": "https://avatars.githubusercontent.com/u/56231298?v=4", "gravatar_id": "", "url": "https://api.github.com/users/acul3", "html_url": "https://github.com/acul3", "followers_url": "https://api.github.com/users/acul3/follow...
[]
closed
false
null
[]
[ "Can we trigger the CI again to make sure all tests are passing? Think you can add an empty git commit with \r\n\r\n```\r\ngit commit --allow-empty -m \"Trigger notification\"\r\n```", "@patrickvonplaten done it!..it seems failing 1 check only", "@patrickvonplaten all seems good now...kindly check" ]
1,610
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? add t5 model convert to transformers-cli ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#star...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9654/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9654/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9654", "html_url": "https://github.com/huggingface/transformers/pull/9654", "diff_url": "https://github.com/huggingface/transformers/pull/9654.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9654.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9653
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9653/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9653/comments
https://api.github.com/repos/huggingface/transformers/issues/9653/events
https://github.com/huggingface/transformers/issues/9653
788,159,869
MDU6SXNzdWU3ODgxNTk4Njk=
9,653
AutoModelForMaskedLM not working when using MBartForConditionalGeneration architecture.
{ "login": "moussaKam", "id": 28675016, "node_id": "MDQ6VXNlcjI4Njc1MDE2", "avatar_url": "https://avatars.githubusercontent.com/u/28675016?v=4", "gravatar_id": "", "url": "https://api.github.com/users/moussaKam", "html_url": "https://github.com/moussaKam", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hey @moussaKam, \r\n\r\nThanks for your issue! My opinion here is the following:\r\n\r\n- `MBartForConditionalGeneration` should not work with `AutoModelForMaskedLM`, but only with `AutoModelForSeq2SeqLM` -> it's not a Bert-like autoencoding model, but an encoder-decoder model.\r\n- You are completely right in tha...
1,610
1,611
1,611
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.2.1 - Platform: Linux-4.4.0-197-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GPU?): 1.7.1 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: No - Using distributed or parallel set-up in script?: No ### Who ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9653/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9653/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9652
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9652/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9652/comments
https://api.github.com/repos/huggingface/transformers/issues/9652/events
https://github.com/huggingface/transformers/pull/9652
788,137,431
MDExOlB1bGxSZXF1ZXN0NTU2Njk4MzM2
9,652
Update integrations.py
{ "login": "max-yue", "id": 13486398, "node_id": "MDQ6VXNlcjEzNDg2Mzk4", "avatar_url": "https://avatars.githubusercontent.com/u/13486398?v=4", "gravatar_id": "", "url": "https://api.github.com/users/max-yue", "html_url": "https://github.com/max-yue", "followers_url": "https://api.github.com/users/max-yu...
[]
closed
false
null
[]
[]
1,610
1,611
1,611
CONTRIBUTOR
null
File "/share/apps/anaconda3/envs/my_env/lib/python3.7/site-packages/transformers/integrations.py", line 419, in __init__ self._SummaryWriter = SummaryWriter UnboundLocalError: local variable 'SummaryWriter' referenced before assignment # What does this PR do? <!-- Congratulations! You've made it this far...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9652/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9652/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9652", "html_url": "https://github.com/huggingface/transformers/pull/9652", "diff_url": "https://github.com/huggingface/transformers/pull/9652.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9652.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9651
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9651/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9651/comments
https://api.github.com/repos/huggingface/transformers/issues/9651/events
https://github.com/huggingface/transformers/issues/9651
788,125,505
MDU6SXNzdWU3ODgxMjU1MDU=
9,651
RAG Fine Tuning
{ "login": "Shree-Lakshmi-G-Prakash", "id": 30719723, "node_id": "MDQ6VXNlcjMwNzE5NzIz", "avatar_url": "https://avatars.githubusercontent.com/u/30719723?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Shree-Lakshmi-G-Prakash", "html_url": "https://github.com/Shree-Lakshmi-G-Prakash", "foll...
[]
closed
false
null
[]
[ "It is already [here](https://github.com/huggingface/transformers/tree/master/examples/research_projects/rag) .", "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 ...
1,610
1,619
1,619
NONE
null
How do we train RAG mode with custom data set. Can we have detailed document on this. Thanks
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9651/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9651/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9650
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9650/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9650/comments
https://api.github.com/repos/huggingface/transformers/issues/9650/events
https://github.com/huggingface/transformers/issues/9650
787,909,993
MDU6SXNzdWU3ODc5MDk5OTM=
9,650
Error w/Transformers 4.2.0 and TF Nightly
{ "login": "ANarayan", "id": 5660075, "node_id": "MDQ6VXNlcjU2NjAwNzU=", "avatar_url": "https://avatars.githubusercontent.com/u/5660075?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ANarayan", "html_url": "https://github.com/ANarayan", "followers_url": "https://api.github.com/users/ANara...
[]
closed
false
null
[]
[ "Hello!\r\n\r\nPlease update to v4.2.1", "This worked, thanks!" ]
1,610
1,611
1,611
NONE
null
@jplu I am running into issues when running transformers w/tf-nightly. I get the error when I am trying to load the TFDistilBERT model: `model = TFDistilBertModel.from_pretrained('distilbert-base-uncased')` this is the error message: ``` ImportError: TFDistilBertModel requires the TensorFlow library but i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9650/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9650/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9649
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9649/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9649/comments
https://api.github.com/repos/huggingface/transformers/issues/9649/events
https://github.com/huggingface/transformers/issues/9649
787,856,954
MDU6SXNzdWU3ODc4NTY5NTQ=
9,649
Does the latest huggingface-transformers version work with tokenizers==0.10.0?
{ "login": "unclebob7", "id": 29818505, "node_id": "MDQ6VXNlcjI5ODE4NTA1", "avatar_url": "https://avatars.githubusercontent.com/u/29818505?v=4", "gravatar_id": "", "url": "https://api.github.com/users/unclebob7", "html_url": "https://github.com/unclebob7", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hello! We're [still pinned to 0.9.4](https://github.com/huggingface/transformers/blob/master/setup.py#L134). We'll pass to `0.10.0` soon.", "@LysandreJik , if possible, could you provide your best guess as to when this requirement will be updated? I'm currently need to train a WordLevel Tokenizer, as well as use...
1,610
1,612
1,612
NONE
null
## Environment info - `transformers` version: 4.3.0.dev0 - `tokenizers` version: 0.10.0 ![image](https://user-images.githubusercontent.com/29818505/104864385-c5d34300-5973-11eb-9e26-d804642e9331.png)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9649/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9649/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9648
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9648/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9648/comments
https://api.github.com/repos/huggingface/transformers/issues/9648/events
https://github.com/huggingface/transformers/issues/9648
787,822,136
MDU6SXNzdWU3ODc4MjIxMzY=
9,648
Easier perplexity computation
{ "login": "uditarora", "id": 6642146, "node_id": "MDQ6VXNlcjY2NDIxNDY=", "avatar_url": "https://avatars.githubusercontent.com/u/6642146?v=4", "gravatar_id": "", "url": "https://api.github.com/users/uditarora", "html_url": "https://github.com/uditarora", "followers_url": "https://api.github.com/users/ud...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[ "Hi @uditarora! That would be a nice addition, do you want to open a PR to add a batched computation to the documentation?", "Sure! I can try to create one.\r\n\r\nMight take me a couple of weeks before I can get started on it though, due to prior commitments.", "Hi all. Is this issue still open? I like to cont...
1,610
1,699
null
NONE
null
# 🚀 Feature request The docs provide a method to evaluate perplexity for a GPT-2 model, one example at a time (https://huggingface.co/transformers/perplexity.html). However this can potentially be included in the library with the computation being done in a batched manner. ## Motivation This would make it ea...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9648/reactions", "total_count": 7, "+1": 7, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9648/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/9647
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9647/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9647/comments
https://api.github.com/repos/huggingface/transformers/issues/9647/events
https://github.com/huggingface/transformers/issues/9647
787,810,215
MDU6SXNzdWU3ODc4MTAyMTU=
9,647
Training Bert2Bert with EncoderDecoderModel and Seq2SeqTrainer results with Cuda OOM
{ "login": "segef", "id": 27014781, "node_id": "MDQ6VXNlcjI3MDE0Nzgx", "avatar_url": "https://avatars.githubusercontent.com/u/27014781?v=4", "gravatar_id": "", "url": "https://api.github.com/users/segef", "html_url": "https://github.com/segef", "followers_url": "https://api.github.com/users/segef/follow...
[]
closed
false
null
[]
[ "Hello! What is your machine? When you run the script, at which point does it fail? Right off the bat, or after a few sequences have been processed?", "I have tried it on my local GTX1650 and also on a 16gb T100. They both fail during processing the first sequence. It is not always at the same line but mostly dur...
1,610
1,611
1,611
NONE
null
Hi, I am trying to train a Bert2Bert model for text summarization. I followed the exact steps in [BERT2BERT for CNN/Dailymail](https://colab.research.google.com/drive/1Ekd5pUeCX7VOrMx94_czTkwNtLN32Uyu?usp=sharing#scrollTo=7zdm50ZotZqb). Only things that I changed are the training arguments and metrics. Additionally I...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9647/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/9647/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9646
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9646/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9646/comments
https://api.github.com/repos/huggingface/transformers/issues/9646/events
https://github.com/huggingface/transformers/issues/9646
787,800,660
MDU6SXNzdWU3ODc4MDA2NjA=
9,646
RAG : Adding end to end training for the retriever (both question encoder and doc encoder)
{ "login": "shamanez", "id": 16892570, "node_id": "MDQ6VXNlcjE2ODkyNTcw", "avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shamanez", "html_url": "https://github.com/shamanez", "followers_url": "https://api.github.com/users/sha...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
closed
false
null
[]
[ " @lhoestq\r\n", "Interesting :) I don't think I'll be able to work on this in the short term but if anyone wants to give it a try maybe I can help with some indications", "@lhoestq \r\n\r\nI kind of figured out a way to do this. I need a little clarification from you regarding the distributed retriever. As me...
1,610
1,621
1,621
CONTRIBUTOR
null
# 🚀 Feature request As mentioned in this recent paper [End-to-End Training of Neural Retrievers for Open-Domain Question Answering](https://arxiv.org/abs/2101.00408), we can get better results for QA tasks if we fine-tune the retriever section in an end-to-end manner. ## Paper's method Fine-tune both doc-e...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9646/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9646/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9645
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9645/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9645/comments
https://api.github.com/repos/huggingface/transformers/issues/9645/events
https://github.com/huggingface/transformers/issues/9645
787,786,418
MDU6SXNzdWU3ODc3ODY0MTg=
9,645
Odd predictions of T5 models in recent versions
{ "login": "danyaljj", "id": 2441454, "node_id": "MDQ6VXNlcjI0NDE0NTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2441454?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danyaljj", "html_url": "https://github.com/danyaljj", "followers_url": "https://api.github.com/users/danya...
[]
closed
false
null
[]
[ "Hello @danyaljj,\r\n\r\nThis is expected actually. Could you change your code as follows to get the previous results:\r\n\r\n```python\r\nfrom transformers import AutoTokenizer, T5ForConditionalGeneration\r\n\r\nmodel_name = \"allenai/unifiedqa-t5-small\" # you can specify the model size here\r\ntokenizer = AutoTo...
1,610
1,610
1,610
CONTRIBUTOR
null
We are seeing odd predictions by T5 models ([UnifiedQA models](https://github.com/allenai/unifiedqa/)) when using the recent HF version (4.2.1). Here is the discussion: https://github.com/allenai/unifiedqa/issues/11 ### Who can help @TevenLeScao @patrickvonplaten ## To reproduce Try running the following scri...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9645/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9645/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9644
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9644/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9644/comments
https://api.github.com/repos/huggingface/transformers/issues/9644/events
https://github.com/huggingface/transformers/issues/9644
787,725,458
MDU6SXNzdWU3ODc3MjU0NTg=
9,644
Fail to convert the Funnel Transformer tensorflow version to transformer one when use the official script
{ "login": "RyanHuangNLP", "id": 49582480, "node_id": "MDQ6VXNlcjQ5NTgyNDgw", "avatar_url": "https://avatars.githubusercontent.com/u/49582480?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RyanHuangNLP", "html_url": "https://github.com/RyanHuangNLP", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi! Could you explain the full procedure? Where did you obtain the Funnel transformer TensorFlow version? Is it a model you trained yourself using another framework? (like this one: https://github.com/laiguokun/Funnel-Transformer)", "just use the official ones(like this one: https://github.com/laiguokun/Funnel-T...
1,610
1,611
1,611
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:3.5.1 - Platform:Centos - Python version:3.7 - PyTorch version (GPU?):1.6.0 - Tensorflow version (GPU?):2.3....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9644/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9644/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9643
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9643/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9643/comments
https://api.github.com/repos/huggingface/transformers/issues/9643/events
https://github.com/huggingface/transformers/issues/9643
787,718,756
MDU6SXNzdWU3ODc3MTg3NTY=
9,643
[Feature Request] Add 3D attention mask for T5Model
{ "login": "yongyi-wu", "id": 60588626, "node_id": "MDQ6VXNlcjYwNTg4NjI2", "avatar_url": "https://avatars.githubusercontent.com/u/60588626?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yongyi-wu", "html_url": "https://github.com/yongyi-wu", "followers_url": "https://api.github.com/users/...
[ { "id": 2392046359, "node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue", "name": "Good Second Issue", "color": "dd935a", "default": false, "description": "Issues that are more difficult to do than \"Good First...
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...
[ "Hello @yongyi-wu, \r\n\r\nyes you're right. T5 is not yet fully compatible with 3D attention_mask input. Currently, I won't find enough time to work on adding this feature, but I'll post it under \"Community projects\" in case someone from the community is interested in giving it a shot.\r\n\r\nAlso feel free to o...
1,610
1,672
1,620
NONE
null
## Environment info - `transformers` version: 4.2.1 - Platform: Linux - Python version: 3.6.9 - PyTorch version (GPU?): 1.7.0+cuda11.0 ### Who can help T5: @patrickvonplaten ## Information The `get_extended_attention_mask()` does not sufficiently address the case with 3D attention mask. The problem emerge...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9643/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9643/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9642
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9642/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9642/comments
https://api.github.com/repos/huggingface/transformers/issues/9642/events
https://github.com/huggingface/transformers/issues/9642
787,716,988
MDU6SXNzdWU3ODc3MTY5ODg=
9,642
Multi-GPU inference with Tensorflow backend
{ "login": "fingoldo", "id": 16359856, "node_id": "MDQ6VXNlcjE2MzU5ODU2", "avatar_url": "https://avatars.githubusercontent.com/u/16359856?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fingoldo", "html_url": "https://github.com/fingoldo", "followers_url": "https://api.github.com/users/fin...
[]
closed
false
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[ { "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users...
[ "Hello!!\r\n\r\nCan you please share the code you are using as for me it works as expected:\r\n```python\r\nfrom transformers import TFBertModel, BertTokenizer\r\nimport tensorflow as tf\r\n\r\nfirst_strategy = tf.distribute.MirroredStrategy()\r\n\r\nwith first_strategy.scope():\r\n\tmodel = TFBertModel.from_pretra...
1,610
1,620
1,620
NONE
null
Is this already supported maybe? I know that multi-GPU TRAINING is supported with TF* models pretty well. But not inference. What is the recommended way when one wants to do inference for a large batch of text (tens of millions rows)? Currently only one of GPUs gets loaded. Tensorflow have a [guide ](https://www.tensor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9642/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9642/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9641
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9641/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9641/comments
https://api.github.com/repos/huggingface/transformers/issues/9641/events
https://github.com/huggingface/transformers/issues/9641
787,596,565
MDU6SXNzdWU3ODc1OTY1NjU=
9,641
Conditional branching logic in modeling_tf_flaubert.py causing errors with TF Graph
{ "login": "ANarayan", "id": 5660075, "node_id": "MDQ6VXNlcjU2NjAwNzU=", "avatar_url": "https://avatars.githubusercontent.com/u/5660075?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ANarayan", "html_url": "https://github.com/ANarayan", "followers_url": "https://api.github.com/users/ANara...
[]
closed
false
null
[]
[ "Hello,\r\n\r\nTo help you we need to have more information such as your environement info, and a standalone piece of code to let us reproduce your error. Thanks!", "As a first guess, I can say that the issue you get might come from a misformed input, can you try with:\r\n```\r\n@tf.function\r\ndef train_step(inp...
1,610
1,610
1,610
NONE
null
Hi @jplu ! I am encountering an error when running the TFFlaubert model inside of a tensorflow graph. Here is some code to reproduce the issue: ``` import FlaubertTokenizer, TFFlaubertModel, FlaubertConfig import tensorflow as tf config=FlaubertConfig.from_pretrained('jplu/tf-flaubert-small-cased', output_a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9641/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9641/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9640
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9640/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9640/comments
https://api.github.com/repos/huggingface/transformers/issues/9640/events
https://github.com/huggingface/transformers/pull/9640
787,587,683
MDExOlB1bGxSZXF1ZXN0NTU2MjU2NTQw
9,640
Renamed `nlp` variables #9455
{ "login": "terrenceedmonds", "id": 22152969, "node_id": "MDQ6VXNlcjIyMTUyOTY5", "avatar_url": "https://avatars.githubusercontent.com/u/22152969?v=4", "gravatar_id": "", "url": "https://api.github.com/users/terrenceedmonds", "html_url": "https://github.com/terrenceedmonds", "followers_url": "https://api...
[]
closed
false
null
[]
[ "I can change `unmask` to `unmasker`. And I'll go back and take care of the merge conflicts and `make style` . ", "I think your rebase went wrong as the diff as suddenly become unreadable. Could you close this PR and open a new one from your branch? Don't hesitate to tag me on it.", "Hi @terrenceedmonds I don't...
1,610
1,619
1,619
NONE
null
* Give better names to pipeline variables named nlp * This was desired because nlp was not a descriptive variable name Fixes # 9455 @Narsil , @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9640/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9640/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9640", "html_url": "https://github.com/huggingface/transformers/pull/9640", "diff_url": "https://github.com/huggingface/transformers/pull/9640.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9640.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9639
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9639/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9639/comments
https://api.github.com/repos/huggingface/transformers/issues/9639/events
https://github.com/huggingface/transformers/pull/9639
787,569,678
MDExOlB1bGxSZXF1ZXN0NTU2MjQ0ODQ5
9,639
Add head_mask/decoder_head_mask for TF BART models
{ "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
[]
[ "@stancld, thanks so much for tackling this! I think it would be a great addition if we could add a `test_headmasking` method for TF as well. \r\nI think it might be better if we don't try to have the exact test as in PyTorch. For now it should be enough to just leave out all gradient-related statements, like `.bac...
1,610
1,611
1,611
CONTRIBUTOR
null
This PR adds `head_mask` and `decoder_head_mask` input arguments for TF BART-based models. The full list of models is as follows: * **TFBART** * **TFMBart** * **TFBlenderbot** * **TFBlenderbotSmall** * **TFMarian** * **TFPegasus** This PR can be deemed as a TF counterpart to the PR #9569. <hr> **Further...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9639/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/9639/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9639", "html_url": "https://github.com/huggingface/transformers/pull/9639", "diff_url": "https://github.com/huggingface/transformers/pull/9639.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9639.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9638
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9638/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9638/comments
https://api.github.com/repos/huggingface/transformers/issues/9638/events
https://github.com/huggingface/transformers/issues/9638
787,551,145
MDU6SXNzdWU3ODc1NTExNDU=
9,638
ValueError: Expected floating point type, got <dtype: 'int32'> for TFGPT2LMHeadModel
{ "login": "farazk86", "id": 33456896, "node_id": "MDQ6VXNlcjMzNDU2ODk2", "avatar_url": "https://avatars.githubusercontent.com/u/33456896?v=4", "gravatar_id": "", "url": "https://api.github.com/users/farazk86", "html_url": "https://github.com/farazk86", "followers_url": "https://api.github.com/users/far...
[]
closed
false
null
[]
[ "@jplu do you have any experience with creating model environments on GCP with TensorFlow?", "Hello!\r\n\r\nCan you first share your local env and the env you are using on your GCP machine? ", "Hi @jplu \r\n\r\nThanks for the response. \r\n\r\nFor my local environment I'm on Python 3.6, tenensorflow 2.4, trans...
1,610
1,621
1,621
NONE
null
Hi, I am trying to serve a gpt2 model online using Google cloud. But when creating model environment I get the error: ``` Create Version failed. Bad model detected with error: "Failed to load model: Unexpected error when loading the model: in user code:\n\n /tmp/custom_lib/transformers/modeling_tf_gpt2.py:551 cal...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9638/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9638/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9637
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9637/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9637/comments
https://api.github.com/repos/huggingface/transformers/issues/9637/events
https://github.com/huggingface/transformers/issues/9637
787,548,366
MDU6SXNzdWU3ODc1NDgzNjY=
9,637
XLMRobertaTokenizerFast producing wrong tokenized output
{ "login": "sstojanoska", "id": 17052700, "node_id": "MDQ6VXNlcjE3MDUyNzAw", "avatar_url": "https://avatars.githubusercontent.com/u/17052700?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sstojanoska", "html_url": "https://github.com/sstojanoska", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "There are two different subjects being discussed here:\r\n - The tokenization behavior: how punctuation is tokenized, or how the blank spaces are separated from the next token. This is expected behavior and just describes the way this tokenizer (XLMRoberta) works.\r\n - The offset mappings, which as described here...
1,610
1,624
1,624
NONE
null
## Environment info - transformers` version: 4.2.1 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch version (GPU?): 1.7.0+cu101 (False) - Tensorflow version (GPU?): 2.4.0 (False) - Using GPU in script?: yes - Using distributed or parallel set-up in script?: no ##...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9637/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9637/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9636
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9636/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9636/comments
https://api.github.com/repos/huggingface/transformers/issues/9636/events
https://github.com/huggingface/transformers/issues/9636
787,475,043
MDU6SXNzdWU3ODc0NzUwNDM=
9,636
key error when use trainer to fine_tuning a dataset
{ "login": "XiaoYang66", "id": 43234824, "node_id": "MDQ6VXNlcjQzMjM0ODI0", "avatar_url": "https://avatars.githubusercontent.com/u/43234824?v=4", "gravatar_id": "", "url": "https://api.github.com/users/XiaoYang66", "html_url": "https://github.com/XiaoYang66", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "I found this Jesus is caused by this description `Here we have the loss since we passed along labels`(url:https://huggingface.co/transformers/main_classes/output.html).so if the column dataset object do not have label(or if the column which represents label have other name ,like'entailment_judgment').the trainer ...
1,610
1,666
1,610
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.1.1 - Platform: Linux-3.10.0-693.5.2.el7.x86_64-x86_64-with-centos-7.4.1708-Core - Python version: 3.7.9 -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9636/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/9636/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9635
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9635/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9635/comments
https://api.github.com/repos/huggingface/transformers/issues/9635/events
https://github.com/huggingface/transformers/issues/9635
787,456,819
MDU6SXNzdWU3ODc0NTY4MTk=
9,635
Weights used for Masked LM predictions
{ "login": "simran-khanuja", "id": 24687672, "node_id": "MDQ6VXNlcjI0Njg3Njcy", "avatar_url": "https://avatars.githubusercontent.com/u/24687672?v=4", "gravatar_id": "", "url": "https://api.github.com/users/simran-khanuja", "html_url": "https://github.com/simran-khanuja", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "The `cls/predictions/decoder` is the linear layer that is used to project the output of the transformer to the vocabulary logits. This layer is *tied* to the input embeddings: it has the same weights.\r\n\r\nI believe the original BERT codebase doesn't have this layer because it re-uses the input embedding layer, ...
1,610
1,618
1,618
NONE
null
I wanted to get masked word predictions for a few bert-base models. I am converting the pytorch models to the original bert tf format using [this](https://github.com/huggingface/transformers/blob/master/src/transformers/models/bert/convert_bert_pytorch_checkpoint_to_original_tf.py) by modifying the code to load BertFor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9635/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9635/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9634
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9634/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9634/comments
https://api.github.com/repos/huggingface/transformers/issues/9634/events
https://github.com/huggingface/transformers/pull/9634
787,446,756
MDExOlB1bGxSZXF1ZXN0NTU2MTYwODAy
9,634
Add separated decoder_head_mask for T5 Models
{ "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
[]
[ "Great, that looks nice! Let's first merge https://github.com/huggingface/transformers/pull/9569 and then rebase this PR so that it passes all tests :-) ", "Thanks for fixing this!\r\n\r\nI have one note/question: This seems to only apply to self-attention heads, not heads in the cross attention module, right? Is...
1,610
1,611
1,611
CONTRIBUTOR
null
### Fix issue #9632 <hr> This PR separates `head_mask` and `decoder_head_mask` for T5 models, and thus enables to specify different head masks for an encoder and decoder. **Description:** - Replace a single input argument `head_mask` with a separated couple `head_mask` and `decoder_head_mask` for the T5 mode...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9634/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9634/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9634", "html_url": "https://github.com/huggingface/transformers/pull/9634", "diff_url": "https://github.com/huggingface/transformers/pull/9634.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9634.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9633
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9633/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9633/comments
https://api.github.com/repos/huggingface/transformers/issues/9633/events
https://github.com/huggingface/transformers/issues/9633
787,442,675
MDU6SXNzdWU3ODc0NDI2NzU=
9,633
Wrong offsets_mapping in T5TokenizerFast
{ "login": "zorikg", "id": 37661625, "node_id": "MDQ6VXNlcjM3NjYxNjI1", "avatar_url": "https://avatars.githubusercontent.com/u/37661625?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zorikg", "html_url": "https://github.com/zorikg", "followers_url": "https://api.github.com/users/zorikg/fo...
[]
closed
false
null
[]
[ "@patrickvonplaten @n1t0 do you have any advice on this? The T5 tokenizer tokenizes the sentence as follows:\r\n```\r\n['▁This', '▁is', '▁', 'a', '▁test', '▁sentence']\r\n```\r\n\r\nUnfortunately the offset mapping point to both '▁' and 'a' being at `(8, 9)`, as the following suggests:\r\n```\r\n'offset_mapping': ...
1,610
1,638
1,621
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.2.1 - Platform: Linux-4.9.0-14-amd64-x86_64-with-debian-9.13 - Python version: 3.6.10 - PyTorch version (G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9633/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9633/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9632
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9632/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9632/comments
https://api.github.com/repos/huggingface/transformers/issues/9632/events
https://github.com/huggingface/transformers/issues/9632
787,430,124
MDU6SXNzdWU3ODc0MzAxMjQ=
9,632
Missing argument: decoder_head_mask for T5
{ "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
[]
[ "Solved in #9634." ]
1,610
1,611
1,611
CONTRIBUTOR
null
# 🚀 Feature request Despite the encoder-decoder architecture of T5, the models use a single `head_mask` argument instead of having separate `head_mask` and `decoder_head_mask` as it will be for BART-based models after merging the PR #9569. ## Your contribution I'm going to send a PR soon. (I'll try to prepare...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9632/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9632/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9631
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9631/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9631/comments
https://api.github.com/repos/huggingface/transformers/issues/9631/events
https://github.com/huggingface/transformers/issues/9631
787,341,357
MDU6SXNzdWU3ODczNDEzNTc=
9,631
ImportError: cannot import name 'Dataset'
{ "login": "nakarin", "id": 5127052, "node_id": "MDQ6VXNlcjUxMjcwNTI=", "avatar_url": "https://avatars.githubusercontent.com/u/5127052?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nakarin", "html_url": "https://github.com/nakarin", "followers_url": "https://api.github.com/users/nakarin/...
[]
closed
false
null
[]
[ "How did you install Transformers and Datasets? Could you post your `pip list` here?", "> How did you install Transformers and Datasets? Could you post your `pip list` here?\r\n\r\ntransformers (4.2.1)\r\ndatasets (1.2.1)\r\n\r\nSorry, for reply late.", "Hmmm, I cannot seem to be able to reproduce your issue. W...
1,610
1,656
1,611
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.2.1, datasets : 1.2.1 - Platform: Linux AI-LAB 5.3.0-42-generic #34~18.04.1-Ubuntu SMP Fri Feb 28 13:42:26 U...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9631/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/9631/timeline
completed
null
null