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/9830
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9830/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9830/comments
https://api.github.com/repos/huggingface/transformers/issues/9830/events
https://github.com/huggingface/transformers/pull/9830
794,865,469
MDExOlB1bGxSZXF1ZXN0NTYyMzA4NTU5
9,830
[MT5 Import init] Fix typo
{ "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
[]
[ "Sorry about that!" ]
1,611
1,611
1,611
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9830/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9830/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9830", "html_url": "https://github.com/huggingface/transformers/pull/9830", "diff_url": "https://github.com/huggingface/transformers/pull/9830.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9830.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9829
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9829/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9829/comments
https://api.github.com/repos/huggingface/transformers/issues/9829/events
https://github.com/huggingface/transformers/pull/9829
794,850,959
MDExOlB1bGxSZXF1ZXN0NTYyMjk2Mzcw
9,829
Update run_xnli.py to use Datasets library
{ "login": "Qbiwan", "id": 69753975, "node_id": "MDQ6VXNlcjY5NzUzOTc1", "avatar_url": "https://avatars.githubusercontent.com/u/69753975?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Qbiwan", "html_url": "https://github.com/Qbiwan", "followers_url": "https://api.github.com/users/Qbiwan/fo...
[]
closed
false
null
[]
[ "Just tested the script locally and it seems to work great, congrats! We are almost done! The last part would be top adapt the end of the README in the text-classification folder to reflect how to use the new script (since the arguments are a bit different).", "> Just tested the script locally and it seems to wor...
1,611
1,613
1,613
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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9829/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9829/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9829", "html_url": "https://github.com/huggingface/transformers/pull/9829", "diff_url": "https://github.com/huggingface/transformers/pull/9829.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9829.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9828
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9828/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9828/comments
https://api.github.com/repos/huggingface/transformers/issues/9828/events
https://github.com/huggingface/transformers/pull/9828
794,844,448
MDExOlB1bGxSZXF1ZXN0NTYyMjkwODAy
9,828
[LedFastTokenizer] Correct missing None statement
{ "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
[]
[ "Thanks for fixing!" ]
1,611
1,611
1,611
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9828/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9828/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9828", "html_url": "https://github.com/huggingface/transformers/pull/9828", "diff_url": "https://github.com/huggingface/transformers/pull/9828.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9828.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9827
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9827/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9827/comments
https://api.github.com/repos/huggingface/transformers/issues/9827/events
https://github.com/huggingface/transformers/issues/9827
794,830,235
MDU6SXNzdWU3OTQ4MzAyMzU=
9,827
I am trying to Fine tune on BartForConditionalGeneration but I end up getting all <pad_tokens>. Can you please help resolve it?
{ "login": "Sai-Ashish", "id": 30151156, "node_id": "MDQ6VXNlcjMwMTUxMTU2", "avatar_url": "https://avatars.githubusercontent.com/u/30151156?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sai-Ashish", "html_url": "https://github.com/Sai-Ashish", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!" ]
1,611
1,611
1,611
NONE
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9827/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9827/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9826
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9826/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9826/comments
https://api.github.com/repos/huggingface/transformers/issues/9826/events
https://github.com/huggingface/transformers/pull/9826
794,829,651
MDExOlB1bGxSZXF1ZXN0NTYyMjc4NDk3
9,826
Delete a needless duplicate condition
{ "login": "tomohideshibata", "id": 16042472, "node_id": "MDQ6VXNlcjE2MDQyNDcy", "avatar_url": "https://avatars.githubusercontent.com/u/16042472?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tomohideshibata", "html_url": "https://github.com/tomohideshibata", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Thank you!\r\n" ]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? Delete a needless duplicate condition in the class `PrefixConstrainedLogitsProcessor` (`src/transformers/generation_logits_process.py`). <!-- 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 th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9826/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9826/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9826", "html_url": "https://github.com/huggingface/transformers/pull/9826", "diff_url": "https://github.com/huggingface/transformers/pull/9826.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9826.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9825
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9825/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9825/comments
https://api.github.com/repos/huggingface/transformers/issues/9825/events
https://github.com/huggingface/transformers/pull/9825
794,794,785
MDExOlB1bGxSZXF1ZXN0NTYyMjQ5MDE3
9,825
Add tpu_zone and gcp_project in training_args_tf.py
{ "login": "kiyoungkim1", "id": 37245002, "node_id": "MDQ6VXNlcjM3MjQ1MDAy", "avatar_url": "https://avatars.githubusercontent.com/u/37245002?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kiyoungkim1", "html_url": "https://github.com/kiyoungkim1", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "@sgugger \r\nI got the error message with ```make style```.\r\n\r\n```\r\nkiyoung@medical-ubuntu:~/transformers$ make style\r\nrunning deps_table_update\r\nupdating src/transformers/dependency_versions_table.py\r\nblack examples tests src utils\r\nmake: black: Command not found\r\nMakefile:42: recipe for target 's...
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? Add ```tpu_zone``` and ```gcp_project``` in ```training_args_tf.py```. For using TPUs created in a zone different from the VM zone, ```tpu_zone``` must be allocated. See official Bert repo, https://github.com/google-research/bert/blob/eedf5716ce1268e56f0a50264a88cafad334ac61/run_pretrainin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9825/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9825/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9825", "html_url": "https://github.com/huggingface/transformers/pull/9825", "diff_url": "https://github.com/huggingface/transformers/pull/9825.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9825.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9824
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9824/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9824/comments
https://api.github.com/repos/huggingface/transformers/issues/9824/events
https://github.com/huggingface/transformers/issues/9824
794,708,501
MDU6SXNzdWU3OTQ3MDg1MDE=
9,824
[wip] [doc] Performance and Scalability notes
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2690307185, "node_id": "MDU6TGFiZWwyNjkwMzA3MTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Performance", "name": "Performance", "color": "207F32", "default": false, "description": "" }, { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4N...
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "The automatic mixed precision and performance tuning recipes may be helpful.\r\nhttps://pytorch.org/tutorials/recipes/recipes/amp_recipe.html\r\nhttps://pytorch.org/tutorials/recipes/recipes/tuning_guide.html\r\n", "thank you very much, @mcarilli - this is exactly what I was looking for!", "Going to make it in...
1,611
1,624
1,624
CONTRIBUTOR
null
Let's start another doc. I think it works the best to work on these as an issue and not a PR since anybody can read these easily, rather than reading a markdown. As in the other similar [work-in-progress-doc](https://github.com/huggingface/transformers/issues/9766), let me write the bulk of it out and then you can a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9824/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9824/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9823
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9823/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9823/comments
https://api.github.com/repos/huggingface/transformers/issues/9823/events
https://github.com/huggingface/transformers/pull/9823
794,699,382
MDExOlB1bGxSZXF1ZXN0NTYyMTcyMTE1
9,823
Allow --arg Value for booleans in HfArgumentParser
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? The primary reason I dived into this PR is because when launching a training with sagemaker, bool arguments need to be passed along with something (e.g. we can't do `--do_train`, we have to do `--do_train True` because the arguments are passed as a dict). This is refused by the current argpar...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9823/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9823/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9823", "html_url": "https://github.com/huggingface/transformers/pull/9823", "diff_url": "https://github.com/huggingface/transformers/pull/9823.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9823.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9822
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9822/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9822/comments
https://api.github.com/repos/huggingface/transformers/issues/9822/events
https://github.com/huggingface/transformers/pull/9822
794,665,170
MDExOlB1bGxSZXF1ZXN0NTYyMTQ0Mjk2
9,822
Fix auto-resume training from checkpoint
{ "login": "jncasey", "id": 31020859, "node_id": "MDQ6VXNlcjMxMDIwODU5", "avatar_url": "https://avatars.githubusercontent.com/u/31020859?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jncasey", "html_url": "https://github.com/jncasey", "followers_url": "https://api.github.com/users/jncase...
[]
closed
false
null
[]
[ "Oh you need to run `make style` on your branch for the styling test to pass. Let me know if you run into any issue doing that!", "Sorry! I'm pretty rusty on the software dev stuff - college was 16 years ago. I think I've fixed it now." ]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? This fixes a few minor issues with training auto-resume, as discussed [here](https://github.com/huggingface/transformers/pull/9776#issuecomment-767841895) 1. `checkpoints = [path for path in content if _re_checkpoint.search(path) is not None and os.path.isdir(path)]` was returning empty. I...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9822/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9822/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9822", "html_url": "https://github.com/huggingface/transformers/pull/9822", "diff_url": "https://github.com/huggingface/transformers/pull/9822.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9822.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9821
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9821/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9821/comments
https://api.github.com/repos/huggingface/transformers/issues/9821/events
https://github.com/huggingface/transformers/issues/9821
794,583,399
MDU6SXNzdWU3OTQ1ODMzOTk=
9,821
[trainer] renaming cl args/ trainer attributes to be clear per-gpu vs total
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread.", "I'd love to get feedback on that. Thank you!", "As it doesn't seem to resonate as a real...
1,611
1,616
1,616
CONTRIBUTOR
null
As we started discussing here https://github.com/huggingface/transformers/issues/9801#issuecomment-767825869 perhaps we could have a design session where we look at all of the trainer cl args (and their class attribute counterparts) and see which of them contain ambiguity wrt per-gpu vs total (and perhaps other importa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9821/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9821/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9820
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9820/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9820/comments
https://api.github.com/repos/huggingface/transformers/issues/9820/events
https://github.com/huggingface/transformers/pull/9820
794,583,162
MDExOlB1bGxSZXF1ZXN0NTYyMDc1MzM5
9,820
Add a flag for find_unused_parameters
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? This PR adds a flag to control whether `find_unused_parameters` is set to `True` or not in DDP training, while keeping the current behavior as default to avoid any breaking change. Fixes #9802
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9820/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9820/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9820", "html_url": "https://github.com/huggingface/transformers/pull/9820", "diff_url": "https://github.com/huggingface/transformers/pull/9820.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9820.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9819
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9819/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9819/comments
https://api.github.com/repos/huggingface/transformers/issues/9819/events
https://github.com/huggingface/transformers/pull/9819
794,579,936
MDExOlB1bGxSZXF1ZXN0NTYyMDcyNjA3
9,819
Add head_mask and decoder_head_mask to FSMT
{ "login": "stancld", "id": 46073029, "node_id": "MDQ6VXNlcjQ2MDczMDI5", "avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stancld", "html_url": "https://github.com/stancld", "followers_url": "https://api.github.com/users/stancl...
[]
closed
false
null
[]
[ "I know than one can add, for example, a line like this\r\n```\r\n# Copied from transformers.models.bart.modeling_bart.BartAttention with Bart->FSMT\r\n```\r\nbefore `Attention` module in FSMT. However, this does not copy only additions, but the whole module from BART, which is, in this case, undesirable, I guess, ...
1,611
1,612
1,612
CONTRIBUTOR
null
This PR implements `head_mask` and `decoder_head_mask` for FSMT and it is the follow-up to the open issue #9814. **Motivation:** This PR is a part of an endeavour to enable the usage of `head_mask` and `decoder_head_mask` for all encoder-decoder transformers following the recent work on BART-like models (#9569). ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9819/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/9819/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9819", "html_url": "https://github.com/huggingface/transformers/pull/9819", "diff_url": "https://github.com/huggingface/transformers/pull/9819.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9819.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9818
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9818/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9818/comments
https://api.github.com/repos/huggingface/transformers/issues/9818/events
https://github.com/huggingface/transformers/pull/9818
794,567,640
MDExOlB1bGxSZXF1ZXN0NTYyMDYyMjI4
9,818
When resuming training from checkpoint, Trainer loads model
{ "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
[]
[ "If I may add, under `def train():`, I think the initialisation of `self._globalstep_last_logged = 0` should be `self._globalstep_last_logged=self.state.global_step`, to ensure that the first logging of the loss is correct when you later divide by `self.state.global_step-self._globalstep_last_logged`? " ]
1,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? Trainer was not reloading model when resuming training from a checkpoint, which was confusing for users (see #9099) and also was preventing the recent auto-reload from checkpoint to fully work. This isn't a breaking change (if users were passing a model with the checkpoint already loaded, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9818/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9818/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9818", "html_url": "https://github.com/huggingface/transformers/pull/9818", "diff_url": "https://github.com/huggingface/transformers/pull/9818.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9818.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9817
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9817/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9817/comments
https://api.github.com/repos/huggingface/transformers/issues/9817/events
https://github.com/huggingface/transformers/pull/9817
794,551,009
MDExOlB1bGxSZXF1ZXN0NTYyMDQ4MjA0
9,817
[docs] expand install instructions
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
This PR: expands the "install from source" section in the instruction file to: - clarify that the user is not installing the release version but bleed edge - expand how to update it - gives the shortcut at doing it all in one command and not needing to keep the checkout folder around @LysandreJik, @sgugge...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9817/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9817/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9817", "html_url": "https://github.com/huggingface/transformers/pull/9817", "diff_url": "https://github.com/huggingface/transformers/pull/9817.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9817.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9816
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9816/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9816/comments
https://api.github.com/repos/huggingface/transformers/issues/9816/events
https://github.com/huggingface/transformers/pull/9816
794,535,798
MDExOlB1bGxSZXF1ZXN0NTYyMDM1MzY4
9,816
Setup logging with a stdout handler
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? Explicitly add stdout as a handler for the logging configuration in the example scripts, otherwise no logs are reported when training on sagemaker. Also consistently sets the level of the logging outside of the config method, as otherwise it does not work (probably a bug in the logging module...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9816/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9816/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9816", "html_url": "https://github.com/huggingface/transformers/pull/9816", "diff_url": "https://github.com/huggingface/transformers/pull/9816.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9816.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9815
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9815/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9815/comments
https://api.github.com/repos/huggingface/transformers/issues/9815/events
https://github.com/huggingface/transformers/pull/9815
794,492,489
MDExOlB1bGxSZXF1ZXN0NTYxOTk5Mzg5
9,815
Fix a bug in run_glue.py (#9812)
{ "login": "forest1988", "id": 2755894, "node_id": "MDQ6VXNlcjI3NTU4OTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2755894?v=4", "gravatar_id": "", "url": "https://api.github.com/users/forest1988", "html_url": "https://github.com/forest1988", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Thanks for the fix!", "Thank you for your quick response!" ]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? It seems the `if` statement for `label_to_id` seems to be strange. There should be `not` before `is_regression`. Fixes #9812 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9815/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9815/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9815", "html_url": "https://github.com/huggingface/transformers/pull/9815", "diff_url": "https://github.com/huggingface/transformers/pull/9815.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9815.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9814
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9814/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9814/comments
https://api.github.com/repos/huggingface/transformers/issues/9814/events
https://github.com/huggingface/transformers/issues/9814
794,486,591
MDU6SXNzdWU3OTQ0ODY1OTE=
9,814
Missing head_mask and decoder_head_mask arguments in encoder-decoder models
{ "login": "stancld", "id": 46073029, "node_id": "MDQ6VXNlcjQ2MDczMDI5", "avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stancld", "html_url": "https://github.com/stancld", "followers_url": "https://api.github.com/users/stancl...
[]
closed
false
null
[]
[]
1,611
1,612
1,612
CONTRIBUTOR
null
# 🚀 Feature request Following the PRs #9569, #9634 and #9639, there are other encoder-decoder models, which either do not support `head_mask` and `decoder_head_mask` input arguments at all or can be only provided with a single `head_mask` argument used for head masking both in encoder and decoder. It would be, ther...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9814/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9814/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9813
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9813/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9813/comments
https://api.github.com/repos/huggingface/transformers/issues/9813/events
https://github.com/huggingface/transformers/pull/9813
794,473,758
MDExOlB1bGxSZXF1ZXN0NTYxOTgzODgz
9,813
ADD BORT
{ "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://api.github.com/users/...
[ { "id": 2669577093, "node_id": "MDU6TGFiZWwyNjY5NTc3MDkz", "url": "https://api.github.com/repos/huggingface/transformers/labels/PR%20for%20Model%20Addition", "name": "PR for Model Addition", "color": "5319e7", "default": false, "description": "" } ]
closed
false
null
[]
[ "> Thanks for adding this new model! When referencing other pages in the documentation, it's better to use `:doc:` instead of a hard link, as it will then work in all versions of the documentation (which don't have the same base url).\r\n\r\nSorry that was my bad! I copied it from DialoGPT -> Updated it there as we...
1,611
1,612
1,611
COLLABORATOR
null
Hi, this is a "clean" follow-up PR to the first attempt of adding Bort to Transformers (see #9112). As Bort is based on the BERT architecture, there's no need to define own model classes, such as `BortModel`. This is done in the main Bort configuration via: ```json "model_type": "bert" ``` Bort uses the s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9813/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/9813/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9813", "html_url": "https://github.com/huggingface/transformers/pull/9813", "diff_url": "https://github.com/huggingface/transformers/pull/9813.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9813.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9812
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9812/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9812/comments
https://api.github.com/repos/huggingface/transformers/issues/9812/events
https://github.com/huggingface/transformers/issues/9812
794,467,745
MDU6SXNzdWU3OTQ0Njc3NDU=
9,812
`label_to_id` in `run_glue.py` seems to have a wrong `if` statement
{ "login": "forest1988", "id": 2755894, "node_id": "MDQ6VXNlcjI3NTU4OTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2755894?v=4", "gravatar_id": "", "url": "https://api.github.com/users/forest1988", "html_url": "https://github.com/forest1988", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Yes, there should be a not here. Do you want to open a PR since you found the problem and its fix?", "Thanks, I'd love to open a PR! Please wait a minute.", "I've opened a PR to fix this issue, and all checks have passed.\r\nI would be grateful if you could check it when you have time. " ]
1,611
1,611
1,611
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.3.0.dev0 - Platform: Linux-4.4.0-179-generic-x86_64-with-glibc2.10 - Python version: 3.8.0 - PyTorch version (GPU?): 1.7.1 (False) - Tensorflow version (GPU?): 2.4.0 (False) - Using GPU in script?: No - Using distributed or parallel set-up in script?: No ### W...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9812/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9812/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9811
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9811/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9811/comments
https://api.github.com/repos/huggingface/transformers/issues/9811/events
https://github.com/huggingface/transformers/pull/9811
794,463,287
MDExOlB1bGxSZXF1ZXN0NTYxOTc1MjQz
9,811
adapt mbart and generate for Mbart50
{ "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
[]
[ "I like the idea of using `LogitsProcessor`, my only concern is now each time the user wants to use a different `max_length` they would need to pass the `forced_pos_id_pairs= {max_length: eos_token_id}`.\r\n\r\nAlso IMO `prefix_token` sounds more intuitive than `forced_pos_id_pairs`. So I think we could add `ForceT...
1,611
1,613
1,613
MEMBER
null
# What does this PR do? This PR adapts `MBartForConditionalGeneration` and `generate` for mbart-50 models. There are two main differences between mbart-50 and existing mbart-cc25 models 1. for mbart-50 both source and target language text begin with the `<language token>`, in mbart-cc25 `<language_token>` is us...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9811/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9811/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9811", "html_url": "https://github.com/huggingface/transformers/pull/9811", "diff_url": "https://github.com/huggingface/transformers/pull/9811.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9811.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9810
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9810/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9810/comments
https://api.github.com/repos/huggingface/transformers/issues/9810/events
https://github.com/huggingface/transformers/issues/9810
794,439,866
MDU6SXNzdWU3OTQ0Mzk4NjY=
9,810
Can I use a smaller base model than allenai/led-base-16384 for LED?
{ "login": "mmoya01", "id": 17535683, "node_id": "MDQ6VXNlcjE3NTM1Njgz", "avatar_url": "https://avatars.githubusercontent.com/u/17535683?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mmoya01", "html_url": "https://github.com/mmoya01", "followers_url": "https://api.github.com/users/mmoya0...
[]
closed
false
null
[]
[ "I'd suggest to still use `allenai/led-base-16384` and just pad the input to a maximum length of only `2048`. Also you could think about reducing `config.attention_window` of the model's config to something like 512 or 256 to make your model more efficient for `2048` input", "E.g. in this notebook: https://colab....
1,611
1,611
1,611
NONE
null
Hello, I'm trying to fine tune my own Longformer Encoder Decoder following this [notebook](https://colab.research.google.com/drive/12LjJazBl7Gam0XBPy_y0CTOJZeZ34c2v?usp=sharing#scrollTo=jpUr9QeebZ-n). However, I was wondering if there was a way to consider a base model like `allenai/longformer-base-4096` instead...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9810/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9810/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9809
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9809/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9809/comments
https://api.github.com/repos/huggingface/transformers/issues/9809/events
https://github.com/huggingface/transformers/pull/9809
794,370,868
MDExOlB1bGxSZXF1ZXN0NTYxODk5MTE2
9,809
Fix fine-tuning translation scripts
{ "login": "mbiesialska", "id": 7369819, "node_id": "MDQ6VXNlcjczNjk4MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/7369819?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mbiesialska", "html_url": "https://github.com/mbiesialska", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9809/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9809/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9809", "html_url": "https://github.com/huggingface/transformers/pull/9809", "diff_url": "https://github.com/huggingface/transformers/pull/9809.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9809.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9808
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9808/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9808/comments
https://api.github.com/repos/huggingface/transformers/issues/9808/events
https://github.com/huggingface/transformers/pull/9808
794,336,337
MDExOlB1bGxSZXF1ZXN0NTYxODcwMzcy
9,808
Adding a test to prevent late failure in the Table question answering pipeline.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? - If table is empty then the line that contain `answer[0]` will fail. - This PR add a check to prevent `answer[0]`. - Also adds an early check for presence of `table` and `query` to prevent late failure and give better error message. - Adds a few tests to make sure these errors are correctly ra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9808/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9808/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9808", "html_url": "https://github.com/huggingface/transformers/pull/9808", "diff_url": "https://github.com/huggingface/transformers/pull/9808.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9808.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9807
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9807/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9807/comments
https://api.github.com/repos/huggingface/transformers/issues/9807/events
https://github.com/huggingface/transformers/pull/9807
794,304,150
MDExOlB1bGxSZXF1ZXN0NTYxODQzNjU1
9,807
Partial local tokenizer load
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
MEMBER
null
This PR aims to allow partial loading of a cached tokenizer. Fixes #9147 which explains the issue in a lot of detail. Currently, if we download a tokenizer from the hub using the `from_pretrained` method: ```py from transformers import BertTokenizer tokenizer = BertTokenizer.from_pretrained("google/bert_unca...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9807/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9807/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9807", "html_url": "https://github.com/huggingface/transformers/pull/9807", "diff_url": "https://github.com/huggingface/transformers/pull/9807.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9807.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9806
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9806/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9806/comments
https://api.github.com/repos/huggingface/transformers/issues/9806/events
https://github.com/huggingface/transformers/pull/9806
794,273,850
MDExOlB1bGxSZXF1ZXN0NTYxODE4MTc3
9,806
Add a test for TF mixed precision
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[]
closed
false
null
[]
[ "I don't think that the tests that fails are related to this PR." ]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? This PR adds a test to check if our TF models are float16 compliant or not. It also helps me to detect what are those that have to be fixed.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9806/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9806/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9806", "html_url": "https://github.com/huggingface/transformers/pull/9806", "diff_url": "https://github.com/huggingface/transformers/pull/9806.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9806.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9805
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9805/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9805/comments
https://api.github.com/repos/huggingface/transformers/issues/9805/events
https://github.com/huggingface/transformers/pull/9805
794,261,700
MDExOlB1bGxSZXF1ZXN0NTYxODA3OTY1
9,805
Commit the last step on world_process_zero in WandbCallback
{ "login": "tristandeleu", "id": 2018752, "node_id": "MDQ6VXNlcjIwMTg3NTI=", "avatar_url": "https://avatars.githubusercontent.com/u/2018752?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tristandeleu", "html_url": "https://github.com/tristandeleu", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "Would it make sense to move [those 2 lines](https://github.com/huggingface/transformers/blob/0dd939bf1e01594eadf21b40e5cdb07001233cbf/src/transformers/integrations.py#L573-L574) to the init method instead of setting `self._log_model` to False?", "This should be equivalent indeed, and probably easier to read", ...
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? Only commit the last step on the first process (`is_world_process_zero == True`), to avoid calling `wandb.log()` without a prior call to `wandb.init()` (the latter being only called on the first process) with DDP. Fixes (at least partially) #9623 ## Before submitting - [ ] This PR fix...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9805/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9805/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9805", "html_url": "https://github.com/huggingface/transformers/pull/9805", "diff_url": "https://github.com/huggingface/transformers/pull/9805.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9805.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9804
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9804/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9804/comments
https://api.github.com/repos/huggingface/transformers/issues/9804/events
https://github.com/huggingface/transformers/issues/9804
794,175,108
MDU6SXNzdWU3OTQxNzUxMDg=
9,804
Finetuning ProphetNet with Seq2SeqTrainer fails.
{ "login": "avacaondata", "id": 35173563, "node_id": "MDQ6VXNlcjM1MTczNTYz", "avatar_url": "https://avatars.githubusercontent.com/u/35173563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avacaondata", "html_url": "https://github.com/avacaondata", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey @alexvaca0,\r\n\r\nThanks for your issue. We have started to create a more general script called `run_seq2seq.py` with which fine-tuning ProphetNet should work rather easily. \r\n\r\nCould you try to pull current master and do:\r\n\r\n```\r\npython examples/seq2seq/run_seq2seq.py --learning_rate=3e-5 --task su...
1,611
1,632
1,632
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.2.1 - Platform: Ubuntu 18 - Python version: 3.7 - PyTorch version (GPU?): 1.7.1 (YES) - Tensorflow versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9804/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9804/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9803
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9803/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9803/comments
https://api.github.com/repos/huggingface/transformers/issues/9803/events
https://github.com/huggingface/transformers/issues/9803
794,120,320
MDU6SXNzdWU3OTQxMjAzMjA=
9,803
convert_graph_to_onnx.convert broken for model bart-large / wmt19-en-de
{ "login": "oborchers", "id": 26734737, "node_id": "MDQ6VXNlcjI2NzM0NzM3", "avatar_url": "https://avatars.githubusercontent.com/u/26734737?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oborchers", "html_url": "https://github.com/oborchers", "followers_url": "https://api.github.com/users/...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" }, { "id": 2392046359, "node_id": "MDU6TGF...
closed
false
null
[]
[ "Thank you very much, @oborchers for opening a new ticket and re-testing with other models and verifying that this problem is project-wide.\r\n\r\nI hope @mfuntowicz gets a chance to have a look at it, or tag someone else who understands this sub-domain.", "Hi @mfuntowicz @stas00 , is this a known issue with GPT2...
1,611
1,698
1,698
NONE
null
@stas00's edit on top: I currently don't have the know-how in this domain, so if there are members of the community with ONNX experience and this issue resonates with you, please don't hesitate to comment if you'd like to work on resolving this. Thank you very much! ------------------------ ## Environment info...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9803/reactions", "total_count": 5, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9803/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9802
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9802/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9802/comments
https://api.github.com/repos/huggingface/transformers/issues/9802/events
https://github.com/huggingface/transformers/issues/9802
793,963,980
MDU6SXNzdWU3OTM5NjM5ODA=
9,802
[trainer] Warning: find_unused_parameters=True was specified in DDP constructor, but did not find any unused parameters
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "Edit: I am not sure why this param is always set to `True` except for gradient checkpointing. We can certainly make a training argument control its value to avoid hard-coding it. At least to experiment and benchmark whether it's best at True/False." ]
1,611
1,611
1,611
CONTRIBUTOR
null
When running DDP: ``` rm -r /tmp/test-clm; CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node 2 \ run_clm.py --model_name_or_path gpt2 --dataset_name wikitext --dataset_config_name wikitext-2-raw-v1 \ --do_train --output_dir /tmp/test-clm --per_device_train_batch_size 4 --max_steps 200 ``...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9802/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9802/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9801
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9801/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9801/comments
https://api.github.com/repos/huggingface/transformers/issues/9801/events
https://github.com/huggingface/transformers/issues/9801
793,953,344
MDU6SXNzdWU3OTM5NTMzNDQ=
9,801
[trainer] a consistent way to limit the number of items
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 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
[]
[ "Mmm, which scripts use `n_obs`? I don't remember seeing this one the official maintained examples.\r\n\r\n`--max_steps` is different from `n_train`/`n_val`/`n_test`: `--max_steps` runs training for `max_steps`, using the *full training set*. `--n_train` restrains the training set to its first `n_train` samples. Th...
1,611
1,618
1,614
CONTRIBUTOR
null
# 🚀 Feature request We have: 1. `finetune_trainer.py` has ``` n_train: Optional[int] = field(default=-1, metadata={"help": "# training examples. -1 means use all."}) n_val: Optional[int] = field(default=-1, metadata={"help": "# validation examples. -1 means use all."}) n_test: Optional[int] = fi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9801/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9801/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9800
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9800/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9800/comments
https://api.github.com/repos/huggingface/transformers/issues/9800/events
https://github.com/huggingface/transformers/pull/9800
793,949,722
MDExOlB1bGxSZXF1ZXN0NTYxNTQ4NjE3
9,800
[traner] fix --lr_scheduler_type choices
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "This fix works, but only for this particular enum. I'm wondering if it shouldn't be better to just change [this line](https://github.com/huggingface/transformers/blob/master/src/transformers/hf_argparser.py#L83) in `HFArgumentParser`? For instance\r\n```bash\r\n$ python examples/text-classification/run_glue.py -h ...
1,611
1,611
1,611
CONTRIBUTOR
null
This PR fixes: ``` $ python ./run_clm.py -h | grep lr_scheduler_type [--lr_scheduler_type {SchedulerType.LINEAR,SchedulerType.COSINE,SchedulerType.COSINE_WITH_RESTARTS,SchedulerType.POLYNOMIAL,SchedulerType.CONSTANT,SchedulerType.CONSTANT_WITH_WARMUP}] ``` to: ``` [--lr_schedu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9800/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9800/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9800", "html_url": "https://github.com/huggingface/transformers/pull/9800", "diff_url": "https://github.com/huggingface/transformers/pull/9800.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9800.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9799
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9799/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9799/comments
https://api.github.com/repos/huggingface/transformers/issues/9799/events
https://github.com/huggingface/transformers/pull/9799
793,846,950
MDExOlB1bGxSZXF1ZXN0NTYxNDY0MjIw
9,799
Authorize last version of tokenizer
{ "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
[]
[ "Yeah I forgot to add this in a comment -> Talked to @n1t0 about it and he says those are unwanted breaking changes, so we will pin to the next patch release he is going to make to tokenizers. Leaving the PR open in the meantime!", "Added a few more things to this PR:\r\n- Use last tokenizers RC release\r\n- Upda...
1,611
1,612
1,612
COLLABORATOR
null
# What does this PR do? This PR bumps the version pinned in the setup to authorize the last version of tokenziers (which in particular contains fixes for the `run_qa` script).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9799/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9799/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9799", "html_url": "https://github.com/huggingface/transformers/pull/9799", "diff_url": "https://github.com/huggingface/transformers/pull/9799.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9799.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9798
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9798/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9798/comments
https://api.github.com/repos/huggingface/transformers/issues/9798/events
https://github.com/huggingface/transformers/pull/9798
793,785,315
MDExOlB1bGxSZXF1ZXN0NTYxNDE0Mjg4
9,798
Smdistributed 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
[]
[ "Very cool integration.🚀 🚀 🔥 🔥 \r\nI'm doing some tests over the day for single-GPU and multi-GPU and let you know if I find something strange" ]
1,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? This PR adds support for the variant of `torch.distributed` developed by AWS on SageMaker (`smdistributed`). It's been tested to work on the `run_glue` example. The main steps are: - to replace all operations from the `torch.distributed` module by their equivalent in `smdistributed.torch....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9798/reactions", "total_count": 7, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 7, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9798/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9798", "html_url": "https://github.com/huggingface/transformers/pull/9798", "diff_url": "https://github.com/huggingface/transformers/pull/9798.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9798.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9797
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9797/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9797/comments
https://api.github.com/repos/huggingface/transformers/issues/9797/events
https://github.com/huggingface/transformers/issues/9797
793,784,278
MDU6SXNzdWU3OTM3ODQyNzg=
9,797
Conversion of Electra checkpoint from official repo TF (pretrained on custom dataset)
{ "login": "Shiro-LK", "id": 26505641, "node_id": "MDQ6VXNlcjI2NTA1NjQx", "avatar_url": "https://avatars.githubusercontent.com/u/26505641?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Shiro-LK", "html_url": "https://github.com/Shiro-LK", "followers_url": "https://api.github.com/users/Shi...
[]
closed
false
null
[]
[ "You can see from the message that it's skipping the optimizer states. We're only saving the model, so it makes sense that the optimizer states are discarded :)", "Thanks you for your reply ! \r\n\r\nI will close the issue then." ]
1,611
1,611
1,611
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: latest from pip install git+https://github.com/huggingface/transformers.git - Platform: Colab - Python versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9797/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9797/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9796
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9796/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9796/comments
https://api.github.com/repos/huggingface/transformers/issues/9796/events
https://github.com/huggingface/transformers/pull/9796
793,760,074
MDExOlB1bGxSZXF1ZXN0NTYxMzkzMjc4
9,796
Improve pytorch examples for fp16
{ "login": "ak314", "id": 9784302, "node_id": "MDQ6VXNlcjk3ODQzMDI=", "avatar_url": "https://avatars.githubusercontent.com/u/9784302?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ak314", "html_url": "https://github.com/ak314", "followers_url": "https://api.github.com/users/ak314/follower...
[]
closed
false
null
[]
[ "Thanks for addressing the comments, this is good to go IMO.\r\nPro-tip, if you edit your description to replace `Issue #9752` by `Fixes #9752`, the issue will be automatically closed when we merge this PR." ]
1,611
1,612
1,611
CONTRIBUTOR
null
# What does this PR do? When fp16 is True in pytorch training examples, use padding to multiple of 8, if the currently used data collator allows, to speed up training. If no collator was used, add one using the padding option. Fixes #9752 ## Who can review? Trainer: @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9796/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9796/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9796", "html_url": "https://github.com/huggingface/transformers/pull/9796", "diff_url": "https://github.com/huggingface/transformers/pull/9796.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9796.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9795
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9795/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9795/comments
https://api.github.com/repos/huggingface/transformers/issues/9795/events
https://github.com/huggingface/transformers/issues/9795
793,750,307
MDU6SXNzdWU3OTM3NTAzMDc=
9,795
does LED use distributed training by default?
{ "login": "mmoya01", "id": 17535683, "node_id": "MDQ6VXNlcjE3NTM1Njgz", "avatar_url": "https://avatars.githubusercontent.com/u/17535683?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mmoya01", "html_url": "https://github.com/mmoya01", "followers_url": "https://api.github.com/users/mmoya0...
[]
closed
false
null
[]
[ "Ah, I just noticed `Seq2SeqTrainingArguments` sets `local_rank=-1` by default" ]
1,611
1,611
1,611
NONE
null
Hello, I'm currently fine tuning the `allenai/led-base-16384` model and following allow this [notebook](https://colab.research.google.com/drive/12LjJazBl7Gam0XBPy_y0CTOJZeZ34c2v?usp=sharing#scrollTo=jpUr9QeebZ-n) .The node that I'm using has a couple of V100-SXM2-16GB GPUs in it. That said, does `Seq2SeqTrainer` automa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9795/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9795/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9794
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9794/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9794/comments
https://api.github.com/repos/huggingface/transformers/issues/9794/events
https://github.com/huggingface/transformers/pull/9794
793,727,383
MDExOlB1bGxSZXF1ZXN0NTYxMzY2MjY0
9,794
[Flaky Generation Tests] Make sure that no early stopping is happening for beam search
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9794/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9794/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9794", "html_url": "https://github.com/huggingface/transformers/pull/9794", "diff_url": "https://github.com/huggingface/transformers/pull/9794.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9794.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9793
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9793/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9793/comments
https://api.github.com/repos/huggingface/transformers/issues/9793/events
https://github.com/huggingface/transformers/issues/9793
793,696,300
MDU6SXNzdWU3OTM2OTYzMDA=
9,793
Add the ability to skip runtime version check
{ "login": "Guitaricet", "id": 2821124, "node_id": "MDQ6VXNlcjI4MjExMjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2821124?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Guitaricet", "html_url": "https://github.com/Guitaricet", "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
[]
[ "If anyone else comes here, until this is fixed you can find the version in `transformers/dependency_versions_check.py` - e.g. change `\"tokenizers\": \"tokenizers==0.9.4\"` to `\"tokenizers\": \"tokenizers>=0.9.4\"`", "This issue has been automatically marked as stale and been closed because it has not had recen...
1,611
1,614
1,614
NONE
null
# 🚀 Feature request Add the ability to skip version check / raise a warning instead of an error if the checks failed. ## Motivation Currently, Transformers perform a runtime libraries version check and raise an error if some of the requirements has a version that is different from the specified. While vers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9793/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9793/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9792
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9792/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9792/comments
https://api.github.com/repos/huggingface/transformers/issues/9792/events
https://github.com/huggingface/transformers/issues/9792
793,685,907
MDU6SXNzdWU3OTM2ODU5MDc=
9,792
Strange start token in MT5 generation
{ "login": "tomdzh", "id": 50083108, "node_id": "MDQ6VXNlcjUwMDgzMTA4", "avatar_url": "https://avatars.githubusercontent.com/u/50083108?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tomdzh", "html_url": "https://github.com/tomdzh", "followers_url": "https://api.github.com/users/tomdzh/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
[]
[ "One more thing: this behavior still persists after I fine tuned the model on my own dataset", "Hi @tomdzh \r\n\r\nfirst of all, unlike the original T5, mT5 is not pre-trained on any supervised downstream task (like summarization, translation etc), so generation work without fine-tuning it.\r\n\r\nAlso, it would ...
1,611
1,614
1,614
NONE
null
## Environment info - `transformers` version: 4.2.2 - Platform: Linux - Python version: 3.6 - PyTorch version (GPU?):1.7.1 ### Who can help Text Generation: @patrickvonplaten @TevenLeScao T5: @patrickvonplaten ## Information Model I am using (Bert, XLNet ...): MT5 ## To reproduce Steps to repr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9792/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9792/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9791
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9791/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9791/comments
https://api.github.com/repos/huggingface/transformers/issues/9791/events
https://github.com/huggingface/transformers/pull/9791
793,671,387
MDExOlB1bGxSZXF1ZXN0NTYxMzIwMDE1
9,791
Fix broken links in the converting tf ckpt document
{ "login": "forest1988", "id": 2755894, "node_id": "MDQ6VXNlcjI3NTU4OTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2755894?v=4", "gravatar_id": "", "url": "https://api.github.com/users/forest1988", "html_url": "https://github.com/forest1988", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "I think the following comment of my own can be left as a PR for the future.\r\nThis change seems to require a modification of the `convert` code, and I think it may be necessary to separate it from this broken link issue.\r\n\r\nI'm sorry for saying such a thing, even though the following is what I wrote.\r\n\r\n>...
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? This PR is to fix broken links in ["Converting TensorFlow Checkpoints"](https://huggingface.co/transformers/converting_tensorflow_models.html). Advised by @LysandreJik in issue #9656, I updated the links. I also refer to issue #8720 and it seems the issue is solved by this PR. I think ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9791/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9791/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9791", "html_url": "https://github.com/huggingface/transformers/pull/9791", "diff_url": "https://github.com/huggingface/transformers/pull/9791.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9791.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9790
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9790/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9790/comments
https://api.github.com/repos/huggingface/transformers/issues/9790/events
https://github.com/huggingface/transformers/pull/9790
793,665,244
MDExOlB1bGxSZXF1ZXN0NTYxMzE1MDU4
9,790
RagTokenForGeneration: Fixed parameter name for logits_processor
{ "login": "michaelrglass", "id": 35044941, "node_id": "MDQ6VXNlcjM1MDQ0OTQx", "avatar_url": "https://avatars.githubusercontent.com/u/35044941?v=4", "gravatar_id": "", "url": "https://api.github.com/users/michaelrglass", "html_url": "https://github.com/michaelrglass", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? The parameter name for the beam_search and greedy_search functions of the GenerationMixin is (now?) logits_processor not pre_processor. This fix makes prefix_allowed_tokens_fn work (again?). ## Who can review? Rag: @patrickvonplaten, @lhoestq
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9790/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9790/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9790", "html_url": "https://github.com/huggingface/transformers/pull/9790", "diff_url": "https://github.com/huggingface/transformers/pull/9790.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9790.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9789
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9789/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9789/comments
https://api.github.com/repos/huggingface/transformers/issues/9789/events
https://github.com/huggingface/transformers/pull/9789
793,645,614
MDExOlB1bGxSZXF1ZXN0NTYxMjk4NzI5
9,789
Allow RAG to output decoder cross-attentions
{ "login": "dblakely", "id": 20539855, "node_id": "MDQ6VXNlcjIwNTM5ODU1", "avatar_url": "https://avatars.githubusercontent.com/u/20539855?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dblakely", "html_url": "https://github.com/dblakely", "followers_url": "https://api.github.com/users/dbl...
[]
closed
false
null
[]
[ "@lhoestq Thanks for the suggestions! All the CI checks pass now." ]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? This PR makes RAG output the generator model's decoder cross-attentions when `output_attentions=True`. Motivation and context: before this PR, RAG's output objects had attributes for the generator's encoder self-attentions and decoder self-attentions, but no option for the encoder-decoder ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9789/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9789/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9789", "html_url": "https://github.com/huggingface/transformers/pull/9789", "diff_url": "https://github.com/huggingface/transformers/pull/9789.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9789.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9788
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9788/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9788/comments
https://api.github.com/repos/huggingface/transformers/issues/9788/events
https://github.com/huggingface/transformers/pull/9788
793,602,284
MDExOlB1bGxSZXF1ZXN0NTYxMjYyNzM0
9,788
Clean TF Bert
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[]
closed
false
null
[]
[ "I fully rework the keywords addition part to keep only those that seemed the most meaningful." ]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? This PR aims to clean the code base of BERT and the other models that depends of it because of the `#Copied from...`. It also clean the template accordingly to the same changes applied in BERT. The other models will receive the same type of cleaning, but each model will have its own PR.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9788/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9788/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9788", "html_url": "https://github.com/huggingface/transformers/pull/9788", "diff_url": "https://github.com/huggingface/transformers/pull/9788.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9788.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9787
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9787/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9787/comments
https://api.github.com/repos/huggingface/transformers/issues/9787/events
https://github.com/huggingface/transformers/pull/9787
793,382,879
MDExOlB1bGxSZXF1ZXN0NTYxMDgwMjU3
9,787
Fix model parallel definition in superclass
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
MEMBER
null
The `model_parallel` attribute should be obtainable from every class instance that has the `is_parallelized` class attribute. Otherwise the following line in the trainer crashes: https://github.com/huggingface/transformers/blob/626116b7d76efef5137c3b4a92e64e3bb57a6882/src/transformers/trainer.py#L244 cc @stas00 @...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9787/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/9787/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9787", "html_url": "https://github.com/huggingface/transformers/pull/9787", "diff_url": "https://github.com/huggingface/transformers/pull/9787.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9787.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9786
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9786/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9786/comments
https://api.github.com/repos/huggingface/transformers/issues/9786/events
https://github.com/huggingface/transformers/issues/9786
793,336,279
MDU6SXNzdWU3OTMzMzYyNzk=
9,786
Truncated Translations with mT5 model
{ "login": "sumanthd17", "id": 28291870, "node_id": "MDQ6VXNlcjI4MjkxODcw", "avatar_url": "https://avatars.githubusercontent.com/u/28291870?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sumanthd17", "html_url": "https://github.com/sumanthd17", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "I've read these similar issue\r\n\r\n[#5654](https://github.com/huggingface/transformers/issues/5656)\r\n[#7500](https://github.com/huggingface/transformers/issues/7500)\r\n\r\nbut couldn't get the information needed.\r\n\r\n@sshleifer @patil-suraj Any idea why this is happening? (Sorry for tagging everyone, I've ...
1,611
1,611
1,611
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.2 - Platform: GCP - Python version: 3.7 - PyTorch version (GPU?): 1.7 - Using GPU in script?: V100 - Usi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9786/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9786/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9785
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9785/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9785/comments
https://api.github.com/repos/huggingface/transformers/issues/9785/events
https://github.com/huggingface/transformers/issues/9785
793,292,525
MDU6SXNzdWU3OTMyOTI1MjU=
9,785
GPT2 MNLI training using run_glue.py
{ "login": "nlp-student", "id": 76427077, "node_id": "MDQ6VXNlcjc2NDI3MDc3", "avatar_url": "https://avatars.githubusercontent.com/u/76427077?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nlp-student", "html_url": "https://github.com/nlp-student", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "As explained in the documentation: \"`run_glue.py`: This script can fine-tune the following models: BERT, XLM, XLNet and RoBERTa.\"\r\n\r\n=> GPT-2 is a Transformer decoder, which can learn to generate text in an autoregressive way. It is not aimed at GLUE tasks, which are sequence classification tasks. ", "Hi! ...
1,611
1,666
1,612
NONE
null
Running this on Google Colab, ``` !python run_glue.py \ --model_name_or_path gpt2 \ --task_name mnli \ --do_train \ --do_eval \ --max_seq_length 128 \ --per_gpu_train_batch_size 10 \ --gradient_accumulation_steps 32\ --learning_rate 2e-5 \ --num_train_epochs 3.0 \ --output_dir models/g...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9785/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9785/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9784
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9784/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9784/comments
https://api.github.com/repos/huggingface/transformers/issues/9784/events
https://github.com/huggingface/transformers/issues/9784
793,260,709
MDU6SXNzdWU3OTMyNjA3MDk=
9,784
Translation Model in ONNX: Choosable Output Formats
{ "login": "oborchers", "id": 26734737, "node_id": "MDQ6VXNlcjI2NzM0NzM3", "avatar_url": "https://avatars.githubusercontent.com/u/26734737?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oborchers", "html_url": "https://github.com/oborchers", "followers_url": "https://api.github.com/users/...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[ "Hello, Thanks for you work on that @oborchers ! I also saw the notebook on SentenceTransformers and it helped a lot ! \r\n\r\nAny status about this feature ? I also need to run models in onnx but most of them need to call a `.generate` function which is for now not supported... (I could replicate all the generate ...
1,611
1,635
null
NONE
null
# 🚀 Feature request I am requesting to provide an option to specify the output format for the `translation_xx_to_yy` export to ONNX models. Currently, the output of [convert_graph_to_onnx.convert](https://github.com/huggingface/transformers/blob/6a346f0358a40f89ec384d441233bf54cac44f6a/src/transformers/convert_grap...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9784/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9784/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/9783
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9783/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9783/comments
https://api.github.com/repos/huggingface/transformers/issues/9783/events
https://github.com/huggingface/transformers/pull/9783
793,237,962
MDExOlB1bGxSZXF1ZXN0NTYwOTU5NTky
9,783
Adding `skip_special_tokens=True` to FillMaskPipeline
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "If it's a bug users relied on, then it's a feature, not a bug. \r\n\r\nAnyway I'll merge this.", "Good point, but I don't think that's the case here. Do you think users rely on the previous behavior? If that's the case, then we should revert this PR until we change of major version." ]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? - It's backward incompatible. - It makes for sense for pipelines to remove references to special_tokens (all of the other pipelines do that). - Keeping special tokens makes it hard for users to actually remove them because all models have different tokens (`<s>`, `<cls>`,` [CLS]`, ....) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9783/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9783/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9783", "html_url": "https://github.com/huggingface/transformers/pull/9783", "diff_url": "https://github.com/huggingface/transformers/pull/9783.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9783.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9782
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9782/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9782/comments
https://api.github.com/repos/huggingface/transformers/issues/9782/events
https://github.com/huggingface/transformers/pull/9782
793,207,932
MDExOlB1bGxSZXF1ZXN0NTYwOTM0ODg3
9,782
Add BlenderbotSmallForCausalLM for EncoderDecoder
{ "login": "sadakmed", "id": 18331629, "node_id": "MDQ6VXNlcjE4MzMxNjI5", "avatar_url": "https://avatars.githubusercontent.com/u/18331629?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sadakmed", "html_url": "https://github.com/sadakmed", "followers_url": "https://api.github.com/users/sad...
[]
closed
false
null
[]
[ "Hey @sadakmed, sorry I might have been a bit unclear here. Could you instead of opening new PRs add your added code directly to your PR here: https://github.com/huggingface/transformers/pull/9128? The `#Copy from` statements force us to have all the code in the same PR.\r\n\r\nAlso we need a decoder-only test for ...
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? Implementing BlenderbotSmallForCausalLM Issue #9066 PR #9128 @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9782/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9782/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9782", "html_url": "https://github.com/huggingface/transformers/pull/9782", "diff_url": "https://github.com/huggingface/transformers/pull/9782.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9782.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9781
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9781/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9781/comments
https://api.github.com/repos/huggingface/transformers/issues/9781/events
https://github.com/huggingface/transformers/pull/9781
793,204,830
MDExOlB1bGxSZXF1ZXN0NTYwOTMyMzE0
9,781
Implementation of BlenderbotForCausalLM
{ "login": "sadakmed", "id": 18331629, "node_id": "MDQ6VXNlcjE4MzMxNjI5", "avatar_url": "https://avatars.githubusercontent.com/u/18331629?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sadakmed", "html_url": "https://github.com/sadakmed", "followers_url": "https://api.github.com/users/sad...
[]
closed
false
null
[]
[ "Hey @sadakmed, sorry I might have been a bit unclear here. Could you instead of opening new PRs add your added code directly to your PR here: https://github.com/huggingface/transformers/pull/9128? The `#Copy from` statements force us to have all the code in the same PR.\r\n\r\nAlso we need a decoder-only test for ...
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? implementing BlenderbotForCausalLM for EncoderDecoder use, like ProphetNetForCausalLM Fixes # (issue) #9066 #9128 @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9781/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9781/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9781", "html_url": "https://github.com/huggingface/transformers/pull/9781", "diff_url": "https://github.com/huggingface/transformers/pull/9781.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9781.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9780
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9780/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9780/comments
https://api.github.com/repos/huggingface/transformers/issues/9780/events
https://github.com/huggingface/transformers/issues/9780
793,196,334
MDU6SXNzdWU3OTMxOTYzMzQ=
9,780
Calculating Confidence score for Question Answering Models
{ "login": "UmerTariq1", "id": 32323864, "node_id": "MDQ6VXNlcjMyMzIzODY0", "avatar_url": "https://avatars.githubusercontent.com/u/32323864?v=4", "gravatar_id": "", "url": "https://api.github.com/users/UmerTariq1", "html_url": "https://github.com/UmerTariq1", "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
[]
[ "This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread.", "model_name = \"distilbert-base-uncased-finetuned-sst-2-english\"\r\n\r\nmodel = AutoModelF...
1,611
1,663
1,614
NONE
null
For QA task (extractive QA) the pipeline provides/returns 4 values. 1. a probability score 2. start index 3. end index 4. extracted answer (https://huggingface.co/transformers/main_classes/pipelines.html#transformers.QuestionAnsweringPipeline) But If I am using the model class directly (not using pipeline) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9780/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9780/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9779
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9779/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9779/comments
https://api.github.com/repos/huggingface/transformers/issues/9779/events
https://github.com/huggingface/transformers/issues/9779
793,186,407
MDU6SXNzdWU3OTMxODY0MDc=
9,779
I want to train a BART model for conditional text generation. I want to train the encoder and the decoder separately for a specific task. Can anyone help with the code? I am new to this. @patrickvonplaten
{ "login": "Sai-Ashish", "id": 30151156, "node_id": "MDQ6VXNlcjMwMTUxMTU2", "avatar_url": "https://avatars.githubusercontent.com/u/30151156?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sai-Ashish", "html_url": "https://github.com/Sai-Ashish", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @Sai-Ashish \r\n\r\nPlease use the forum https://discuss.huggingface.co/ for asking such questions. Use issues to report bugs, feature requests, etc. Thanks!\r\n\r\nClosing it", "have you came up with solution?" ]
1,611
1,631
1,611
NONE
null
@## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: - Platform: - Python version: - PyTorch version (GPU?): - Tensorflow version (GPU?): - Using GPU in scrip...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9779/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9779/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9778
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9778/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9778/comments
https://api.github.com/repos/huggingface/transformers/issues/9778/events
https://github.com/huggingface/transformers/issues/9778
793,181,782
MDU6SXNzdWU3OTMxODE3ODI=
9,778
Link Not Working
{ "login": "akshat311", "id": 54106538, "node_id": "MDQ6VXNlcjU0MTA2NTM4", "avatar_url": "https://avatars.githubusercontent.com/u/54106538?v=4", "gravatar_id": "", "url": "https://api.github.com/users/akshat311", "html_url": "https://github.com/akshat311", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Thanks for pointing it out, the files are now renames to `distil_marian_enro_teacher.sh`, `distil_marian_no_teacher.sh` and are available here \r\nhttps://github.com/huggingface/transformers/blob/master/examples/research_projects/seq2seq-distillation/distil_marian_enro_teacher.sh\r\n\r\nhttps://github.com/huggingf...
1,611
1,611
1,611
NONE
null
@patrickvonplaten I was looking at the MarianMT docs, and in the "Examples" section, the link for "Fine-Tune on GPU" and "Fine-Tune on GPU with pytorch-lightning" is broken. Kindly look into this issue.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9778/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9778/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9777
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9777/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9777/comments
https://api.github.com/repos/huggingface/transformers/issues/9777/events
https://github.com/huggingface/transformers/issues/9777
793,108,910
MDU6SXNzdWU3OTMxMDg5MTA=
9,777
padding='max_length' allowing more than max length
{ "login": "SimplyLucKey", "id": 35954092, "node_id": "MDQ6VXNlcjM1OTU0MDky", "avatar_url": "https://avatars.githubusercontent.com/u/35954092?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SimplyLucKey", "html_url": "https://github.com/SimplyLucKey", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Could you post a short code snippet so we can reproduce ?", "> Could you post a short code snippet so we can reproduce ?\r\n\r\nThis is my code.\r\n\r\n```\r\nclass GPReviewDataset(Dataset):\r\n def __init__(self, reviews, targets, tokenizer, max_len):\r\n self.reviews = reviews\r\n self.targets...
1,611
1,611
1,611
NONE
null
I compared my tokenized data with `pad_to_max_length=True` and `padding='max_length'`. My `max_length` was set to 160. However I noticed there were a couple of data that were tokenized more than 160 when I used `padding='max_length'` versus `pad_to_max_length=True`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9777/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9777/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9776
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9776/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9776/comments
https://api.github.com/repos/huggingface/transformers/issues/9776/events
https://github.com/huggingface/transformers/pull/9776
792,961,434
MDExOlB1bGxSZXF1ZXN0NTYwNzI3NzE1
9,776
Auto-resume training from checkpoint
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "I was having a problem getting this to actually resume training on my system, and I had to make three small changes to the new code in trainer_utils.py:\r\n\r\n1. `checkpoints = [path for path in content if _re_checkpoint.search(path) is not None and os.path.isdir(path)]` was returning empty. I changed `os.path.is...
1,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? Feature suggested by @madlag. In the examples scripts, change the current behavior so if checkpoints are present in the output_dir passed to the script command, the training resumes from there. If the `output_dir` exists, is nonempty but has no checkpoint, the same behavior as before is app...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9776/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9776/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9776", "html_url": "https://github.com/huggingface/transformers/pull/9776", "diff_url": "https://github.com/huggingface/transformers/pull/9776.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9776.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9775
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9775/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9775/comments
https://api.github.com/repos/huggingface/transformers/issues/9775/events
https://github.com/huggingface/transformers/issues/9775
792,910,031
MDU6SXNzdWU3OTI5MTAwMzE=
9,775
New API for TensorFlow saved models not compatible with T5 and MarianMT
{ "login": "maziyarpanahi", "id": 5762953, "node_id": "MDQ6VXNlcjU3NjI5NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/5762953?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maziyarpanahi", "html_url": "https://github.com/maziyarpanahi", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "Pinging @jplu ", "Hello!!\r\n\r\nYes this is a known issue for the Seq2Seq models, that is already fixed in master.", "Hi @jplu \r\n\r\nI'll close the issue as the fix will be in the next release for sure. \r\n\r\nThanks again. " ]
1,611
1,611
1,611
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.2.2 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch version ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9775/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9775/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9774
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9774/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9774/comments
https://api.github.com/repos/huggingface/transformers/issues/9774/events
https://github.com/huggingface/transformers/pull/9774
792,904,964
MDExOlB1bGxSZXF1ZXN0NTYwNjg0OTQy
9,774
adding MarianForCausalLM for EncoderDecoder use
{ "login": "sadakmed", "id": 18331629, "node_id": "MDQ6VXNlcjE4MzMxNjI5", "avatar_url": "https://avatars.githubusercontent.com/u/18331629?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sadakmed", "html_url": "https://github.com/sadakmed", "followers_url": "https://api.github.com/users/sad...
[]
closed
false
null
[]
[ "Hey @sadakmed, sorry I might have been a bit unclear here. Could you instead of opening new PRs add your added code directly to your PR here: https://github.com/huggingface/transformers/pull/9128? The `#Copy from` statements force us to have all the code in the same PR.\r\n\r\nAlso we need a test for this.", "He...
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? adding MarianForCausalLM for EncoderDecoder use Fixes #9066 PR #9128 @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9774/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9774/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9774", "html_url": "https://github.com/huggingface/transformers/pull/9774", "diff_url": "https://github.com/huggingface/transformers/pull/9774.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9774.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9773
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9773/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9773/comments
https://api.github.com/repos/huggingface/transformers/issues/9773/events
https://github.com/huggingface/transformers/issues/9773
792,881,080
MDU6SXNzdWU3OTI4ODEwODA=
9,773
RagRetriever question_hidden_states shape
{ "login": "aqweteddy", "id": 31977842, "node_id": "MDQ6VXNlcjMxOTc3ODQy", "avatar_url": "https://avatars.githubusercontent.com/u/31977842?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aqweteddy", "html_url": "https://github.com/aqweteddy", "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
[]
[ "I'm pretty sure it's just a bad naming of that variable. It should be question_encoder_pooler_output.\r\n\r\nIndeed this variable is computed as the first output of a `DPRQuestionEncoder`. The DPR encoders don't return the hidden states (they basically skip it) to return the pooler output (aka DPR embeddings) of s...
1,611
1,614
1,614
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.2.2 - Platform: Linux-5.4.0-60-generic-x86_64-with-debian-bullseye-sid - Python version: 3.7.7 - PyTorch v...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9773/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9773/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9772
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9772/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9772/comments
https://api.github.com/repos/huggingface/transformers/issues/9772/events
https://github.com/huggingface/transformers/issues/9772
792,854,192
MDU6SXNzdWU3OTI4NTQxOTI=
9,772
Add classes for Multi-label classification models?
{ "login": "gsnidero", "id": 4365415, "node_id": "MDQ6VXNlcjQzNjU0MTU=", "avatar_url": "https://avatars.githubusercontent.com/u/4365415?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gsnidero", "html_url": "https://github.com/gsnidero", "followers_url": "https://api.github.com/users/gsnid...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
closed
false
null
[]
[ "Hi @LysandreJik is this feature request being worked on by someone? If not, I would love to take it up. Thanks!", "Hello! \r\n\r\nThere is existing support for this thanks to the `problem_type` configuration attribute for some Sequence classification models, see here: https://huggingface.co/transformers/main_cla...
1,611
1,696
1,696
CONTRIBUTOR
null
# 🚀 Feature request It would be nice to add classes for Multi-label classification models to the library. ## Motivation In my projects, I need to perform Multi-label classification. This problem setting is quite common in real-life modelling. ## Your contribution As there isn't a class implemented for ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9772/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9772/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9771
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9771/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9771/comments
https://api.github.com/repos/huggingface/transformers/issues/9771/events
https://github.com/huggingface/transformers/issues/9771
792,844,542
MDU6SXNzdWU3OTI4NDQ1NDI=
9,771
TF loss function output inconsistent with Pytorch one for multiple tasks
{ "login": "janjitse", "id": 16238701, "node_id": "MDQ6VXNlcjE2MjM4NzAx", "avatar_url": "https://avatars.githubusercontent.com/u/16238701?v=4", "gravatar_id": "", "url": "https://api.github.com/users/janjitse", "html_url": "https://github.com/janjitse", "followers_url": "https://api.github.com/users/jan...
[]
closed
false
null
[]
[ "Hello!\r\n\r\nThis is the expected behavior, if you want any reduction on the loss, you have to do it yourself on your side, not inside the respective compute_loss function.", "Hi, thanks for the explanation. \r\nI realized it was probably by design, it's just odd that it differs so much in behavior from the Pyt...
1,611
1,612
1,612
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.3.0.dev0 - Platform: Linux-5.10.7-gentoo-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.2.5 - Pytho...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9771/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9771/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9770
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9770/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9770/comments
https://api.github.com/repos/huggingface/transformers/issues/9770/events
https://github.com/huggingface/transformers/issues/9770
792,828,371
MDU6SXNzdWU3OTI4MjgzNzE=
9,770
TFBartForConditionalGeneration with labels padded with -100 gives Nan loss.
{ "login": "kiyoungkim1", "id": 37245002, "node_id": "MDQ6VXNlcjM3MjQ1MDAy", "avatar_url": "https://avatars.githubusercontent.com/u/37245002?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kiyoungkim1", "html_url": "https://github.com/kiyoungkim1", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "I found that TFBart models use ```padding token``` for masking ```decoder_input_ids``` instead of using ```-100 token```, which is different from T5 models. So this is not a bug, but a little confusing because some of the bart code and documents talk about ```-100 token```.\r\n\r\nAlso, losses from ```torch``` and...
1,611
1,612
1,612
CONTRIBUTOR
null
I am pretraining T5 and Bart. I noticed that the padding token for ```labels``` of these models should be -100 for ```decoder_input_ids```. I change the padding token for labels for T5(pytorch, tensorflow) and Bart(pytorch), and it works well. But, For Bart(tensorflow) gives Nan loss. Because of this, I also ge...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9770/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9770/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9769
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9769/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9769/comments
https://api.github.com/repos/huggingface/transformers/issues/9769/events
https://github.com/huggingface/transformers/issues/9769
792,814,321
MDU6SXNzdWU3OTI4MTQzMjE=
9,769
saving best model only using modelcheckpoint keras
{ "login": "rohanshingade", "id": 18469762, "node_id": "MDQ6VXNlcjE4NDY5NzYy", "avatar_url": "https://avatars.githubusercontent.com/u/18469762?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rohanshingade", "html_url": "https://github.com/rohanshingade", "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
[]
[ "Have you taken a look at the [Keras docs](https://www.tensorflow.org/api_docs/python/tf/keras/callbacks/ModelCheckpoint)?", "This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed...
1,611
1,615
1,614
NONE
null
while using model.fit for training a Transformer model, how to use `tf.keras.callbacks.ModelCheckpoint` with `'save_best_only=True'` to save only the best model? `model.fit([input_ids_train, attention_mask_train], train_labels, validation_data=([input_ids_valid, attention_mask_valid], valid_labels), ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9769/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9769/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9768
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9768/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9768/comments
https://api.github.com/repos/huggingface/transformers/issues/9768/events
https://github.com/huggingface/transformers/pull/9768
792,806,031
MDExOlB1bGxSZXF1ZXN0NTYwNjA4NjM5
9,768
PegasusForCausalLM, analog to `ProphetNetForCausalLM`
{ "login": "sadakmed", "id": 18331629, "node_id": "MDQ6VXNlcjE4MzMxNjI5", "avatar_url": "https://avatars.githubusercontent.com/u/18331629?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sadakmed", "html_url": "https://github.com/sadakmed", "followers_url": "https://api.github.com/users/sad...
[]
closed
false
null
[]
[ "Hey @sadakmed, sorry I might have been a bit unclear here. Could you instead of opening new PRs add your added code directly to your PR here: https://github.com/huggingface/transformers/pull/9128? The `#Copy from` statements force us to have all the code in the same PR.\r\n\r\nAlso we need a decoder-only test for ...
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? this PR is implementing PegasusForCausalLM for EncoderDecoder use like ProphetNetForCausalLM and it follow work of BartForCausalLM #9128 issue #9066 for a organisation matter, each one is in its own PR. @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9768/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9768/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9768", "html_url": "https://github.com/huggingface/transformers/pull/9768", "diff_url": "https://github.com/huggingface/transformers/pull/9768.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9768.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9767
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9767/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9767/comments
https://api.github.com/repos/huggingface/transformers/issues/9767/events
https://github.com/huggingface/transformers/issues/9767
792,732,014
MDU6SXNzdWU3OTI3MzIwMTQ=
9,767
tensorflow training problem
{ "login": "tang-ed", "id": 61105590, "node_id": "MDQ6VXNlcjYxMTA1NTkw", "avatar_url": "https://avatars.githubusercontent.com/u/61105590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tang-ed", "html_url": "https://github.com/tang-ed", "followers_url": "https://api.github.com/users/tang-e...
[]
closed
false
null
[]
[]
1,611
1,612
1,612
NONE
null
import numpy as np import tensorflow as tf from tensorflow.keras.preprocessing.sequence import pad_sequences from transformers import TFBartModel, BartConfig from tensorflow import keras npfile = np.load("train_dataset.npz") inp_ids = npfile["arr_0"][:1000] out_ids = npfile["arr_1"][:1000] out_ids = pad_seque...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9767/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9767/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9766
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9766/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9766/comments
https://api.github.com/repos/huggingface/transformers/issues/9766/events
https://github.com/huggingface/transformers/issues/9766
792,729,259
MDU6SXNzdWU3OTI3MjkyNTk=
9,766
[wip] [doc] Parallelism notes
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2627272588, "node_id": "MDU6TGFiZWwyNjI3MjcyNTg4", "url": "https://api.github.com/repos/huggingface/transformers/labels/Model%20Parallel", "name": "Model Parallel", "color": "8B66A5", "default": false, "description": "Model Parallelilsm Implementations" }, { "id": 2659267...
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[]
1,611
1,625
1,625
CONTRIBUTOR
null
Perhaps this will end up in a blog post and/or a new document, for now collecting notes. This is a work in progress. Please give me some time to write the bulk of it and then you'll be welcome to ask questions, add contributions, etc. ------------------------ ## Parallelism overview In the modern machine learn...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9766/reactions", "total_count": 11, "+1": 4, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 5, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9766/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9765
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9765/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9765/comments
https://api.github.com/repos/huggingface/transformers/issues/9765/events
https://github.com/huggingface/transformers/pull/9765
792,710,668
MDExOlB1bGxSZXF1ZXN0NTYwNTM3Mjk2
9,765
[wip] [pipeline parallel] t5 - experiment
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2682576896, "node_id": "MDU6TGFiZWwyNjgyNTc2ODk2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Pipeline%20Parallel", "name": "Pipeline Parallel", "color": "1F75CB", "default": false, "description": "" }, { "id": 2796628563, "node_id": "MDU6TGF...
closed
false
null
[]
[ "Thanks @stas00 , I am getting what looks like a torch error when I run this (I'm not sure if the \"Failed to look up the IP address for the hostname\" error is related -- I'm not able to find much on this except for an issue from a few days ago that mentions this: https://github.com/pytorch/pytorch/issues/50700 ):...
1,611
1,626
1,622
CONTRIBUTOR
null
This PR is not ready for reviews. I'm putting it up primarily for those who want an early preview of a possible Pipeline solution. @PeterAJansen, you wanted to see if you could get it working with 4x 40GB rig and t5-11b. Please give it a try. ------------------- ## Intention We want to replace the naive mo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9765/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9765/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9765", "html_url": "https://github.com/huggingface/transformers/pull/9765", "diff_url": "https://github.com/huggingface/transformers/pull/9765.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9765.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9764
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9764/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9764/comments
https://api.github.com/repos/huggingface/transformers/issues/9764/events
https://github.com/huggingface/transformers/issues/9764
792,684,056
MDU6SXNzdWU3OTI2ODQwNTY=
9,764
index mismatch in "offset_mapping" with TokenizerFast and pre-tokenized input
{ "login": "simoneorlando", "id": 32615042, "node_id": "MDQ6VXNlcjMyNjE1MDQy", "avatar_url": "https://avatars.githubusercontent.com/u/32615042?v=4", "gravatar_id": "", "url": "https://api.github.com/users/simoneorlando", "html_url": "https://github.com/simoneorlando", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi @simoneorlando\r\n\r\nThis is indeed intended behavior. The values in `offset_mapping` return a mapping to the original input, and when you provide pre-tokenized input, each of them is treated individually. In this case, you can use the word mapping to know where you should do your extraction:\r\n```python\r\nf...
1,611
1,611
1,611
NONE
null
## Environment info - `transformers` version: 4.2.2 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch version (GPU?): 1.7.0+cu101 (False) - Tensorflow version (GPU?): 2.4.0 (False) - Using GPU in script?: <fill in> - Using distributed or parallel set-up in script?: <...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9764/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9764/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9763
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9763/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9763/comments
https://api.github.com/repos/huggingface/transformers/issues/9763/events
https://github.com/huggingface/transformers/issues/9763
792,635,809
MDU6SXNzdWU3OTI2MzU4MDk=
9,763
squad_v2 crashes during evaluation
{ "login": "yuvalkirstain", "id": 57996478, "node_id": "MDQ6VXNlcjU3OTk2NDc4", "avatar_url": "https://avatars.githubusercontent.com/u/57996478?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuvalkirstain", "html_url": "https://github.com/yuvalkirstain", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "It might be because I didn't provide the version_2_with_negative argument. Sorry! :) ", "https://github.com/huggingface/transformers/tree/main/examples/pytorch/question-answering mentions it. Although it it likely to be ignored. : )" ]
1,611
1,668
1,611
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.2.2 - Platform: Linux-4.9.5-64-nvidia-418.43-x86_64-with-debian-jessie-sid - Python version: 3.7.7 - PyTorch version (GPU?): 1.7.1 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: True - Using distributed or parallel set-up in script...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9763/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9763/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9762
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9762/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9762/comments
https://api.github.com/repos/huggingface/transformers/issues/9762/events
https://github.com/huggingface/transformers/pull/9762
792,635,238
MDExOlB1bGxSZXF1ZXN0NTYwNDc5MjE5
9,762
Fix a typo in `Trainer.hyperparameter_search` docstring
{ "login": "sorami", "id": 595008, "node_id": "MDQ6VXNlcjU5NTAwOA==", "avatar_url": "https://avatars.githubusercontent.com/u/595008?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sorami", "html_url": "https://github.com/sorami", "followers_url": "https://api.github.com/users/sorami/follow...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
`compute_objectie` => `compute_objective` # 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9762/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9762/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9762", "html_url": "https://github.com/huggingface/transformers/pull/9762", "diff_url": "https://github.com/huggingface/transformers/pull/9762.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9762.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9761
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9761/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9761/comments
https://api.github.com/repos/huggingface/transformers/issues/9761/events
https://github.com/huggingface/transformers/pull/9761
792,516,370
MDExOlB1bGxSZXF1ZXN0NTYwMzg5NzM3
9,761
Fix broken [Open in Colab] links (#9688)
{ "login": "wilcoln", "id": 24209192, "node_id": "MDQ6VXNlcjI0MjA5MTky", "avatar_url": "https://avatars.githubusercontent.com/u/24209192?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wilcoln", "html_url": "https://github.com/wilcoln", "followers_url": "https://api.github.com/users/wilcol...
[]
closed
false
null
[]
[ "ping @patil-suraj ", "Thank you for fixing this!" ]
1,611
1,611
1,611
CONTRIBUTOR
null
Resolves https://github.com/huggingface/transformers/issues/9688
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9761/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9761/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9761", "html_url": "https://github.com/huggingface/transformers/pull/9761", "diff_url": "https://github.com/huggingface/transformers/pull/9761.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9761.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9760
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9760/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9760/comments
https://api.github.com/repos/huggingface/transformers/issues/9760/events
https://github.com/huggingface/transformers/pull/9760
792,413,521
MDExOlB1bGxSZXF1ZXN0NTYwMzAwODk2
9,760
fix text summarization evaluation bugs when calculate rouge
{ "login": "ShichaoSun", "id": 13548568, "node_id": "MDQ6VXNlcjEzNTQ4NTY4", "avatar_url": "https://avatars.githubusercontent.com/u/13548568?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ShichaoSun", "html_url": "https://github.com/ShichaoSun", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "only two lines changed but it take much effort to pass the check!\r\nI think it may be important for the evaluation result.\r\nThey are simple but true bugs", "Great catch @ShichaoSun and thank you for working on this!\r\nWe are in the process of finishing the [new standalone seq2seq script](https://github.com/...
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? fix text summarization evaluation bugs when calculate rouge It is important for calculating rouge ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9760/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9760/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9760", "html_url": "https://github.com/huggingface/transformers/pull/9760", "diff_url": "https://github.com/huggingface/transformers/pull/9760.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9760.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9759
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9759/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9759/comments
https://api.github.com/repos/huggingface/transformers/issues/9759/events
https://github.com/huggingface/transformers/pull/9759
792,411,386
MDExOlB1bGxSZXF1ZXN0NTYwMjk5MjIw
9,759
fix a small bug
{ "login": "ShichaoSun", "id": 13548568, "node_id": "MDQ6VXNlcjEzNTQ4NTY4", "avatar_url": "https://avatars.githubusercontent.com/u/13548568?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ShichaoSun", "html_url": "https://github.com/ShichaoSun", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
swap pred_lins with tgt_lns just a typo
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9759/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9759/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9759", "html_url": "https://github.com/huggingface/transformers/pull/9759", "diff_url": "https://github.com/huggingface/transformers/pull/9759.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9759.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9758
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9758/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9758/comments
https://api.github.com/repos/huggingface/transformers/issues/9758/events
https://github.com/huggingface/transformers/issues/9758
792,280,084
MDU6SXNzdWU3OTIyODAwODQ=
9,758
save tokenizer and model from fine tuned LED model
{ "login": "mmoya01", "id": 17535683, "node_id": "MDQ6VXNlcjE3NTM1Njgz", "avatar_url": "https://avatars.githubusercontent.com/u/17535683?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mmoya01", "html_url": "https://github.com/mmoya01", "followers_url": "https://api.github.com/users/mmoya0...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
NONE
null
Hello, I have been following this [notebook](https://colab.research.google.com/drive/12LjJazBl7Gam0XBPy_y0CTOJZeZ34c2v?usp=sharing#scrollTo=jpUr9QeebZ-n) to fine the `patrickvonplaten/led-large-16384-pubmed` model on my own data. However,after training, when I tried doing: ```python model.save_pretrained("new_model...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9758/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9758/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9757
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9757/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9757/comments
https://api.github.com/repos/huggingface/transformers/issues/9757/events
https://github.com/huggingface/transformers/issues/9757
792,220,856
MDU6SXNzdWU3OTIyMjA4NTY=
9,757
Extra indicators for BPE for Unicode Characters
{ "login": "lolipopshock", "id": 22512825, "node_id": "MDQ6VXNlcjIyNTEyODI1", "avatar_url": "https://avatars.githubusercontent.com/u/22512825?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lolipopshock", "html_url": "https://github.com/lolipopshock", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Pinging @n1t0 ", "Thanks! I think it's something related to the Byte-Level Subwords trick (https://arxiv.org/pdf/1909.03341.pdf)? ", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease ...
1,611
1,618
1,618
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.2.2 - Platform: Linux-4.15.0-45-generic-x86_64-with-glibc2.10 - Python version: 3.8.3 - PyTorch version (G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9757/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9757/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9756
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9756/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9756/comments
https://api.github.com/repos/huggingface/transformers/issues/9756/events
https://github.com/huggingface/transformers/pull/9756
792,182,791
MDExOlB1bGxSZXF1ZXN0NTYwMTA4NzQ2
9,756
Remove a TF usage warning and rework the documentation
{ "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
[]
[ "Not in favor of this to be honest...Warnings / Print statements are super important IMO. It's weird that `tf.Print` is not supported in XLA -> how are logs / warnings / print statements then produced in XLA?", "XLA/Graph/TFlite execution are not made to have things to be printed, this includes some of the assert...
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? Recently we moved the warning for boolean argument misused in TF models from `warnings.warning(...)` to `tf.Print` to avoid the overhelm of messages in the output. Nevertheless, the usage of `tf.Print` prevent all our TF models to be compiled and executed with XLA and quantized with TFLite be...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9756/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9756/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9756", "html_url": "https://github.com/huggingface/transformers/pull/9756", "diff_url": "https://github.com/huggingface/transformers/pull/9756.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9756.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9755
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9755/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9755/comments
https://api.github.com/repos/huggingface/transformers/issues/9755/events
https://github.com/huggingface/transformers/pull/9755
792,141,673
MDExOlB1bGxSZXF1ZXN0NTYwMDc1MzM5
9,755
Fix a TF test
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? Fix a miss changed test.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9755/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9755/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9755", "html_url": "https://github.com/huggingface/transformers/pull/9755", "diff_url": "https://github.com/huggingface/transformers/pull/9755.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9755.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9754
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9754/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9754/comments
https://api.github.com/repos/huggingface/transformers/issues/9754/events
https://github.com/huggingface/transformers/issues/9754
792,109,208
MDU6SXNzdWU3OTIxMDkyMDg=
9,754
Improve the `run_xlni` example to use the Datasets library
{ "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...
[ { "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
null
[]
[ "Really good idea! I was looking at the `run_xnli` script the last days - because I wanted to test the \"Language-Agnostic\" models from [here](https://github.com/AIPHES/Language-Agnostic-Contextualized-Encoders) - and datasets integration would make experiments a lot more easier. " ]
1,611
1,613
1,613
COLLABORATOR
null
The [`run_xlni`](https://github.com/huggingface/transformers/blob/master/examples/text-classification/run_xnli.py) example should be improved (following the model of [`run_glue`](https://github.com/huggingface/transformers/blob/master/examples/text-classification/run_glue.py)) to use the Datasets library to download an...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9754/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/9754/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9753
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9753/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9753/comments
https://api.github.com/repos/huggingface/transformers/issues/9753/events
https://github.com/huggingface/transformers/issues/9753
792,108,973
MDU6SXNzdWU3OTIxMDg5NzM=
9,753
named_parameters not showing embedding matrix of RobertaLMHead (more a question than a bug)
{ "login": "ClaartjeBarkhof", "id": 25668035, "node_id": "MDQ6VXNlcjI1NjY4MDM1", "avatar_url": "https://avatars.githubusercontent.com/u/25668035?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ClaartjeBarkhof", "html_url": "https://github.com/ClaartjeBarkhof", "followers_url": "https://api...
[]
closed
false
null
[]
[ "I found out that the input embedding and output embedding weights are tied by default, which is why the output embedding weights end up in state_dict, but not in the named_parameters (they are overcomplete).", "I've found this issue too when trying to log parameters/gradients to Weights & Biases. It doesn't log ...
1,611
1,682
1,611
NONE
null
## Environment info - `transformers` version: 4.2.2 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch version (GPU?): 1.7.0+cu101 (True) - Tensorflow version (GPU?): 2.4.0 (True) - Using GPU in script?: yes - Using distributed or parallel set-up in script?: no ### ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9753/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9753/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9752
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9752/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9752/comments
https://api.github.com/repos/huggingface/transformers/issues/9752/events
https://github.com/huggingface/transformers/issues/9752
792,107,285
MDU6SXNzdWU3OTIxMDcyODU=
9,752
Improve PyTorch examples for FP16
{ "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...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" } ]
closed
false
null
[]
[ "Hi @sgugger \r\nThis is not done, although closed, please have a look into https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_mlm.py \r\nfor line-by-line padding is not multiple of 8, thanks " ]
1,611
1,616
1,611
COLLABORATOR
null
To get the full speed-up of FP16 training, every tensor passed through the model should have all its dimensions be a multiple of 8. In the new PyTorch examples, when using dynamic padding, the tensors are padded to the length of the biggest sentence of the batch, but that number is not necessarily a multiple of 8. T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9752/reactions", "total_count": 5, "+1": 5, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9752/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9751
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9751/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9751/comments
https://api.github.com/repos/huggingface/transformers/issues/9751/events
https://github.com/huggingface/transformers/pull/9751
792,101,108
MDExOlB1bGxSZXF1ZXN0NTYwMDQyODQ5
9,751
AdaFactor: avoid updating group["lr"] attributes
{ "login": "ceshine", "id": 674501, "node_id": "MDQ6VXNlcjY3NDUwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/674501?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ceshine", "html_url": "https://github.com/ceshine", "followers_url": "https://api.github.com/users/ceshine/fo...
[]
closed
false
null
[]
[ "Can you provide evidence that supports the following:\r\n\r\n> Updating group[\"lr\"] makes the result of ._get_lr() depends on the previous call, i.e., on the scale of other parameters. **This isn't supposed to happen.**\r\n\r\nThanks!\r\n\r\n\r\n", "> Can you provide evidence that supports the following:\r\n> ...
1,611
1,612
1,612
CONTRIBUTOR
null
This affects Adafactor with `relative_step=False` and `scale_parameter=True`. Updating `group["lr"]` makes the result of ._get_lr() depends on the previous call, i.e., on the scale of other parameters. This isn't supposed to happen. # What does this PR do? I've observed weird behaviors when using Adafactor wit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9751/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/9751/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9751", "html_url": "https://github.com/huggingface/transformers/pull/9751", "diff_url": "https://github.com/huggingface/transformers/pull/9751.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9751.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9750
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9750/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9750/comments
https://api.github.com/repos/huggingface/transformers/issues/9750/events
https://github.com/huggingface/transformers/issues/9750
791,987,957
MDU6SXNzdWU3OTE5ODc5NTc=
9,750
ValueError: Couldn't instantiate the backend tokenizer while loading model tokenizer
{ "login": "rsanjaykamath", "id": 18527321, "node_id": "MDQ6VXNlcjE4NTI3MzIx", "avatar_url": "https://avatars.githubusercontent.com/u/18527321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rsanjaykamath", "html_url": "https://github.com/rsanjaykamath", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hey @rsanjaykamath, \r\n\r\nI cannot reproduce the error on `master`. When running:\r\n\r\n```python\r\nfrom transformers import AutoTokenizer, T5ForConditionalGeneration\r\n\r\nmodel_name = \"allenai/unifiedqa-t5-small\" # you can specify the model size here\r\ntokenizer = AutoTokenizer.from_pretrained(model_name...
1,611
1,698
1,611
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.2.2 - Platform: Colab - Python version: - PyTorch version (GPU?): - Tensorflow version (GPU?): - Using ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9750/reactions", "total_count": 7, "+1": 7, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9750/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9749
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9749/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9749/comments
https://api.github.com/repos/huggingface/transformers/issues/9749/events
https://github.com/huggingface/transformers/pull/9749
791,934,362
MDExOlB1bGxSZXF1ZXN0NTU5OTA1MzY2
9,749
Use object store to pass trainer object to Ray Tune (makes it work with large models)
{ "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
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? Tuning large models with Ray Tune did not work recently. By passing the trainer object via the object store we avoid serialization of the global object, fixing these issues. I could reproduce the issue in #9146 on a AWS p2.xlarge node and could confirm it is resolved by these changes. <...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9749/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9749/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9749", "html_url": "https://github.com/huggingface/transformers/pull/9749", "diff_url": "https://github.com/huggingface/transformers/pull/9749.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9749.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9748
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9748/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9748/comments
https://api.github.com/repos/huggingface/transformers/issues/9748/events
https://github.com/huggingface/transformers/issues/9748
791,881,936
MDU6SXNzdWU3OTE4ODE5MzY=
9,748
Trainer object empties dataset
{ "login": "AlexBella365", "id": 22292468, "node_id": "MDQ6VXNlcjIyMjkyNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/22292468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AlexBella365", "html_url": "https://github.com/AlexBella365", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Your dataset is not really emptied (I agree it looks like this however). It's just viewed without the columns the model can accept. You can restore all your columns with\r\n```\r\ndataset[\"train\"].set_format(columns=list(dataset[\"train\"].features.keys())\r\n``` \r\nor more simply\r\n```\r\ndataset[\"train\"].r...
1,611
1,611
1,611
NONE
null
## Environment info - `transformers` version: 4.2.2 - Platform: Linux-4.14.81.bm.20-amd64-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GPU?): 1.7.0 (True) - Tensorflow version (GPU?): 2.3.1 (True) - Using GPU in script?: no - Using distributed or parallel set-up in script?: no ## Informati...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9748/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9748/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9747
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9747/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9747/comments
https://api.github.com/repos/huggingface/transformers/issues/9747/events
https://github.com/huggingface/transformers/issues/9747
791,856,802
MDU6SXNzdWU3OTE4NTY4MDI=
9,747
mT5 additional_special_tokens seems not work
{ "login": "PiggyFan", "id": 26171212, "node_id": "MDQ6VXNlcjI2MTcxMjEy", "avatar_url": "https://avatars.githubusercontent.com/u/26171212?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PiggyFan", "html_url": "https://github.com/PiggyFan", "followers_url": "https://api.github.com/users/Pig...
[]
closed
false
null
[]
[ "Hi! Could you either post a link to your notebook or your code as actual code? Images makes it impossible to copy/paste or for others to search with similar issues. Thanks.", "> Hi! Could you either post a link to your notebook or your code as actual code? Images makes it impossible to copy/paste or for others t...
1,611
1,685
1,612
NONE
null
I want add some special tokens such as <POS> <CON_START> . But T5tokenizer/MT5tokenizer both can't tokenize correctly after using additional_special_tokens parameter. It still split these special tokens to subwords. <img width="1015" alt="截圖 2021-01-22 下午5 18 00" src="https://user-images.githubusercontent.com/2617121...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9747/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9747/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9746
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9746/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9746/comments
https://api.github.com/repos/huggingface/transformers/issues/9746/events
https://github.com/huggingface/transformers/pull/9746
791,847,620
MDExOlB1bGxSZXF1ZXN0NTU5ODM1MjM3
9,746
Fix an efficiency related bug the "prediction_loop" of trainer_tf.py
{ "login": "zhangzhenyu13", "id": 22976165, "node_id": "MDQ6VXNlcjIyOTc2MTY1", "avatar_url": "https://avatars.githubusercontent.com/u/22976165?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhangzhenyu13", "html_url": "https://github.com/zhangzhenyu13", "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 and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread." ]
1,611
1,614
1,614
NONE
null
# the "numpy.append" method is not suitable for large evaluation/test dataset It will cause "memory ops blocked issue" (i.e. system wait for a large area of continuous memory to expand the array) because numpy array requires continuous memory, and will try to re-allocate a ram space when the current capacity is not en...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9746/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9746/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9746", "html_url": "https://github.com/huggingface/transformers/pull/9746", "diff_url": "https://github.com/huggingface/transformers/pull/9746.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9746.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9745
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9745/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9745/comments
https://api.github.com/repos/huggingface/transformers/issues/9745/events
https://github.com/huggingface/transformers/issues/9745
791,688,069
MDU6SXNzdWU3OTE2ODgwNjk=
9,745
fine tune patrickvonplaten/longformer2roberta-cnn_dailymail-fp16 using LED updates
{ "login": "mmoya01", "id": 17535683, "node_id": "MDQ6VXNlcjE3NTM1Njgz", "avatar_url": "https://avatars.githubusercontent.com/u/17535683?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mmoya01", "html_url": "https://github.com/mmoya01", "followers_url": "https://api.github.com/users/mmoya0...
[]
closed
false
null
[]
[ "Hi @mmoya01 \r\n\r\nYou could fine-tune `longformer2roberta` model using the `EncoderDecoder` model class. `patrickvonplaten/longformer2roberta-cnn_dailymail-fp16` is already fine-tuned on but as the model card says it was fine-tuned for just demo, so you should fine-tune a new `longformer2roberta`. You could foll...
1,611
1,619
1,619
NONE
null
I was wondering if there was anyway to fine tune the `patrickvonplaten/longformer2roberta-cnn_dailymail-fp16` model instead of `patrickvonplaten/led-large-16384-pubmed`? When I tried fine tuning it in the past I ran into the `TypeError: forward() got an unexpected keyword argument 'head_mask'` issue given that `Enc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9745/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9745/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9744
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9744/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9744/comments
https://api.github.com/repos/huggingface/transformers/issues/9744/events
https://github.com/huggingface/transformers/issues/9744
791,666,023
MDU6SXNzdWU3OTE2NjYwMjM=
9,744
Wrong offsets mapping in XLMRobertaTokenizerFast
{ "login": "nikitakit", "id": 252225, "node_id": "MDQ6VXNlcjI1MjIyNQ==", "avatar_url": "https://avatars.githubusercontent.com/u/252225?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nikitakit", "html_url": "https://github.com/nikitakit", "followers_url": "https://api.github.com/users/niki...
[]
closed
false
null
[]
[ "The wrong alignments are caused by the `Precompiled` normalizer in `tokenizers`. This will be fixed in version 0.10.1 of the library.", "This is fixed for any version of `transformers>=4.3.0`" ]
1,611
1,612
1,612
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.2.2 - Platform: Linux-4.15.0-124-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9744/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9744/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9743
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9743/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9743/comments
https://api.github.com/repos/huggingface/transformers/issues/9743/events
https://github.com/huggingface/transformers/issues/9743
791,624,172
MDU6SXNzdWU3OTE2MjQxNzI=
9,743
DistilGPT2 extremely strange model behaviour
{ "login": "Octopirate1", "id": 35666310, "node_id": "MDQ6VXNlcjM1NjY2MzEw", "avatar_url": "https://avatars.githubusercontent.com/u/35666310?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Octopirate1", "html_url": "https://github.com/Octopirate1", "followers_url": "https://api.github.com/...
[ { "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
[]
[ "Extra info:\r\n\r\ncommand: ``python3 -m torch.distributed.launch \\\r\n --nproc_per_node=$N_GPU_NODE \\\r\n --nnodes=$N_NODES \\\r\n --node_rank $NODE_RANK \\\r\n train.py \\\r\n --force \\\r\n --fp16 \\\r\n --n_epoch 3 \\\r\n --checkpoint_interval 2000 \\\r\n --batc...
1,611
1,614
1,614
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.3.0.dev0 - Platform: Linux-4.15.0-91-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch versi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9743/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9743/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9742
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9742/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9742/comments
https://api.github.com/repos/huggingface/transformers/issues/9742/events
https://github.com/huggingface/transformers/issues/9742
791,601,431
MDU6SXNzdWU3OTE2MDE0MzE=
9,742
--fp16 fine-tuning appears to be taking more memory (4.3.0).
{ "login": "PeterAJansen", "id": 3813268, "node_id": "MDQ6VXNlcjM4MTMyNjg=", "avatar_url": "https://avatars.githubusercontent.com/u/3813268?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PeterAJansen", "html_url": "https://github.com/PeterAJansen", "followers_url": "https://api.github.com...
[ { "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
[]
[ "Note that the memory as reported by nvidia-smi is not a perfectly reliable source (@stas00 could explain better than me why), the reliable metric is the batch size at which you get OOM. It is known on our side that FP16 does not save any memory for this particular script (I was investigating a general memory regre...
1,611
1,614
1,614
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.3.0.dev0 - Platform: Linux-5.4.0-62-generic-x86_64-with-debian-bullseye-sid - Python version: 3.7.6 - PyTo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9742/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9742/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9741
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9741/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9741/comments
https://api.github.com/repos/huggingface/transformers/issues/9741/events
https://github.com/huggingface/transformers/pull/9741
791,595,977
MDExOlB1bGxSZXF1ZXN0NTU5NjI4ODg5
9,741
examples: fix XNLI url
{ "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Thank you for fixing this!" ]
1,611
1,611
1,611
COLLABORATOR
null
Hi, this PR fixes the URL for the XNLI dataset in the text classification example. (/cc @sleepinyourhat :hugs: )
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9741/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/9741/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9741", "html_url": "https://github.com/huggingface/transformers/pull/9741", "diff_url": "https://github.com/huggingface/transformers/pull/9741.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9741.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9740
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9740/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9740/comments
https://api.github.com/repos/huggingface/transformers/issues/9740/events
https://github.com/huggingface/transformers/issues/9740
791,531,295
MDU6SXNzdWU3OTE1MzEyOTU=
9,740
RAG Model without DPR
{ "login": "krishanudb", "id": 11831343, "node_id": "MDQ6VXNlcjExODMxMzQz", "avatar_url": "https://avatars.githubusercontent.com/u/11831343?v=4", "gravatar_id": "", "url": "https://api.github.com/users/krishanudb", "html_url": "https://github.com/krishanudb", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead? Feel free to tag @patrickvonplaten or @lhoestq on the forum, they'll probably be able to answer your quesitons :).\r\n\r\nThanks!" ...
1,611
1,611
1,611
NONE
null
Hello everyone, I am interesting in studying how RAG generator answers questions without the DPR retriever but with other passages / contexts identified by other methods. For example in the code below ```from transformers import RagRetriever from transformers import RagTokenizer, RagRetriever, RagTokenForGenera...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9740/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9740/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9739
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9739/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9739/comments
https://api.github.com/repos/huggingface/transformers/issues/9739/events
https://github.com/huggingface/transformers/issues/9739
791,459,025
MDU6SXNzdWU3OTE0NTkwMjU=
9,739
Error using TFAutoModelForSequenceClassification with Tensorflow 2.2.0
{ "login": "ghost", "id": 10137, "node_id": "MDQ6VXNlcjEwMTM3", "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghost", "html_url": "https://github.com/ghost", "followers_url": "https://api.github.com/users/ghost/followers", "f...
[]
closed
false
null
[]
[ "@jplu could answer here", "Hello!\n\nThe last version os Transformers needs TensorFlow 2.3 as the min version.", "Got it. I switched to Pytorch for testing it, so I have not faced the same issue. Out of curiousity, if I wanted to run huggingface transformers on TF 2.2.0, what version of transformers do I need ...
1,611
1,611
1,611
NONE
null
Hello. I am trying to implement `TFAutoModelForSequenceClassification` in my code following the example for sequence classification as shown [here](https://huggingface.co/transformers/task_summary.html#sequence-classification) The code is as follows: ``` from transformers import AutoTokenizer, TFAutoModelFor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9739/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9739/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9738
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9738/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9738/comments
https://api.github.com/repos/huggingface/transformers/issues/9738/events
https://github.com/huggingface/transformers/pull/9738
791,392,486
MDExOlB1bGxSZXF1ZXN0NTU5NDU5MzY5
9,738
[fsmt] onnx triu workaround
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "I'm a bit worried that this fix will blow up the memory for very long sequences, *e.g.* applying this to a max_length of 16384 (which we already have for LED) would create a 16384 ** 2 = 1GB tensor", "Wouldn't this work-around be better in terms of memory? https://github.com/pytorch/pytorch/issues/32968#issueco...
1,611
1,634
1,611
CONTRIBUTOR
null
This PR * solves ``` RuntimeError: Exporting the operator triu to ONNX opset version 12 is not supported. Please open a bug to request ONNX export support for the missing operator. ``` as reported in https://github.com/huggingface/transformers/issues/9737. It adds a workaround for `triu` no...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9738/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9738/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9738", "html_url": "https://github.com/huggingface/transformers/pull/9738", "diff_url": "https://github.com/huggingface/transformers/pull/9738.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9738.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9737
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9737/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9737/comments
https://api.github.com/repos/huggingface/transformers/issues/9737/events
https://github.com/huggingface/transformers/issues/9737
791,380,873
MDU6SXNzdWU3OTEzODA4NzM=
9,737
[fsmt] Exporting the operator triu to ONNX opset version 12 is not supported
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2357479466, "node_id": "MDU6TGFiZWwyMzU3NDc5NDY2", "url": "https://api.github.com/repos/huggingface/transformers/labels/fsmt", "name": "fsmt", "color": "d0e884", "default": false, "description": "" } ]
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "Applied a workaround in https://github.com/huggingface/transformers/pull/9738" ]
1,611
1,611
1,611
CONTRIBUTOR
null
As a follow up to https://github.com/huggingface/transformers/issues/9722 ``` import torch import transformers from transformers import convert_graph_to_onnx from pathlib import Path convert_graph_to_onnx.convert( framework="pt", model="facebook/wmt19-en-de", output=Path("encoder/en_de_trans.on...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9737/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9737/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9736
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9736/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9736/comments
https://api.github.com/repos/huggingface/transformers/issues/9736/events
https://github.com/huggingface/transformers/pull/9736
791,378,964
MDExOlB1bGxSZXF1ZXN0NTU5NDQ4NDEx
9,736
[fsmt] token_type_ids isn't used
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2357479466, "node_id": "MDU6TGFiZWwyMzU3NDc5NDY2", "url": "https://api.github.com/repos/huggingface/transformers/labels/fsmt", "name": "fsmt", "color": "d0e884", "default": false, "description": "" } ]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
This PR fixes a bug discovered in https://github.com/huggingface/transformers/issues/9722 `token_type_ids` was returned by default by the tokenizer, but it isn't used by the model. The original fsmt port was a frankenstein of bart for the model and xlm for the tokenizer, hence the discrepancy. I thought the te...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9736/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9736/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9736", "html_url": "https://github.com/huggingface/transformers/pull/9736", "diff_url": "https://github.com/huggingface/transformers/pull/9736.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9736.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9735
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9735/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9735/comments
https://api.github.com/repos/huggingface/transformers/issues/9735/events
https://github.com/huggingface/transformers/pull/9735
791,342,737
MDExOlB1bGxSZXF1ZXN0NTU5NDE4OTA3
9,735
Add `report_to` training arguments to control the integrations used
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? This PR introduces a new `report_to` training argument that controls which of the multiple reporting tools to use in a training round. Currently, `Trainer` automatically uses everything installed, which can cause trouble when: - one platform is installed but not properly set up. - one platf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9735/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9735/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9735", "html_url": "https://github.com/huggingface/transformers/pull/9735", "diff_url": "https://github.com/huggingface/transformers/pull/9735.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9735.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9734
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9734/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9734/comments
https://api.github.com/repos/huggingface/transformers/issues/9734/events
https://github.com/huggingface/transformers/pull/9734
791,308,599
MDExOlB1bGxSZXF1ZXN0NTU5MzkwOTUx
9,734
Fixes to run_seq2seq and instructions
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? This PR fixes two issues in the new `run_seq2seq` script and adds instructions on how to run it. The fixes are: - default of `val_max_target_length` to `max_target_length` (had forgotten to do this in the initial PR) - add an optional prefix to the source text (for T5 models)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9734/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9734/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9734", "html_url": "https://github.com/huggingface/transformers/pull/9734", "diff_url": "https://github.com/huggingface/transformers/pull/9734.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9734.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9733
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9733/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9733/comments
https://api.github.com/repos/huggingface/transformers/issues/9733/events
https://github.com/huggingface/transformers/pull/9733
791,301,672
MDExOlB1bGxSZXF1ZXN0NTU5Mzg1MjEx
9,733
[WIP] Small improvement in shape manipulation in t5, makes exporting
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,611
1,619
1,619
CONTRIBUTOR
null
# What does this PR do? (torchscript + ONNX) easier because shape inference is not static. - Still requires a test that would make sure there's not regression there. <!-- 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9733/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9733/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9733", "html_url": "https://github.com/huggingface/transformers/pull/9733", "diff_url": "https://github.com/huggingface/transformers/pull/9733.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9733.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9732
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9732/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9732/comments
https://api.github.com/repos/huggingface/transformers/issues/9732/events
https://github.com/huggingface/transformers/issues/9732
791,225,529
MDU6SXNzdWU3OTEyMjU1Mjk=
9,732
OSError: [Errno 116] Stale file handle
{ "login": "jimkim3", "id": 57313992, "node_id": "MDQ6VXNlcjU3MzEzOTky", "avatar_url": "https://avatars.githubusercontent.com/u/57313992?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jimkim3", "html_url": "https://github.com/jimkim3", "followers_url": "https://api.github.com/users/jimkim...
[ { "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 probably seems more related to your system rather than `Trainer` or `finetune_trainer.py` ", "thanks, but I just do not see why this happens, any idea is appreciated\n\nOn Thu, Jan 21, 2021 at 5:01 PM Suraj Patil <notifications@github.com>\nwrote:\n\n> This probably seems more related to your system rather ...
1,611
1,614
1,614
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: - Platform: linux - Python version: 3.7 - PyTorch version (GPU?): 1.6 - Tensorflow version (GPU?): - - Us...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9732/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9732/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9731
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9731/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9731/comments
https://api.github.com/repos/huggingface/transformers/issues/9731/events
https://github.com/huggingface/transformers/issues/9731
791,119,669
MDU6SXNzdWU3OTExMTk2Njk=
9,731
Mismatch of the mask token id of BART between fairseq and huggingface
{ "login": "twadada", "id": 26453664, "node_id": "MDQ6VXNlcjI2NDUzNjY0", "avatar_url": "https://avatars.githubusercontent.com/u/26453664?v=4", "gravatar_id": "", "url": "https://api.github.com/users/twadada", "html_url": "https://github.com/twadada", "followers_url": "https://api.github.com/users/twadad...
[]
closed
false
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "htt...
[ "hi @twadada \r\n\r\n> Somehow the huggingface model has a smaller vocab size, and 51200 is out of index\r\n\r\n50,265 is the actual vocab size, the rest of the tokens are dummy tokens as you can see in this issue pytorch/fairseq#2242\r\n\r\nSo I don't think 51200 can be the `mask_token_id`", "Hi @patil-suraj \r\...
1,611
1,635
1,635
NONE
null
## 🐛 Bug The mask token id of BART is different between fairseq (torch.hub) and huggingface, and this discrepancy leads to different results in mask_filling. So I wonder which token id is actually correct. (After checking the norm of the embedding at each mask token id, I feel that torch.hub might be correct. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9731/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9731/timeline
completed
null
null