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/6020
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6020/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6020/comments
https://api.github.com/repos/huggingface/transformers/issues/6020/events
https://github.com/huggingface/transformers/pull/6020
665,246,221
MDExOlB1bGxSZXF1ZXN0NDU2MzUxMjkw
6,020
Create README.md
{ "login": "rdenadai", "id": 917516, "node_id": "MDQ6VXNlcjkxNzUxNg==", "avatar_url": "https://avatars.githubusercontent.com/u/917516?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rdenadai", "html_url": "https://github.com/rdenadai", "followers_url": "https://api.github.com/users/rdenada...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "👍 \r\n\r\nWould you like to add example inputs for all models for `pt`? If you do, please open a PR against this file: https://github.com/huggingface/widgets-server/blob/master/DefaultWidget.ts\r\n\r\nThanks:)" ]
1,595
1,595
1,595
CONTRIBUTOR
null
README.md for my model https://huggingface.co/rdenadai/BR_BERTo
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6020/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6020/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/6020", "html_url": "https://github.com/huggingface/transformers/pull/6020", "diff_url": "https://github.com/huggingface/transformers/pull/6020.diff", "patch_url": "https://github.com/huggingface/transformers/pull/6020.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/6019
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6019/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6019/comments
https://api.github.com/repos/huggingface/transformers/issues/6019/events
https://github.com/huggingface/transformers/pull/6019
665,236,771
MDExOlB1bGxSZXF1ZXN0NDU2MzQzNTA0
6,019
Update the new model template
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6019?src=pr&el=h1) Report\n> Merging [#6019](https://codecov.io/gh/huggingface/transformers/pull/6019?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/778e635fc900e5afc90e5f8f4ca74b5d5fc2976a&el=desc) will **increase...
1,595
1,595
1,595
COLLABORATOR
null
The model template files were old and did not use any of the recent improvements (output attentions, output hidden states, docstrings refactored...) This PR fixes them and adds a few more instructions. Tagging @LysandreJik, @patrickvonplaten, @thomwolf and @julien-c : We have to make sure that whenever we make a ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6019/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/6019/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/6019", "html_url": "https://github.com/huggingface/transformers/pull/6019", "diff_url": "https://github.com/huggingface/transformers/pull/6019.diff", "patch_url": "https://github.com/huggingface/transformers/pull/6019.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/6018
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6018/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6018/comments
https://api.github.com/repos/huggingface/transformers/issues/6018/events
https://github.com/huggingface/transformers/issues/6018
665,213,195
MDU6SXNzdWU2NjUyMTMxOTU=
6,018
seq2seq/finetune.py can take config train_params through command line
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
{ "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...
[ "@stas00 this might be up your alley.", "Added to my todo queue - thank you, @sshleifer", "https://github.com/huggingface/transformers/pull/6149" ]
1,595
1,596
1,596
CONTRIBUTOR
null
- this might belong in lightning_base - check how/if trainer does it. Desired API: ```bash python finetune.py --encoder_layerdrop 0.1 --decoder_layerdrop 0.1 --dropout 0.1 --attention_dropout 0.1 ```
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6018/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6018/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/6017
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6017/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6017/comments
https://api.github.com/repos/huggingface/transformers/issues/6017/events
https://github.com/huggingface/transformers/issues/6017
665,211,411
MDU6SXNzdWU2NjUyMTE0MTE=
6,017
convert_bart script should support mbart through command line.
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,595
1,601
1,601
CONTRIBUTOR
null
Desired command: ```convert_mbart_checkpoint.py --checkpoint_dir --pytorch_dump_path``` This should probably also convert the tokenizer.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6017/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6017/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/6016
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6016/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6016/comments
https://api.github.com/repos/huggingface/transformers/issues/6016/events
https://github.com/huggingface/transformers/pull/6016
665,209,091
MDExOlB1bGxSZXF1ZXN0NDU2MzIwNTM1
6,016
Create model card for RuPERTa-base
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "Feel free to apply the change", "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6016?src=pr&el=h1) Report\n> Merging [#6016](https://codecov.io/gh/huggingface/transformers/pull/6016?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/3996041d0ae23ce23dfb8a343e6344...
1,595
1,595
1,595
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6016/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6016/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/6016", "html_url": "https://github.com/huggingface/transformers/pull/6016", "diff_url": "https://github.com/huggingface/transformers/pull/6016.diff", "patch_url": "https://github.com/huggingface/transformers/pull/6016.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/6015
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6015/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6015/comments
https://api.github.com/repos/huggingface/transformers/issues/6015/events
https://github.com/huggingface/transformers/pull/6015
665,188,820
MDExOlB1bGxSZXF1ZXN0NDU2MzAzOTQx
6,015
Tf trainer cleanup
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6015?src=pr&el=h1) Report\n> Merging [#6015](https://codecov.io/gh/huggingface/transformers/pull/6015?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/3b44aa935a4d8f1b0e93a23070d97be6b9c9506b&el=desc) will **increase...
1,595
1,596
1,596
COLLABORATOR
null
This follows up from #5982 and does the same thing for `TFTrainer`. Basically no code is changed, just moved around and the customization points are made public and explicit to the user. Starting to make the docs better but I will do it properly (for both Trainer and TFTrainer) after this PR is merged.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6015/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6015/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/6015", "html_url": "https://github.com/huggingface/transformers/pull/6015", "diff_url": "https://github.com/huggingface/transformers/pull/6015.diff", "patch_url": "https://github.com/huggingface/transformers/pull/6015.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/6014
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6014/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6014/comments
https://api.github.com/repos/huggingface/transformers/issues/6014/events
https://github.com/huggingface/transformers/pull/6014
665,159,409
MDExOlB1bGxSZXF1ZXN0NDU2Mjc5NTI3
6,014
Fix question template
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6014?src=pr&el=h1) Report\n> Merging [#6014](https://codecov.io/gh/huggingface/transformers/pull/6014?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a5404052135a455f9b3ada6154dcfbe7c6ac3968&el=desc) will **increase...
1,595
1,595
1,595
COLLABORATOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6014/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6014/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/6014", "html_url": "https://github.com/huggingface/transformers/pull/6014", "diff_url": "https://github.com/huggingface/transformers/pull/6014.diff", "patch_url": "https://github.com/huggingface/transformers/pull/6014.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/6013
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6013/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6013/comments
https://api.github.com/repos/huggingface/transformers/issues/6013/events
https://github.com/huggingface/transformers/issues/6013
665,048,404
MDU6SXNzdWU2NjUwNDg0MDQ=
6,013
Cannot import DPRReader
{ "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
[]
[ "Thanks for flagging, the stable doc was building on a wrong commit hash, hence the DPR models being present.\r\nThis is fixed now." ]
1,595
1,595
1,595
NONE
null
# 🐛 Bug You have DPRReader included in your v3.0.2 documentation, but it's in the Master branch, it's not included in v3.0.2 tag; therefore it crashes and cannot import it. I think it would be convenient to either eliminate that piece of documentation until the models are added in the tag, or update the transformer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6013/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6013/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/6012
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6012/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6012/comments
https://api.github.com/repos/huggingface/transformers/issues/6012/events
https://github.com/huggingface/transformers/issues/6012
665,012,321
MDU6SXNzdWU2NjUwMTIzMjE=
6,012
When i train a GPT-2 which uses BPE, the computed perplexity is per sub-word right?
{ "login": "Nkonstan", "id": 35643708, "node_id": "MDQ6VXNlcjM1NjQzNzA4", "avatar_url": "https://avatars.githubusercontent.com/u/35643708?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Nkonstan", "html_url": "https://github.com/Nkonstan", "followers_url": "https://api.github.com/users/Nko...
[ { "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,595
1,614
1,614
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6012/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6012/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/6011
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6011/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6011/comments
https://api.github.com/repos/huggingface/transformers/issues/6011/events
https://github.com/huggingface/transformers/issues/6011
664,899,103
MDU6SXNzdWU2NjQ4OTkxMDM=
6,011
[Benchmark]
{ "login": "Rianley", "id": 30228744, "node_id": "MDQ6VXNlcjMwMjI4NzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/30228744?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rianley", "html_url": "https://github.com/Rianley", "followers_url": "https://api.github.com/users/Rianle...
[]
closed
false
null
[]
[]
1,595
1,596
1,596
NONE
null
# 🖥 Benchmarking `transformers` ## Benchmark Which part of `transformers` did you benchmark? ## Set-up What did you run your benchmarks on? Please include details, such as: CPU, GPU? If using multiple GPUs, which parallelization did you use? ## Results Put your results here!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6011/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6011/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/6010
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6010/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6010/comments
https://api.github.com/repos/huggingface/transformers/issues/6010/events
https://github.com/huggingface/transformers/issues/6010
664,897,389
MDU6SXNzdWU2NjQ4OTczODk=
6,010
install sentence-transformers on Linux by python error
{ "login": "kension0929", "id": 15052580, "node_id": "MDQ6VXNlcjE1MDUyNTgw", "avatar_url": "https://avatars.githubusercontent.com/u/15052580?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kension0929", "html_url": "https://github.com/kension0929", "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
[]
[ "I am also facing same issue while trying to install transformers version 3.0.2...Did you find any solution?", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n", "![Capture](https://use...
1,595
1,605
1,603
NONE
null
# ❓ Questions & Help When I install sentence-transformers on Linux by python ![error](https://user-images.githubusercontent.com/15052580/88359057-da0efc80-cda3-11ea-98fb-01deddb09acd.png) , I got an error message: ERROR: Could not find a version that satisfies the requirement transformers>=3.0.2 (from sentence-...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6010/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6010/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/6009
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6009/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6009/comments
https://api.github.com/repos/huggingface/transformers/issues/6009/events
https://github.com/huggingface/transformers/pull/6009
664,874,805
MDExOlB1bGxSZXF1ZXN0NDU2MDQxMzc3
6,009
[model_cards] roberta-base-finetuned-yelp-polarity
{ "login": "VictorSanh", "id": 16107619, "node_id": "MDQ6VXNlcjE2MTA3NjE5", "avatar_url": "https://avatars.githubusercontent.com/u/16107619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VictorSanh", "html_url": "https://github.com/VictorSanh", "followers_url": "https://api.github.com/use...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6009?src=pr&el=h1) Report\n> Merging [#6009](https://codecov.io/gh/huggingface/transformers/pull/6009?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f5b5c5bd7e213dea1645f07902b681f88e3cf954&el=desc) will **decrease...
1,595
1,595
1,595
MEMBER
null
Model card for [roberta-base-finetuned-yelp-polarity](https://huggingface.co/VictorSanh/roberta-base-finetuned-yelp-polarity).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6009/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6009/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/6009", "html_url": "https://github.com/huggingface/transformers/pull/6009", "diff_url": "https://github.com/huggingface/transformers/pull/6009.diff", "patch_url": "https://github.com/huggingface/transformers/pull/6009.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/6008
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6008/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6008/comments
https://api.github.com/repos/huggingface/transformers/issues/6008/events
https://github.com/huggingface/transformers/pull/6008
664,802,063
MDExOlB1bGxSZXF1ZXN0NDU1OTgxOTE4
6,008
fix: model card readme clutter
{ "login": "csarron", "id": 8440740, "node_id": "MDQ6VXNlcjg0NDA3NDA=", "avatar_url": "https://avatars.githubusercontent.com/u/8440740?v=4", "gravatar_id": "", "url": "https://api.github.com/users/csarron", "html_url": "https://github.com/csarron", "followers_url": "https://api.github.com/users/csarron/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "looks good now 👍\r\n\r\n(we'll have a better system for model cards soon-ish)" ]
1,595
1,595
1,595
CONTRIBUTOR
null
this removes the clutter line in the readme.md of model card `csarron/roberta-base-squad-v1`. It also fixes the result table.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6008/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6008/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/6008", "html_url": "https://github.com/huggingface/transformers/pull/6008", "diff_url": "https://github.com/huggingface/transformers/pull/6008.diff", "patch_url": "https://github.com/huggingface/transformers/pull/6008.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/6007
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6007/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6007/comments
https://api.github.com/repos/huggingface/transformers/issues/6007/events
https://github.com/huggingface/transformers/issues/6007
664,795,308
MDU6SXNzdWU2NjQ3OTUzMDg=
6,007
Fine tune T5 for paraphrase generation
{ "login": "mengyahuUSTC-PU", "id": 57302843, "node_id": "MDQ6VXNlcjU3MzAyODQz", "avatar_url": "https://avatars.githubusercontent.com/u/57302843?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mengyahuUSTC-PU", "html_url": "https://github.com/mengyahuUSTC-PU", "followers_url": "https://api...
[ { "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
[]
[ "Phew, won't be able answer all the questions in single comment, will try my best.\r\n\r\n2. IMO for generating paraphrases you probably won't need negative examples.\r\n\r\n3. You assumption is correct, knowledge learned from one task can be useful for other similar tasks. You can approach this as a multitask prob...
1,595
1,601
1,601
NONE
null
# ❓ Questions & Help Dear all, I am new to NLP and has a lot of questions. Sorry to ask this long list here. I tried asking on huggingface's forum but as a new user, I can only put 2 lines there. My goal is to fine-tuned t5-large for paraphrase generation. I found [this code](https://github.com/ramsrigouthamg/Para...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6007/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6007/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/6006
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6006/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6006/comments
https://api.github.com/repos/huggingface/transformers/issues/6006/events
https://github.com/huggingface/transformers/pull/6006
664,754,862
MDExOlB1bGxSZXF1ZXN0NDU1OTQzMTA3
6,006
Model cards: add roberta-base-squad-v1 and bert-base-uncased-squad-v1
{ "login": "csarron", "id": 8440740, "node_id": "MDQ6VXNlcjg0NDA3NDA=", "avatar_url": "https://avatars.githubusercontent.com/u/8440740?v=4", "gravatar_id": "", "url": "https://api.github.com/users/csarron", "html_url": "https://github.com/csarron", "followers_url": "https://api.github.com/users/csarron/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "Thanks!", "> Thanks!\r\n\r\nLove this amazing library! Happy to contribute! 😊" ]
1,595
1,595
1,595
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6006/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6006/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/6006", "html_url": "https://github.com/huggingface/transformers/pull/6006", "diff_url": "https://github.com/huggingface/transformers/pull/6006.diff", "patch_url": "https://github.com/huggingface/transformers/pull/6006.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/6005
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6005/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6005/comments
https://api.github.com/repos/huggingface/transformers/issues/6005/events
https://github.com/huggingface/transformers/pull/6005
664,747,687
MDExOlB1bGxSZXF1ZXN0NDU1OTM3MTQ0
6,005
Model utils doc
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6005?src=pr&el=h1) Report\n> Merging [#6005](https://codecov.io/gh/huggingface/transformers/pull/6005?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7e251ae0395bd3e558c633fe8664fbdf612cb4f4&el=desc) will **decrease...
1,595
1,596
1,595
COLLABORATOR
null
This PR documents all the model utilities and fixes a few things in the `PreTrainedModel`/`TFPreTrainedModel`. It introduces a new category I called "internal" that comes at the very end of the package documentation, which is aimed at documenting all our public internal methods (e.g., public in their modules, but no...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6005/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6005/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/6005", "html_url": "https://github.com/huggingface/transformers/pull/6005", "diff_url": "https://github.com/huggingface/transformers/pull/6005.diff", "patch_url": "https://github.com/huggingface/transformers/pull/6005.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/6004
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6004/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6004/comments
https://api.github.com/repos/huggingface/transformers/issues/6004/events
https://github.com/huggingface/transformers/issues/6004
664,743,318
MDU6SXNzdWU2NjQ3NDMzMTg=
6,004
CI/Examples: ModuleNotFoundError: No module named '_sqlite3'
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "Very weird. Only the seq2seq examples have a dependency on nltk, which in turn has a dependency on sqlite3?\r\n\r\nAre we pinning a recent nltk version?", "We are requiring rouge_scorer, which uses nltk for stemming. There is no pinning.", "@mfuntowicz fixed, thanks!" ]
1,595
1,595
1,595
CONTRIBUTOR
null
This is a common issue, all solutions I have found to address involve recompiling python. like [1](https://stackoverflow.com/questions/1210664/no-module-named-sqlite3) [2](https://www.virtualizationteam.com/cloud/running-vcd-cli-fail-with-the-following-error-modulenotfounderror-no-module-named-_sqlite3.html) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6004/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6004/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/6003
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6003/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6003/comments
https://api.github.com/repos/huggingface/transformers/issues/6003/events
https://github.com/huggingface/transformers/pull/6003
664,737,218
MDExOlB1bGxSZXF1ZXN0NDU1OTI4NTIz
6,003
MBART: support summarization tasks where max_src_len > max_tgt_len
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6003?src=pr&el=h1) Report\n> Merging [#6003](https://codecov.io/gh/huggingface/transformers/pull/6003?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d1d15d6f2de9e2cde48ff3ea2072add3311ce2ac&el=desc) will **increase...
1,595
1,595
1,595
CONTRIBUTOR
null
Previously, MBartTokenizer.prepare_translation_batch always truncated `src_texts` and `tgt_texts` to the same length. This PR exposes a `max_target_length` kwarg, which, if specified, will control truncation of target_texts.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6003/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6003/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/6003", "html_url": "https://github.com/huggingface/transformers/pull/6003", "diff_url": "https://github.com/huggingface/transformers/pull/6003.diff", "patch_url": "https://github.com/huggingface/transformers/pull/6003.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/6002
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6002/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6002/comments
https://api.github.com/repos/huggingface/transformers/issues/6002/events
https://github.com/huggingface/transformers/issues/6002
664,733,034
MDU6SXNzdWU2NjQ3MzMwMzQ=
6,002
Deebert Examples test failure
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "@Ji-Xin would you mind taking a stab at this?\r\nCommand:\r\n```bash\r\nRUN_SLOW=1 pytest examples/deebert/ \r\n```" ]
1,595
1,595
1,595
CONTRIBUTOR
null
`DeeBertTests.test_glue_deebert` Excerpt from [CI](https://pipelines.actions.githubusercontent.com/SFFqAjp6ciVZiZmfZfjie9y9Q96dfpUE8sJvWAtTDWoFlixGkf/_apis/pipelines/1/runs/4783/signedlogcontent/3?urlExpires=2020-07-23T20%3A02%3A20.7871420Z&urlSigningMethod=HMACV1&urlSignature=XL%2Fj%2F2NSBD3Q174ifxC4jTOQUloQMx3UFZ%2B...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6002/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6002/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/6001
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6001/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6001/comments
https://api.github.com/repos/huggingface/transformers/issues/6001/events
https://github.com/huggingface/transformers/issues/6001
664,728,469
MDU6SXNzdWU2NjQ3Mjg0Njk=
6,001
MbartDataset can support Summarization
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[]
1,595
1,595
1,595
CONTRIBUTOR
null
need to allow max_source_length != max_seq_length
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6001/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/6001/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/6000
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/6000/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/6000/comments
https://api.github.com/repos/huggingface/transformers/issues/6000/events
https://github.com/huggingface/transformers/pull/6000
664,720,406
MDExOlB1bGxSZXF1ZXN0NDU1OTE0NjA5
6,000
Bert german dbmdz uncased sentence stsb
{ "login": "PhilipMay", "id": 229382, "node_id": "MDQ6VXNlcjIyOTM4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhilipMay", "html_url": "https://github.com/PhilipMay", "followers_url": "https://api.github.com/users/Phil...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6000?src=pr&el=h1) Report\n> Merging [#6000](https://codecov.io/gh/huggingface/transformers/pull/6000?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6e161955105f7e012dba5d51842923fc25fc5cdf&el=desc) will **increase...
1,595
1,595
1,595
CONTRIBUTOR
null
Model Card for bert-german-dbmdz-uncased-sentence-stsb
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/6000/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/6000/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/6000", "html_url": "https://github.com/huggingface/transformers/pull/6000", "diff_url": "https://github.com/huggingface/transformers/pull/6000.diff", "patch_url": "https://github.com/huggingface/transformers/pull/6000.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5999
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5999/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5999/comments
https://api.github.com/repos/huggingface/transformers/issues/5999/events
https://github.com/huggingface/transformers/pull/5999
664,598,131
MDExOlB1bGxSZXF1ZXN0NDU1ODEzNjYy
5,999
Fix #5974
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5999?src=pr&el=h1) Report\n> Merging [#5999](https://codecov.io/gh/huggingface/transformers/pull/5999?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/76f52324b1e2d2bb631c80895a5f16ddc303a099&el=desc) will **increase...
1,595
1,595
1,595
COLLABORATOR
null
Small bug introduced by the model outputs PR.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5999/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5999/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5999", "html_url": "https://github.com/huggingface/transformers/pull/5999", "diff_url": "https://github.com/huggingface/transformers/pull/5999.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5999.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5998
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5998/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5998/comments
https://api.github.com/repos/huggingface/transformers/issues/5998/events
https://github.com/huggingface/transformers/pull/5998
664,588,884
MDExOlB1bGxSZXF1ZXN0NDU1ODA2MDg5
5,998
MbartTokenizer: do not hardcode vocab size
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5998?src=pr&el=h1) Report\n> Merging [#5998](https://codecov.io/gh/huggingface/transformers/pull/5998?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/33d7506ea10ca92886fd1bb3b5306a1a720c58fe&el=desc) will **increase...
1,595
1,595
1,595
CONTRIBUTOR
null
language codes should start at the end of the standard vocab. If the standard vocab is smaller, this number is not 250,001.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5998/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5998/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5998", "html_url": "https://github.com/huggingface/transformers/pull/5998", "diff_url": "https://github.com/huggingface/transformers/pull/5998.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5998.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5997
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5997/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5997/comments
https://api.github.com/repos/huggingface/transformers/issues/5997/events
https://github.com/huggingface/transformers/issues/5997
664,582,983
MDU6SXNzdWU2NjQ1ODI5ODM=
5,997
bug in trainer.py line297
{ "login": "Jiaxin-Wen", "id": 48146603, "node_id": "MDQ6VXNlcjQ4MTQ2NjAz", "avatar_url": "https://avatars.githubusercontent.com/u/48146603?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jiaxin-Wen", "html_url": "https://github.com/Jiaxin-Wen", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Will be fixed by #5982", "Fixed by #5982" ]
1,595
1,595
1,595
NONE
null
# 🐛 Bug ## Information I found this bug while running example/token_classification/run_ner.py. I fixed that by delete the 'self.' prefix. ## Reproduce just execute `run_ner.py`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5997/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5997/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5996
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5996/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5996/comments
https://api.github.com/repos/huggingface/transformers/issues/5996/events
https://github.com/huggingface/transformers/issues/5996
664,454,377
MDU6SXNzdWU2NjQ0NTQzNzc=
5,996
T5 pre training on different languages from scratch
{ "login": "ashispapu", "id": 9023527, "node_id": "MDQ6VXNlcjkwMjM1Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/9023527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ashispapu", "html_url": "https://github.com/ashispapu", "followers_url": "https://api.github.com/users/as...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @ashispapu, T5 pre-training is not yet available in transformers, I'm working on it but might take some time. Feel free to take a stab.", "Hi @patil-suraj Thanks for the response. Let me try it.", "@patil-suraj, thanks for working on the different T5 ropes. Can you point to the branch you 're working for pr...
1,595
1,631
1,606
NONE
null
Hi Team, I was exploring the pre training procedure/document for T5 models(small,base, large) models on different languages from scratch. However did not come across anything which could help me. Please share if there is any resource for the same. If not, could you please consider to include it . Thank you .
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5996/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5996/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5995
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5995/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5995/comments
https://api.github.com/repos/huggingface/transformers/issues/5995/events
https://github.com/huggingface/transformers/pull/5995
664,435,922
MDExOlB1bGxSZXF1ZXN0NDU1Njc2MDEy
5,995
[WIP] Trainer supports all Datasets as train_dataset, with/without __len__ #5990
{ "login": "j-rossi-nl", "id": 48321582, "node_id": "MDQ6VXNlcjQ4MzIxNTgy", "avatar_url": "https://avatars.githubusercontent.com/u/48321582?v=4", "gravatar_id": "", "url": "https://api.github.com/users/j-rossi-nl", "html_url": "https://github.com/j-rossi-nl", "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
[]
[ "> Note that there is some moving around of the code in Trainer coming in #5982 (I'll probably merge it today) so you may need to adapt a bit the code.\r\n\r\nI'll wait for the merge of #5982 and introduce the fix for #5990 after.\r\n\r\n> Note that there is no test_steps field since the evaluation is supposed to b...
1,595
1,603
1,602
CONTRIBUTOR
null
A first PR. Passed: - `make test` - `make style` - `make quality` Modifies: - trainer.py: fixes issue - test_trainer.py: calls `Trainer.train()` It fixes only the case where the TRAINING dataset has not the `__len__` method. The distinction is not between `Dataset` and `IterableDataset`, but between ob...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5995/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5995/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5995", "html_url": "https://github.com/huggingface/transformers/pull/5995", "diff_url": "https://github.com/huggingface/transformers/pull/5995.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5995.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5994
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5994/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5994/comments
https://api.github.com/repos/huggingface/transformers/issues/5994/events
https://github.com/huggingface/transformers/pull/5994
664,369,262
MDExOlB1bGxSZXF1ZXN0NDU1NjE5NjM2
5,994
[examples (seq2seq)] fix preparing decoder_input_ids for T5
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5994?src=pr&el=h1) Report\n> Merging [#5994](https://codecov.io/gh/huggingface/transformers/pull/5994?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/33d7506ea10ca92886fd1bb3b5306a1a720c58fe&el=desc) will **decrease...
1,595
1,595
1,595
MEMBER
null
possible fix for #5987 `</s>` should be added at the end of target text @sshleifer
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5994/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5994/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5994", "html_url": "https://github.com/huggingface/transformers/pull/5994", "diff_url": "https://github.com/huggingface/transformers/pull/5994.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5994.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5993
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5993/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5993/comments
https://api.github.com/repos/huggingface/transformers/issues/5993/events
https://github.com/huggingface/transformers/issues/5993
664,331,715
MDU6SXNzdWU2NjQzMzE3MTU=
5,993
Store Predictions on CPU in Every Prediction Iteration (Trainer)
{ "login": "gonglinyuan", "id": 9744170, "node_id": "MDQ6VXNlcjk3NDQxNzA=", "avatar_url": "https://avatars.githubusercontent.com/u/9744170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gonglinyuan", "html_url": "https://github.com/gonglinyuan", "followers_url": "https://api.github.com/us...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,595
1,601
1,601
CONTRIBUTOR
null
# 🚀 Feature request Store Predictions on CPU in Every Prediction Iteration (Trainer) ## Motivation Currently, in [`Trainer._prediction_loop`,](https://github.com/huggingface/transformers/blob/33d7506ea10ca92886fd1bb3b5306a1a720c58fe/src/transformers/trainer.py#L785) the predictions (logits) of the model is s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5993/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/5993/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5992
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5992/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5992/comments
https://api.github.com/repos/huggingface/transformers/issues/5992/events
https://github.com/huggingface/transformers/pull/5992
664,324,158
MDExOlB1bGxSZXF1ZXN0NDU1NTgxMTYw
5,992
ONNX documentation
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5992?src=pr&el=h1) Report\n> Merging [#5992](https://codecov.io/gh/huggingface/transformers/pull/5992?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d32279438a73e71961f53baa4fb47d0f08c2984d&el=desc) will **increase...
1,595
1,596
1,596
MEMBER
null
- Rename the current **torchscript.rst** to **serialization.rst** - Move torchscript documentation into a subsection of the above **serialization.rst** - Introduce documentation for ONNX/ONNXRuntime in the above section Signed-off-by: Morgan Funtowicz <funtowiczmo@gmail.com>
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5992/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5992/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5992", "html_url": "https://github.com/huggingface/transformers/pull/5992", "diff_url": "https://github.com/huggingface/transformers/pull/5992.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5992.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5991
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5991/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5991/comments
https://api.github.com/repos/huggingface/transformers/issues/5991/events
https://github.com/huggingface/transformers/issues/5991
664,301,935
MDU6SXNzdWU2NjQzMDE5MzU=
5,991
T5 Tensorflow: _shift_right returns wrong result
{ "login": "maurice-g", "id": 2892585, "node_id": "MDQ6VXNlcjI4OTI1ODU=", "avatar_url": "https://avatars.githubusercontent.com/u/2892585?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maurice-g", "html_url": "https://github.com/maurice-g", "followers_url": "https://api.github.com/users/ma...
[]
closed
false
null
[]
[ "Hi, thanks for raising this issue! Indeed, this looks like an issue. Do you want to open a PR with the fix you propose?", "Hey @maurice-g, \r\n\r\nThanks a lot for the fix!" ]
1,595
1,596
1,596
CONTRIBUTOR
null
# 🐛 Bug ## Information The [_shift_right](https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_tf_t5.py#L777) method of the `TFT5PreTrainedModel` returns all zeros instead of shifting the `input_ids`. ## To reproduce ``` import tensorflow as tf def shape_list(x): """De...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5991/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5991/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5990
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5990/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5990/comments
https://api.github.com/repos/huggingface/transformers/issues/5990/events
https://github.com/huggingface/transformers/issues/5990
664,279,965
MDU6SXNzdWU2NjQyNzk5NjU=
5,990
Trainer: exception raised when calling len() on IterableDataset
{ "login": "j-rossi-nl", "id": 48321582, "node_id": "MDQ6VXNlcjQ4MzIxNTgy", "avatar_url": "https://avatars.githubusercontent.com/u/48321582?v=4", "gravatar_id": "", "url": "https://api.github.com/users/j-rossi-nl", "html_url": "https://github.com/j-rossi-nl", "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 because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,595
1,601
1,601
CONTRIBUTOR
null
# 🐛 Bug ## Information While pre-training a Longformer model from scratch, the text is delivered through an `IterableDataset` object. The code which is called by `Trainer.train()` still calls `len()` on this object, which raises an exception. #5829 addressed the proper creation of the Dataloader. The problem a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5990/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5990/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5989
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5989/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5989/comments
https://api.github.com/repos/huggingface/transformers/issues/5989/events
https://github.com/huggingface/transformers/pull/5989
664,279,942
MDExOlB1bGxSZXF1ZXN0NDU1NTQ0NzEz
5,989
Create README.md
{ "login": "gianfrancobarone", "id": 18675023, "node_id": "MDQ6VXNlcjE4Njc1MDIz", "avatar_url": "https://avatars.githubusercontent.com/u/18675023?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gianfrancobarone", "html_url": "https://github.com/gianfrancobarone", "followers_url": "https://...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5989?src=pr&el=h1) Report\n> Merging [#5989](https://codecov.io/gh/huggingface/transformers/pull/5989?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/33d7506ea10ca92886fd1bb3b5306a1a720c58fe&el=desc) will **increase...
1,595
1,595
1,595
CONTRIBUTOR
null
Hello, we are making this pull request to add model card for our Italian sentiment political model. Thanks!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5989/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5989/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5989", "html_url": "https://github.com/huggingface/transformers/pull/5989", "diff_url": "https://github.com/huggingface/transformers/pull/5989.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5989.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5988
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5988/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5988/comments
https://api.github.com/repos/huggingface/transformers/issues/5988/events
https://github.com/huggingface/transformers/issues/5988
664,265,665
MDU6SXNzdWU2NjQyNjU2NjU=
5,988
EncoderDecoderModel: weight can not be init from the checkpoint
{ "login": "nghuyong", "id": 16462374, "node_id": "MDQ6VXNlcjE2NDYyMzc0", "avatar_url": "https://avatars.githubusercontent.com/u/16462374?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nghuyong", "html_url": "https://github.com/nghuyong", "followers_url": "https://api.github.com/users/ngh...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @nghuyong , you won't need to fix this warning, the reason for this warning is that cross-attention layer is added newly in the model as both of these models are encoder models and cross-attention is not available for encoder only models.\r\n\r\nThis warning will go away when you train the model, after trainin...
1,595
1,604
1,604
CONTRIBUTOR
null
I try to use EncoderDecoderModel to train a Chinese summary model. ```Python from transformers import BertConfig, EncoderDecoderConfig, EncoderDecoderModel encoder_config = BertConfig.from_pretrained('bert-base-chinese') decoder_config = BertConfig.from_pretrained('bert-base-chinese', is_decoder=True) encod...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5988/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/5988/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5987
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5987/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5987/comments
https://api.github.com/repos/huggingface/transformers/issues/5987/events
https://github.com/huggingface/transformers/issues/5987
664,216,578
MDU6SXNzdWU2NjQyMTY1Nzg=
5,987
Possible bug in preparing deocder_input_ids for T5 in seq2seq finetune.y
{ "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
[]
[ "This could be one of the reasons for strange T5 behaviour.", "Yes this is an excellent catch @patil-suraj !" ]
1,595
1,595
1,595
MEMBER
null
In finetune.py in `_step` method ([link](https://github.com/huggingface/transformers/blob/master/examples/seq2seq/finetune.py#L131)) `decoder_input_ids` are prepared like this ```python3 source_ids, source_mask, target_ids = batch["input_ids"], batch["attention_mask"], batch["decoder_input_ids"] decoder_input_ids = ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5987/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5987/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5986
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5986/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5986/comments
https://api.github.com/repos/huggingface/transformers/issues/5986/events
https://github.com/huggingface/transformers/issues/5986
664,146,960
MDU6SXNzdWU2NjQxNDY5NjA=
5,986
how can I download T5-11B pretrained model?
{ "login": "shamanez", "id": 16892570, "node_id": "MDQ6VXNlcjE2ODkyNTcw", "avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shamanez", "html_url": "https://github.com/shamanez", "followers_url": "https://api.github.com/users/sha...
[ { "id": 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 get an error when trying to use the hosted inference API too.\r\n\r\n\r\n> ⚠️ Error loading model Can't load weights for 't5-11b'. Make sure that: - 't5-11b' is a correct model identifier listed on 'https://huggingface.co/models' - or 't5-11b' is the correct path to a directory containing a file named one of pyt...
1,595
1,648
1,601
CONTRIBUTOR
null
It gives me the following error. **OSError: Can't load weights for 't5-11b'. Make sure that: - 't5-11b' is a correct model identifier listed on 'https://huggingface.co/models' - or 't5-11b' is the correct path to a directory containing a file named one of pytorch_model.bin, tf_model.h5, model.ckpt.**
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5986/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5986/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5985
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5985/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5985/comments
https://api.github.com/repos/huggingface/transformers/issues/5985/events
https://github.com/huggingface/transformers/pull/5985
664,065,639
MDExOlB1bGxSZXF1ZXN0NDU1MzY4MjUz
5,985
Update doc of the model page
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5985?src=pr&el=h1) Report\n> Merging [#5985](https://codecov.io/gh/huggingface/transformers/pull/5985?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c3206eef44e9fbfca9ed4527f528107fcba31888&el=desc) will **decrease...
1,595
1,595
1,595
COLLABORATOR
null
Fixes docstring to conform to sphinx syntax and rephrase when needed. Also fixed bad copy-pastes from PyTorch to TF. Preview is [here](https://64023-155220641-gh.circle-artifacts.com/0/docs/_build/html/main_classes/model.html).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5985/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5985/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5985", "html_url": "https://github.com/huggingface/transformers/pull/5985", "diff_url": "https://github.com/huggingface/transformers/pull/5985.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5985.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5984
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5984/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5984/comments
https://api.github.com/repos/huggingface/transformers/issues/5984/events
https://github.com/huggingface/transformers/issues/5984
664,064,128
MDU6SXNzdWU2NjQwNjQxMjg=
5,984
Albert pre-train from scratch convergence problem
{ "login": "yl-to", "id": 23205976, "node_id": "MDQ6VXNlcjIzMjA1OTc2", "avatar_url": "https://avatars.githubusercontent.com/u/23205976?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yl-to", "html_url": "https://github.com/yl-to", "followers_url": "https://api.github.com/users/yl-to/follow...
[]
closed
false
null
[]
[ "@patil-suraj @julien-c @sgugger @sshleifer ", "I tried different learning rate like 1.76e-3, 5e-5.(https://github.com/huggingface/transformers/issues/4727)\r\ndifferent dataset type: TextDataset, line_by_lineDataset.\r\nNone of them works.", "I don't think your script will work like this, since the model requi...
1,595
1,660
1,599
CONTRIBUTOR
null
# 🐛 Bug Albert pre-train convergence problem - The model training loss converged at 6.6 when using AlbertForMaskedLM as model class - negative training loss when using AlbertForPretrain as model class notice: I was deliberately set the eval dataset the same as training set for checking training loss at last run....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5984/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5984/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5983
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5983/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5983/comments
https://api.github.com/repos/huggingface/transformers/issues/5983/events
https://github.com/huggingface/transformers/issues/5983
664,036,345
MDU6SXNzdWU2NjQwMzYzNDU=
5,983
pipeline does not do truncation on long texts input, error message found
{ "login": "yuyongze", "id": 41526760, "node_id": "MDQ6VXNlcjQxNTI2NzYw", "avatar_url": "https://avatars.githubusercontent.com/u/41526760?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuyongze", "html_url": "https://github.com/yuyongze", "followers_url": "https://api.github.com/users/yuy...
[]
closed
false
null
[]
[ "Duplicate of #4224" ]
1,595
1,595
1,595
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): No specified Language I am using the model on (English, Chinese ...): English The problem arises when using: * [ ] the official example scripts: (give details below) * [X] my own modified scripts: (give details below) The tasks I am working on...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5983/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5983/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5982
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5982/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5982/comments
https://api.github.com/repos/huggingface/transformers/issues/5982/events
https://github.com/huggingface/transformers/pull/5982
664,015,975
MDExOlB1bGxSZXF1ZXN0NDU1MzI2ODY2
5,982
Cleanup Trainer and expose customization points
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5982?src=pr&el=h1) Report\n> Merging [#5982](https://codecov.io/gh/huggingface/transformers/pull/5982?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2c0da7803a75f0fc6e6d484e23ca283faa32d785&el=desc) will **decrease...
1,595
1,595
1,595
COLLABORATOR
null
Clean up some parts of the code of `Trainer` and expose some function as customization points (doc will follow if you agree on this).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5982/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5982/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5982", "html_url": "https://github.com/huggingface/transformers/pull/5982", "diff_url": "https://github.com/huggingface/transformers/pull/5982.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5982.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5981
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5981/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5981/comments
https://api.github.com/repos/huggingface/transformers/issues/5981/events
https://github.com/huggingface/transformers/pull/5981
663,958,148
MDExOlB1bGxSZXF1ZXN0NDU1Mjc5MTkz
5,981
[WIP] Proposal for TF model outputs
{ "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
[]
[ "Sadly changing the `__iter__` function does not work as it's used inside TensorFlow (specifically in `tensorflow/python/util/nest.py`).", "Ok closing this prototype now that we have a way forward (see [the forum](https://discuss.huggingface.co/t/new-model-output-types/195/8))." ]
1,595
1,596
1,596
COLLABORATOR
null
This picks up on the work @thomwolf did on #5740 to have self-documented outputs in TensorFlow that are compatible with the AutoGraph system. `TFModelOuput` subclasses `OrderedDict` while still being a dataclass, with some tweaks in the `post_init`: - only the not-None attributes are set as values for the dictionary ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5981/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5981/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5981", "html_url": "https://github.com/huggingface/transformers/pull/5981", "diff_url": "https://github.com/huggingface/transformers/pull/5981.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5981.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5980
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5980/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5980/comments
https://api.github.com/repos/huggingface/transformers/issues/5980/events
https://github.com/huggingface/transformers/pull/5980
663,944,825
MDExOlB1bGxSZXF1ZXN0NDU1MjY4NDIy
5,980
add fine-tuned mobilebert squad v1 and squad v2 model cards
{ "login": "csarron", "id": 8440740, "node_id": "MDQ6VXNlcjg0NDA3NDA=", "avatar_url": "https://avatars.githubusercontent.com/u/8440740?v=4", "gravatar_id": "", "url": "https://api.github.com/users/csarron", "html_url": "https://github.com/csarron", "followers_url": "https://api.github.com/users/csarron/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,595
1,595
1,595
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5980/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5980/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5980", "html_url": "https://github.com/huggingface/transformers/pull/5980", "diff_url": "https://github.com/huggingface/transformers/pull/5980.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5980.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5979
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5979/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5979/comments
https://api.github.com/repos/huggingface/transformers/issues/5979/events
https://github.com/huggingface/transformers/issues/5979
663,924,651
MDU6SXNzdWU2NjM5MjQ2NTE=
5,979
dynamic masking for RoBERTa model
{ "login": "mingyang3github", "id": 8649789, "node_id": "MDQ6VXNlcjg2NDk3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/8649789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mingyang3github", "html_url": "https://github.com/mingyang3github", "followers_url": "https://api.g...
[]
closed
false
null
[]
[ "Hi @mingyang3github \r\nmasking is implemented in ` DataCollatorForLanguageModeling`'s `mask_tokens` method, [here](https://github.com/huggingface/transformers/blob/master/src/transformers/data/data_collator.py#L103)\r\n\r\nFor pre-training you can use the language modeling script, it takes of the dataset and mask...
1,595
1,648
1,601
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5979/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5979/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5978
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5978/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5978/comments
https://api.github.com/repos/huggingface/transformers/issues/5978/events
https://github.com/huggingface/transformers/issues/5978
663,908,923
MDU6SXNzdWU2NjM5MDg5MjM=
5,978
Training data format
{ "login": "vyaslkv", "id": 33617789, "node_id": "MDQ6VXNlcjMzNjE3Nzg5", "avatar_url": "https://avatars.githubusercontent.com/u/33617789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vyaslkv", "html_url": "https://github.com/vyaslkv", "followers_url": "https://api.github.com/users/vyaslk...
[ { "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
[]
[ "```\r\nfrom transformers import AutoModelWithLMHead, AutoTokenizer\r\n\r\ntokenizer = AutoTokenizer.from_pretrained(\"language-modeling/output/\")\r\nmodel = AutoModelWithLMHead.from_pretrained(\"language-modeling/output/\")\r\n\r\n\r\ninput_text=\"organic che\"\r\nfeatures = tokenizer([input_text], return_tensors...
1,595
1,604
1,604
NONE
null
I have text on which I want to fine tune the gpt2 model for text autocompletion on my text the text sentences are separated by new line is there any format I should follow. When I trained on the data as it is it is not giving me proper results with the default training parameters. I have nearly after split 25k sentence...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5978/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5978/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5977
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5977/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5977/comments
https://api.github.com/repos/huggingface/transformers/issues/5977/events
https://github.com/huggingface/transformers/pull/5977
663,892,270
MDExOlB1bGxSZXF1ZXN0NDU1MjI1NjE2
5,977
[demo] Broken fp16 test
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[]
1,595
1,651
1,595
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5977/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5977/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5977", "html_url": "https://github.com/huggingface/transformers/pull/5977", "diff_url": "https://github.com/huggingface/transformers/pull/5977.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5977.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5976
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5976/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5976/comments
https://api.github.com/repos/huggingface/transformers/issues/5976/events
https://github.com/huggingface/transformers/pull/5976
663,874,296
MDExOlB1bGxSZXF1ZXN0NDU1MjEwOTcy
5,976
[test] partial coverage for train_mbart_enro_cc25.sh
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5976?src=pr&el=h1) Report\n> Merging [#5976](https://codecov.io/gh/huggingface/transformers/pull/5976?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2c0da7803a75f0fc6e6d484e23ca283faa32d785&el=desc) will **decrease...
1,595
1,595
1,595
CONTRIBUTOR
null
CI covers all the examples logic that doesn't run on CUDA. Adds coverage for: - user facing bash script train_mbart_cc25_enro.sh - the idea that seq2seq/finetune.py should lead to models getting better/ val BLEU increasing. This only takes 10s to run on brutasse, so I gave it a minute for github actions CI, the o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5976/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5976/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5976", "html_url": "https://github.com/huggingface/transformers/pull/5976", "diff_url": "https://github.com/huggingface/transformers/pull/5976.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5976.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5975
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5975/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5975/comments
https://api.github.com/repos/huggingface/transformers/issues/5975/events
https://github.com/huggingface/transformers/pull/5975
663,817,799
MDExOlB1bGxSZXF1ZXN0NDU1MTY0NDk4
5,975
Transformer-XL: Fixed returned outputs when using `return_tuple=True`
{ "login": "RafaelWO", "id": 38643099, "node_id": "MDQ6VXNlcjM4NjQzMDk5", "avatar_url": "https://avatars.githubusercontent.com/u/38643099?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RafaelWO", "html_url": "https://github.com/RafaelWO", "followers_url": "https://api.github.com/users/Raf...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5975?src=pr&el=h1) Report\n> Merging [#5975](https://codecov.io/gh/huggingface/transformers/pull/5975?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ae67b2439fb15954bfd8f0fdf521cf1a650bafb9&el=desc) will **increase...
1,595
1,596
1,595
CONTRIBUTOR
null
Fixes #5974 `mems` are returned again when using `return_tuple=True`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5975/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5975/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5975", "html_url": "https://github.com/huggingface/transformers/pull/5975", "diff_url": "https://github.com/huggingface/transformers/pull/5975.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5975.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5974
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5974/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5974/comments
https://api.github.com/repos/huggingface/transformers/issues/5974/events
https://github.com/huggingface/transformers/issues/5974
663,805,673
MDU6SXNzdWU2NjM4MDU2NzM=
5,974
Transformer-XL: no mems are return when using 'return_tuple'
{ "login": "RafaelWO", "id": 38643099, "node_id": "MDQ6VXNlcjM4NjQzMDk5", "avatar_url": "https://avatars.githubusercontent.com/u/38643099?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RafaelWO", "html_url": "https://github.com/RafaelWO", "followers_url": "https://api.github.com/users/Raf...
[]
closed
false
{ "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...
[ { "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.git...
[ "Thanks for flagging the issue, the fix is on its way to review.", "Oh, I opened a PR for this, but it seems you fixed it yourself. I will close my PR then," ]
1,595
1,595
1,595
CONTRIBUTOR
null
# 🐛 Bug ## Information The forward pass of the `TransfoXLLMHeadModel` returns no `mems` when using `return_tuple=True`. Model I am using: Transformer-XL Language I am using the model on: English The problem arises when using: * [x] my own modified scripts: (give details below) ## To reproduce ```...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5974/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5974/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5973
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5973/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5973/comments
https://api.github.com/repos/huggingface/transformers/issues/5973/events
https://github.com/huggingface/transformers/issues/5973
663,798,325
MDU6SXNzdWU2NjM3OTgzMjU=
5,973
[cleanup] much cruft in unittests
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "id": 1108649053, "node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted", "name": "Help wanted", "color": "008672", "default": false, "description": "Extra attention is needed, help appreciated" }, { "id": 2139...
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "@stas00, this might be up your alley! ", "will do, thank you!", "a large part is done: https://github.com/huggingface/transformers/pull/6196\r\n", "problem: not all `results` in tests are objects, some are plain dict and can't be called with `.key_name`. So there is a large chunk of tests that haven't been r...
1,595
1,596
1,596
CONTRIBUTOR
null
Anti patterns: - making a result dict and then using each of it's keys. Why use the dict? - delete all mentions of `check_loss_output` - use tuple equality: `self.assertEqual(tensor.shape, (bs, seq_len)` instead of ```python self.assertListEqual(list(tensor.size()), [bs, seq_len]) ``` This does not need to be...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5973/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5973/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5972
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5972/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5972/comments
https://api.github.com/repos/huggingface/transformers/issues/5972/events
https://github.com/huggingface/transformers/pull/5972
663,780,274
MDExOlB1bGxSZXF1ZXN0NDU1MTMzOTE3
5,972
Update to match renamed attributes in fairseq master
{ "login": "LilianBordeau", "id": 24193358, "node_id": "MDQ6VXNlcjI0MTkzMzU4", "avatar_url": "https://avatars.githubusercontent.com/u/24193358?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LilianBordeau", "html_url": "https://github.com/LilianBordeau", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Do you mind doing the code quality so that we can merge? You can do `pip install -e \".[quality]` followed by `make style && make quality`.\r\n\r\nIf you don't have access to your fork, I can push on it directly to update the code quality and merge after.", "Hi @LysandreJik,\r\nI tried to do the code quality but...
1,595
1,596
1,596
NONE
null
Fix #5917 : RobertaModel no longer have model.encoder and args.num_classes attributes as of 5/28/20.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5972/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5972/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5972", "html_url": "https://github.com/huggingface/transformers/pull/5972", "diff_url": "https://github.com/huggingface/transformers/pull/5972.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5972.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5971
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5971/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5971/comments
https://api.github.com/repos/huggingface/transformers/issues/5971/events
https://github.com/huggingface/transformers/issues/5971
663,752,778
MDU6SXNzdWU2NjM3NTI3Nzg=
5,971
ImportError: cannot import name 'MODEL_WITH_LM_HEAD_MAPPING'
{ "login": "ccoay", "id": 20883154, "node_id": "MDQ6VXNlcjIwODgzMTU0", "avatar_url": "https://avatars.githubusercontent.com/u/20883154?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ccoay", "html_url": "https://github.com/ccoay", "followers_url": "https://api.github.com/users/ccoay/follow...
[]
closed
false
null
[]
[]
1,595
1,595
1,595
NONE
null
such error really annoys me.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5971/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 1, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5971/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5970
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5970/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5970/comments
https://api.github.com/repos/huggingface/transformers/issues/5970/events
https://github.com/huggingface/transformers/pull/5970
663,745,142
MDExOlB1bGxSZXF1ZXN0NDU1MTA1MDUy
5,970
[WIP] Ner pipeline grouped_entities fixes
{ "login": "cceyda", "id": 15624271, "node_id": "MDQ6VXNlcjE1NjI0Mjcx", "avatar_url": "https://avatars.githubusercontent.com/u/15624271?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cceyda", "html_url": "https://github.com/cceyda", "followers_url": "https://api.github.com/users/cceyda/fo...
[]
closed
false
null
[]
[ "I'm wondering should the B & I part maybe separated from the entity type part? In the sense that you average the entities (disregarding the B/I part) and vice-versa. I now have the feeling that only the first subtoken decides whether the complete word is a B or an I. ", "I want to complete this but ran into anot...
1,595
1,604
1,604
CONTRIBUTOR
null
There are many issues with ner pipeline using grouped_entities=True https://github.com/huggingface/transformers/issues/5077 https://github.com/huggingface/transformers/issues/4816 https://github.com/huggingface/transformers/issues/5730 https://github.com/huggingface/transformers/issues/5609 https://github.com/hugg...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5970/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5970/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5970", "html_url": "https://github.com/huggingface/transformers/pull/5970", "diff_url": "https://github.com/huggingface/transformers/pull/5970.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5970.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5969
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5969/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5969/comments
https://api.github.com/repos/huggingface/transformers/issues/5969/events
https://github.com/huggingface/transformers/issues/5969
663,744,142
MDU6SXNzdWU2NjM3NDQxNDI=
5,969
run_squad example doesn't work with XLM model
{ "login": "sshearing", "id": 19912805, "node_id": "MDQ6VXNlcjE5OTEyODA1", "avatar_url": "https://avatars.githubusercontent.com/u/19912805?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshearing", "html_url": "https://github.com/sshearing", "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
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "see also #3535", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,595
1,602
1,602
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): XLM Language I am using the model on (English, Chinese ...): Korean The problem arises when using: * [ ] the official example scripts: run_squad.py * [ ] my own modified scripts: (give details below) The tasks I am working on is: * [ ] an off...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5969/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5969/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5968
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5968/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5968/comments
https://api.github.com/repos/huggingface/transformers/issues/5968/events
https://github.com/huggingface/transformers/issues/5968
663,708,806
MDU6SXNzdWU2NjM3MDg4MDY=
5,968
Loss becoming nearly zero in first 5K steps when training LM from scratch
{ "login": "008karan", "id": 18630864, "node_id": "MDQ6VXNlcjE4NjMwODY0", "avatar_url": "https://avatars.githubusercontent.com/u/18630864?v=4", "gravatar_id": "", "url": "https://api.github.com/users/008karan", "html_url": "https://github.com/008karan", "followers_url": "https://api.github.com/users/008...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi! This is an interesting question, have you tried asking it over on the forums at https://discuss.huggingface.co ? You'll probably get more answers over there.", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you...
1,595
1,602
1,602
NONE
null
I am training the ALBERT LM model from scratch. I have already trained it for Hindi and Bangla and it was working fine but when I am training on Gujarati, the loss is becoming zero in 5K steps. What could be the reason for the sudden drop in the loss? Can anyone suggest what could be the cause or how to debug suc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5968/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5968/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5967
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5967/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5967/comments
https://api.github.com/repos/huggingface/transformers/issues/5967/events
https://github.com/huggingface/transformers/pull/5967
663,695,546
MDExOlB1bGxSZXF1ZXN0NDU1MDYzNTU5
5,967
Actually the extra_id are from 0-99 and not from 1-100
{ "login": "orena1", "id": 8983713, "node_id": "MDQ6VXNlcjg5ODM3MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/8983713?v=4", "gravatar_id": "", "url": "https://api.github.com/users/orena1", "html_url": "https://github.com/orena1", "followers_url": "https://api.github.com/users/orena1/foll...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5967?src=pr&el=h1) Report\n> Merging [#5967](https://codecov.io/gh/huggingface/transformers/pull/5967?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ae67b2439fb15954bfd8f0fdf521cf1a650bafb9&el=desc) will **not chan...
1,595
1,596
1,596
CONTRIBUTOR
null
``` a = tokenizer.encode("we got a <extra_id_99>", return_tensors='pt',add_special_tokens=True) print(a) >tensor([[ 62, 530, 3, 9, 32000]]) a = tokenizer.encode("we got a <extra_id_100>", return_tensors='pt',add_special_tokens=True) print(a) >tensor([[ 62, 530, 3, 9, 3, 2, 25666, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5967/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5967/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5967", "html_url": "https://github.com/huggingface/transformers/pull/5967", "diff_url": "https://github.com/huggingface/transformers/pull/5967.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5967.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5966
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5966/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5966/comments
https://api.github.com/repos/huggingface/transformers/issues/5966/events
https://github.com/huggingface/transformers/pull/5966
663,682,179
MDExOlB1bGxSZXF1ZXN0NDU1MDUyMTg3
5,966
Bug fix: NER pipeline shouldn't group separate entities of same type
{ "login": "cceyda", "id": 15624271, "node_id": "MDQ6VXNlcjE1NjI0Mjcx", "avatar_url": "https://avatars.githubusercontent.com/u/15624271?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cceyda", "html_url": "https://github.com/cceyda", "followers_url": "https://api.github.com/users/cceyda/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
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,595
1,601
1,601
CONTRIBUTOR
null
## Effects nlp=pipeline('ner', ... , grouped_entities=True) ## Fixes Separate entities of same type shouldn't be grouped together even if they are same type ( B-type1 B-type1 ) != ( B-type1 I-type1 ) ## Example "something something Istanbul Los Angeles something something" Current output: [ (O O) (B-typ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5966/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5966/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5966", "html_url": "https://github.com/huggingface/transformers/pull/5966", "diff_url": "https://github.com/huggingface/transformers/pull/5966.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5966.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5965
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5965/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5965/comments
https://api.github.com/repos/huggingface/transformers/issues/5965/events
https://github.com/huggingface/transformers/issues/5965
663,591,586
MDU6SXNzdWU2NjM1OTE1ODY=
5,965
BerTweet tokenizer issue
{ "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...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1834056761, "node_id": "MDU6TGFiZWwxODM0MDU2NzYx", ...
closed
false
null
[]
[ "This model is defined as a `roberta` model but its tokenizer seems to be a Wordpiece tokenizer (based on the `vocab.txt` file), whereas Roberta uses a Byte-level BPE.\r\n\r\nThis is not currently supported out of the box by our `AutoTokenizer/AutoModel` features (model type ≠ tokenizer type) nor by our Pipelines b...
1,595
1,604
1,604
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): Bertweet ## To reproduce Steps to reproduce the behavior: 1. tokenizer = AutoTokenizer.from_pretrained("vinai/bertweet-base") 2. 3. OSError: Model name 'vinai/bertweet-base' was not found in tokenizers model name list (roberta-base, robe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5965/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5965/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5964
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5964/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5964/comments
https://api.github.com/repos/huggingface/transformers/issues/5964/events
https://github.com/huggingface/transformers/issues/5964
663,582,779
MDU6SXNzdWU2NjM1ODI3Nzk=
5,964
text classification reuse without classifier
{ "login": "YuBeomGon", "id": 44599580, "node_id": "MDQ6VXNlcjQ0NTk5NTgw", "avatar_url": "https://avatars.githubusercontent.com/u/44599580?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YuBeomGon", "html_url": "https://github.com/YuBeomGon", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi! This doesn't currently work, because it's trying to instantiate a classification layer with 10 labels, while the checkpoint's classification layer has 19 labels. \r\n\r\nWhat you want is to keep the base layers, but ignore the classification layers. In order to do so, you can load your checkpoint in a base `Ro...
1,595
1,596
1,596
NONE
null
thanks in advance. I want to train first more data, it mans more label. (its like pretraining) after that I choose some label only, and train again. But error happened during below code tokenizer = RobertaTokenizer.from_pretrained(pretrained_path, do_lower_case=False) model = RobertaForSequenceClassificatio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5964/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5964/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5963
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5963/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5963/comments
https://api.github.com/repos/huggingface/transformers/issues/5963/events
https://github.com/huggingface/transformers/issues/5963
663,494,106
MDU6SXNzdWU2NjM0OTQxMDY=
5,963
Bert forward reports error on GPU; but runs fine on CPU
{ "login": "RayLei", "id": 1709968, "node_id": "MDQ6VXNlcjE3MDk5Njg=", "avatar_url": "https://avatars.githubusercontent.com/u/1709968?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RayLei", "html_url": "https://github.com/RayLei", "followers_url": "https://api.github.com/users/RayLei/foll...
[]
closed
false
null
[]
[ "CUDA errors are always very cryptic 😕.\r\n\r\nDo you mind giving us an example that we can reproduce (e.g. with an article you're trying to encode that fails), so that we can see what's going on?", "Thank you for the comment. I split my code into 2 script files: one is tokenize; the other is transform. Somehow ...
1,595
1,596
1,596
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5963/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5963/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5962
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5962/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5962/comments
https://api.github.com/repos/huggingface/transformers/issues/5962/events
https://github.com/huggingface/transformers/issues/5962
663,451,578
MDU6SXNzdWU2NjM0NTE1Nzg=
5,962
tensorflow转为pytorch的两个文件在哪里?
{ "login": "ChrisChaw", "id": 41299010, "node_id": "MDQ6VXNlcjQxMjk5MDEw", "avatar_url": "https://avatars.githubusercontent.com/u/41299010?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ChrisChaw", "html_url": "https://github.com/ChrisChaw", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "If I understand correctly and you're asking what/where are those two files:\r\n\r\n- `discriminator.json` is the configuration file for the model you want to convert\r\n- `model.bin` is the location where the converted checkpoint will be saved." ]
1,595
1,596
1,596
NONE
null
![image](https://user-images.githubusercontent.com/41299010/88131997-e31b9480-cc10-11ea-9966-f63a1b425878.png) 大佬您好: 请问这两个文件在哪里?discriminator.json和model.bin
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5962/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5962/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5961
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5961/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5961/comments
https://api.github.com/repos/huggingface/transformers/issues/5961/events
https://github.com/huggingface/transformers/pull/5961
663,443,839
MDExOlB1bGxSZXF1ZXN0NDU0ODU2MDA3
5,961
[docs] Add integration test example to copy pasta template
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5961?src=pr&el=h1) Report\n> Merging [#5961](https://codecov.io/gh/huggingface/transformers/pull/5961?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e714412fe6b38346a1f73525b701e030857b2f21&el=desc) will **decrease...
1,595
1,595
1,595
CONTRIBUTOR
null
Encourage testing practices that have been encouraged since last update, namely: - @slow tests that run on cuda and fp16 if possible and show that your model produces good outputs. - more tests ~= better - unindent the ModelTester - call get_extended_attention_mask and delete massive comment. My code is probab...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5961/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5961/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5961", "html_url": "https://github.com/huggingface/transformers/pull/5961", "diff_url": "https://github.com/huggingface/transformers/pull/5961.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5961.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5960
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5960/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5960/comments
https://api.github.com/repos/huggingface/transformers/issues/5960/events
https://github.com/huggingface/transformers/pull/5960
663,424,873
MDExOlB1bGxSZXF1ZXN0NDU0ODQxMDA5
5,960
Adding Minimal Reproducible Usage Example For TPU support on examples/seq2seq
{ "login": "AdityaSoni19031997", "id": 22738086, "node_id": "MDQ6VXNlcjIyNzM4MDg2", "avatar_url": "https://avatars.githubusercontent.com/u/22738086?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AdityaSoni19031997", "html_url": "https://github.com/AdityaSoni19031997", "followers_url": "ht...
[ { "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
[]
[ "The test will obviously break, right?", "Any progress on merging this?", "they won't accept it as the checks have failed? \nBut it's expected for the checks to fail as I have modified `modeling_bart` and it's gonna have one more Param count.", "Is that so @sshleifer?", "Thanks for the contribution, this lo...
1,595
1,601
1,601
CONTRIBUTOR
null
Attempt to resolve https://github.com/huggingface/transformers/issues/5895. Minimal Working [Colab Example](https://colab.research.google.com/drive/16q2GWrnZ0Tjg1OxJQUcaWKCWwn3Jh5z0?usp=sharing). For using more than a single core, one needs to ensure that enough RAM is available else wait for PyTorch-XLA to relea...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5960/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/5960/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5960", "html_url": "https://github.com/huggingface/transformers/pull/5960", "diff_url": "https://github.com/huggingface/transformers/pull/5960.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5960.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5959
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5959/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5959/comments
https://api.github.com/repos/huggingface/transformers/issues/5959/events
https://github.com/huggingface/transformers/issues/5959
663,423,234
MDU6SXNzdWU2NjM0MjMyMzQ=
5,959
Can't load weights of models
{ "login": "jhqian0909", "id": 47420814, "node_id": "MDQ6VXNlcjQ3NDIwODE0", "avatar_url": "https://avatars.githubusercontent.com/u/47420814?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jhqian0909", "html_url": "https://github.com/jhqian0909", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "I think you can try code :\r\n```\r\nfrom transformers import BertTokenizer, BertModel\r\ntokenizer = BertTokenizer.from_pretrained(\"bert-base-uncased\")\r\nmodel = BertModel.from_pretrained(\"bert-base-uncased\")\r\n```", "> I think you can try code :\r\n> \r\n> ```\r\n> from transformers import BertTokenizer,...
1,595
1,613
1,595
NONE
null
When I run below codes, I can successfully load the tokenizer but fail with loading the models. from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased") model = AutoModelWithLMHead.from_pretrained("bert-base-uncased") Here is the error: OSError: C...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5959/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5959/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5958
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5958/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5958/comments
https://api.github.com/repos/huggingface/transformers/issues/5958/events
https://github.com/huggingface/transformers/pull/5958
663,416,135
MDExOlB1bGxSZXF1ZXN0NDU0ODM0MzA3
5,958
Add functioning early stopping (patience) and weighted random sampling
{ "login": "Breakend", "id": 1609857, "node_id": "MDQ6VXNlcjE2MDk4NTc=", "avatar_url": "https://avatars.githubusercontent.com/u/1609857?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Breakend", "html_url": "https://github.com/Breakend", "followers_url": "https://api.github.com/users/Break...
[ { "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5958?src=pr&el=h1) Report\n> Merging [#5958](https://codecov.io/gh/huggingface/transformers/pull/5958?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/09a2f40684f77e62d0fd8485fe9d2d610390453f&el=desc) will **decrease...
1,595
1,607
1,607
NONE
null
This is to fix the issues in #4186 (hopefully) to get it merged in. Also adds weighted random sampling for imbalanced classes.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5958/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5958/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5958", "html_url": "https://github.com/huggingface/transformers/pull/5958", "diff_url": "https://github.com/huggingface/transformers/pull/5958.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5958.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5957
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5957/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5957/comments
https://api.github.com/repos/huggingface/transformers/issues/5957/events
https://github.com/huggingface/transformers/issues/5957
663,413,769
MDU6SXNzdWU2NjM0MTM3Njk=
5,957
NoneType error when using Trainer
{ "login": "aclifton314", "id": 53267795, "node_id": "MDQ6VXNlcjUzMjY3Nzk1", "avatar_url": "https://avatars.githubusercontent.com/u/53267795?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aclifton314", "html_url": "https://github.com/aclifton314", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "@aclifton314 just wondering if your custom dataset `__getitem__` is configured correctly? \r\ni.e I'm thinking it should be returning `return {'data': x, 'target': y}` or `return x, y`", "@danieldiamond Thank you for the response. That's a good point about `__getitem__`. The data in my csv file is structured in...
1,595
1,595
1,595
NONE
null
## System Info Pop!_OS 20.04 Pytorch: 1.5.1 Transformers: 2.11.0 Python: 3.7.6 ## Background Info I wasn't sure what the `training_dataset` parameter of `Trainer` was so I opted to create a custom Pytorch `DataSet` using this [tutorial](https://pytorch.org/tutorials/beginner/data_loading_tutorial.html). ```pyt...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5957/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5957/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5956
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5956/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5956/comments
https://api.github.com/repos/huggingface/transformers/issues/5956/events
https://github.com/huggingface/transformers/pull/5956
663,397,624
MDExOlB1bGxSZXF1ZXN0NDU0ODE5NzI1
5,956
[CI] Install examples/requirements.txt
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5956?src=pr&el=h1) Report\n> Merging [#5956](https://codecov.io/gh/huggingface/transformers/pull/5956?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e714412fe6b38346a1f73525b701e030857b2f21&el=desc) will **increase...
1,595
1,595
1,595
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5956/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5956/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5956", "html_url": "https://github.com/huggingface/transformers/pull/5956", "diff_url": "https://github.com/huggingface/transformers/pull/5956.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5956.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5955
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5955/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5955/comments
https://api.github.com/repos/huggingface/transformers/issues/5955/events
https://github.com/huggingface/transformers/issues/5955
663,376,572
MDU6SXNzdWU2NjMzNzY1NzI=
5,955
module 'tensorflow_core._api.v2.config' has no attribute 'list_physical_devices'
{ "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
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,595
1,601
1,601
CONTRIBUTOR
null
# 🐛 Bug A bunch of tf tests fail with: ```module 'tensorflow_core._api.v2.config' has no attribute 'list_physical_devices'``` ``` ERROR tests/test_benchmark_tf.py - AttributeError: module 'tensorflow_core._api.v2.config' has no attribute 'list_physical_devices' ERROR tests/test_benchmark_tf.py - AttributeEr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5955/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5955/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5954
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5954/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5954/comments
https://api.github.com/repos/huggingface/transformers/issues/5954/events
https://github.com/huggingface/transformers/pull/5954
663,307,198
MDExOlB1bGxSZXF1ZXN0NDU0NzQ1MjA0
5,954
[pack_dataset] don't sort before packing, only pack train
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5954?src=pr&el=h1) Report\n> Merging [#5954](https://codecov.io/gh/huggingface/transformers/pull/5954?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d1d15d6f2de9e2cde48ff3ea2072add3311ce2ac&el=desc) will **increase...
1,595
1,595
1,595
CONTRIBUTOR
null
this is better than sorting. But for best metrics, don't pack.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5954/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5954/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5954", "html_url": "https://github.com/huggingface/transformers/pull/5954", "diff_url": "https://github.com/huggingface/transformers/pull/5954.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5954.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5953
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5953/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5953/comments
https://api.github.com/repos/huggingface/transformers/issues/5953/events
https://github.com/huggingface/transformers/pull/5953
663,281,157
MDExOlB1bGxSZXF1ZXN0NDU0NzIzNTU3
5,953
CL util to convert models to fp16 before upload
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5953?src=pr&el=h1) Report\n> Merging [#5953](https://codecov.io/gh/huggingface/transformers/pull/5953?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d1d15d6f2de9e2cde48ff3ea2072add3311ce2ac&el=desc) will **increase...
1,595
1,595
1,595
CONTRIBUTOR
null
This should probably go to `commands/`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5953/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5953/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5953", "html_url": "https://github.com/huggingface/transformers/pull/5953", "diff_url": "https://github.com/huggingface/transformers/pull/5953.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5953.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5952
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5952/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5952/comments
https://api.github.com/repos/huggingface/transformers/issues/5952/events
https://github.com/huggingface/transformers/pull/5952
663,262,770
MDExOlB1bGxSZXF1ZXN0NDU0NzA4MjY0
5,952
Create README.md
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,595
1,595
1,595
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5952/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5952/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5952", "html_url": "https://github.com/huggingface/transformers/pull/5952", "diff_url": "https://github.com/huggingface/transformers/pull/5952.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5952.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5951
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5951/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5951/comments
https://api.github.com/repos/huggingface/transformers/issues/5951/events
https://github.com/huggingface/transformers/pull/5951
663,257,921
MDExOlB1bGxSZXF1ZXN0NDU0NzA0MjQx
5,951
Create README.md
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5951?src=pr&el=h1) Report\n> Merging [#5951](https://codecov.io/gh/huggingface/transformers/pull/5951?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/95d1962b9c8460b4cec5a88eb9915e8e25f5bc1e&el=desc) will **decrease...
1,595
1,595
1,595
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5951/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5951/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5951", "html_url": "https://github.com/huggingface/transformers/pull/5951", "diff_url": "https://github.com/huggingface/transformers/pull/5951.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5951.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5950
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5950/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5950/comments
https://api.github.com/repos/huggingface/transformers/issues/5950/events
https://github.com/huggingface/transformers/issues/5950
663,252,101
MDU6SXNzdWU2NjMyNTIxMDE=
5,950
seq2seq: checkpoint callback seems messed up
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "id": 1108649053, "node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted", "name": "Help wanted", "color": "008672", "default": false, "description": "Extra attention is needed, help appreciated" } ]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "wrong thats just the directory. contents make more sense." ]
1,595
1,595
1,595
CONTRIBUTOR
null
![image](https://user-images.githubusercontent.com/6045025/88097457-2967e980-cb66-11ea-85fb-9ea4ae1101e8.png) ^^ lightning checkpoint saved much later than `best_tfmr`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5950/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5950/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5949
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5949/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5949/comments
https://api.github.com/repos/huggingface/transformers/issues/5949/events
https://github.com/huggingface/transformers/pull/5949
663,244,917
MDExOlB1bGxSZXF1ZXN0NDU0NjkzNjUw
5,949
seq2seq/run_eval.py can take decoder_start_token_id
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5949?src=pr&el=h1) Report\n> Merging [#5949](https://codecov.io/gh/huggingface/transformers/pull/5949?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/95d1962b9c8460b4cec5a88eb9915e8e25f5bc1e&el=desc) will **decrease...
1,595
1,595
1,595
CONTRIBUTOR
null
Also: batch_decode: document kwargs for autocomplete
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5949/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5949/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5949", "html_url": "https://github.com/huggingface/transformers/pull/5949", "diff_url": "https://github.com/huggingface/transformers/pull/5949.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5949.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5948
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5948/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5948/comments
https://api.github.com/repos/huggingface/transformers/issues/5948/events
https://github.com/huggingface/transformers/issues/5948
663,242,736
MDU6SXNzdWU2NjMyNDI3MzY=
5,948
Exporting T5 to ONNX
{ "login": "jdsirota", "id": 25303500, "node_id": "MDQ6VXNlcjI1MzAzNTAw", "avatar_url": "https://avatars.githubusercontent.com/u/25303500?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jdsirota", "html_url": "https://github.com/jdsirota", "followers_url": "https://api.github.com/users/jds...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n", "Could you please provide your modified script?", "fwiw, I'm seeing the same error when trying to export a T5 model for translation wi...
1,595
1,622
1,622
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): t5-small (T5ForConditionalGeneration) Language I am using the model on (English, Chinese ...): English The problem arises when using: * [ x ] the official example scripts: (give details below) * [ ] my own modified scripts: (give details below) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5948/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/5948/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5947
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5947/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5947/comments
https://api.github.com/repos/huggingface/transformers/issues/5947/events
https://github.com/huggingface/transformers/issues/5947
663,238,256
MDU6SXNzdWU2NjMyMzgyNTY=
5,947
Test on a new string of gpt2 fine tuned
{ "login": "vyaslkv", "id": 33617789, "node_id": "MDQ6VXNlcjMzNjE3Nzg5", "avatar_url": "https://avatars.githubusercontent.com/u/33617789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vyaslkv", "html_url": "https://github.com/vyaslkv", "followers_url": "https://api.github.com/users/vyaslk...
[]
closed
false
null
[]
[ "I have these files generated\r\n<img width=\"1389\" alt=\"Screenshot 2020-07-22 at 12 39 19 AM\" src=\"https://user-images.githubusercontent.com/33617789/88096141-d1f06a80-cbb3-11ea-8468-9284fb074bef.png\">\r\n", "can you please provide a code snippet", "Not sure what you mean by test, do you want to generate ...
1,595
1,596
1,596
NONE
null
I fine tuned GPT2 on my own dataset now I have fine tuned model how can I test it on new string?? GPT-2/GPT and causal language modeling The following example fine-tunes GPT-2 on WikiText-2. We're using the raw WikiText-2 (no tokens were replaced before the tokenization). The loss here is that of causal language ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5947/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5947/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5946
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5946/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5946/comments
https://api.github.com/repos/huggingface/transformers/issues/5946/events
https://github.com/huggingface/transformers/pull/5946
663,226,550
MDExOlB1bGxSZXF1ZXN0NDU0Njc4NDk4
5,946
Update doc to new model outputs
{ "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
[]
[ "The other problem is that it downloads all models since it tests all examples. The PR fixes some docstrings so I know some of them were broken.\r\n\r\nSide note, the correct command is:\r\n```\r\nRUN_SLOW=yes pytest tests/test_doc_samples.py\r\n```\r\nsince they are all marked as slow.", "# [Codecov](https://cod...
1,595
1,595
1,595
COLLABORATOR
null
This is a follow-up from #5438, adapting doc pages and examples.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5946/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5946/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5946", "html_url": "https://github.com/huggingface/transformers/pull/5946", "diff_url": "https://github.com/huggingface/transformers/pull/5946.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5946.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5945
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5945/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5945/comments
https://api.github.com/repos/huggingface/transformers/issues/5945/events
https://github.com/huggingface/transformers/pull/5945
663,217,174
MDExOlB1bGxSZXF1ZXN0NDU0NjcwODE3
5,945
consistently use True/False for `return_tuple`
{ "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
[]
[ "Mmm, it should be `None` all the time except if the model doesn't have an inner config. The current behavior for all other flags (`output_hidden_states` and `output_attentions`) is that passing an argument supersedes the config. So for instance, passing `return_tuple=False` to the model even if `config.return_tupl...
1,595
1,595
1,595
CONTRIBUTOR
null
… consistently use True/False for `return_tuple` (currently it's sometimes None, sometimes False)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5945/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5945/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5945", "html_url": "https://github.com/huggingface/transformers/pull/5945", "diff_url": "https://github.com/huggingface/transformers/pull/5945.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5945.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5944
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5944/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5944/comments
https://api.github.com/repos/huggingface/transformers/issues/5944/events
https://github.com/huggingface/transformers/issues/5944
663,172,864
MDU6SXNzdWU2NjMxNzI4NjQ=
5,944
process stuck at LineByLineTextDataset. training not starting
{ "login": "arvikumar83", "id": 68608459, "node_id": "MDQ6VXNlcjY4NjA4NDU5", "avatar_url": "https://avatars.githubusercontent.com/u/68608459?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arvikumar83", "html_url": "https://github.com/arvikumar83", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi, this is because it's tokenizing the entire dataset in a single thread, so it's bound to be a bit slow. This class caches the result though, so you will only have to do this step once!" ]
1,595
1,596
1,596
NONE
null
# ❓ Questions & Help I am using below python code. BASE_MODEL = "/data/nlp/bert-base-uncased" CACHE_DIR = "/data/nlp/cache" model = AutoModelWithLMHead.from_pretrained(BASE_MODEL,cache_dir=CACHE_DIR) t_tokenizer = ByteLevelBPETokenizer() t_tokenizer.train(files=paths, vocab_size=52_000, min_frequency=...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5944/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5944/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5943
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5943/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5943/comments
https://api.github.com/repos/huggingface/transformers/issues/5943/events
https://github.com/huggingface/transformers/pull/5943
663,145,104
MDExOlB1bGxSZXF1ZXN0NDU0NjEyOTg4
5,943
[Doc] explaining romanian postprocessing for MBART BLEU hacking
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5943?src=pr&el=h1) Report\n> Merging [#5943](https://codecov.io/gh/huggingface/transformers/pull/5943?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ccbf74a685ae24bd1a0ba1325e4e9a9d62bbb2fa&el=desc) will **decrease...
1,595
1,595
1,595
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5943/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5943/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5943", "html_url": "https://github.com/huggingface/transformers/pull/5943", "diff_url": "https://github.com/huggingface/transformers/pull/5943.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5943.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5942
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5942/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5942/comments
https://api.github.com/repos/huggingface/transformers/issues/5942/events
https://github.com/huggingface/transformers/issues/5942
663,128,288
MDU6SXNzdWU2NjMxMjgyODg=
5,942
Converting GPT2 logits to token ids directly
{ "login": "aclifton314", "id": 53267795, "node_id": "MDQ6VXNlcjUzMjY3Nzk1", "avatar_url": "https://avatars.githubusercontent.com/u/53267795?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aclifton314", "html_url": "https://github.com/aclifton314", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi! This is a very interesting question, I think you would have additional answers if you asked it over on the forums: https://discuss.huggingface.co" ]
1,595
1,597
1,597
NONE
null
## System Info Pop!_OS 20.04 Pytorch: 1.5.1 Transformers: 2.11.0 Python: 3.7.6 ## Background Info Here is the constructor and forward method for the model I am trying to build. Ultimately it will finetune GPT2 with a loss from a ngrams model I made. The loss isn't implemented yet because I want to test the GPT2...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5942/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5942/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5941
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5941/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5941/comments
https://api.github.com/repos/huggingface/transformers/issues/5941/events
https://github.com/huggingface/transformers/pull/5941
663,125,548
MDExOlB1bGxSZXF1ZXN0NDU0NTk3MTMw
5,941
a transparent solution for DataParallel.gather not supporting ModelOutput (dataclass)
{ "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 solves the problems encountered after the model outputs PR and doesn't break anything in existing PyTorch behavior. I don't know how the rest of the team feels about patching over libraries methods though.\r\n\r\nOther possible fixes are:\r\n- breaking changes and just use dicts everywhere (supported by DataP...
1,595
1,603
1,596
CONTRIBUTOR
null
1. Modify torch/nn/parallel/scatter_gather.gather function to support ModelOutput (dataclass) outputs. We override the torch.nn.DataParallel.gather method with this custom method. 2. remove previously committed workarounds implementation: @sgugger integration/testing: me This should transparently solve http...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5941/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5941/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5941", "html_url": "https://github.com/huggingface/transformers/pull/5941", "diff_url": "https://github.com/huggingface/transformers/pull/5941.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5941.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5940
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5940/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5940/comments
https://api.github.com/repos/huggingface/transformers/issues/5940/events
https://github.com/huggingface/transformers/issues/5940
663,107,210
MDU6SXNzdWU2NjMxMDcyMTA=
5,940
What is the difference between the function of add_tokens() and add_special_tokens() in tokenizer
{ "login": "kugwzk", "id": 15382517, "node_id": "MDQ6VXNlcjE1MzgyNTE3", "avatar_url": "https://avatars.githubusercontent.com/u/15382517?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kugwzk", "html_url": "https://github.com/kugwzk", "followers_url": "https://api.github.com/users/kugwzk/fo...
[]
closed
false
null
[]
[ "For some reasons those functions do not appear in the documentation, will have a look at why. The docstrings state of `add_special_tokens` states:\r\n\r\n> Add a dictionary of special tokens (eos, pad, cls...) to the encoder and link them to class attributes. If special tokens are NOT in the vocabulary, they are a...
1,595
1,626
1,596
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5940/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/5940/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5939
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5939/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5939/comments
https://api.github.com/repos/huggingface/transformers/issues/5939/events
https://github.com/huggingface/transformers/issues/5939
663,101,014
MDU6SXNzdWU2NjMxMDEwMTQ=
5,939
Can't use BatchEncoding in the fit function
{ "login": "konstantin-doncov", "id": 6806786, "node_id": "MDQ6VXNlcjY4MDY3ODY=", "avatar_url": "https://avatars.githubusercontent.com/u/6806786?v=4", "gravatar_id": "", "url": "https://api.github.com/users/konstantin-doncov", "html_url": "https://github.com/konstantin-doncov", "followers_url": "https:/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,595
1,601
1,601
NONE
null
I had a [few problems with the `transformers`](https://github.com/huggingface/transformers/issues/5555) and the related [`tensorflow` functionality](https://github.com/tensorflow/tensorflow/issues/41204), but now I've made some progress using trial and error method. You can see the issue in this [gist](https://colab....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5939/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5939/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5938
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5938/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5938/comments
https://api.github.com/repos/huggingface/transformers/issues/5938/events
https://github.com/huggingface/transformers/issues/5938
663,092,524
MDU6SXNzdWU2NjMwOTI1MjQ=
5,938
How does AdamW weight_decay works for L2 regularization?
{ "login": "AsmaTidafi", "id": 36989932, "node_id": "MDQ6VXNlcjM2OTg5OTMy", "avatar_url": "https://avatars.githubusercontent.com/u/36989932?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AsmaTidafi", "html_url": "https://github.com/AsmaTidafi", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi there. General questions like this are probably better asked on the [forum](https://discuss.huggingface.co/). There is a research category that is exactly fitted for this. The `weight_decay` does correspond to the lambda you mention, though it's applied directly to the gradient, to avoid wasting compute with th...
1,595
1,595
1,595
NONE
null
Hello I have some questions about weight regularization in Adam. Apparently the `weight_decay` in the AdamW function https://huggingface.co/transformers/main_classes/optimizer_schedules.html#adamw-pytorch has the same impact as an `L2 regularization`. My questions are: is that parameter the same as `lambda` that we...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5938/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5938/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5937
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5937/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5937/comments
https://api.github.com/repos/huggingface/transformers/issues/5937/events
https://github.com/huggingface/transformers/pull/5937
662,995,460
MDExOlB1bGxSZXF1ZXN0NDU0NDg5MzQz
5,937
typos in seq2seq/readme
{ "login": "AdityaSoni19031997", "id": 22738086, "node_id": "MDQ6VXNlcjIyNzM4MDg2", "avatar_url": "https://avatars.githubusercontent.com/u/22738086?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AdityaSoni19031997", "html_url": "https://github.com/AdityaSoni19031997", "followers_url": "ht...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5937?src=pr&el=h1) Report\n> Merging [#5937](https://codecov.io/gh/huggingface/transformers/pull/5937?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d32279438a73e71961f53baa4fb47d0f08c2984d&el=desc) will **decrease...
1,595
1,595
1,595
CONTRIBUTOR
null
same-as-title.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5937/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5937/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5937", "html_url": "https://github.com/huggingface/transformers/pull/5937", "diff_url": "https://github.com/huggingface/transformers/pull/5937.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5937.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5936
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5936/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5936/comments
https://api.github.com/repos/huggingface/transformers/issues/5936/events
https://github.com/huggingface/transformers/issues/5936
662,993,827
MDU6SXNzdWU2NjI5OTM4Mjc=
5,936
Easy selection of a learning rate scheduler when initializing a Trainer
{ "login": "freeIsa", "id": 61782307, "node_id": "MDQ6VXNlcjYxNzgyMzA3", "avatar_url": "https://avatars.githubusercontent.com/u/61782307?v=4", "gravatar_id": "", "url": "https://api.github.com/users/freeIsa", "html_url": "https://github.com/freeIsa", "followers_url": "https://api.github.com/users/freeIs...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,595
1,601
1,601
NONE
null
# 🚀 Feature request Please consider adding a new argument to the Trainer constructor to specify which among the available learning rate schedulers should be used during training. ## Motivation Even though Trainer already has the option to specify a given optimizer and learning rate scheduler, you need to expl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5936/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/5936/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5935
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5935/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5935/comments
https://api.github.com/repos/huggingface/transformers/issues/5935/events
https://github.com/huggingface/transformers/issues/5935
662,990,175
MDU6SXNzdWU2NjI5OTAxNzU=
5,935
Getting "AttributeError: 'Tensor' object has no attribute 'numpy'" while fine-tuning BERT for NER
{ "login": "mittalpatel", "id": 200955, "node_id": "MDQ6VXNlcjIwMDk1NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/200955?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mittalpatel", "html_url": "https://github.com/mittalpatel", "followers_url": "https://api.github.com/user...
[]
closed
false
null
[]
[ "I run into the same error, installing Transformers with pip fix this (not a preferred solution but it works)\r\n`!pip install --upgrade --no-deps --force-reinstall transformers`\r\n\r\nfine-tuning BERT for NER also fail using `run_ner.py`. The error is \r\n```\r\nTraceback (most recent call last):\r\n File \"tran...
1,595
1,595
1,595
NONE
null
As per https://github.com/huggingface/transformers/tree/master/examples/token-classification after doing the required setup and installing required libraries, when I run ``` python3 run_tf_ner.py --data_dir ./ \ --labels ./labels.txt \ --model_name_or_path $BERT_MODEL \ --output_dir $OUTPUT_DIR \ --max_seq_len...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5935/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5935/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5934
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5934/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5934/comments
https://api.github.com/repos/huggingface/transformers/issues/5934/events
https://github.com/huggingface/transformers/issues/5934
662,857,729
MDU6SXNzdWU2NjI4NTc3Mjk=
5,934
InvalidArgumentError: Cannot convert a Tensor of dtype resource to a NumPy array.
{ "login": "Douboo", "id": 32014271, "node_id": "MDQ6VXNlcjMyMDE0Mjcx", "avatar_url": "https://avatars.githubusercontent.com/u/32014271?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Douboo", "html_url": "https://github.com/Douboo", "followers_url": "https://api.github.com/users/Douboo/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
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,595
1,600
1,600
NONE
null
# 🐛 Bug ## Information Model I am using (Bert): The problem arises when using: * [ ] the official example scripts: (give details below) * [x] my own modified scripts: (give details below) The tasks I am working on is: * [ ] an official GLUE/SQUaD task: (give the name) * [x] my own task or dataset: (g...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5934/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5934/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5933
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5933/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5933/comments
https://api.github.com/repos/huggingface/transformers/issues/5933/events
https://github.com/huggingface/transformers/issues/5933
662,792,766
MDU6SXNzdWU2NjI3OTI3NjY=
5,933
How to get a language model score in BertModel?
{ "login": "oshindow", "id": 49552492, "node_id": "MDQ6VXNlcjQ5NTUyNDky", "avatar_url": "https://avatars.githubusercontent.com/u/49552492?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oshindow", "html_url": "https://github.com/oshindow", "followers_url": "https://api.github.com/users/osh...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,595
1,601
1,601
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5933/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5933/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5932
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5932/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5932/comments
https://api.github.com/repos/huggingface/transformers/issues/5932/events
https://github.com/huggingface/transformers/pull/5932
662,787,434
MDExOlB1bGxSZXF1ZXN0NDU0MzAzMzQw
5,932
Expose padding_strategy on squad processor to fix QA pipeline performance regression
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5932?src=pr&el=h1) Report\n> Merging [#5932](https://codecov.io/gh/huggingface/transformers/pull/5932?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d32279438a73e71961f53baa4fb47d0f08c2984d&el=desc) will **increase...
1,595
1,597
1,595
MEMBER
null
**Before this PR**: The squad processor was padding the sequence up to the provided `max_length` parameter which results in a tensor with 512 tokens, mostly padding, making the QA pipeline very slow. - QA Pipeline (`model="distilbert-base-uncased-distilled-squad"`) = 4.8secs **After this PR**: The processor wil...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5932/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5932/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5932", "html_url": "https://github.com/huggingface/transformers/pull/5932", "diff_url": "https://github.com/huggingface/transformers/pull/5932.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5932.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5931
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5931/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5931/comments
https://api.github.com/repos/huggingface/transformers/issues/5931/events
https://github.com/huggingface/transformers/issues/5931
662,665,311
MDU6SXNzdWU2NjI2NjUzMTE=
5,931
ALBERT tokenizer is not callable
{ "login": "guoxuxu", "id": 29363464, "node_id": "MDQ6VXNlcjI5MzYzNDY0", "avatar_url": "https://avatars.githubusercontent.com/u/29363464?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guoxuxu", "html_url": "https://github.com/guoxuxu", "followers_url": "https://api.github.com/users/guoxux...
[]
closed
false
null
[]
[ "Hi there, you should upgrade your transformers library to v3. The version you have does not have callable tokenizers.\r\n\r\nAlternatively, the docs for v2.3.0 are [here](https://huggingface.co/transformers/v2.3.0/). You can use the dropdown menu on the left (just under the hugging face) to change the version of t...
1,595
1,595
1,595
NONE
null
# 🐛 Bug ## Information when running the follwoing given example: from transformers import AlbertTokenizer, AlbertModel import torch tokenizer = AlbertTokenizer.from_pretrained('albert-base-v2') model = AlbertModel.from_pretrained('albert-base-v2') inputs = tokenizer("Hello, my dog is cute", return_tensors="pt...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5931/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5931/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5930
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5930/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5930/comments
https://api.github.com/repos/huggingface/transformers/issues/5930/events
https://github.com/huggingface/transformers/issues/5930
662,586,183
MDU6SXNzdWU2NjI1ODYxODM=
5,930
code copy button on the website doesn't copy `...` lines
{ "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
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n", "this seems to have been fixed in sphinx - I re-checked and it works now." ]
1,595
1,602
1,601
CONTRIBUTOR
null
# 🐛 Bug ## Information When the copy button is clicked on a code like [this](https://huggingface.co/transformers/quicktour.html#using-the-tokenizer): ``` >>> pt_batch = tokenizer( ... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."], ... padding=True, .....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5930/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5930/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5929
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5929/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5929/comments
https://api.github.com/repos/huggingface/transformers/issues/5929/events
https://github.com/huggingface/transformers/pull/5929
662,582,143
MDExOlB1bGxSZXF1ZXN0NDU0MTIzMTA0
5,929
Add DeBERTa model
{ "login": "BigBird01", "id": 38195654, "node_id": "MDQ6VXNlcjM4MTk1NjU0", "avatar_url": "https://avatars.githubusercontent.com/u/38195654?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BigBird01", "html_url": "https://github.com/BigBird01", "followers_url": "https://api.github.com/users/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" }, { "id": 1843244711, ...
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5929?src=pr&el=h1) Report\n> Merging [#5929](https://codecov.io/gh/huggingface/transformers/pull/5929?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1fc4de69ed024e18b88cb6f040021630599de2f7?el=desc) will **decrease...
1,595
1,612
1,601
CONTRIBUTOR
null
Add DeBERTa model to hf transformers. DeBERTa applies two techniques to improve RoBERTa, one is disentangled attention, the other is enhanced mask decoder. With 80GB training data, DeBERTa outperform RoBERTa on a majority of NLU tasks, e.g. SQUAD, MNLI and RACE. Paper link: https://arxiv.org/abs/2006.03654
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5929/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5929/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5929", "html_url": "https://github.com/huggingface/transformers/pull/5929", "diff_url": "https://github.com/huggingface/transformers/pull/5929.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5929.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5928
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5928/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5928/comments
https://api.github.com/repos/huggingface/transformers/issues/5928/events
https://github.com/huggingface/transformers/issues/5928
662,451,121
MDU6SXNzdWU2NjI0NTExMjE=
5,928
Feed forward chunking for all pretrained models
{ "login": "Pradhy729", "id": 49659913, "node_id": "MDQ6VXNlcjQ5NjU5OTEz", "avatar_url": "https://avatars.githubusercontent.com/u/49659913?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Pradhy729", "html_url": "https://github.com/Pradhy729", "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
[]
[ "Any opinions here? I will create a PR if there is interest and would like to get your ideas and suggestions. @patrickvonplaten @sshleifer ", "@patrickvonplaten would be the point person and he is on Vacation until August 3.\r\nIn the interim, if you want to start working on this go right ahead. Make sure it's ac...
1,595
1,601
1,601
CONTRIBUTOR
null
Based on this card: [Feed forward chunking](https://github.com/huggingface/transformers/projects/9#card-39483681) @patrickvonplaten I'd like to help contribute and implement this for all the other models if this is still pending?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5928/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5928/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5927
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5927/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5927/comments
https://api.github.com/repos/huggingface/transformers/issues/5927/events
https://github.com/huggingface/transformers/pull/5927
662,428,082
MDExOlB1bGxSZXF1ZXN0NDUzOTg1Mzgw
5,927
[CI] self-scheduled runner tests examples/
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5927?src=pr&el=h1) Report\n> Merging [#5927](https://codecov.io/gh/huggingface/transformers/pull/5927?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/4781afd045b4722e7f28347f1c4f42a56a4550e8&el=desc) will **decrease...
1,595
1,595
1,595
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5927/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5927/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5927", "html_url": "https://github.com/huggingface/transformers/pull/5927", "diff_url": "https://github.com/huggingface/transformers/pull/5927.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5927.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5926
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5926/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5926/comments
https://api.github.com/repos/huggingface/transformers/issues/5926/events
https://github.com/huggingface/transformers/pull/5926
662,243,987
MDExOlB1bGxSZXF1ZXN0NDUzODIwMzU2
5,926
DataParallel fix: multi gpu evaluation
{ "login": "csarron", "id": 8440740, "node_id": "MDQ6VXNlcjg0NDA3NDA=", "avatar_url": "https://avatars.githubusercontent.com/u/8440740?v=4", "gravatar_id": "", "url": "https://api.github.com/users/csarron", "html_url": "https://github.com/csarron", "followers_url": "https://api.github.com/users/csarron/...
[]
closed
false
null
[]
[ "Yes, this was missing in #5733, thanks for adding it!" ]
1,595
1,595
1,595
CONTRIBUTOR
null
The DataParallel training was fixed in https://github.com/huggingface/transformers/pull/5733, this commit also fixes the evaluation. It's more convenient when the user enables both `do_train` and `do_eval`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5926/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5926/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5926", "html_url": "https://github.com/huggingface/transformers/pull/5926", "diff_url": "https://github.com/huggingface/transformers/pull/5926.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5926.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5925
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5925/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5925/comments
https://api.github.com/repos/huggingface/transformers/issues/5925/events
https://github.com/huggingface/transformers/pull/5925
662,164,692
MDExOlB1bGxSZXF1ZXN0NDUzNzQ5MjUw
5,925
Allow user to see actual error if a download has failed
{ "login": "festeh", "id": 6877858, "node_id": "MDQ6VXNlcjY4Nzc4NTg=", "avatar_url": "https://avatars.githubusercontent.com/u/6877858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/festeh", "html_url": "https://github.com/festeh", "followers_url": "https://api.github.com/users/festeh/foll...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5925?src=pr&el=h1) Report\n> Merging [#5925](https://codecov.io/gh/huggingface/transformers/pull/5925?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/32883b310ba30d72e67bb2ebb5847888f03a90a8&el=desc) will **decrease...
1,595
1,601
1,601
NONE
null
Fixes #5869. Adds new logic of exception handling. * If there was a caught exception in `cached_path` during download, and `force_download` is True, then raise it * If `force_download` is False, save this exception and raise it later, it file is not in local cache * If download exception in `cached_path` was raised,...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5925/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5925/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5925", "html_url": "https://github.com/huggingface/transformers/pull/5925", "diff_url": "https://github.com/huggingface/transformers/pull/5925.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5925.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5924
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5924/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5924/comments
https://api.github.com/repos/huggingface/transformers/issues/5924/events
https://github.com/huggingface/transformers/pull/5924
662,133,341
MDExOlB1bGxSZXF1ZXN0NDUzNzIxMzk1
5,924
Create README.md
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,595
1,595
1,595
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5924/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5924/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5924", "html_url": "https://github.com/huggingface/transformers/pull/5924", "diff_url": "https://github.com/huggingface/transformers/pull/5924.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5924.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5923
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5923/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5923/comments
https://api.github.com/repos/huggingface/transformers/issues/5923/events
https://github.com/huggingface/transformers/issues/5923
662,124,693
MDU6SXNzdWU2NjIxMjQ2OTM=
5,923
how (if at all) are those models related...
{ "login": "codingbutstillalive", "id": 10086172, "node_id": "MDQ6VXNlcjEwMDg2MTcy", "avatar_url": "https://avatars.githubusercontent.com/u/10086172?v=4", "gravatar_id": "", "url": "https://api.github.com/users/codingbutstillalive", "html_url": "https://github.com/codingbutstillalive", "followers_url": ...
[]
closed
false
null
[]
[ "I think they are not related at all.\r\nWhich models are you talking about?", "Hi! :)\n\nI am talking about the implementation that is used for the text summarization example under transformers/examples and a BERT-based implementation that is described here:\n\n\nhttps://paperswithcode.com/paper/text-summarizati...
1,595
1,595
1,595
NONE
null
https://github.com/huggingface/transformers/tree/master/examples/seq2seq and... https://github.com/nlpyang/PreSumm are they the same?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5923/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5923/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5922
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5922/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5922/comments
https://api.github.com/repos/huggingface/transformers/issues/5922/events
https://github.com/huggingface/transformers/pull/5922
662,107,907
MDExOlB1bGxSZXF1ZXN0NDUzNjk4OTQy
5,922
Avoid unnecessary warnings when loading pretrained 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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5922?src=pr&el=h1) Report\n> Merging [#5922](https://codecov.io/gh/huggingface/transformers/pull/5922?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9827d666ebdf959aa9dfe3627ccb80592b378b77&el=desc) will **decrease...
1,595
1,595
1,595
COLLABORATOR
null
Currently, the following commands will produce a lot of warnings, because some weights are not saved with the model by design. GPT-2 (see #5800, #5814) ``` from transformers import GPT2LMHeadModel model = GPT2LMHeadModel.from_pretrained('gpt2') ``` T5 (see #3553, #5348) ``` from transformers import T5ForCon...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5922/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5922/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5922", "html_url": "https://github.com/huggingface/transformers/pull/5922", "diff_url": "https://github.com/huggingface/transformers/pull/5922.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5922.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5921
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5921/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5921/comments
https://api.github.com/repos/huggingface/transformers/issues/5921/events
https://github.com/huggingface/transformers/pull/5921
662,107,312
MDExOlB1bGxSZXF1ZXN0NDUzNjk4NDEy
5,921
Create README.md
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5921?src=pr&el=h1) Report\n> Merging [#5921](https://codecov.io/gh/huggingface/transformers/pull/5921?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/32883b310ba30d72e67bb2ebb5847888f03a90a8&el=desc) will **decrease...
1,595
1,595
1,595
CONTRIBUTOR
null
- Maybe the result of this query answers the question You did some days ago @julien-c ;-)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5921/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5921/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5921", "html_url": "https://github.com/huggingface/transformers/pull/5921", "diff_url": "https://github.com/huggingface/transformers/pull/5921.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5921.patch", "merged_at": 1...