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/7521
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7521/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7521/comments
https://api.github.com/repos/huggingface/transformers/issues/7521/events
https://github.com/huggingface/transformers/pull/7521
713,098,848
MDExOlB1bGxSZXF1ZXN0NDk2NDc1MDUz
7,521
[s2s] trainer scripts: Remove --run_name, thanks sylvain!
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "You're welcome ;-)", "cc @patil-suraj " ]
1,601
1,601
1,601
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7521/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7521/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7521", "html_url": "https://github.com/huggingface/transformers/pull/7521", "diff_url": "https://github.com/huggingface/transformers/pull/7521.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7521.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7520
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7520/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7520/comments
https://api.github.com/repos/huggingface/transformers/issues/7520/events
https://github.com/huggingface/transformers/issues/7520
713,095,105
MDU6SXNzdWU3MTMwOTUxMDU=
7,520
MultiGPU Trainer: each processes uses more memory than 1 GPU job
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "id": 2107554019, "node_id": "MDU6TGFiZWwyMTA3NTU0MDE5", "url": "https://api.github.com/repos/huggingface/transformers/labels/Distributed%20Training%20/%20Models", "name": "Distributed Training / Models", "color": "fef2c0", "default": false, "description": "" } ]
closed
false
null
[]
[ "This seems to be a duplicate of #7169, finishing something and will investigate now that I have a proper multi-GPU steup.", "Yes, most likely a duplicate.\r\nOne clue might be the call to `DataParallel` right before the call to `DistributedDataParallel`. ", "Investigation seems to lead to: this is normal to ha...
1,601
1,601
1,601
CONTRIBUTOR
null
I tried to run an 8 GPU training job, and it OOM'd, so I investigated whether it could run on 1 GPU. It could! So here are two commands, the first one says that it is using 14814MiB on GPU 0. The second says it is using `15594MiB` on each. This doesn't happen in PL, which leads me to believe that `distributed_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7520/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7520/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7519
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7519/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7519/comments
https://api.github.com/repos/huggingface/transformers/issues/7519/events
https://github.com/huggingface/transformers/issues/7519
713,052,762
MDU6SXNzdWU3MTMwNTI3NjI=
7,519
XLNet finetuning
{ "login": "alshahrani2030", "id": 55197626, "node_id": "MDQ6VXNlcjU1MTk3NjI2", "avatar_url": "https://avatars.githubusercontent.com/u/55197626?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alshahrani2030", "html_url": "https://github.com/alshahrani2030", "followers_url": "https://api.gi...
[ { "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! Could you run `transformers-cli env` in your environment and paste the result here? Thank you!", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,607
1,607
NONE
null
I am trying to fine-tune XLNet model and it used work fine but I think huggingface update some classes and I ran through this error: RuntimeError: Trying to create tensor with negative dimension -1: [-1, 768] ![xlnet](https://user-images.githubusercontent.com/55197626/94844162-d030f780-03eb-11eb-84e4-e72deaaa71ec...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7519/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7519/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7518
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7518/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7518/comments
https://api.github.com/repos/huggingface/transformers/issues/7518/events
https://github.com/huggingface/transformers/pull/7518
713,036,706
MDExOlB1bGxSZXF1ZXN0NDk2NDIxODg2
7,518
Fix seq2seq example 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,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? #7490 removed the log_history save since it is now saved along inside the `TrainerState`. I didn't catch it was used in the seq2seq examples (must be due to a more recent PR because the tests were passing) so this PR adapts the part that loads `log_history` in those tests to fix them.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7518/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7518/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7518", "html_url": "https://github.com/huggingface/transformers/pull/7518", "diff_url": "https://github.com/huggingface/transformers/pull/7518.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7518.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7517
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7517/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7517/comments
https://api.github.com/repos/huggingface/transformers/issues/7517/events
https://github.com/huggingface/transformers/issues/7517
713,018,736
MDU6SXNzdWU3MTMwMTg3MzY=
7,517
Overflow error: Can't convert negative value to unsigned it [RAG Model]
{ "login": "sashank06", "id": 8636933, "node_id": "MDQ6VXNlcjg2MzY5MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/8636933?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sashank06", "html_url": "https://github.com/sashank06", "followers_url": "https://api.github.com/users/sa...
[]
closed
false
null
[]
[ "Hey @sashank06 - could you please post a full code snippet so that we can reproduce your error? \r\n\r\nAlso @lhoestq - this looks like one of your favorite errors haha ", "It's already fixed on `datasets` master branch, I'm going to do a release soon :) ", "```\r\nimport ast\r\nimport logging\r\nimport os\r\...
1,601
1,604
1,604
NONE
null
## Environment info - `transformers` version: 3.3.1 - Platform: Linux-4.14.186-146.268.amzn2.x86_64-x86_64-with-glibc2.10 - Python version: 3.7.9 - PyTorch version (GPU?): 1.6.0 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: yes - Using distributed or parallel set-up in script?: ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7517/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7517/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7516
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7516/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7516/comments
https://api.github.com/repos/huggingface/transformers/issues/7516/events
https://github.com/huggingface/transformers/issues/7516
713,018,672
MDU6SXNzdWU3MTMwMTg2NzI=
7,516
huggingface transformer running on CPU behind celery/redis doens't work (but works by itself)
{ "login": "HodorTheCoder", "id": 15326703, "node_id": "MDQ6VXNlcjE1MzI2NzAz", "avatar_url": "https://avatars.githubusercontent.com/u/15326703?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HodorTheCoder", "html_url": "https://github.com/HodorTheCoder", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Anwer is included in the main post. Thanks.", "Another way that \"fixed\" the problem for me was setting the number of torch threads to 1: torch.set_num_threads(1) BEFORE loading the model in the worker.", "Thanks, man, it took me a day to find your comment as well. 😆 " ]
1,601
1,665
1,601
NONE
null
Hello, I am actually creating this for posterity because it took me a day to figure it out and if anybody else has this issue, hopefully this helps. I am running a Bert2Bert EncoderDecoderModel inside a docker container, running behind celery that is getting jobs through redis. This is in a production test envir...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7516/reactions", "total_count": 11, "+1": 0, "-1": 0, "laugh": 0, "hooray": 11, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7516/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7515
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7515/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7515/comments
https://api.github.com/repos/huggingface/transformers/issues/7515/events
https://github.com/huggingface/transformers/pull/7515
713,002,883
MDExOlB1bGxSZXF1ZXN0NDk2MzkzMzQ2
7,515
[s2s] fix nltk pytest race condition with FileLock
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
CONTRIBUTOR
null
Attempts to resolve Flaky test issue reported on slack. when `nltk.download('punkt')` is run in multiple processes, bad things happen.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7515/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/7515/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7515", "html_url": "https://github.com/huggingface/transformers/pull/7515", "diff_url": "https://github.com/huggingface/transformers/pull/7515.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7515.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7514
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7514/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7514/comments
https://api.github.com/repos/huggingface/transformers/issues/7514/events
https://github.com/huggingface/transformers/issues/7514
713,002,167
MDU6SXNzdWU3MTMwMDIxNjc=
7,514
[Longformer] Output both local attentions and global attentions when `output_attentions=True` -> Good Second Issue
{ "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": 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...
[ "I am working on a pull request to address this. I don't see any major challenge so far, but this made me realize how much `attentions` in Bert-like models and in Longformers are different. Why not replace `attentions` in the Longformer by `local_attentions`?\r\n\r\nThis means that the interface of Longformers woul...
1,601
1,616
1,604
MEMBER
null
# 🚀 Feature request **Good Second Issue** - A more advanced issue for contributors who want to dive more into Longformer's attention mechanism. Longformer currently only outputs global attentions, which is suboptimal because users might be interested in the local attentions as well. I propose to change the "outp...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7514/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7514/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7513
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7513/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7513/comments
https://api.github.com/repos/huggingface/transformers/issues/7513/events
https://github.com/huggingface/transformers/pull/7513
712,987,292
MDExOlB1bGxSZXF1ZXN0NDk2MzgwNDE0
7,513
[Attention Mask] Fix data type
{ "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,601
1,601
1,601
MEMBER
null
# What does this PR do? Fix data type error introduced by PR #7474. My bad!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7513/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7513/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7513", "html_url": "https://github.com/huggingface/transformers/pull/7513", "diff_url": "https://github.com/huggingface/transformers/pull/7513.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7513.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7512
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7512/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7512/comments
https://api.github.com/repos/huggingface/transformers/issues/7512/events
https://github.com/huggingface/transformers/issues/7512
712,956,184
MDU6SXNzdWU3MTI5NTYxODQ=
7,512
[XLNet] attention_mask / input_mask - Why two `attention_mask` inputs?
{ "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": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
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...
[ "I agree! Deprecation until v4.0.0 seems like a reasonable solution,", "(We'll need at least one release with it before 4.0.0 if we want to remove the deprecation at 4.0.0)", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occur...
1,601
1,607
1,607
MEMBER
null
For whatever reason XLNet accepts both an `attention_mask` and a `input_mask`. As far as I understand `attention_mask` = 1 - `input_mask`. I don't think having the same input twice (one is the inverse of the other) has any advantage. We should remove `input_mask` IMO (first depreciate, then remove). Also, `attention_ma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7512/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7512/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7511
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7511/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7511/comments
https://api.github.com/repos/huggingface/transformers/issues/7511/events
https://github.com/huggingface/transformers/issues/7511
712,953,553
MDU6SXNzdWU3MTI5NTM1NTM=
7,511
[Transfo-XL] Impossible to pass `attention_mask` to model
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,607
1,607
MEMBER
null
It is not possible to forward an `attention_mask` to transfo-xl because Transfo-XL's forward function does not accept an `attention_mask`. This makes it impossible to do batch generation with Transfo-XL for example. IMO, this could be implemented quite easily.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7511/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7511/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7510
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7510/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7510/comments
https://api.github.com/repos/huggingface/transformers/issues/7510/events
https://github.com/huggingface/transformers/issues/7510
712,952,126
MDU6SXNzdWU3MTI5NTIxMjY=
7,510
[Reformer, Longformer, Roberta, GPT2, CTRL] attention_mask should be at second argument
{ "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": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,607
1,607
MEMBER
null
Reformer, Longformer and Roberta have some models where the `attention_mask` is not at the second position. IMO, this was not done on purpose, but sloppy implementation. In order to use `torchscript` with `attention_mask`, the `forward()` args should be refactored. This is a breaking change however. Additionally, GP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7510/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/7510/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7509
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7509/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7509/comments
https://api.github.com/repos/huggingface/transformers/issues/7509/events
https://github.com/huggingface/transformers/pull/7509
712,945,290
MDExOlB1bGxSZXF1ZXN0NDk2MzQ1MTU3
7,509
[examples/s2s] clean up finetune_trainer
{ "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
[]
[ "Also \r\nhttps://github.com/huggingface/transformers/blob/a42f62d34f7b2acdb7298e586adbe9f0f28864ea/examples/seq2seq/seq2seq_trainer.py#L56\r\n\r\nwe are using `model.config` here, this breaks on multi-gpu, right ?\r\nand IMO we might not need this `assert` here ", "```\r\nself.pad_token_id = self.model.config.pa...
1,601
1,601
1,601
MEMBER
null
This PR 1. moves the `build_compute_metrics_fn` to `utils.py` because we need to be able to import it for `hparam` search with `Seq2SeqTrainer`. Could have made it top level but since rest of the helpers are in `utils.py`, moved it there. 2. Also moves the `Seq2SeqDataCollator` to `utils` as the dataset is also ther...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7509/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7509/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7509", "html_url": "https://github.com/huggingface/transformers/pull/7509", "diff_url": "https://github.com/huggingface/transformers/pull/7509.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7509.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7508
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7508/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7508/comments
https://api.github.com/repos/huggingface/transformers/issues/7508/events
https://github.com/huggingface/transformers/pull/7508
712,876,140
MDExOlB1bGxSZXF1ZXN0NDk2Mjg2ODQ1
7,508
Fix Ray Tune progress_reporter kwarg
{ "login": "krfricke", "id": 14904111, "node_id": "MDQ6VXNlcjE0OTA0MTEx", "avatar_url": "https://avatars.githubusercontent.com/u/14904111?v=4", "gravatar_id": "", "url": "https://api.github.com/users/krfricke", "html_url": "https://github.com/krfricke", "followers_url": "https://api.github.com/users/krf...
[]
closed
false
null
[]
[ "Sorry by the way for not catching these at the same time. This should be all for now though!", "Oh I remembered seeing this last week and thinking: This is wrong, I should fix it... but forgot...\r\nThanks for following through!" ]
1,601
1,601
1,601
CONTRIBUTOR
null
# What does this PR do? There's a small error in the Ray Tune kwarg parsing: The expected argument name is `progress_reporter`, not `reporter`. <!-- 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, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7508/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7508/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7508", "html_url": "https://github.com/huggingface/transformers/pull/7508", "diff_url": "https://github.com/huggingface/transformers/pull/7508.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7508.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7507
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7507/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7507/comments
https://api.github.com/repos/huggingface/transformers/issues/7507/events
https://github.com/huggingface/transformers/pull/7507
712,843,118
MDExOlB1bGxSZXF1ZXN0NDk2MjU4ODEz
7,507
Report Tune metrics in final evaluation
{ "login": "krfricke", "id": 14904111, "node_id": "MDQ6VXNlcjE0OTA0MTEx", "avatar_url": "https://avatars.githubusercontent.com/u/14904111?v=4", "gravatar_id": "", "url": "https://api.github.com/users/krfricke", "html_url": "https://github.com/krfricke", "followers_url": "https://api.github.com/users/krf...
[]
closed
false
null
[]
[ "Just to be sure, is it also backward compatible with older versions of Ray Tune?", "Yes! Return values were never required, and in fact disregarded until recently.\n\nOn October 1, 2020 2:38:00 PM GMT+01:00, Sylvain Gugger <notifications@github.com> wrote:\n>Just to be sure, is it also backward compatible with o...
1,601
1,702
1,601
CONTRIBUTOR
null
# What does this PR do? This PR makes Ray Tune's tuning objective function report all metrics, not just the objective, in the final evaluation step. It also gets rid of the (unnecessary) return value. With these changes the training objective is fully compatible with Ray Tune's recently introduced strict metric chec...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7507/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7507/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7507", "html_url": "https://github.com/huggingface/transformers/pull/7507", "diff_url": "https://github.com/huggingface/transformers/pull/7507.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7507.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7506
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7506/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7506/comments
https://api.github.com/repos/huggingface/transformers/issues/7506/events
https://github.com/huggingface/transformers/pull/7506
712,825,406
MDExOlB1bGxSZXF1ZXN0NDk2MjQzODE4
7,506
configuration_utils: fix handling of `id2labels`
{ "login": "Lodifice", "id": 6838133, "node_id": "MDQ6VXNlcjY4MzgxMzM=", "avatar_url": "https://avatars.githubusercontent.com/u/6838133?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Lodifice", "html_url": "https://github.com/Lodifice", "followers_url": "https://api.github.com/users/Lodif...
[]
closed
false
null
[]
[ "Hi, as you can see in [this example NER configuration file](https://s3.amazonaws.com/models.huggingface.co/bert/dslim/bert-base-NER/config.json), the `id2label` and `label2id` are actually dictionaries. \r\n\r\nInstead of doing the change you propose, changing the documentation to reflect that would be better. Tha...
1,601
1,602
1,602
NONE
null
# What does this PR do? The parameter `id2labels` of class `PretrainedConfig` is documented as `List[str]`, so enumerate() should be used rather than dict.items() in the constructor. Since a lot of code (including test code) passes `id2labels` as a dict, enumerate() is only used if it is a list indeed.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7506/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7506/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7506", "html_url": "https://github.com/huggingface/transformers/pull/7506", "diff_url": "https://github.com/huggingface/transformers/pull/7506.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7506.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7505
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7505/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7505/comments
https://api.github.com/repos/huggingface/transformers/issues/7505/events
https://github.com/huggingface/transformers/pull/7505
712,824,997
MDExOlB1bGxSZXF1ZXN0NDk2MjQzNDg2
7,505
added script for fine-tuning roberta for sentiment analysis task
{ "login": "DhavalTaunk08", "id": 31320833, "node_id": "MDQ6VXNlcjMxMzIwODMz", "avatar_url": "https://avatars.githubusercontent.com/u/31320833?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DhavalTaunk08", "html_url": "https://github.com/DhavalTaunk08", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
CONTRIBUTOR
null
# What does this PR do? Added a script in community notebooks that fine-tune's Roberta for the sentiment analysis task.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7505/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7505/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7505", "html_url": "https://github.com/huggingface/transformers/pull/7505", "diff_url": "https://github.com/huggingface/transformers/pull/7505.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7505.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7504
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7504/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7504/comments
https://api.github.com/repos/huggingface/transformers/issues/7504/events
https://github.com/huggingface/transformers/pull/7504
712,822,625
MDExOlB1bGxSZXF1ZXN0NDk2MjQxNTk1
7,504
added script for fine-tuning roberta for sentiment analysis task
{ "login": "DhavalTaunk08", "id": 31320833, "node_id": "MDQ6VXNlcjMxMzIwODMz", "avatar_url": "https://avatars.githubusercontent.com/u/31320833?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DhavalTaunk08", "html_url": "https://github.com/DhavalTaunk08", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
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/7504/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7504/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7504", "html_url": "https://github.com/huggingface/transformers/pull/7504", "diff_url": "https://github.com/huggingface/transformers/pull/7504.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7504.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7503
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7503/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7503/comments
https://api.github.com/repos/huggingface/transformers/issues/7503/events
https://github.com/huggingface/transformers/issues/7503
712,794,608
MDU6SXNzdWU3MTI3OTQ2MDg=
7,503
Turning the SQuAD dataset class into an iterator to save ram and redistribute time
{ "login": "mariusjohan", "id": 49961316, "node_id": "MDQ6VXNlcjQ5OTYxMzE2", "avatar_url": "https://avatars.githubusercontent.com/u/49961316?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariusjohan", "html_url": "https://github.com/mariusjohan", "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
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,607
1,607
NONE
null
# 🚀 Feature request When I'm using the SquadDataset class I sometimes run out of RAM in my Colab session. It also takes a lot of time to process the data, so if we could just preprocess the data when using the __getitem__. I think we should turn the examples into an iterator rather than a list. And when using the __g...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7503/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7503/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7502
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7502/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7502/comments
https://api.github.com/repos/huggingface/transformers/issues/7502/events
https://github.com/huggingface/transformers/issues/7502
712,790,184
MDU6SXNzdWU3MTI3OTAxODQ=
7,502
Functionality to pass first few tokens as input to the decoder in T5 model
{ "login": "ayushtiku5", "id": 40797286, "node_id": "MDQ6VXNlcjQwNzk3Mjg2", "avatar_url": "https://avatars.githubusercontent.com/u/40797286?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ayushtiku5", "html_url": "https://github.com/ayushtiku5", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,601
1,603
1,603
CONTRIBUTOR
null
I am finetuning the T5 model on a downstream sequence to sequence task. I wanted to know if it is possible to pass first few tokens as input to the T5 decoder during inference (like it is done in text generation models) apart from the input provided to the encoder?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7502/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/7502/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7501
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7501/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7501/comments
https://api.github.com/repos/huggingface/transformers/issues/7501/events
https://github.com/huggingface/transformers/pull/7501
712,773,557
MDExOlB1bGxSZXF1ZXN0NDk2MjAxNDMz
7,501
Add GPT2ForSequenceClassification based on DialogRPT
{ "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,601
1,602
1,602
MEMBER
null
# What does this PR do? This PR implements `GPT2ForSequenceClassification` in order to support DialogRPT. Closes https://github.com/huggingface/transformers/issues/7493. `GPT2ForSequenceClassification` uses the last token in order to do the classification, as other causal models (e.g. GPT-1) do. Since it does...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7501/reactions", "total_count": 3, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/7501/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7501", "html_url": "https://github.com/huggingface/transformers/pull/7501", "diff_url": "https://github.com/huggingface/transformers/pull/7501.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7501.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7500
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7500/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7500/comments
https://api.github.com/repos/huggingface/transformers/issues/7500/events
https://github.com/huggingface/transformers/issues/7500
712,749,292
MDU6SXNzdWU3MTI3NDkyOTI=
7,500
Trucated Outputs while finetuning 'bart-base' on XSUM [Summarization Task]
{ "login": "yashgupta-7", "id": 45476875, "node_id": "MDQ6VXNlcjQ1NDc2ODc1", "avatar_url": "https://avatars.githubusercontent.com/u/45476875?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yashgupta-7", "html_url": "https://github.com/yashgupta-7", "followers_url": "https://api.github.com/...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "Try adding `decoder_start_token_id=2` to `best_tfmr/config.json` and let me know if that changes anything!", "I just did the above-mentioned change and decoded (run_eval.py) without training any further. Still, the issue persists. ", "Ok, you could try re-training/training more with new training code. We can't...
1,601
1,602
1,602
NONE
null
Hey! I am trying to finetune bart-base model on the XSUM using standard commands. In the test-generations.txt file, the outputs I am getting after a few epochs (2-3) are truncated arbitrarily. Here is the exact command I am using: `./finetune.sh --data_dir $XSUM_DIR --train_batch_size=8 --eval_batch_size=8 --output_d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7500/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7500/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7499
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7499/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7499/comments
https://api.github.com/repos/huggingface/transformers/issues/7499/events
https://github.com/huggingface/transformers/issues/7499
712,736,345
MDU6SXNzdWU3MTI3MzYzNDU=
7,499
german distilbert not available?
{ "login": "datistiquo", "id": 47474379, "node_id": "MDQ6VXNlcjQ3NDc0Mzc5", "avatar_url": "https://avatars.githubusercontent.com/u/47474379?v=4", "gravatar_id": "", "url": "https://api.github.com/users/datistiquo", "html_url": "https://github.com/datistiquo", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Or is this model only available for pytorch and not TF?", "https://huggingface.co/distilbert-base-german-cased\r\n\r\n^^ currently only the Pytorch weights, but you can load into TF pretty easily (follow the README/doc). If needed we can upload the converted TF weights (cc @stefan-it who I believe trained this m...
1,601
1,601
1,601
NONE
null
I try using the distilbert-base-german-cased which is also listed here https://huggingface.co/transformers/pretrained_models.html but I get the message that this model is not avaiable. Seems also not here listed? https://huggingface.co/models?filter=tf,de Is this just currently the case?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7499/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7499/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7498
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7498/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7498/comments
https://api.github.com/repos/huggingface/transformers/issues/7498/events
https://github.com/huggingface/transformers/pull/7498
712,708,230
MDExOlB1bGxSZXF1ZXN0NDk2MTQ1MjI2
7,498
Update README.md
{ "login": "akshayrkg", "id": 31383758, "node_id": "MDQ6VXNlcjMxMzgzNzU4", "avatar_url": "https://avatars.githubusercontent.com/u/31383758?v=4", "gravatar_id": "", "url": "https://api.github.com/users/akshayrkg", "html_url": "https://github.com/akshayrkg", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
CONTRIBUTOR
null
Making transformers readme more robust. # 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 c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7498/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7498/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7498", "html_url": "https://github.com/huggingface/transformers/pull/7498", "diff_url": "https://github.com/huggingface/transformers/pull/7498.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7498.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7497
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7497/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7497/comments
https://api.github.com/repos/huggingface/transformers/issues/7497/events
https://github.com/huggingface/transformers/issues/7497
712,545,062
MDU6SXNzdWU3MTI1NDUwNjI=
7,497
How to generate data using beam search from a custom gpt2 model?
{ "login": "nrjvarshney", "id": 19836137, "node_id": "MDQ6VXNlcjE5ODM2MTM3", "avatar_url": "https://avatars.githubusercontent.com/u/19836137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nrjvarshney", "html_url": "https://github.com/nrjvarshney", "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
[]
[ "Here's an example using beam search with GPT-2:\r\n\r\n```py\r\nfrom transformers import GPT2LMHeadModel, GPT2Tokenizer\r\n\r\ntokenizer = GPT2Tokenizer.from_pretrained(\"gpt2\")\r\nmodel = GPT2LMHeadModel.from_pretrained(\"gpt2\")\r\n\r\ninput_ids = tokenizer(\"The day starts with\", return_tensors='pt')['input_i...
1,601
1,655
1,607
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7497/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7497/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7496
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7496/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7496/comments
https://api.github.com/repos/huggingface/transformers/issues/7496/events
https://github.com/huggingface/transformers/issues/7496
712,543,515
MDU6SXNzdWU3MTI1NDM1MTU=
7,496
BertforSequenceClassification MSELoss() without normalizing using sigmoid/softmax
{ "login": "liusiyi641", "id": 34046462, "node_id": "MDQ6VXNlcjM0MDQ2NDYy", "avatar_url": "https://avatars.githubusercontent.com/u/34046462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liusiyi641", "html_url": "https://github.com/liusiyi641", "followers_url": "https://api.github.com/use...
[ { "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
[]
[ "> * `transformers` version: 3.3.0\r\n> \r\n> * Platform: Darwin-18.7.0-x86_64-i386-64bit\r\n> \r\n> * Python version: 3.7.4\r\n> \r\n> * PyTorch version (GPU?): 1.6.0 (False)\r\n> \r\n> * Tensorflow version (GPU?): not installed (NA)\r\n> \r\n> * Using GPU in script?: No\r\n> \r\n> * Us...
1,601
1,619
1,619
NONE
null
- `transformers` version: 3.3.0 - Platform: Darwin-18.7.0-x86_64-i386-64bit - Python version: 3.7.4 - 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 @LysandreJik @sshleifer I'm trying to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7496/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/7496/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7495
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7495/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7495/comments
https://api.github.com/repos/huggingface/transformers/issues/7495/events
https://github.com/huggingface/transformers/issues/7495
712,417,857
MDU6SXNzdWU3MTI0MTc4NTc=
7,495
quick questions about the `BertModelLMHeadModel`.
{ "login": "h56cho", "id": 52889259, "node_id": "MDQ6VXNlcjUyODg5MjU5", "avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4", "gravatar_id": "", "url": "https://api.github.com/users/h56cho", "html_url": "https://github.com/h56cho", "followers_url": "https://api.github.com/users/h56cho/fo...
[ { "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
[]
[ "Bert is a Masked Lanuage Model. ", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,607
1,607
NONE
null
Hello, I have a few questions about the `BertModelLMHeadModel`: 1. Is `BertModelLMHeadModel` used to conduct the causal language modeling (next token prediction), as it is the case for the `GPT2LMHeadModel`? 2. For `GPT2LMHeadModel`, I can just specify `labels = input_ids` for convenience. I just specify the `l...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7495/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7495/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7494
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7494/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7494/comments
https://api.github.com/repos/huggingface/transformers/issues/7494/events
https://github.com/huggingface/transformers/issues/7494
712,417,025
MDU6SXNzdWU3MTI0MTcwMjU=
7,494
Is the multiple-choice head for the pre-trained `LongformerForMultipleChoice` model pre-trained?
{ "login": "h56cho", "id": 52889259, "node_id": "MDQ6VXNlcjUyODg5MjU5", "avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4", "gravatar_id": "", "url": "https://api.github.com/users/h56cho", "html_url": "https://github.com/h56cho", "followers_url": "https://api.github.com/users/h56cho/fo...
[]
closed
false
null
[]
[ "Hi! This depends on the checkpoint. If you're using a checkpoint pre-trained on multiple-choice, then it's very possible that it is pre-trained. If you're using a checkpoint pre-trained on another task, it might not be pre-trained.\r\n\r\nYou should be wary of the task on which the model was trained when leveragin...
1,601
1,601
1,601
NONE
null
Hello, Is the multiple-choice head for the pre-trained `LongformerForMultipleChoice` model pre-trained as well? I am asking because like for the pre-trained `GPT2DoubleHeadsModel`, the main body of the model is trained but its multiple-choice head is not. Is the multiple-choice head for the pre-trained `Longformer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7494/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7494/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7493
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7493/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7493/comments
https://api.github.com/repos/huggingface/transformers/issues/7493/events
https://github.com/huggingface/transformers/issues/7493
712,375,714
MDU6SXNzdWU3MTIzNzU3MTQ=
7,493
Sharing Microsoft's DialogRPT (new dialog ranking model)
{ "login": "golsun", "id": 8718898, "node_id": "MDQ6VXNlcjg3MTg4OTg=", "avatar_url": "https://avatars.githubusercontent.com/u/8718898?v=4", "gravatar_id": "", "url": "https://api.github.com/users/golsun", "html_url": "https://github.com/golsun", "followers_url": "https://api.github.com/users/golsun/foll...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[ "Hi @golsun! Thanks a lot for opening an issue and offering to contribute it!\r\n\r\nIndeed, there is no `GPT2ForSequenceClassification` model in the library (yet!) I'm adding it right now with the goal of supporting DialogRPT. I'll get back to you in a bit.", "Hi @golsun! `GPT2ForSequenceClassification` has been...
1,601
1,602
1,602
NONE
null
# 🌟 New model addition ## Model description Thanks for the awesome work! [DialogRPT](https://github.com/golsun/DialogRPT) (Dialog Ranking Pretrained Transformers) is a set of GPT-2 based dialogue ranking models recently released with an [EMNLP paper](https://arxiv.org/abs/2009.06978) by Microsoft Research. It...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7493/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7493/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7492
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7492/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7492/comments
https://api.github.com/repos/huggingface/transformers/issues/7492/events
https://github.com/huggingface/transformers/issues/7492
712,365,525
MDU6SXNzdWU3MTIzNjU1MjU=
7,492
`run_squad_trainer` doesn't actually use a Rust tokenizer + errors in `squad_convert_example_to_features` when using a Rust tokenizer
{ "login": "k8si", "id": 3207674, "node_id": "MDQ6VXNlcjMyMDc2NzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/3207674?v=4", "gravatar_id": "", "url": "https://api.github.com/users/k8si", "html_url": "https://github.com/k8si", "followers_url": "https://api.github.com/users/k8si/followers", ...
[ { "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, the Rust tokenizers are not handled by the SQuAD data processing. This is one item we would like to resolve when refactoring the data processing methods, which will soon be implemented directly in `datasets` rather than in `transformers`.\r\n\r\nThank you for your detailed issue!", "For what it's ...
1,601
1,608
1,608
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.3.1 - Platform: Linux-4.14.35-1902.303.4.1.el7uek.x86_64-x86_64-with-oracle-7.8 - Python version: 3.6....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7492/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7492/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7491
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7491/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7491/comments
https://api.github.com/repos/huggingface/transformers/issues/7491/events
https://github.com/huggingface/transformers/pull/7491
712,337,486
MDExOlB1bGxSZXF1ZXN0NDk1ODM2MDg1
7,491
Update README.md
{ "login": "ahotrod", "id": 44321615, "node_id": "MDQ6VXNlcjQ0MzIxNjE1", "avatar_url": "https://avatars.githubusercontent.com/u/44321615?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ahotrod", "html_url": "https://github.com/ahotrod", "followers_url": "https://api.github.com/users/ahotro...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "Nice! FYI we'll have model versioning rolled out in ~1 month or so" ]
1,601
1,601
1,601
CONTRIBUTOR
null
@julien-c Model is now fine-tuned on Transformers 3.1.0. Previous model fine-tuned on Transformers 2.3.0 is out-of-date.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7491/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7491/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7491", "html_url": "https://github.com/huggingface/transformers/pull/7491", "diff_url": "https://github.com/huggingface/transformers/pull/7491.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7491.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7490
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7490/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7490/comments
https://api.github.com/repos/huggingface/transformers/issues/7490/events
https://github.com/huggingface/transformers/pull/7490
712,288,413
MDExOlB1bGxSZXF1ZXN0NDk1Nzk1MTkx
7,490
Clean the Trainer state
{ "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
[]
[ "Tests pass in a multi-GPU environment and the specific `test_distributed_trainer` passes too. There is just one test that requires a batch size not too big so I manually skip it if there are more than 2 GPUs.", "Nice PR!!!\r\n\r\nI think it is a nice addition. Only the `global_step` won't be necessary as it is a...
1,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? This PRs clean the fields used inside the `Trainer` to store state and gather them all in a clear class named `TrainerState` that is typed so the user knows exactly what they can access when subclassing and overriding methods (and for my next step, when writing callbacks). As a result, the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7490/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7490/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7490", "html_url": "https://github.com/huggingface/transformers/pull/7490", "diff_url": "https://github.com/huggingface/transformers/pull/7490.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7490.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7489
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7489/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7489/comments
https://api.github.com/repos/huggingface/transformers/issues/7489/events
https://github.com/huggingface/transformers/issues/7489
712,280,644
MDU6SXNzdWU3MTIyODA2NDQ=
7,489
Use of global attention of Longformer when generating
{ "login": "alexyalunin", "id": 23011284, "node_id": "MDQ6VXNlcjIzMDExMjg0", "avatar_url": "https://avatars.githubusercontent.com/u/23011284?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alexyalunin", "html_url": "https://github.com/alexyalunin", "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
[]
[ "Hey @alexyalunin - you are completely right! I'm working on a bigger generation refactor at the moment to better handle cases like this. \r\n\r\nFor this case, I would propose to modify the code yourself and do a little hack, something along the lines \r\n\r\n```python \r\nif \"global_attention_mask\" in model_kwa...
1,601
1,609
1,609
NONE
null
I'm training Longformer2Roberta, the encoder part of this Seq2Seq model is Longformer. The one feature Longformer brings is global attention, I found the use of it during training, but it is never used at the point of generation. I guess it should be used somewhere here https://github.com/huggingface/transformers/blob/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7489/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7489/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7488
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7488/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7488/comments
https://api.github.com/repos/huggingface/transformers/issues/7488/events
https://github.com/huggingface/transformers/pull/7488
712,276,643
MDExOlB1bGxSZXF1ZXN0NDk1Nzg1MTkz
7,488
[s2s] fix kwargs style
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7488/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7488/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7488", "html_url": "https://github.com/huggingface/transformers/pull/7488", "diff_url": "https://github.com/huggingface/transformers/pull/7488.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7488.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7487
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7487/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7487/comments
https://api.github.com/repos/huggingface/transformers/issues/7487/events
https://github.com/huggingface/transformers/pull/7487
712,212,260
MDExOlB1bGxSZXF1ZXN0NDk1NzMwNTMz
7,487
[s2s] Fix t5 warning for distributed eval
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7487/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7487/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7487", "html_url": "https://github.com/huggingface/transformers/pull/7487", "diff_url": "https://github.com/huggingface/transformers/pull/7487.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7487.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7486
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7486/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7486/comments
https://api.github.com/repos/huggingface/transformers/issues/7486/events
https://github.com/huggingface/transformers/issues/7486
712,205,021
MDU6SXNzdWU3MTIyMDUwMjE=
7,486
Using BERT for spelling correction
{ "login": "naturecreator", "id": 39854185, "node_id": "MDQ6VXNlcjM5ODU0MTg1", "avatar_url": "https://avatars.githubusercontent.com/u/39854185?v=4", "gravatar_id": "", "url": "https://api.github.com/users/naturecreator", "html_url": "https://github.com/naturecreator", "followers_url": "https://api.githu...
[ { "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 because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,607
1,607
NONE
null
I am currently working on the task of spelling correction. I used BERT by masking the misspelled word to get predictions with their probability score. However, the results are not so good. Hence, I want to fine-tune the BERT. For this spelling correction task, I would like to know which is the suitable method to fine-t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7486/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7486/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7485
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7485/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7485/comments
https://api.github.com/repos/huggingface/transformers/issues/7485/events
https://github.com/huggingface/transformers/issues/7485
712,140,918
MDU6SXNzdWU3MTIxNDA5MTg=
7,485
Tenosrflow Loading the saved Model For GPT2
{ "login": "santhoshkolloju", "id": 4193817, "node_id": "MDQ6VXNlcjQxOTM4MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/4193817?v=4", "gravatar_id": "", "url": "https://api.github.com/users/santhoshkolloju", "html_url": "https://github.com/santhoshkolloju", "followers_url": "https://api.g...
[ { "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
[]
[ "~Hi! What's the problem?~ Edited your message so that we can read it.\r\n\r\n", "Could you put the error you had, as well as the environment? i.e., everything asked in the issue template.", "I am running it in colab CPU\r\n\r\n`TypeError` Traceback (most recent call last)\r\n<ip...
1,601
1,613
1,607
NONE
null
```py from time import time from transformers import TFGPT2LMHeadModel, GPT2Tokenizer import tensorflow as tf tokenizer = GPT2Tokenizer.from_pretrained("gpt2") model = TFGPT2LMHeadModel.from_pretrained('gpt2') text = "What are you doing after you have finished working?" generated = tokenizer.encode(text) co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7485/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7485/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7484
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7484/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7484/comments
https://api.github.com/repos/huggingface/transformers/issues/7484/events
https://github.com/huggingface/transformers/pull/7484
712,139,277
MDExOlB1bGxSZXF1ZXN0NDk1NjY4NTA0
7,484
Bump isort version.
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? Had some problem on my local setup with isort wanting to change `test_modeling_deberta.py`. Updating to 5.5.4 (from 5.4.2) fixed the issue so I think we should pin our setup to it.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7484/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7484/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7484", "html_url": "https://github.com/huggingface/transformers/pull/7484", "diff_url": "https://github.com/huggingface/transformers/pull/7484.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7484.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7483
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7483/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7483/comments
https://api.github.com/repos/huggingface/transformers/issues/7483/events
https://github.com/huggingface/transformers/pull/7483
712,136,077
MDExOlB1bGxSZXF1ZXN0NDk1NjY1ODc4
7,483
Add forgotten return_dict argument in 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,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? The documentation wasn't updated to `return_dict=True` not being the default for all models. This PR fixes that. Fixes #7482
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7483/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7483/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7483", "html_url": "https://github.com/huggingface/transformers/pull/7483", "diff_url": "https://github.com/huggingface/transformers/pull/7483.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7483.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7482
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7482/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7482/comments
https://api.github.com/repos/huggingface/transformers/issues/7482/events
https://github.com/huggingface/transformers/issues/7482
712,097,241
MDU6SXNzdWU3MTIwOTcyNDE=
7,482
Issue with Summary of the tasks - Named Entity Recognition in Docs
{ "login": "Matt-Munns", "id": 69989590, "node_id": "MDQ6VXNlcjY5OTg5NTkw", "avatar_url": "https://avatars.githubusercontent.com/u/69989590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Matt-Munns", "html_url": "https://github.com/Matt-Munns", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Indeed, this example (and all the others) is missing a `return_dict=True` in the call to `from_pretrained`. Thanks for flagging, the PR mentioned above will fix this." ]
1,601
1,601
1,601
NONE
null
- `transformers` version: 3.3.1 - Platform: Darwin-19.6.0-x86_64-i386-64bit - Python version: 3.7.3 - 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 ### Who can help examples/token-classi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7482/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7482/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7481
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7481/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7481/comments
https://api.github.com/repos/huggingface/transformers/issues/7481/events
https://github.com/huggingface/transformers/pull/7481
712,080,125
MDExOlB1bGxSZXF1ZXN0NDk1NjIxMTQy
7,481
Minor dead code clean-up
{ "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
[]
[ "Closing as it seems the changes were added in another PR" ]
1,601
1,606
1,606
CONTRIBUTOR
null
Hello, I am not sure how sensitive you generally are about dead code in the repository. I have identified a few places with dead code, where I believe a clean-up would improve readability. - removal of a couple of unused dropouts I came across in Albert and XLNet - removal of an unused code block for relative at...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7481/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7481/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7481", "html_url": "https://github.com/huggingface/transformers/pull/7481", "diff_url": "https://github.com/huggingface/transformers/pull/7481.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7481.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7480
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7480/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7480/comments
https://api.github.com/repos/huggingface/transformers/issues/7480/events
https://github.com/huggingface/transformers/issues/7480
712,047,707
MDU6SXNzdWU3MTIwNDc3MDc=
7,480
Upload models using transformers-cli fails
{ "login": "agemagician", "id": 6087313, "node_id": "MDQ6VXNlcjYwODczMTM=", "avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agemagician", "html_url": "https://github.com/agemagician", "followers_url": "https://api.github.com/us...
[ { "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
{ "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...
[ "Yes this is a known issue with our current system that will be fixed in ~1 month.\r\n\r\nIn the meantime, if you can upload to a different S3 bucket I can cp the files to your account on ours. Would you be able to do this?", "I don't have access to S3. However, I uploaded the model in my dropbox:\r\nhttps://www....
1,601
1,610
1,610
CONTRIBUTOR
null
## Environment info - `transformers` version: 3.0.2 - Platform: Linux-4.15.0-112-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GPU?): 1.6.0 (False) - Tensorflow version (GPU?): 2.3.0 (False) - Using GPU in script?: No - Using distributed or parallel set-up in script?: No ### Who can...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7480/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7480/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7479
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7479/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7479/comments
https://api.github.com/repos/huggingface/transformers/issues/7479/events
https://github.com/huggingface/transformers/issues/7479
712,038,433
MDU6SXNzdWU3MTIwMzg0MzM=
7,479
Loading saved model not working
{ "login": "irocks04", "id": 20955417, "node_id": "MDQ6VXNlcjIwOTU1NDE3", "avatar_url": "https://avatars.githubusercontent.com/u/20955417?v=4", "gravatar_id": "", "url": "https://api.github.com/users/irocks04", "html_url": "https://github.com/irocks04", "followers_url": "https://api.github.com/users/iro...
[ { "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
[]
[ "What do you mean it's not working? Could you provide all the information required in the template? What is your environment? What code are you running? What is the error shown? How do you use `from_pretrained`?", "What is meant is how do we utilize the “from_pretrained” functionality after saving the pipeline? I...
1,601
1,607
1,607
NONE
null
Do we know do to load the saved model pipeline back up and make predictions again locally? The from_pretrained()is not working. Pls provide few instructions how to load the model using from pretrained
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7479/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7479/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7478
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7478/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7478/comments
https://api.github.com/repos/huggingface/transformers/issues/7478/events
https://github.com/huggingface/transformers/pull/7478
712,003,723
MDExOlB1bGxSZXF1ZXN0NDk1NTU3NjQz
7,478
Alphabetize model lists
{ "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,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? The model lists have grown a bit and so, like the doc navbar, I think we'll find our way better by alphabetizing them. Adding new models will be easy in the README since Markdwon supports enumerated lists with 1. for all items. RestructuredText is more annoying but I'll make one script gener...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7478/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7478/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7478", "html_url": "https://github.com/huggingface/transformers/pull/7478", "diff_url": "https://github.com/huggingface/transformers/pull/7478.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7478.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7477
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7477/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7477/comments
https://api.github.com/repos/huggingface/transformers/issues/7477/events
https://github.com/huggingface/transformers/pull/7477
712,001,071
MDExOlB1bGxSZXF1ZXN0NDk1NTU1NDE4
7,477
[s2strainer] fix eval dataset loading
{ "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
[]
[ "tiny fix, might as well do this in #7467 and close this one" ]
1,601
1,601
1,601
MEMBER
null
`eval_dataset` should be loaded if either `--do_eval` or`EvaluationStrategy` is not `no` @sshleifer
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7477/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7477/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7477", "html_url": "https://github.com/huggingface/transformers/pull/7477", "diff_url": "https://github.com/huggingface/transformers/pull/7477.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7477.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7476
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7476/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7476/comments
https://api.github.com/repos/huggingface/transformers/issues/7476/events
https://github.com/huggingface/transformers/issues/7476
711,988,315
MDU6SXNzdWU3MTE5ODgzMTU=
7,476
RAG: Can we have a document that explains the fine-tuning mechanism?
{ "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...
[]
closed
false
null
[]
[ "https://github.com/huggingface/transformers/tree/master/examples/rag#finetuning should help you :-) ", "Thanks" ]
1,601
1,601
1,601
CONTRIBUTOR
null
I want to fine-tune RUG with a custom dataset. Please help me.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7476/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7476/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7475
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7475/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7475/comments
https://api.github.com/repos/huggingface/transformers/issues/7475/events
https://github.com/huggingface/transformers/pull/7475
711,968,208
MDExOlB1bGxSZXF1ZXN0NDk1NTI3NjUz
7,475
Small QOL improvements to TrainingArguments
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "Thanks!" ]
1,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? Some small QOL improvements as discussed on the [forum](https://discuss.huggingface.co/t/seq2seqtrainer-questions/1276/): - make `do_eval` defaults to `evaluation_strategy != "no"` so there is no need to pass the two - make `run_name` defaults to `output_dir`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7475/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7475/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7475", "html_url": "https://github.com/huggingface/transformers/pull/7475", "diff_url": "https://github.com/huggingface/transformers/pull/7475.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7475.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7474
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7474/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7474/comments
https://api.github.com/repos/huggingface/transformers/issues/7474/events
https://github.com/huggingface/transformers/pull/7474
711,952,294
MDExOlB1bGxSZXF1ZXN0NDk1NTE0MzU3
7,474
[Seq2Seq] Fix a couple of bugs and clean examples
{ "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
[]
[ "You got a little zero-shot BLEU boost it seems!\r\n\r\nThis Branch: 34.433 (on en-de)\r\nMaster: 34.4052\r\n\r\n", "@patrickvonplaten \r\n\r\nIs the docstring still wrong? [T5ForConditionalGeneration](https://huggingface.co/transformers/model_doc/t5.html?highlight=t5forconditional#transformers.T5ForConditionalGe...
1,601
1,605
1,601
MEMBER
null
# What does this PR do? ## **IMPORTANT** - BREAKING CHANGES This PR changes the behavior of **T5** and **TFT5** due to 3 bugs and 1 small change in forward API to support onnx and torchscript. It also slighlty changes the behavior of **Bart** and **EncoderDecoderModel** ## Description _1st Bug_: Due to a s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7474/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7474/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7474", "html_url": "https://github.com/huggingface/transformers/pull/7474", "diff_url": "https://github.com/huggingface/transformers/pull/7474.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7474.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7473
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7473/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7473/comments
https://api.github.com/repos/huggingface/transformers/issues/7473/events
https://github.com/huggingface/transformers/pull/7473
711,867,573
MDExOlB1bGxSZXF1ZXN0NDk1NDQyNzU4
7,473
Make transformers install check positive
{ "login": "FremyCompany", "id": 364405, "node_id": "MDQ6VXNlcjM2NDQwNQ==", "avatar_url": "https://avatars.githubusercontent.com/u/364405?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FremyCompany", "html_url": "https://github.com/FremyCompany", "followers_url": "https://api.github.com/u...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
CONTRIBUTOR
null
# What does this PR do? When transformers is correctly installed, I feel you should get a positive message. It's called huggingface not angryface, after all ;-) ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dimiss the other checks if that's the case). ## Who can review? Any...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7473/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7473/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7473", "html_url": "https://github.com/huggingface/transformers/pull/7473", "diff_url": "https://github.com/huggingface/transformers/pull/7473.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7473.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7472
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7472/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7472/comments
https://api.github.com/repos/huggingface/transformers/issues/7472/events
https://github.com/huggingface/transformers/pull/7472
711,843,346
MDExOlB1bGxSZXF1ZXN0NDk1NDIyNjQx
7,472
Number of GPUs for multi-gpu
{ "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,601
1,601
1,601
MEMBER
null
Print number of GPUs when running the multi-gpu testing suites.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7472/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7472/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7472", "html_url": "https://github.com/huggingface/transformers/pull/7472", "diff_url": "https://github.com/huggingface/transformers/pull/7472.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7472.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7471
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7471/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7471/comments
https://api.github.com/repos/huggingface/transformers/issues/7471/events
https://github.com/huggingface/transformers/pull/7471
711,836,290
MDExOlB1bGxSZXF1ZXN0NDk1NDE2NjU5
7,471
Fix LXMERT with DataParallel
{ "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,601
1,601
1,601
MEMBER
null
This PR fixes LXMERT when using DataParallel, similar to https://github.com/huggingface/transformers/pull/4300
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7471/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7471/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7471", "html_url": "https://github.com/huggingface/transformers/pull/7471", "diff_url": "https://github.com/huggingface/transformers/pull/7471.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7471.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7470
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7470/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7470/comments
https://api.github.com/repos/huggingface/transformers/issues/7470/events
https://github.com/huggingface/transformers/pull/7470
711,692,798
MDExOlB1bGxSZXF1ZXN0NDk1MzAxMDEw
7,470
Seq2SeqDataset: avoid passing src_lang everywhere
{ "login": "amanpreet692", "id": 42522643, "node_id": "MDQ6VXNlcjQyNTIyNjQz", "avatar_url": "https://avatars.githubusercontent.com/u/42522643?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amanpreet692", "html_url": "https://github.com/amanpreet692", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
CONTRIBUTOR
null
Changed Constructor argument for AbstractSeq2SeqDataset to kwargs to avoid passing unwanted parameters to tokenizers, eg. src and tgt lang to T5 tokenizer. # What does this PR do? tokenization_util.py was generating unnecessary warning statements continuously for tokenizer arguments for seq2seq batch processing t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7470/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7470/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7470", "html_url": "https://github.com/huggingface/transformers/pull/7470", "diff_url": "https://github.com/huggingface/transformers/pull/7470.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7470.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7469
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7469/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7469/comments
https://api.github.com/repos/huggingface/transformers/issues/7469/events
https://github.com/huggingface/transformers/pull/7469
711,688,701
MDExOlB1bGxSZXF1ZXN0NDk1Mjk4MTc3
7,469
fix the first chunk's lower triangle
{ "login": "Line290", "id": 26078517, "node_id": "MDQ6VXNlcjI2MDc4NTE3", "avatar_url": "https://avatars.githubusercontent.com/u/26078517?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Line290", "html_url": "https://github.com/Line290", "followers_url": "https://api.github.com/users/Line29...
[ { "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
[]
[ "Sorry, I made a mistake, ignore this.", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,608
1,608
CONTRIBUTOR
null
Correct the first chunk's lower triangle. For details, please look at Page 4 in a google shared document. Link is: https://docs.google.com/document/d/12rv879j2m5VkfTvk0F-WSOPFF5gqbE0kgk60PvY5nHc/edit?usp=sharing # What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7469/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7469/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7469", "html_url": "https://github.com/huggingface/transformers/pull/7469", "diff_url": "https://github.com/huggingface/transformers/pull/7469.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7469.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7468
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7468/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7468/comments
https://api.github.com/repos/huggingface/transformers/issues/7468/events
https://github.com/huggingface/transformers/pull/7468
711,670,824
MDExOlB1bGxSZXF1ZXN0NDk1MjgzNDcx
7,468
Create README.md
{ "login": "allenyummy", "id": 36063123, "node_id": "MDQ6VXNlcjM2MDYzMTIz", "avatar_url": "https://avatars.githubusercontent.com/u/36063123?v=4", "gravatar_id": "", "url": "https://api.github.com/users/allenyummy", "html_url": "https://github.com/allenyummy", "followers_url": "https://api.github.com/use...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,601
1,601
1,601
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/7468/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7468/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7468", "html_url": "https://github.com/huggingface/transformers/pull/7468", "diff_url": "https://github.com/huggingface/transformers/pull/7468.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7468.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7467
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7467/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7467/comments
https://api.github.com/repos/huggingface/transformers/issues/7467/events
https://github.com/huggingface/transformers/pull/7467
711,644,792
MDExOlB1bGxSZXF1ZXN0NDk1MjYyMDgw
7,467
[s2sTrainer] test + code cleanup
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
CONTRIBUTOR
null
- add a 10 second test for Seq2SeqTrainer - general code cleanup - pass `data_args` to Seq2SeqTrainer @patil-suraj
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7467/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7467/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7467", "html_url": "https://github.com/huggingface/transformers/pull/7467", "diff_url": "https://github.com/huggingface/transformers/pull/7467.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7467.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7466
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7466/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7466/comments
https://api.github.com/repos/huggingface/transformers/issues/7466/events
https://github.com/huggingface/transformers/issues/7466
711,606,923
MDU6SXNzdWU3MTE2MDY5MjM=
7,466
Seq2SeqTrainer: add a fast test that doesn't learn anything but can run on CPU
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "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
[]
[ "I'll take it :)", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,607
1,607
CONTRIBUTOR
null
@patil-suraj do you want to take this or should I?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7466/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7466/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7465
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7465/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7465/comments
https://api.github.com/repos/huggingface/transformers/issues/7465/events
https://github.com/huggingface/transformers/issues/7465
711,587,084
MDU6SXNzdWU3MTE1ODcwODQ=
7,465
RAG - reproducing RAG-Sequence QA score
{ "login": "acslk", "id": 11131839, "node_id": "MDQ6VXNlcjExMTMxODM5", "avatar_url": "https://avatars.githubusercontent.com/u/11131839?v=4", "gravatar_id": "", "url": "https://api.github.com/users/acslk", "html_url": "https://github.com/acslk", "followers_url": "https://api.github.com/users/acslk/follow...
[ { "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
{ "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...
[ "Gently pinging @ola13 here, she probably knows best which command to run to reproduce the eval results :-) ", "Hi @acslk, thanks for your post!\r\n\r\nYou should be able to reproduce paper results for the RAG Token model (44.1 EM on NQ) by evaluating `facebook/rag-token-nq` with 20 docs.\r\n\r\nAs for the RAG Se...
1,601
1,607
1,607
NONE
null
I'm trying to reproduce RAG-Sequence NQ score of 44.5 presented in Table 1 of the paper at https://arxiv.org/abs/2005.11401. I used the command in the examples/rag readme ```bash python examples/rag/eval_rag.py \ --model_name_or_path facebook/rag-sequence-nq \ --model_type rag_sequence \ --evaluatio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7465/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7465/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7464
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7464/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7464/comments
https://api.github.com/repos/huggingface/transformers/issues/7464/events
https://github.com/huggingface/transformers/pull/7464
711,528,345
MDExOlB1bGxSZXF1ZXN0NDk1MTY4MTU2
7,464
Remove config assumption in Trainer
{ "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,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? This PR tries to limit the access to `model.config` in `Trainer` to the minimum so that it works with regular PyTorch modules (as long as they accept dict inputs and return loss first like our models). The most challenging part was the storing/restoring of the `total_flos`, which I moved to t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7464/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7464/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7464", "html_url": "https://github.com/huggingface/transformers/pull/7464", "diff_url": "https://github.com/huggingface/transformers/pull/7464.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7464.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7463
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7463/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7463/comments
https://api.github.com/repos/huggingface/transformers/issues/7463/events
https://github.com/huggingface/transformers/pull/7463
711,468,382
MDExOlB1bGxSZXF1ZXN0NDk1MTE4MDEz
7,463
Trainer should not modify its TrainingArguments
{ "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
[]
[ "Shouldn't we have a properly-typed self.state on the Trainer instance? I always find assigning instance properties within the code a bit messy", "We can put everything in the new `TrainerState`. I just did the same as for `self.epoch` or `self.global_step` (and there are plenty more).", "Yes I think that’d be ...
1,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? This fixes a bug that took me some time to track in a notebook with several trainings. The bottom line is that `Trainer` should not modify its `TrainingArguments` so this fixes that part by saving the number of `max_steps` desired in the state instead of in the args. Also storing the number o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7463/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/7463/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7463", "html_url": "https://github.com/huggingface/transformers/pull/7463", "diff_url": "https://github.com/huggingface/transformers/pull/7463.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7463.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7462
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7462/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7462/comments
https://api.github.com/repos/huggingface/transformers/issues/7462/events
https://github.com/huggingface/transformers/issues/7462
711,463,321
MDU6SXNzdWU3MTE0NjMzMjE=
7,462
RAG - how to precompute custom document index?
{ "login": "aced125", "id": 44452903, "node_id": "MDQ6VXNlcjQ0NDUyOTAz", "avatar_url": "https://avatars.githubusercontent.com/u/44452903?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aced125", "html_url": "https://github.com/aced125", "followers_url": "https://api.github.com/users/aced12...
[ { "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
[]
[ "Second this. \r\n\r\nhttps://github.com/deepset-ai/haystack may be useful to you. They leverage huggingface and have an DPR implementation with an end-to-end example. Will not be surprised to see RAG implemented soon.\r\n", "@Weilin37 Thanks. I'm also looking at the Faiss docs now (https://github.com/facebookres...
1,601
1,611
1,608
NONE
null
Was wondering if there was any code snippet / blog post showing how one could load their own documents and index them, so they can be used by the RAG retriever. Cheers!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7462/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7462/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7461
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7461/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7461/comments
https://api.github.com/repos/huggingface/transformers/issues/7461/events
https://github.com/huggingface/transformers/pull/7461
711,457,731
MDExOlB1bGxSZXF1ZXN0NDk1MTA5NjMx
7,461
Distributed Trainer: 2 little fixes
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "Can we see when the config is accessed (in your error message)? `model.config` should be accessed as sparsely as possible in `Trainer` to work with any kind of model and I'll probably remove the requirement entirely soon.", "`Seq2SeqTrainer` uses model.config 8 times. Mostly `pad_token_id` to avoid counting padd...
1,601
1,601
1,601
CONTRIBUTOR
null
1) fix DDP access to `model.config`. We could also set `self.config = model.config` earlier in `__init__` 2) switch torch.Tensor -> torch.tensor. The latter "infers the dtype automatically" After which the command in #7460 works. CC @patil-suraj , @TevenLeScao
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7461/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7461/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7461", "html_url": "https://github.com/huggingface/transformers/pull/7461", "diff_url": "https://github.com/huggingface/transformers/pull/7461.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7461.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7460
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7460/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7460/comments
https://api.github.com/repos/huggingface/transformers/issues/7460/events
https://github.com/huggingface/transformers/issues/7460
711,457,401
MDU6SXNzdWU3MTE0NTc0MDE=
7,460
Seq2SeqTrainer Distributed: AttributeError and the RuntimeError
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "@sgugger After that bug fix, the next bug is:\r\n```\r\nRuntimeError: Precision loss when unpacking double\r\n tensorized_scalar = torch.Tensor(scalars).cuda()\r\nRuntimeError: Precision loss when unpacking double\r\nTraceback (most recent call last):\r\n File \"finetune_trainer.py\", line 442, in <module>\r\n...
1,601
1,601
1,601
CONTRIBUTOR
null
The following command (on 8 GPUS) fails with ```python AttributeError: DistributedDataParallel has no attribute "config" ``` ### Command ```bash export WANDB_PROJECT=dmar export BS=64 export GAS=1 export m=sshleifer/student_marian_en_ro_6_3 export MAX_LEN=128 python -m torch.distributed.launch --nproc_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7460/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7460/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7459
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7459/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7459/comments
https://api.github.com/repos/huggingface/transformers/issues/7459/events
https://github.com/huggingface/transformers/pull/7459
711,410,481
MDExOlB1bGxSZXF1ZXN0NDk1MDcwNjg5
7,459
Update README.md
{ "login": "mar-muel", "id": 19345805, "node_id": "MDQ6VXNlcjE5MzQ1ODA1", "avatar_url": "https://avatars.githubusercontent.com/u/19345805?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mar-muel", "html_url": "https://github.com/mar-muel", "followers_url": "https://api.github.com/users/mar...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "Thanks! FYI we'll have proper model versioning in ~1 month or so" ]
1,601
1,601
1,601
CONTRIBUTOR
null
Update/reference v2 model
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7459/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7459/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7459", "html_url": "https://github.com/huggingface/transformers/pull/7459", "diff_url": "https://github.com/huggingface/transformers/pull/7459.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7459.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7458
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7458/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7458/comments
https://api.github.com/repos/huggingface/transformers/issues/7458/events
https://github.com/huggingface/transformers/pull/7458
711,330,163
MDExOlB1bGxSZXF1ZXN0NDk1MDAzNTIw
7,458
Fix Trainer tests in a multiGPU env
{ "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,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? Should fix the multiple GPU CI test (tests are passing locally). Will merge as soon as the CI passes to make the CI green.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7458/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7458/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7458", "html_url": "https://github.com/huggingface/transformers/pull/7458", "diff_url": "https://github.com/huggingface/transformers/pull/7458.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7458.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7457
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7457/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7457/comments
https://api.github.com/repos/huggingface/transformers/issues/7457/events
https://github.com/huggingface/transformers/pull/7457
711,316,333
MDExOlB1bGxSZXF1ZXN0NDk0OTkyMTA4
7,457
Get a better error when check_copies fails
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7457?src=pr&el=h1) Report\n> Merging [#7457](https://codecov.io/gh/huggingface/transformers/pull/7457?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/52e8392b7ebd4ebc7b796e8f14b9dae271139f5f?el=desc) will **increase...
1,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? Prints a cleaner error message when `check_copies.py` encounters a bad copy.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7457/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7457/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7457", "html_url": "https://github.com/huggingface/transformers/pull/7457", "diff_url": "https://github.com/huggingface/transformers/pull/7457.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7457.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7456
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7456/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7456/comments
https://api.github.com/repos/huggingface/transformers/issues/7456/events
https://github.com/huggingface/transformers/pull/7456
711,315,263
MDExOlB1bGxSZXF1ZXN0NDk0OTkxMjEz
7,456
Catch import datasets common errors
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7456?src=pr&el=h1) Report\n> Merging [#7456](https://codecov.io/gh/huggingface/transformers/pull/7456?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/52e8392b7ebd4ebc7b796e8f14b9dae271139f5f?el=desc) will **decrease...
1,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? This PR adds more checks when trying to import datasets to check we actually are using the datasets library and not a local folder/module. Fixes #7430
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7456/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/7456/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7456", "html_url": "https://github.com/huggingface/transformers/pull/7456", "diff_url": "https://github.com/huggingface/transformers/pull/7456.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7456.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7455
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7455/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7455/comments
https://api.github.com/repos/huggingface/transformers/issues/7455/events
https://github.com/huggingface/transformers/pull/7455
711,302,449
MDExOlB1bGxSZXF1ZXN0NDk0OTgwNjAz
7,455
Adding the Streamlit demo app code for the RAG model
{ "login": "yjernite", "id": 10469459, "node_id": "MDQ6VXNlcjEwNDY5NDU5", "avatar_url": "https://avatars.githubusercontent.com/u/10469459?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yjernite", "html_url": "https://github.com/yjernite", "followers_url": "https://api.github.com/users/yje...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7455?src=pr&el=h1) Report\n> Merging [#7455](https://codecov.io/gh/huggingface/transformers/pull/7455?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9e9a1fb8c75e2ef00fea9c4c0dc511fc0178081c?el=desc) will **increase...
1,601
1,619
1,619
MEMBER
null
# Adding RAG demo code This PR shares the code for the RAG demo running [here](https://huggingface.co/rag/) for future reference. The code is added in `examples/rag`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7455/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7455/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7455", "html_url": "https://github.com/huggingface/transformers/pull/7455", "diff_url": "https://github.com/huggingface/transformers/pull/7455.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7455.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7454
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7454/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7454/comments
https://api.github.com/repos/huggingface/transformers/issues/7454/events
https://github.com/huggingface/transformers/issues/7454
711,284,145
MDU6SXNzdWU3MTEyODQxNDU=
7,454
Seq2seq example for T5 keeps on generating warning
{ "login": "amanpreet692", "id": 42522643, "node_id": "MDQ6VXNlcjQyNTIyNjQz", "avatar_url": "https://avatars.githubusercontent.com/u/42522643?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amanpreet692", "html_url": "https://github.com/amanpreet692", "followers_url": "https://api.github.c...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "Yes, great PR! Send it and tag me!\r\nBonus points for adding a test that used to break but now doesn't maybe to seq2seq/test_datasets.py", "Here you go! #7470 Added a simple test case as well to test the arguments that would be sent to collate() " ]
1,601
1,601
1,601
CONTRIBUTOR
null
In the latest version from Master, on running finetune.sh for T5, was getting the following warning continuously: **Keyword arguments {'src_lang':None,'tgt_lang':None,'add_prefix_space':False} not recognized.** I found out this is because the translation and BART parameters are being passed to prepare_seq2seq_batch...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7454/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/7454/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7453
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7453/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7453/comments
https://api.github.com/repos/huggingface/transformers/issues/7453/events
https://github.com/huggingface/transformers/pull/7453
711,168,393
MDExOlB1bGxSZXF1ZXN0NDk0ODc0NjA4
7,453
Multi-GPU Testing setup
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7453?src=pr&el=h1) Report\n> Merging [#7453](https://codecov.io/gh/huggingface/transformers/pull/7453?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1fc4de69ed024e18b88cb6f040021630599de2f7?el=desc) will **decrease...
1,601
1,601
1,601
MEMBER
null
# What does this PR do? This PR contributes a testing suite that runs on a multi-GPU machine. The machine has two T4 GPUs (better than k80 in almost every way, and cheaper), and the testing suite is identical to the single-GPU machine testing suite. Two jobs are run: - One job on each commit to the `master` branch...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7453/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7453/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7453", "html_url": "https://github.com/huggingface/transformers/pull/7453", "diff_url": "https://github.com/huggingface/transformers/pull/7453.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7453.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7452
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7452/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7452/comments
https://api.github.com/repos/huggingface/transformers/issues/7452/events
https://github.com/huggingface/transformers/pull/7452
711,077,815
MDExOlB1bGxSZXF1ZXN0NDk0ODA0MjIx
7,452
LayoutLM: add exception handling for bbox values
{ "login": "av-maslov", "id": 71869629, "node_id": "MDQ6VXNlcjcxODY5NjI5", "avatar_url": "https://avatars.githubusercontent.com/u/71869629?v=4", "gravatar_id": "", "url": "https://api.github.com/users/av-maslov", "html_url": "https://github.com/av-maslov", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7452?src=pr&el=h1) Report\n> Merging [#7452](https://codecov.io/gh/huggingface/transformers/pull/7452?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1fc4de69ed024e18b88cb6f040021630599de2f7?el=desc) will **decrease...
1,601
1,601
1,601
CONTRIBUTOR
null
# What does this PR do? Fixes unhandled error when trying to use bbox balues greater than maximum allowed threshold 1000. To replicate error: - In `test_modelling_layoutlm.py` set `range_bbox=1025`, i.e. greater 1024 - Run `pytest tests/test_modeling_layoutlm.py` Requirement for bbox values to be within the r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7452/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7452/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7452", "html_url": "https://github.com/huggingface/transformers/pull/7452", "diff_url": "https://github.com/huggingface/transformers/pull/7452.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7452.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7451
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7451/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7451/comments
https://api.github.com/repos/huggingface/transformers/issues/7451/events
https://github.com/huggingface/transformers/issues/7451
711,075,550
MDU6SXNzdWU3MTEwNzU1NTA=
7,451
T5 unsupervised training
{ "login": "amlarraz", "id": 17318832, "node_id": "MDQ6VXNlcjE3MzE4ODMy", "avatar_url": "https://avatars.githubusercontent.com/u/17318832?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amlarraz", "html_url": "https://github.com/amlarraz", "followers_url": "https://api.github.com/users/aml...
[]
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...
[ "__UPDATE:__\r\n\r\nI'm trying to make my own masking_function for this task. According with the T5 original paper, if you have two consecutive tokens to masking you must mask them using only one sentinel token so I need a function that searches the consecutive tokens (\"rachas\" in my language) in the random indic...
1,601
1,603
1,603
NONE
null
I want to train T5 in a new language from scratch an I think the best way to do this is through the unsupervised denoising task (because you can have all text you want! no labels required! hurra!) However I have some doubts, I've seen [the HuggingFace documentation about this](https://huggingface.co/transformers/m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7451/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7451/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7450
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7450/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7450/comments
https://api.github.com/repos/huggingface/transformers/issues/7450/events
https://github.com/huggingface/transformers/pull/7450
710,977,160
MDExOlB1bGxSZXF1ZXN0NDk0NzI2OTg1
7,450
deleted
{ "login": "av-maslov", "id": 71869629, "node_id": "MDQ6VXNlcjcxODY5NjI5", "avatar_url": "https://avatars.githubusercontent.com/u/71869629?v=4", "gravatar_id": "", "url": "https://api.github.com/users/av-maslov", "html_url": "https://github.com/av-maslov", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7450?src=pr&el=h1) Report\n> Merging [#7450](https://codecov.io/gh/huggingface/transformers/pull/7450?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1fc4de69ed024e18b88cb6f040021630599de2f7?el=desc) will **decrease...
1,601
1,601
1,601
CONTRIBUTOR
null
Deleted
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7450/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7450/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7450", "html_url": "https://github.com/huggingface/transformers/pull/7450", "diff_url": "https://github.com/huggingface/transformers/pull/7450.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7450.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7449
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7449/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7449/comments
https://api.github.com/repos/huggingface/transformers/issues/7449/events
https://github.com/huggingface/transformers/issues/7449
710,942,212
MDU6SXNzdWU3MTA5NDIyMTI=
7,449
What's the most straightforward way to initialise BertForSequenceClassification for different token rather than [CLS]?
{ "login": "amirj", "id": 1645137, "node_id": "MDQ6VXNlcjE2NDUxMzc=", "avatar_url": "https://avatars.githubusercontent.com/u/1645137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amirj", "html_url": "https://github.com/amirj", "followers_url": "https://api.github.com/users/amirj/follower...
[ { "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 because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,607
1,607
NONE
null
# ❓ Questions & Help ## Details BertForSequenceClassification uses [CLS] token's representation to feed a linear classifier. I want to leverage another token (say [X] in the input sequence) rather than [CLS]. What's the most straightforward way to implement that in Transformers? **A link to original question on ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7449/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7449/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7448
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7448/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7448/comments
https://api.github.com/repos/huggingface/transformers/issues/7448/events
https://github.com/huggingface/transformers/issues/7448
710,940,069
MDU6SXNzdWU3MTA5NDAwNjk=
7,448
v3.3.0 - Issue with name conflict in transformers & datasets - AttributeError: module 'datasets' has no attribute '__version__'
{ "login": "nreimers", "id": 10706961, "node_id": "MDQ6VXNlcjEwNzA2OTYx", "avatar_url": "https://avatars.githubusercontent.com/u/10706961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nreimers", "html_url": "https://github.com/nreimers", "followers_url": "https://api.github.com/users/nre...
[]
closed
false
null
[]
[ "Indeed we'll fix this and release a patch soon.", "The bug has been fixed in #7456 and v3.3.1 is out with this fix. The problem should be solved for now, let us know if that's not the case!", "Great, thanks for the quick fix and release of a new version.\r\n\r\nIt is now working fine in my case :)", "I had t...
1,601
1,601
1,601
CONTRIBUTOR
null
Version 3.3.0 tries to import the module [datasets](https://pypi.org/project/datasets/): https://github.com/huggingface/transformers/blob/v3.3.0/src/transformers/file_utils.py#L69 However, this can cause some undesirable behavior if there is a "datasets" folder in the same folder. An example to re-produce the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7448/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/7448/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7447
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7447/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7447/comments
https://api.github.com/repos/huggingface/transformers/issues/7447/events
https://github.com/huggingface/transformers/issues/7447
710,916,689
MDU6SXNzdWU3MTA5MTY2ODk=
7,447
Getting Bert Embeddings in Batch
{ "login": "ChawlaAvi", "id": 36801774, "node_id": "MDQ6VXNlcjM2ODAxNzc0", "avatar_url": "https://avatars.githubusercontent.com/u/36801774?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ChawlaAvi", "html_url": "https://github.com/ChawlaAvi", "followers_url": "https://api.github.com/users/...
[ { "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 because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,607
1,607
NONE
null
Hi all I have a list of sentences(a batch during training) and for every word in each sentence, I need an aligned bert embedding which should be the mean of every word-piece that word was split into. Right now, I am doing it sentence by sentence and obtain the aligned embedding for every word by reiterating over ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7447/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7447/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7446
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7446/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7446/comments
https://api.github.com/repos/huggingface/transformers/issues/7446/events
https://github.com/huggingface/transformers/pull/7446
710,878,098
MDExOlB1bGxSZXF1ZXN0NDk0NjQ5OTkx
7,446
Adding gradient checkpointing to GPT2
{ "login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7446?src=pr&el=h1) Report\n> Merging [#7446](https://codecov.io/gh/huggingface/transformers/pull/7446?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7dfdf793bb5e3a865f33ed597b10fc4526364af9?el=desc) will **decrease...
1,601
1,601
1,601
CONTRIBUTOR
null
This PR adds gradient checkpointing capabilities to GPT-2, imitating the Longformer and Bert checkpointing code. It also disables `find_unused_parameters` in Trainer if the model is using gradient checkpointing, as per #4659 they are incompatible.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7446/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7446/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7446", "html_url": "https://github.com/huggingface/transformers/pull/7446", "diff_url": "https://github.com/huggingface/transformers/pull/7446.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7446.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7445
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7445/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7445/comments
https://api.github.com/repos/huggingface/transformers/issues/7445/events
https://github.com/huggingface/transformers/pull/7445
710,829,161
MDExOlB1bGxSZXF1ZXN0NDk0NjEwMTE0
7,445
Add is_split_into_words as an argument to tokenize
{ "login": "madaan", "id": 1304693, "node_id": "MDQ6VXNlcjEzMDQ2OTM=", "avatar_url": "https://avatars.githubusercontent.com/u/1304693?v=4", "gravatar_id": "", "url": "https://api.github.com/users/madaan", "html_url": "https://github.com/madaan", "followers_url": "https://api.github.com/users/madaan/foll...
[]
closed
false
null
[]
[ "The failing test `FAILED tests/test_pipelines.py::MonoColumnInputTestCase::test_tf_text_generation` passes locally for me.", "The `is_split_into_words` flag means that instead of passing a string defining a sequence: `This happened to me`, you're instead passing an array of words: `['This', 'happened', 'to', 'me...
1,601
1,601
1,601
CONTRIBUTOR
null
# What does this PR do? Two calls to `self.tokenize` in `tokenization_utils.py` were missing the argument `is_split_into_words`. Since `is_split_into_words` is not present in the `kwargs`, `self.tokenize` resorts to the default behavior of not adding a space before every word. This PR fixes this issue by adding the m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7445/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7445/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7445", "html_url": "https://github.com/huggingface/transformers/pull/7445", "diff_url": "https://github.com/huggingface/transformers/pull/7445.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7445.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7444
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7444/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7444/comments
https://api.github.com/repos/huggingface/transformers/issues/7444/events
https://github.com/huggingface/transformers/pull/7444
710,819,893
MDExOlB1bGxSZXF1ZXN0NDk0NjAyNTQw
7,444
Update README.md
{ "login": "gianfrancobarone", "id": 18675023, "node_id": "MDQ6VXNlcjE4Njc1MDIz", "avatar_url": "https://avatars.githubusercontent.com/u/18675023?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gianfrancobarone", "html_url": "https://github.com/gianfrancobarone", "followers_url": "https://...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7444?src=pr&el=h1) Report\n> Merging [#7444](https://codecov.io/gh/huggingface/transformers/pull/7444?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/74d8d69bd42c253c255dc69904ee1fbd1eece0cf?el=desc) will **increase...
1,601
1,601
1,601
CONTRIBUTOR
null
Hi, just corrected the example code, add 2 links and fixed some typos # 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 reflect...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7444/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7444/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7444", "html_url": "https://github.com/huggingface/transformers/pull/7444", "diff_url": "https://github.com/huggingface/transformers/pull/7444.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7444.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7443
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7443/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7443/comments
https://api.github.com/repos/huggingface/transformers/issues/7443/events
https://github.com/huggingface/transformers/issues/7443
710,797,171
MDU6SXNzdWU3MTA3OTcxNzE=
7,443
Error training GPT-2 from scratch on Hindi
{ "login": "parthplc", "id": 35425925, "node_id": "MDQ6VXNlcjM1NDI1OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/35425925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/parthplc", "html_url": "https://github.com/parthplc", "followers_url": "https://api.github.com/users/par...
[]
closed
false
null
[]
[ "You seem to have a `\"model_type\": \"albert\"` in your config.json which should be a `gpt2`.\r\n\r\nAlso, I would suggest using the Trainer directly instead of shelling out to `run_language_modeling.py`, as described in https://colab.research.google.com/github/huggingface/blog/blob/master/notebooks/01_how_to_trai...
1,601
1,601
1,601
NONE
null
I was trying to retrain GPT-2 from scratch. I was able able to train a tokenizer but was facing issues while running run_language_modeling.py. ``` 2020-09-29 06:00:14.450718: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1 /usr/local/lib/python3.6...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7443/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7443/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7442
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7442/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7442/comments
https://api.github.com/repos/huggingface/transformers/issues/7442/events
https://github.com/huggingface/transformers/issues/7442
710,778,943
MDU6SXNzdWU3MTA3Nzg5NDM=
7,442
Setting up transformers/examples/seq2seq
{ "login": "jsrozner", "id": 1113285, "node_id": "MDQ6VXNlcjExMTMyODU=", "avatar_url": "https://avatars.githubusercontent.com/u/1113285?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jsrozner", "html_url": "https://github.com/jsrozner", "followers_url": "https://api.github.com/users/jsroz...
[ { "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 install those libraries by doing `pip install -r requirements.txt` in the `transformers/examples` folder!", "Aha, thank you! \r\n\r\nCould I submit a pull request with updates to the README as I go through and encounter these little snags?\r\n\r\nAlso, is there a reason that the README in the examples/se...
1,601
1,607
1,607
CONTRIBUTOR
null
@sshleifer I'm following the instructions in the README for seq2seq. In particular, I forked, cloned, and then ran "pip install -e ." But then when I tried to run finetune.sh, a number of libraries had not been installed. I had to just manually install them with pip (e.g. rouge_score, git, sacrebleu). Should th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7442/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7442/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7441
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7441/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7441/comments
https://api.github.com/repos/huggingface/transformers/issues/7441/events
https://github.com/huggingface/transformers/issues/7441
710,739,386
MDU6SXNzdWU3MTA3MzkzODY=
7,441
Faced the TypeError:forward() got an unexpected keyword argument 'output_all_encoded_layers'
{ "login": "SUFEHeisenberg", "id": 44188955, "node_id": "MDQ6VXNlcjQ0MTg4OTU1", "avatar_url": "https://avatars.githubusercontent.com/u/44188955?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SUFEHeisenberg", "html_url": "https://github.com/SUFEHeisenberg", "followers_url": "https://api.gi...
[ { "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
[]
[ "I think you're using a script that's intended to be used with a different library. The argument `output_all_encoded_layers ` does not exist with `transformers`, it is named `output_hidden_states`.", "Thanks a Lot, I will check it.", "This issue has been automatically marked as stale because it has not had rece...
1,601
1,607
1,607
NONE
null
## Environment info - `transformers` version: 3.0.2 - Platform: Windows-10-10.0.18362-SP0 - Python version: 3.7.3 - PyTorch version (GPU?): 1.1.0 (True) - Tensorflow version (GPU?): 2.2.0 (False) - Using GPU in script?: <fill in> - Using distributed or parallel set-up in script?: <fill in> ### Who can help <...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7441/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7441/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7440
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7440/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7440/comments
https://api.github.com/repos/huggingface/transformers/issues/7440/events
https://github.com/huggingface/transformers/pull/7440
710,722,053
MDExOlB1bGxSZXF1ZXN0NDk0NTIwMTkw
7,440
creating readme for bert-base-mongolian-uncased
{ "login": "bayartsogt-ya", "id": 43239645, "node_id": "MDQ6VXNlcjQzMjM5NjQ1", "avatar_url": "https://avatars.githubusercontent.com/u/43239645?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bayartsogt-ya", "html_url": "https://github.com/bayartsogt-ya", "followers_url": "https://api.githu...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7440?src=pr&el=h1) Report\n> Merging [#7440](https://codecov.io/gh/huggingface/transformers/pull/7440?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/74d8d69bd42c253c255dc69904ee1fbd1eece0cf?el=desc) will **decrease...
1,601
1,601
1,601
CONTRIBUTOR
null
I am adding the model card for bert-base mongolian uncased. Can you review this for me please!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7440/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7440/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7440", "html_url": "https://github.com/huggingface/transformers/pull/7440", "diff_url": "https://github.com/huggingface/transformers/pull/7440.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7440.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7439
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7439/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7439/comments
https://api.github.com/repos/huggingface/transformers/issues/7439/events
https://github.com/huggingface/transformers/pull/7439
710,720,918
MDExOlB1bGxSZXF1ZXN0NDk0NTE5MjQ5
7,439
Creating readme for bert-base-mongolian-cased
{ "login": "bayartsogt-ya", "id": 43239645, "node_id": "MDQ6VXNlcjQzMjM5NjQ1", "avatar_url": "https://avatars.githubusercontent.com/u/43239645?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bayartsogt-ya", "html_url": "https://github.com/bayartsogt-ya", "followers_url": "https://api.githu...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7439?src=pr&el=h1) Report\n> Merging [#7439](https://codecov.io/gh/huggingface/transformers/pull/7439?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/74d8d69bd42c253c255dc69904ee1fbd1eece0cf?el=desc) will **increase...
1,601
1,601
1,601
CONTRIBUTOR
null
I am adding pretrained BERT-base models to model hub. Please review this for me
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7439/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7439/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7439", "html_url": "https://github.com/huggingface/transformers/pull/7439", "diff_url": "https://github.com/huggingface/transformers/pull/7439.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7439.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7438
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7438/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7438/comments
https://api.github.com/repos/huggingface/transformers/issues/7438/events
https://github.com/huggingface/transformers/issues/7438
710,660,603
MDU6SXNzdWU3MTA2NjA2MDM=
7,438
CUDA out of memory (ALBERT) - run_squad.py ignores --per_gpu_train_batch_size
{ "login": "chbensch", "id": 7063207, "node_id": "MDQ6VXNlcjcwNjMyMDc=", "avatar_url": "https://avatars.githubusercontent.com/u/7063207?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chbensch", "html_url": "https://github.com/chbensch", "followers_url": "https://api.github.com/users/chben...
[]
closed
false
null
[]
[ "Do you get the same error when using a batch size of 1?", "Thanks, with a batch size of 1 it works! \r\n\r\nI never thought that even the \"A light BERT\" models are so big. :)", "The `large` \"light BERT\" model is quite large indeed ;) The `base` model is smaller if you want to use bigger batch sizes." ]
1,601
1,601
1,601
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.3.0 - Platform: Colab Pro (P100) / Anaconda (Windows / 2080 Ti) - Python version: 3.6 - PyTorch versi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7438/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7438/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7437
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7437/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7437/comments
https://api.github.com/repos/huggingface/transformers/issues/7437/events
https://github.com/huggingface/transformers/issues/7437
710,603,700
MDU6SXNzdWU3MTA2MDM3MDA=
7,437
RAG Retriever (NameError: name 'load_dataset' is not defined in retrieval_rag.py)
{ "login": "kliuPIDS", "id": 69916756, "node_id": "MDQ6VXNlcjY5OTE2NzU2", "avatar_url": "https://avatars.githubusercontent.com/u/69916756?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kliuPIDS", "html_url": "https://github.com/kliuPIDS", "followers_url": "https://api.github.com/users/kli...
[ { "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
[]
[ "Try with `pip install transformers datasets faiss-cpu psutil` (or see the [requirements.txt](https://github.com/huggingface/transformers/blob/master/examples/rag/requirements.txt) file).\r\n\r\nHad the same issue and it fixed it for me.", "This issue has been automatically marked as stale because it has not had ...
1,601
1,607
1,607
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.3.0 - Platform: Linux-4.19.0-11-cloud-amd64-x86_64-with-debian-10.6 - Python version: 3.7.3 - PyTorch...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7437/reactions", "total_count": 3, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/7437/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7436
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7436/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7436/comments
https://api.github.com/repos/huggingface/transformers/issues/7436/events
https://github.com/huggingface/transformers/pull/7436
710,578,064
MDExOlB1bGxSZXF1ZXN0NDk0NDAyMTE4
7,436
Create README.md
{ "login": "typicasoft", "id": 19326612, "node_id": "MDEyOk9yZ2FuaXphdGlvbjE5MzI2NjEy", "avatar_url": "https://avatars.githubusercontent.com/u/19326612?v=4", "gravatar_id": "", "url": "https://api.github.com/users/typicasoft", "html_url": "https://github.com/typicasoft", "followers_url": "https://api.gi...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7436?src=pr&el=h1) Report\n> Merging [#7436](https://codecov.io/gh/huggingface/transformers/pull/7436?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a1a8ffa5126ced93c12dfb677cbe3a069f48dcf3?el=desc) will **increase...
1,601
1,601
1,601
NONE
null
MagBERT-NER : Added widget (Text)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7436/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7436/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7436", "html_url": "https://github.com/huggingface/transformers/pull/7436", "diff_url": "https://github.com/huggingface/transformers/pull/7436.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7436.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7435
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7435/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7435/comments
https://api.github.com/repos/huggingface/transformers/issues/7435/events
https://github.com/huggingface/transformers/pull/7435
710,552,319
MDExOlB1bGxSZXF1ZXN0NDk0MzgwNTc3
7,435
[s2s] consistent output format across eval scripts
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7435?src=pr&el=h1) Report\n> Merging [#7435](https://codecov.io/gh/huggingface/transformers/pull/7435?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7f4115c0990b5121878e38069d386f168fac6b7b?el=desc) will **increase...
1,601
1,601
1,601
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7435/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7435/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7435", "html_url": "https://github.com/huggingface/transformers/pull/7435", "diff_url": "https://github.com/huggingface/transformers/pull/7435.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7435.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7434
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7434/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7434/comments
https://api.github.com/repos/huggingface/transformers/issues/7434/events
https://github.com/huggingface/transformers/pull/7434
710,547,176
MDExOlB1bGxSZXF1ZXN0NDk0Mzc2MzY0
7,434
Document new features of make fixup
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7434?src=pr&el=h1) Report\n> Merging [#7434](https://codecov.io/gh/huggingface/transformers/pull/7434?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a1a8ffa5126ced93c12dfb677cbe3a069f48dcf3?el=desc) will **increase...
1,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? This is a small follow-up on #7403 documenting the behavior it introduced, as instructed by @stas00.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7434/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/7434/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7434", "html_url": "https://github.com/huggingface/transformers/pull/7434", "diff_url": "https://github.com/huggingface/transformers/pull/7434.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7434.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7433
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7433/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7433/comments
https://api.github.com/repos/huggingface/transformers/issues/7433/events
https://github.com/huggingface/transformers/pull/7433
710,545,471
MDExOlB1bGxSZXF1ZXN0NDk0Mzc0OTcx
7,433
Add a code of conduct
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7433?src=pr&el=h1) Report\n> Merging [#7433](https://codecov.io/gh/huggingface/transformers/pull/7433?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a1a8ffa5126ced93c12dfb677cbe3a069f48dcf3?el=desc) will **decrease...
1,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? This PR adds a code of conduct to the project, inspired by the [Contributor Covenant](https://www.contributor-covenant.org/). To make it clearly visible it also adds: - a badge that displays under Transformers on the main README. - a link in the contributing guide.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7433/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7433/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7433", "html_url": "https://github.com/huggingface/transformers/pull/7433", "diff_url": "https://github.com/huggingface/transformers/pull/7433.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7433.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7432
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7432/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7432/comments
https://api.github.com/repos/huggingface/transformers/issues/7432/events
https://github.com/huggingface/transformers/issues/7432
710,529,305
MDU6SXNzdWU3MTA1MjkzMDU=
7,432
Fine-tune BERTForMaskedLM
{ "login": "naturecreator", "id": 39854185, "node_id": "MDQ6VXNlcjM5ODU0MTg1", "avatar_url": "https://avatars.githubusercontent.com/u/39854185?v=4", "gravatar_id": "", "url": "https://api.github.com/users/naturecreator", "html_url": "https://github.com/naturecreator", "followers_url": "https://api.githu...
[ { "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
[]
[ "Can you try removing spaces between `--model_type`, `=` and `bert`? Same for `--model_name_or_path `, `=` and `bert-base-cased`", "@LysandreJik Yes, it works now. Thank you :). \r\n\r\nI tried the [example ](https://github.com/huggingface/transformers/tree/master/examples/language-modeling) as it is with the sam...
1,601
1,669
1,607
NONE
null
Hello, I am doing a project on spelling correction. I used pre-trained "bert-base-cased" model. However, the results are not that accurate. Therefore, I planned to fine-tune the BERT for Masked LM task. I couldn't find any examples for fine-tuning BERT model for Masked LM. I tried to use "run_language_modeling.py" f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7432/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7432/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7431
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7431/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7431/comments
https://api.github.com/repos/huggingface/transformers/issues/7431/events
https://github.com/huggingface/transformers/pull/7431
710,528,036
MDExOlB1bGxSZXF1ZXN0NDk0MzYwNTI2
7,431
Add automatic best model loading to Trainer
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7431?src=pr&el=h1) Report\n> Merging [#7431](https://codecov.io/gh/huggingface/transformers/pull/7431?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f62f2ffdcc2df75cf01438bebc7ae281d921d21d?el=desc) will **increase...
1,601
1,601
1,601
COLLABORATOR
null
# What does this PR do? This PR cleans up a bit the part that saves the training state inside `Trainer` and adds an API that can track which was the best model during any of the evaluation phases to load it back at the end. When fine-tuning a model on a dataset that can easily overfit the model, it's quite common...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7431/reactions", "total_count": 6, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7431/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7431", "html_url": "https://github.com/huggingface/transformers/pull/7431", "diff_url": "https://github.com/huggingface/transformers/pull/7431.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7431.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7430
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7430/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7430/comments
https://api.github.com/repos/huggingface/transformers/issues/7430/events
https://github.com/huggingface/transformers/issues/7430
710,467,782
MDU6SXNzdWU3MTA0Njc3ODI=
7,430
import error in version 3.3.0, conflict with local directory "datasets"
{ "login": "nhsjgczryf", "id": 46837856, "node_id": "MDQ6VXNlcjQ2ODM3ODU2", "avatar_url": "https://avatars.githubusercontent.com/u/46837856?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nhsjgczryf", "html_url": "https://github.com/nhsjgczryf", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Sadly that is how python works, it will try to import the datasets library from a local folder if you have a folder named like this in the path your are working in. However, this should only work if there is a `__init__.py` in your folder named datasets. Removing that file should then solve the bug.", "This chan...
1,601
1,601
1,601
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.3.0 - Platform: Google Colab Model I am using :Bert ## To reproduce Steps to reproduce t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7430/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7430/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7429
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7429/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7429/comments
https://api.github.com/repos/huggingface/transformers/issues/7429/events
https://github.com/huggingface/transformers/pull/7429
710,441,241
MDExOlB1bGxSZXF1ZXN0NDk0Mjg5NTM1
7,429
Update README.md
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7429?src=pr&el=h1) Report\n> Merging [#7429](https://codecov.io/gh/huggingface/transformers/pull/7429?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f62f2ffdcc2df75cf01438bebc7ae281d921d21d?el=desc) will **decrease...
1,601
1,601
1,601
CONTRIBUTOR
null
Add links to models fine-tuned on a downstream task # 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 yo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7429/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7429/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7429", "html_url": "https://github.com/huggingface/transformers/pull/7429", "diff_url": "https://github.com/huggingface/transformers/pull/7429.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7429.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7428
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7428/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7428/comments
https://api.github.com/repos/huggingface/transformers/issues/7428/events
https://github.com/huggingface/transformers/pull/7428
710,426,530
MDExOlB1bGxSZXF1ZXN0NDk0Mjc3MTE2
7,428
Train T5 in Tensoflow 2 Community Notebook
{ "login": "HarrisDePerceptron", "id": 17620536, "node_id": "MDQ6VXNlcjE3NjIwNTM2", "avatar_url": "https://avatars.githubusercontent.com/u/17620536?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HarrisDePerceptron", "html_url": "https://github.com/HarrisDePerceptron", "followers_url": "ht...
[]
closed
false
null
[]
[ "Hello!\r\n\r\nThanks a lot for your awesome notebook! Just two tiny updates, can you clean your list of imports and use `datasets` instead of `tfds`?", "@jplu much appreciated. i will clean up the imports. by datasets do you mean an alias for tensorflow datasets instead of tfds?", "No, I mean using https://gi...
1,601
1,601
1,601
CONTRIBUTOR
null
# What does this PR do? This adds a link to **Training T5 in Tensoflow 2 Community Notebook** under the notebooks/Readme.md community notebook section. This notebook demonstrates how to train T5 for any task using Tensorflow 2. Trains a Question & Answer task implemented in Tensorflow 2 using SQUAD ## Before...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7428/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7428/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7428", "html_url": "https://github.com/huggingface/transformers/pull/7428", "diff_url": "https://github.com/huggingface/transformers/pull/7428.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7428.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7427
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7427/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7427/comments
https://api.github.com/repos/huggingface/transformers/issues/7427/events
https://github.com/huggingface/transformers/issues/7427
710,411,316
MDU6SXNzdWU3MTA0MTEzMTY=
7,427
Problem while using tokenizer.encode_plus for sentence pairs
{ "login": "rxlian", "id": 35382484, "node_id": "MDQ6VXNlcjM1MzgyNDg0", "avatar_url": "https://avatars.githubusercontent.com/u/35382484?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rxlian", "html_url": "https://github.com/rxlian", "followers_url": "https://api.github.com/users/rxlian/fo...
[ { "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
[]
[ "Could you provide some `seq0` and `seq1` values so that we may investigate further?", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,607
1,607
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7427/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7427/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7426
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7426/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7426/comments
https://api.github.com/repos/huggingface/transformers/issues/7426/events
https://github.com/huggingface/transformers/issues/7426
710,394,262
MDU6SXNzdWU3MTAzOTQyNjI=
7,426
[T5] Automatic setting of decoder_input_ids is misleading and does not correspond to the expected behavior of T5
{ "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
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[]
1,601
1,601
1,601
MEMBER
null
These lines: https://github.com/huggingface/transformers/blob/f62f2ffdcc2df75cf01438bebc7ae281d921d21d/src/transformers/modeling_t5.py#L1020 were added in this PR: https://github.com/huggingface/transformers/pull/5518 . @mfuntowicz - do we need this hack to make onnx work? I would prefer to revert this change. T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7426/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7426/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7425
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7425/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7425/comments
https://api.github.com/repos/huggingface/transformers/issues/7425/events
https://github.com/huggingface/transformers/issues/7425
710,367,950
MDU6SXNzdWU3MTAzNjc5NTA=
7,425
Getting Import error ImportError: cannot import name 'quantize' from 'transformers.convert_graph_to_onnx' (/opt/conda/lib/python3.7/site-packages/transformers/convert_graph_to_onnx.py)
{ "login": "pinakimishra95", "id": 23132843, "node_id": "MDQ6VXNlcjIzMTMyODQz", "avatar_url": "https://avatars.githubusercontent.com/u/23132843?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pinakimishra95", "html_url": "https://github.com/pinakimishra95", "followers_url": "https://api.gi...
[ { "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
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[ { "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://...
[ "Any Updates on the above issue ?", "@mfuntowicz any updates on this ?", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,608
1,608
NONE
null
--------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-19-60bf04c6de64> in <module> ----> 1 from simpletransformers.classification import MultiLabelClassificationModel 2 3 4 model = ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7425/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/7425/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7424
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7424/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7424/comments
https://api.github.com/repos/huggingface/transformers/issues/7424/events
https://github.com/huggingface/transformers/pull/7424
710,293,907
MDExOlB1bGxSZXF1ZXN0NDk0MTY2NDQ5
7,424
[draft] codecov no comment
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7424/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7424/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7424", "html_url": "https://github.com/huggingface/transformers/pull/7424", "diff_url": "https://github.com/huggingface/transformers/pull/7424.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7424.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7423
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7423/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7423/comments
https://api.github.com/repos/huggingface/transformers/issues/7423/events
https://github.com/huggingface/transformers/pull/7423
710,285,440
MDExOlB1bGxSZXF1ZXN0NDk0MTU5NDAz
7,423
Reorganize documentation navbar
{ "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
[]
[ "Cool, thanks @sgugger" ]
1,601
1,601
1,601
COLLABORATOR
null
With the library containing so many models now, the documentation navigation bar was started to get unreadable, especially if someone was looking for a specific model. To make this cleaner I: - removed the PACKAGE REFENCE caption (not happy about this but there is no way to have a caption with empty content :-( ) - a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7423/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7423/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7423", "html_url": "https://github.com/huggingface/transformers/pull/7423", "diff_url": "https://github.com/huggingface/transformers/pull/7423.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7423.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7422
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7422/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7422/comments
https://api.github.com/repos/huggingface/transformers/issues/7422/events
https://github.com/huggingface/transformers/pull/7422
710,113,170
MDExOlB1bGxSZXF1ZXN0NDk0MDE5OTQy
7,422
Custom TF weights loading
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7422?src=pr&el=h1) Report\n> Merging [#7422](https://codecov.io/gh/huggingface/transformers/pull/7422?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/95f792afb0f0ce5a7b4f0e8df108b10157a69134?el=desc) will **decrease...
1,601
1,686
1,601
CONTRIBUTOR
null
This PR provides a custom weight loading function in order to take into account dynamic model architecture building. More precisely, the brand new loading function takes into account the `authorized_unexpected_keys` and `authorized_missing_keys` class attributes enabling the possibility to ignore some layers in the mod...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7422/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7422/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7422", "html_url": "https://github.com/huggingface/transformers/pull/7422", "diff_url": "https://github.com/huggingface/transformers/pull/7422.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7422.patch", "merged_at": 1...