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/3113
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3113/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3113/comments
https://api.github.com/repos/huggingface/transformers/issues/3113/events
https://github.com/huggingface/transformers/pull/3113
574,999,270
MDExOlB1bGxSZXF1ZXN0MzgzMjI1MzY1
3,113
model cards for both aubmindlab/bert-base-arabert models
{ "login": "WissamAntoun", "id": 44616226, "node_id": "MDQ6VXNlcjQ0NjE2MjI2", "avatar_url": "https://avatars.githubusercontent.com/u/44616226?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WissamAntoun", "html_url": "https://github.com/WissamAntoun", "followers_url": "https://api.github.c...
[ { "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/3113?src=pr&el=h1) Report\n> Merging [#3113](https://codecov.io/gh/huggingface/transformers/pull/3113?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e9e6efdc452b74947d40a5a2e8af2fc444c63b5b?src=pr&el=desc) will **d...
1,583
1,583
1,583
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3113/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3113/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3113", "html_url": "https://github.com/huggingface/transformers/pull/3113", "diff_url": "https://github.com/huggingface/transformers/pull/3113.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3113.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3112
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3112/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3112/comments
https://api.github.com/repos/huggingface/transformers/issues/3112/events
https://github.com/huggingface/transformers/pull/3112
574,967,370
MDExOlB1bGxSZXF1ZXN0MzgzMTk3Njcz
3,112
Adds failing tests for the fast tokenizers
{ "login": "dirkgr", "id": 920638, "node_id": "MDQ6VXNlcjkyMDYzOA==", "avatar_url": "https://avatars.githubusercontent.com/u/920638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dirkgr", "html_url": "https://github.com/dirkgr", "followers_url": "https://api.github.com/users/dirkgr/follow...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", ...
closed
false
null
[]
[ "I can't assign reviewers, but you asked me in #3058 to ping @LysandreJik and @mfuntowicz when I do this.", "I added a test for the issue from #3088.", "Added another test for #3091.", "@dirkgr thanks for taking the time to include your tests into ours. \r\n\r\nIt will definitively help making sure everything...
1,583
1,595
1,595
CONTRIBUTOR
null
This ports some of the tests over that started failing on the AllenNLP side when the new fast tokenizers came out. Note: These tests are failing right now. They will need updates to the fast transformers before this can be merged. Maybe it would be better to merge this branch into the branch where the tokenizers are...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3112/reactions", "total_count": 12, "+1": 7, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 5, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3112/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3112", "html_url": "https://github.com/huggingface/transformers/pull/3112", "diff_url": "https://github.com/huggingface/transformers/pull/3112.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3112.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/3111
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3111/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3111/comments
https://api.github.com/repos/huggingface/transformers/issues/3111/events
https://github.com/huggingface/transformers/pull/3111
574,964,663
MDExOlB1bGxSZXF1ZXN0MzgzMTk1MzI5
3,111
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
[]
[ "You have to add the thumbnail", "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3111?src=pr&el=h1) Report\n> Merging [#3111](https://codecov.io/gh/huggingface/transformers/pull/3111?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e9e6efdc452b74947d40a5a2e8af2f...
1,583
1,583
1,583
CONTRIBUTOR
null
- Thumbnail is not set!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3111/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3111/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3111", "html_url": "https://github.com/huggingface/transformers/pull/3111", "diff_url": "https://github.com/huggingface/transformers/pull/3111.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3111.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3110
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3110/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3110/comments
https://api.github.com/repos/huggingface/transformers/issues/3110/events
https://github.com/huggingface/transformers/pull/3110
574,919,248
MDExOlB1bGxSZXF1ZXN0MzgzMTU2NTM5
3,110
BartForSequenceClassification: fix num_labels, add 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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3110?src=pr&el=h1) Report\n> Merging [#3110](https://codecov.io/gh/huggingface/transformers/pull/3110?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5c5af879b6d45c879c987154f66d4ea978925fb2?src=pr&el=desc) will **i...
1,583
1,583
1,583
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3110/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3110/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3110", "html_url": "https://github.com/huggingface/transformers/pull/3110", "diff_url": "https://github.com/huggingface/transformers/pull/3110.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3110.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3109
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3109/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3109/comments
https://api.github.com/repos/huggingface/transformers/issues/3109/events
https://github.com/huggingface/transformers/pull/3109
574,905,015
MDExOlB1bGxSZXF1ZXN0MzgzMTQ0OTc2
3,109
[WIP] Add tests that ensure that copied functions remain in sync
{ "login": "srush", "id": 35882, "node_id": "MDQ6VXNlcjM1ODgy", "avatar_url": "https://avatars.githubusercontent.com/u/35882?v=4", "gravatar_id": "", "url": "https://api.github.com/users/srush", "html_url": "https://github.com/srush", "followers_url": "https://api.github.com/users/srush/followers", "f...
[ { "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,583
1,589
1,589
CONTRIBUTOR
null
Adding some tests that use ast to check that functions that were originally copied stay in sync.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3109/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3109/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3109", "html_url": "https://github.com/huggingface/transformers/pull/3109", "diff_url": "https://github.com/huggingface/transformers/pull/3109.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3109.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/3108
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3108/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3108/comments
https://api.github.com/repos/huggingface/transformers/issues/3108/events
https://github.com/huggingface/transformers/issues/3108
574,810,265
MDU6SXNzdWU1NzQ4MTAyNjU=
3,108
BART: <mask> token ID is outside vocab bounds
{ "login": "tomhosking", "id": 9419158, "node_id": "MDQ6VXNlcjk0MTkxNTg=", "avatar_url": "https://avatars.githubusercontent.com/u/9419158?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tomhosking", "html_url": "https://github.com/tomhosking", "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 }, { "id": 1834056761, "node_id": "MDU6TGFiZWwxODM0MDU2NzYx", ...
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...
[ "if you install from master it seems to work on 'bart-large'. \r\nSeems like it's only an issue on 'bart-large-cnn'\r\n```\r\ntokenizer = BartTokenizer.from_pretrained('bart-large')\r\nmodel = BartForMaskedLM.from_pretrained('bart-large',output_past=True)\r\n\r\nARTICLE_TO_SUMMARIZE = \"My friends are <mask> but th...
1,583
1,583
1,583
CONTRIBUTOR
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): BART 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 is: * ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3108/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3108/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3107
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3107/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3107/comments
https://api.github.com/repos/huggingface/transformers/issues/3107/events
https://github.com/huggingface/transformers/issues/3107
574,780,410
MDU6SXNzdWU1NzQ3ODA0MTA=
3,107
BertTokenizer.save_pretrained() ignores do_lower_case
{ "login": "yoptar", "id": 5615053, "node_id": "MDQ6VXNlcjU2MTUwNTM=", "avatar_url": "https://avatars.githubusercontent.com/u/5615053?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yoptar", "html_url": "https://github.com/yoptar", "followers_url": "https://api.github.com/users/yoptar/foll...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", ...
closed
false
null
[]
[ "When I copy/paste your code, I get this in `dumped/model/`:\r\n`vocab.txt`, `tokenizer_config.json` and `special_tokens_map.json`\r\n\r\nThe tokenizer config does save the lowercase, and the output of the code is two `False`.\r\n\r\nBelow the code snippet I had to actually run it:\r\n\r\n```py\r\nimport transforme...
1,583
1,589
1,589
CONTRIBUTOR
null
# 🐛 Bug ## Information When saving a tokenizer with the purpose of sharing, `init` arguments are not saved to a config. ## To reproduce Steps to reproduce the behavior: Initialize a tokenizer with `do_lower_case=False`, save pretrained, initialize from pretrained. The default `do_lower_case=True` will n...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3107/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3107/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3106
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3106/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3106/comments
https://api.github.com/repos/huggingface/transformers/issues/3106/events
https://github.com/huggingface/transformers/pull/3106
574,767,209
MDExOlB1bGxSZXF1ZXN0MzgzMDMyNjE5
3,106
fix beam_search behavior when sampling
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "> is do_sample=True tested anywhere?\r\n\r\nYes for the randomly initialized models, with dummy input and also for some Integration tests", "Good to merge for me" ]
1,583
1,583
1,583
MEMBER
null
This PR aims to fix the beam search behavior when sampling for language generation. For once, when doing beam_search decoding for language generation, one would usually do greedy decoding (do_sample=False), so this case should not be used very often, but it should be logical nevertheless. It's kind of hard to see ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3106/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3106/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3106", "html_url": "https://github.com/huggingface/transformers/pull/3106", "diff_url": "https://github.com/huggingface/transformers/pull/3106.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3106.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3105
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3105/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3105/comments
https://api.github.com/repos/huggingface/transformers/issues/3105/events
https://github.com/huggingface/transformers/pull/3105
574,750,323
MDExOlB1bGxSZXF1ZXN0MzgzMDE4NTkz
3,105
Change back pipeline signatures
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3105?src=pr&el=h1) Report\n> Merging [#3105](https://codecov.io/gh/huggingface/transformers/pull/3105?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b31f7150190cdf13950607f8ee1efe11b352c909?src=pr&el=desc) will **i...
1,583
1,583
1,583
MEMBER
null
As discussed with @julien-c in the merged #3055.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3105/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3105/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3105", "html_url": "https://github.com/huggingface/transformers/pull/3105", "diff_url": "https://github.com/huggingface/transformers/pull/3105.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3105.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3104
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3104/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3104/comments
https://api.github.com/repos/huggingface/transformers/issues/3104/events
https://github.com/huggingface/transformers/issues/3104
574,720,365
MDU6SXNzdWU1NzQ3MjAzNjU=
3,104
BART -- RuntimeError: expected device cuda:0 but got device cpu
{ "login": "adihaviv", "id": 3625128, "node_id": "MDQ6VXNlcjM2MjUxMjg=", "avatar_url": "https://avatars.githubusercontent.com/u/3625128?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adihaviv", "html_url": "https://github.com/adihaviv", "followers_url": "https://api.github.com/users/adiha...
[ { "id": 1845609017, "node_id": "MDU6TGFiZWwxODQ1NjA5MDE3", "url": "https://api.github.com/repos/huggingface/transformers/labels/seq2seq", "name": "seq2seq", "color": "fef2c0", "default": false, "description": "" } ]
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...
[ "Can you reproduce with the code on master?\r\n\r\n```\r\ngit clone https://github.com/huggingface/transformers\r\ncd transformers\r\npip install .\r\n```\r\n(duplicate of https://github.com/huggingface/transformers/issues/3079)\r\n", "Closing for now, reopen if this is broken on the latest code. Otherwise, it wi...
1,583
1,583
1,583
NONE
null
# 🐛 Bug @sshleifer I'm using BART model (bart-large), when I try to use the BartForMaskedLM i'm getting the above error. The reason is that in the _combine_masks (line 146 in modeling_bart) is creating a tensor without the device. so by default it is on CPU. To reproduce - simply use BartForMaskedLM model with GP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3104/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3104/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3103
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3103/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3103/comments
https://api.github.com/repos/huggingface/transformers/issues/3103/events
https://github.com/huggingface/transformers/pull/3103
574,697,751
MDExOlB1bGxSZXF1ZXN0MzgyOTc1Mzg4
3,103
Support keras JSON/HDF5 serialization of main layers
{ "login": "gthb", "id": 153580, "node_id": "MDQ6VXNlcjE1MzU4MA==", "avatar_url": "https://avatars.githubusercontent.com/u/153580?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gthb", "html_url": "https://github.com/gthb", "followers_url": "https://api.github.com/users/gthb/followers", ...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3103?src=pr&el=h1) Report\n> Merging [#3103](https://codecov.io/gh/huggingface/transformers/pull/3103?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a088d75e510d5641808ccd72f5dca4df36d95b8e?src=pr&el=desc) will **i...
1,583
1,585
1,583
CONTRIBUTOR
null
Fixes #3101
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3103/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3103/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3103", "html_url": "https://github.com/huggingface/transformers/pull/3103", "diff_url": "https://github.com/huggingface/transformers/pull/3103.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3103.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3102
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3102/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3102/comments
https://api.github.com/repos/huggingface/transformers/issues/3102/events
https://github.com/huggingface/transformers/pull/3102
574,670,141
MDExOlB1bGxSZXF1ZXN0MzgyOTUyNTQx
3,102
bert-base-arabic model card
{ "login": "alisafaya", "id": 22398153, "node_id": "MDQ6VXNlcjIyMzk4MTUz", "avatar_url": "https://avatars.githubusercontent.com/u/22398153?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alisafaya", "html_url": "https://github.com/alisafaya", "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" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3102?src=pr&el=h1) Report\n> Merging [#3102](https://codecov.io/gh/huggingface/transformers/pull/3102?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/eec5ec807135ae61fa2266f3c7ad947cc207abda?src=pr&el=desc) will **d...
1,583
1,583
1,583
CONTRIBUTOR
null
Please add model card file to the newly added asafaya/bert-base-arabic model
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3102/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/3102/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3102", "html_url": "https://github.com/huggingface/transformers/pull/3102", "diff_url": "https://github.com/huggingface/transformers/pull/3102.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3102.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3101
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3101/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3101/comments
https://api.github.com/repos/huggingface/transformers/issues/3101/events
https://github.com/huggingface/transformers/issues/3101
574,669,114
MDU6SXNzdWU1NzQ2NjkxMTQ=
3,101
Keras layers should override get_config to be JSON-serializable
{ "login": "gthb", "id": 153580, "node_id": "MDQ6VXNlcjE1MzU4MA==", "avatar_url": "https://avatars.githubusercontent.com/u/153580?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gthb", "html_url": "https://github.com/gthb", "followers_url": "https://api.github.com/users/gthb/followers", ...
[]
closed
false
null
[]
[ "Thanks a lot for investigating this and submitting a fix, it's awesome.\r\n\r\nI respond in the PR it-self" ]
1,583
1,583
1,583
CONTRIBUTOR
null
# 🚀 Feature request Support JSON serialization of Keras layers by overriding `get_config`, so that they can be sent to Tensorboard to display a conceptual graph of the model. ## Motivation ### 1. Without this, can't write model graph to Tensorboard From https://github.com/tensorflow/tensorflow/blob/d1786ea...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3101/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/3101/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3100
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3100/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3100/comments
https://api.github.com/repos/huggingface/transformers/issues/3100/events
https://github.com/huggingface/transformers/pull/3100
574,654,339
MDExOlB1bGxSZXF1ZXN0MzgyOTM5Njg3
3,100
Fix QA models binding for Flaubert, XLNet and XLM.
{ "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/3100?src=pr&el=h1) Report\n> Merging [#3100](https://codecov.io/gh/huggingface/transformers/pull/3100?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/eec5ec807135ae61fa2266f3c7ad947cc207abda?src=pr&el=desc) will **d...
1,583
1,583
1,583
MEMBER
null
Signed-off-by: Morgan Funtowicz <morgan@huggingface.co> Fix #2893
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3100/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3100/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3100", "html_url": "https://github.com/huggingface/transformers/pull/3100", "diff_url": "https://github.com/huggingface/transformers/pull/3100.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3100.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3099
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3099/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3099/comments
https://api.github.com/repos/huggingface/transformers/issues/3099/events
https://github.com/huggingface/transformers/pull/3099
574,625,849
MDExOlB1bGxSZXF1ZXN0MzgyOTE2MTgz
3,099
Don't crash if fine-tuned model doesn't end with a number
{ "login": "davidefiocco", "id": 4547987, "node_id": "MDQ6VXNlcjQ1NDc5ODc=", "avatar_url": "https://avatars.githubusercontent.com/u/4547987?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidefiocco", "html_url": "https://github.com/davidefiocco", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3099?src=pr&el=h1) Report\n> Merging [#3099](https://codecov.io/gh/huggingface/transformers/pull/3099?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/eec5ec807135ae61fa2266f3c7ad947cc207abda?src=pr&el=desc) will **d...
1,583
1,583
1,583
CONTRIBUTOR
null
That's the same fix applied in https://github.com/huggingface/transformers/issues/2258 , but for the GLUE example
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3099/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3099/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3099", "html_url": "https://github.com/huggingface/transformers/pull/3099", "diff_url": "https://github.com/huggingface/transformers/pull/3099.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3099.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3098
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3098/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3098/comments
https://api.github.com/repos/huggingface/transformers/issues/3098/events
https://github.com/huggingface/transformers/issues/3098
574,524,709
MDU6SXNzdWU1NzQ1MjQ3MDk=
3,098
why BertModel' object has no attribute 'bias'
{ "login": "bboyxu5928", "id": 36126405, "node_id": "MDQ6VXNlcjM2MTI2NDA1", "avatar_url": "https://avatars.githubusercontent.com/u/36126405?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bboyxu5928", "html_url": "https://github.com/bboyxu5928", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Could you try with `BertForPreTraining` instead of `BertModel` ?", "> Could you try with `BertForPreTraining` instead of `BertModel` ?\r\n\r\n@LysandreJik the error not occurs,thank you very much, but in the previous,when I use \r\n\r\n```py\r\nmodel = BertForNextSentencePrediction.from_pretrained('bert-base-ca...
1,583
1,587
1,583
NONE
null
```py from torch.nn.functional import softmax from transformers import BertForNextSentencePrediction, BertTokenizer,BertConfig,BertModel seq_A = 'I like cookies !' seq_B = 'Do you like them ?' ''' model = BertForNextSentencePrediction.from_pretrained('bert-base-cased') ''' tokenizer = BertTokenizer.from_pretr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3098/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3098/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3097
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3097/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3097/comments
https://api.github.com/repos/huggingface/transformers/issues/3097/events
https://github.com/huggingface/transformers/issues/3097
574,464,756
MDU6SXNzdWU1NzQ0NjQ3NTY=
3,097
Some question about training BERT after change the Vocab.txt size
{ "login": "WenTingTseng", "id": 32416416, "node_id": "MDQ6VXNlcjMyNDE2NDE2", "avatar_url": "https://avatars.githubusercontent.com/u/32416416?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WenTingTseng", "html_url": "https://github.com/WenTingTseng", "followers_url": "https://api.github.c...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "You can't really change the vocabulary without re-training the whole model. Is there some overlap between the BERT vocabulary and your custom vocabulary? If so, you can add the 20k+ tokens using `add_tokens` (which will probably slow down things, as that's a lot of added tokens).", "This issue has been automatic...
1,583
1,664
1,589
NONE
null
The original bert-base-chinese-vocab.txt size is 21128. I use my own vocab.txt size is 44900 When I try to train Fine-tune BERT Model using BertForMaskedLM it have some promble about size mismatch. I have try to change the BertEmbeddings its self.word_embeddings config.vocab_size to 44900 like this `self.word_embed...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3097/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3097/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3096
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3096/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3096/comments
https://api.github.com/repos/huggingface/transformers/issues/3096/events
https://github.com/huggingface/transformers/issues/3096
574,417,588
MDU6SXNzdWU1NzQ0MTc1ODg=
3,096
BART BartForSequenceClassification example
{ "login": "easonnie", "id": 11016329, "node_id": "MDQ6VXNlcjExMDE2MzI5", "avatar_url": "https://avatars.githubusercontent.com/u/11016329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/easonnie", "html_url": "https://github.com/easonnie", "followers_url": "https://api.github.com/users/eas...
[ { "id": 1845609017, "node_id": "MDU6TGFiZWwxODQ1NjA5MDE3", "url": "https://api.github.com/repos/huggingface/transformers/labels/seq2seq", "name": "seq2seq", "color": "fef2c0", "default": false, "description": "" } ]
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...
[ "Thanks for reporting this!" ]
1,583
1,583
1,583
CONTRIBUTOR
null
# 🐛 Bug I'm trying the run the code on the documentation. https://huggingface.co/transformers/model_doc/bart.html#bartforsequenceclassification ``` from transformers import BartTokenizer, BartForSequenceClassification import torch tokenizer = BartTokenizer.from_pretrained('bart-large') model = BartForSequen...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3096/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3096/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3095
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3095/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3095/comments
https://api.github.com/repos/huggingface/transformers/issues/3095/events
https://github.com/huggingface/transformers/issues/3095
574,402,707
MDU6SXNzdWU1NzQ0MDI3MDc=
3,095
Getting different topk results when using past + attention mask for more than 1 sentence
{ "login": "Damiox", "id": 599804, "node_id": "MDQ6VXNlcjU5OTgwNA==", "avatar_url": "https://avatars.githubusercontent.com/u/599804?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Damiox", "html_url": "https://github.com/Damiox", "followers_url": "https://api.github.com/users/Damiox/follow...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hi @Damiox, \r\n\r\nFirst, you have to be careful if you do LM inference with batches of different lengths. Besides using an attention mask, you also have to change the position_ids when using GPT2 (see #3021 ). Considering batch language generation with GPT2 I highly recommend making sure that the input_ids batch...
1,583
1,585
1,583
NONE
null
# ❓ Questions & Help Hi. I'm having some issues when using the past + attention mask functionality. Results are not the ones I was expecting to get... I'm using latest master as the latest release 2.5.1 is failing (`RuntimeError: The size of tensor a (6) must match the size of tensor b (3) at non-singleton dimension...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3095/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3095/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3094
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3094/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3094/comments
https://api.github.com/repos/huggingface/transformers/issues/3094/events
https://github.com/huggingface/transformers/pull/3094
574,395,518
MDExOlB1bGxSZXF1ZXN0MzgyNzI3MjA3
3,094
[Bart] dont call .forward
{ "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
[]
[ "@julien-c any idea why this would cause \r\n```\r\nFAILED tests/test_pipelines.py::MonoColumnInputTestCase::test_tf_feature_extraction \r\n```", "I think this one might sometimes fail randomly" ]
1,583
1,583
1,583
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3094/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3094/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3094", "html_url": "https://github.com/huggingface/transformers/pull/3094", "diff_url": "https://github.com/huggingface/transformers/pull/3094.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3094.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3093
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3093/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3093/comments
https://api.github.com/repos/huggingface/transformers/issues/3093/events
https://github.com/huggingface/transformers/issues/3093
574,350,885
MDU6SXNzdWU1NzQzNTA4ODU=
3,093
wrong 'label2id' and 'id2label' in config when loading from pretrained
{ "login": "daria-pylypenko", "id": 42044325, "node_id": "MDQ6VXNlcjQyMDQ0MzI1", "avatar_url": "https://avatars.githubusercontent.com/u/42044325?v=4", "gravatar_id": "", "url": "https://api.github.com/users/daria-pylypenko", "html_url": "https://github.com/daria-pylypenko", "followers_url": "https://api...
[]
closed
false
null
[]
[]
1,583
1,583
1,583
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): Bert 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 is: * ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3093/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3093/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3092
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3092/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3092/comments
https://api.github.com/repos/huggingface/transformers/issues/3092/events
https://github.com/huggingface/transformers/issues/3092
574,320,255
MDU6SXNzdWU1NzQzMjAyNTU=
3,092
ċ in gpt2
{ "login": "weiguowilliam", "id": 31396452, "node_id": "MDQ6VXNlcjMxMzk2NDUy", "avatar_url": "https://avatars.githubusercontent.com/u/31396452?v=4", "gravatar_id": "", "url": "https://api.github.com/users/weiguowilliam", "html_url": "https://github.com/weiguowilliam", "followers_url": "https://api.githu...
[ { "id": 1260952223, "node_id": "MDU6TGFiZWwxMjYwOTUyMjIz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion", "name": "Discussion", "color": "22870e", "default": false, "description": "Discussion on a topic (keep it focused or open a new issue though)" },...
closed
false
null
[]
[ "The proper way to decode a value is using the `decode` method:\r\n\r\n```py\r\nfrom transformers import GPT2Tokenizer\r\ntokenizer = GPT2Tokenizer.from_pretrained(\"gpt2\")\r\n\r\ntokenizer.decode([198]) # '\\n'\r\n```\r\n\r\nSome byte indices are shifted in the GPT-2 vocabulary, especially the control characters...
1,583
1,583
1,583
NONE
null
There's a 'ċ' in gpt2. ``` vocab = list(tokenizer_gpt2.encoder.keys()) vocab[198] ``` output: ċ Based on some examples, I guess it means "with_break". But I can't find this parameter in gpt2 tokenizer document. Can anyone tell me the meaning? thank you.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3092/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3092/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3091
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3091/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3091/comments
https://api.github.com/repos/huggingface/transformers/issues/3091/events
https://github.com/huggingface/transformers/issues/3091
574,288,594
MDU6SXNzdWU1NzQyODg1OTQ=
3,091
Fast tokenizers fail when the input is just spaces
{ "login": "dirkgr", "id": 920638, "node_id": "MDQ6VXNlcjkyMDYzOA==", "avatar_url": "https://avatars.githubusercontent.com/u/920638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dirkgr", "html_url": "https://github.com/dirkgr", "followers_url": "https://api.github.com/users/dirkgr/follow...
[ { "id": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization", "name": "Core: Tokenization", "color": "FF4446", "default": false, "description": "Internals of the library; Tokenization." } ]
closed
false
null
[]
[ "This is now fixed on `master`:\r\n```\r\n>>> t = transformers.AutoTokenizer.from_pretrained(\"bert-base-cased\", use_fast=True)\r\n>>> t.encode_plus(\" \", add_special_tokens=False)\r\n{'input_ids': [], 'token_type_ids': [], 'attention_mask': []}\r\n```\r\nAlso, `add_special_tokens` now works exactly the same for ...
1,583
1,587
1,587
CONTRIBUTOR
null
Slow tokenizers: ``` >>> import transformers >>> t = transformers.AutoTokenizer.from_pretrained("bert-base-cased", use_fast=False) >>> t.encode_plus(" ", add_special_tokens=False) {'input_ids': [], 'token_type_ids': []} ``` Fast tokenizers: ``` >>> import transformers >>> t = transformers.AutoTokenizer.from...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3091/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3091/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3090
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3090/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3090/comments
https://api.github.com/repos/huggingface/transformers/issues/3090/events
https://github.com/huggingface/transformers/issues/3090
574,286,713
MDU6SXNzdWU1NzQyODY3MTM=
3,090
Cuda error during evaluation - CUBLAS_STATUS_NOT_INITIALIZED
{ "login": "soni-n", "id": 13745813, "node_id": "MDQ6VXNlcjEzNzQ1ODEz", "avatar_url": "https://avatars.githubusercontent.com/u/13745813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/soni-n", "html_url": "https://github.com/soni-n", "followers_url": "https://api.github.com/users/soni-n/fo...
[]
closed
false
null
[]
[ "Tried debugging with CPU (an aside - this has an issue in itself apparently when --no_cuda flag is used --> run_language_modeling.py needs to set args.n_gpu to 0)\r\n\r\nFound the fix -> Needed to call model.resize_token_embeddings(len(tokenizer)) after adding tokens in the eval mode as well. " ]
1,583
1,618
1,583
NONE
null
# 🐛 Bug ## Information Overview: I am using the Bert pre-trained model and trying to finetune it using a customized dataset which requires me to add new tokens so that the tokenizer doesn't wordpiece them (these tokens are of the form <1234> and </1234> where 1234 can be any int converted to string). I was abl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3090/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/3090/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3089
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3089/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3089/comments
https://api.github.com/repos/huggingface/transformers/issues/3089/events
https://github.com/huggingface/transformers/pull/3089
574,270,057
MDExOlB1bGxSZXF1ZXN0MzgyNjI1MzI2
3,089
add models cards for camembert-base-fquad camembert-base-squad
{ "login": "fmikaelian", "id": 39884124, "node_id": "MDQ6VXNlcjM5ODg0MTI0", "avatar_url": "https://avatars.githubusercontent.com/u/39884124?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fmikaelian", "html_url": "https://github.com/fmikaelian", "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/3089?src=pr&el=h1) Report\n> Merging [#3089](https://codecov.io/gh/huggingface/transformers/pull/3089?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f169957d0cf17b110f27cacc1b1fb43efaa01218?src=pr&el=desc) will **i...
1,583
1,583
1,583
CONTRIBUTOR
null
Following #2893 Model links: - [`fmikaelian/camembert-base-fquad`](https://huggingface.co/fmikaelian/camembert-base-fquad) - [`fmikaelian/camembert-base-squad`](https://huggingface.co/fmikaelian/camembert-base-squad)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3089/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/3089/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3089", "html_url": "https://github.com/huggingface/transformers/pull/3089", "diff_url": "https://github.com/huggingface/transformers/pull/3089.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3089.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3088
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3088/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3088/comments
https://api.github.com/repos/huggingface/transformers/issues/3088/events
https://github.com/huggingface/transformers/issues/3088
574,261,994
MDU6SXNzdWU1NzQyNjE5OTQ=
3,088
Fast tokenizers can't `encode_plus` a list of ids; slow tokenizers can
{ "login": "dirkgr", "id": 920638, "node_id": "MDQ6VXNlcjkyMDYzOA==", "avatar_url": "https://avatars.githubusercontent.com/u/920638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dirkgr", "html_url": "https://github.com/dirkgr", "followers_url": "https://api.github.com/users/dirkgr/follow...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", ...
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,583
1,588
1,588
CONTRIBUTOR
null
With the slow tokenizers: ``` >>> import transformers >>> t = transformers.AutoTokenizer.from_pretrained("bert-base-cased", use_fast=False) >>> t.encode_plus([1000]) {'input_ids': [101, 1000, 102], 'token_type_ids': [0, 0, 0], 'attention_mask': [1, 1, 1]} ``` With the fast tokenizers: ``` >>> import tran...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3088/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/3088/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3087
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3087/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3087/comments
https://api.github.com/repos/huggingface/transformers/issues/3087/events
https://github.com/huggingface/transformers/issues/3087
574,198,533
MDU6SXNzdWU1NzQxOTg1MzM=
3,087
Error when runnig run_tf_ner.py
{ "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/...
[]
closed
false
null
[]
[ "You should not have any issues with this as `GradientAccumulator` is correctly imported in the __init__.py file:\r\n\r\nhttps://github.com/huggingface/transformers/blob/298bed16a841fae3608d334441ccae4d9043611f/src/transformers/__init__.py#L426-L427\r\n\r\nIs `transformers` correctly installed in your pip environme...
1,583
1,583
1,583
CONTRIBUTOR
null
# 🐛 Bug ## Information ```python !python3 /content/transformers/examples/ner/run_tf_ner.py --data_dir /content/ner_dataset \ --model_type bert \ --labels /content/labels.txt \ --model_name_or_path dccuchile/bert-base-spanish-wwm-cased \ --output_dir model_output \ --max_seq_length 256 \ --num_train_epochs 5...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3087/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3087/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3086
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3086/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3086/comments
https://api.github.com/repos/huggingface/transformers/issues/3086/events
https://github.com/huggingface/transformers/issues/3086
574,189,410
MDU6SXNzdWU1NzQxODk0MTA=
3,086
Disabling Eager Mode Prevents Loading Pre-Trained BERT
{ "login": "msandrewhoang03", "id": 58231708, "node_id": "MDQ6VXNlcjU4MjMxNzA4", "avatar_url": "https://avatars.githubusercontent.com/u/58231708?v=4", "gravatar_id": "", "url": "https://api.github.com/users/msandrewhoang03", "html_url": "https://github.com/msandrewhoang03", "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 }, { "id": 1834054694, "node_id": "MDU6TGFiZWwxODM0MDU0Njk0", ...
closed
false
null
[]
[ "TFBertModel can auto use gpu? i find model(np.array(input_ids)) is slow,cost 100+ms\r\nIn [14]: %timeit model_outputs = model(np.array(input_ids))\r\n133 ms ± 3.4 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)\r\n\r\nIn [15]: %time model_outputs = model(np.array(input_ids))\r\nCPU times: user 330 ms, sys...
1,583
1,646
1,591
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): **BERT** Language I am using the model on (English, Chinese ...): **English** ## To reproduce Steps to reproduce the behavior: 1. Disable Tensorflow eager mode `tf.compat.v1.disable_v2_behavior()` 2. Create a pretrained BERT instance `model ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3086/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3086/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3085
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3085/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3085/comments
https://api.github.com/repos/huggingface/transformers/issues/3085/events
https://github.com/huggingface/transformers/pull/3085
574,164,479
MDExOlB1bGxSZXF1ZXN0MzgyNTQwNjg2
3,085
TF GPU CI
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3085?src=pr&el=h1) Report\n> Merging [#3085](https://codecov.io/gh/huggingface/transformers/pull/3085?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0e56b37e805279ecb61670159fa8c71487214e0a?src=pr&el=desc) will **d...
1,583
1,583
1,583
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3085/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3085/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3085", "html_url": "https://github.com/huggingface/transformers/pull/3085", "diff_url": "https://github.com/huggingface/transformers/pull/3085.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3085.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3084
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3084/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3084/comments
https://api.github.com/repos/huggingface/transformers/issues/3084/events
https://github.com/huggingface/transformers/pull/3084
574,164,324
MDExOlB1bGxSZXF1ZXN0MzgyNTQwNTYy
3,084
Update README.md
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,583
1,583
1,583
CONTRIBUTOR
null
- Add example of usage - Update metrics
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3084/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3084/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3084", "html_url": "https://github.com/huggingface/transformers/pull/3084", "diff_url": "https://github.com/huggingface/transformers/pull/3084.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3084.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3083
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3083/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3083/comments
https://api.github.com/repos/huggingface/transformers/issues/3083/events
https://github.com/huggingface/transformers/issues/3083
574,133,802
MDU6SXNzdWU1NzQxMzM4MDI=
3,083
Memory error : load 200GB file in run_language_model.py
{ "login": "omerarshad", "id": 16164105, "node_id": "MDQ6VXNlcjE2MTY0MTA1", "avatar_url": "https://avatars.githubusercontent.com/u/16164105?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omerarshad", "html_url": "https://github.com/omerarshad", "followers_url": "https://api.github.com/use...
[ { "id": 1260952223, "node_id": "MDU6TGFiZWwxMjYwOTUyMjIz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion", "name": "Discussion", "color": "22870e", "default": false, "description": "Discussion on a topic (keep it focused or open a new issue though)" },...
closed
false
null
[]
[ "I agree that an on-the-fly tokenisation would be neat as an alternative to pre-processing the whole input file and saving the tensors in memory. ", "Hi @BramVanroy , this is mentioned in the blog post bout training models from scratch, as something that could be done (https://huggingface.co/blog/how-to-train). I...
1,583
1,590
1,590
NONE
null
line 107 in run_language_model.py with open(file_path, encoding="utf-8") as f: text = f.read() any idea how to use generators to load large files?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3083/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3083/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3082
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3082/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3082/comments
https://api.github.com/repos/huggingface/transformers/issues/3082/events
https://github.com/huggingface/transformers/pull/3082
574,082,363
MDExOlB1bGxSZXF1ZXN0MzgyNDczMTQ2
3,082
Summarization Examples: add Bart CNN Evaluation
{ "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/3082?src=pr&el=h1) Report\n> Merging [#3082](https://codecov.io/gh/huggingface/transformers/pull/3082?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b74c9b106b97b0722ff8f98e77e2e2210c688b23?src=pr&el=desc) will **i...
1,583
1,583
1,583
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3082/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3082/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3082", "html_url": "https://github.com/huggingface/transformers/pull/3082", "diff_url": "https://github.com/huggingface/transformers/pull/3082.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3082.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3081
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3081/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3081/comments
https://api.github.com/repos/huggingface/transformers/issues/3081/events
https://github.com/huggingface/transformers/issues/3081
574,075,405
MDU6SXNzdWU1NzQwNzU0MDU=
3,081
Why there is no TransfoXLForSequenceClassification class?
{ "login": "acriptis", "id": 2207706, "node_id": "MDQ6VXNlcjIyMDc3MDY=", "avatar_url": "https://avatars.githubusercontent.com/u/2207706?v=4", "gravatar_id": "", "url": "https://api.github.com/users/acriptis", "html_url": "https://github.com/acriptis", "followers_url": "https://api.github.com/users/acrip...
[ { "id": 1260952223, "node_id": "MDU6TGFiZWwxMjYwOTUyMjIz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion", "name": "Discussion", "color": "22870e", "default": false, "description": "Discussion on a topic (keep it focused or open a new issue though)" },...
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,583
1,589
1,589
NONE
null
Hello, huggingface! Thank you for the great work with doing neat interfaces for transformers family! I'm analyzing performance of transformers on a task of texts classification (like SST-2 in GLUE). I found that many architectures has `<ModelName>ForSequenceClassification` class, But `transformerXL` has restricted s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3081/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3081/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3080
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3080/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3080/comments
https://api.github.com/repos/huggingface/transformers/issues/3080/events
https://github.com/huggingface/transformers/issues/3080
574,072,632
MDU6SXNzdWU1NzQwNzI2MzI=
3,080
Docker Hub automatic tests failing
{ "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": 1834088753, "node_id": "MDU6TGFiZWwxODM0MDg4NzUz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Tests", "name": "Tests", "color": "a6fcca", "default": false, "description": "Related to tests" }, { "id": 1862634478, "node_id": "MDU6TGFiZWwxODYyN...
closed
false
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[ { "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://...
[ "Should be fixed, this tests were running because I asked to build on every master's commit. \r\n\r\nNow it should only build on new tags." ]
1,583
1,583
1,583
CONTRIBUTOR
null
The automated docker tests are failing on HEAD and when you click details you get 404, so tough to debug
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3080/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3080/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3079
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3079/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3079/comments
https://api.github.com/repos/huggingface/transformers/issues/3079/events
https://github.com/huggingface/transformers/issues/3079
574,041,379
MDU6SXNzdWU1NzQwNDEzNzk=
3,079
Bart CUDA not working
{ "login": "marmg", "id": 25741926, "node_id": "MDQ6VXNlcjI1NzQxOTI2", "avatar_url": "https://avatars.githubusercontent.com/u/25741926?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marmg", "html_url": "https://github.com/marmg", "followers_url": "https://api.github.com/users/marmg/follow...
[]
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...
[ "I just merged a PR and your example works for me. Would you mind seeing if it is still broken in your system? Thanks for posting! \r\n(note that the fix won't be in v 2.5.1 if you pip installed). \r\n", "Reopen if still broken!" ]
1,583
1,583
1,583
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): BART - bart-large 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 worki...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3079/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3079/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3078
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3078/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3078/comments
https://api.github.com/repos/huggingface/transformers/issues/3078/events
https://github.com/huggingface/transformers/pull/3078
573,996,519
MDExOlB1bGxSZXF1ZXN0MzgyNDAyMjgw
3,078
correct greedy generation when doing beam search
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3078?src=pr&el=h1) Report\n> Merging [#3078](https://codecov.io/gh/huggingface/transformers/pull/3078?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c0135194ebc5de4b1bbef98b31f9c457a0bf746a?src=pr&el=desc) will **d...
1,583
1,583
1,583
MEMBER
null
This PR changes the behavior of greedy beam search generation as discussed and wished in #2415 . Also two assertion statements are added: 1. It is not allowed to generate multiple sequences from the same input_ids when greedy generation (`num_return_sequences > 1`, `do_sample=False`, `num_beams` == 1 => `Assertio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3078/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3078/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3078", "html_url": "https://github.com/huggingface/transformers/pull/3078", "diff_url": "https://github.com/huggingface/transformers/pull/3078.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3078.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3077
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3077/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3077/comments
https://api.github.com/repos/huggingface/transformers/issues/3077/events
https://github.com/huggingface/transformers/pull/3077
573,609,932
MDExOlB1bGxSZXF1ZXN0MzgyMDkwNTYz
3,077
fix n_gpu count when no_cuda flag is activated
{ "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...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3077?src=pr&el=h1) Report\n> Merging [#3077](https://codecov.io/gh/huggingface/transformers/pull/3077?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/298bed16a841fae3608d334441ccae4d9043611f?src=pr&el=desc) will **i...
1,583
1,583
1,583
MEMBER
null
As I understand it, `no_cuda` should prevent the use of GPU in the `run_*` example scripts. However, `n_gpu` doesn't take it into account and count the numbers of GPUs available on the machine. It sends the model on the GPUs while the tensors are still on CPUs...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3077/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3077/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3077", "html_url": "https://github.com/huggingface/transformers/pull/3077", "diff_url": "https://github.com/huggingface/transformers/pull/3077.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3077.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3076
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3076/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3076/comments
https://api.github.com/repos/huggingface/transformers/issues/3076/events
https://github.com/huggingface/transformers/issues/3076
573,593,160
MDU6SXNzdWU1NzM1OTMxNjA=
3,076
XLNet multiple sentence modeling token type ids
{ "login": "jyhanna", "id": 16064051, "node_id": "MDQ6VXNlcjE2MDY0MDUx", "avatar_url": "https://avatars.githubusercontent.com/u/16064051?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jyhanna", "html_url": "https://github.com/jyhanna", "followers_url": "https://api.github.com/users/jyhann...
[ { "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": 1260...
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,583
1,588
1,588
NONE
null
XLNet was designed to handle multiple segment modeling (i.e. > 2 sentences) by using relative segment encodings. For sentence-level classification tasks with arbitrary sentence counts, what is the structure of the segment (token type) ids? I’ve found from the documentation that 2-sequence classification is supported by...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3076/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3076/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3075
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3075/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3075/comments
https://api.github.com/repos/huggingface/transformers/issues/3075/events
https://github.com/huggingface/transformers/issues/3075
573,583,858
MDU6SXNzdWU1NzM1ODM4NTg=
3,075
Training TFBertForSequenceClassification with custom X and Y data
{ "login": "rahulg963", "id": 8866218, "node_id": "MDQ6VXNlcjg4NjYyMTg=", "avatar_url": "https://avatars.githubusercontent.com/u/8866218?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rahulg963", "html_url": "https://github.com/rahulg963", "followers_url": "https://api.github.com/users/ra...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1834081910, "node_id": "MDU6TGFiZWwxODM0MDgxOTEw", ...
closed
false
null
[]
[ "Maybe this is a little late but you could take a look in both `examples/run_tf_glue.py` and [this function](https://github.com/huggingface/transformers/blob/master/src/transformers/data/processors/glue.py#L31-L168) from`src/transformers/data/processors/glue.py` and write a custom training script based from those."...
1,583
1,591
1,591
NONE
null
I am working on a TextClassification problem, for which I am trying to traing my model on TFBertForSequenceClassification given in huggingface-transformers library. I followed the example given on their github page, I am able to run the sample code with given sample data using tensorflow_datasets.load('glue/mrpc'). ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3075/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3075/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3074
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3074/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3074/comments
https://api.github.com/repos/huggingface/transformers/issues/3074/events
https://github.com/huggingface/transformers/issues/3074
573,558,797
MDU6SXNzdWU1NzM1NTg3OTc=
3,074
Only enable some labels in BERT fine-tuned NER
{ "login": "jmamou", "id": 19263306, "node_id": "MDQ6VXNlcjE5MjYzMzA2", "avatar_url": "https://avatars.githubusercontent.com/u/19263306?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jmamou", "html_url": "https://github.com/jmamou", "followers_url": "https://api.github.com/users/jmamou/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1834081910, "node_id": "MDU6TGFiZWwxODM0MDgxOTEw", ...
closed
false
null
[]
[ "I'm not sure I understand your question. The O tag is here in order to identify a token which is not an entity in the IOB1 tagging scheme. If you don't have such a tag, every token will have to be classified as an entity, which does not make sense?\r\n\r\nIf you would like to define a custom tagging scheme and tra...
1,583
1,590
1,590
CONTRIBUTOR
null
# ❓ Questions & Help Only enable some labels in BERT fine-tuned NER ## Details I would be interested to enable only some labels in BERT fine-tuned NER prediction. For example, I know what are the entities and I would like to train a model that will classify entities - but I am not interested to train/predict O t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3074/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3074/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3073
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3073/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3073/comments
https://api.github.com/repos/huggingface/transformers/issues/3073/events
https://github.com/huggingface/transformers/issues/3073
573,558,193
MDU6SXNzdWU1NzM1NTgxOTM=
3,073
Finetuned BERT model does not seem to predict right labels/work properly?
{ "login": "PieterDujardin", "id": 48496355, "node_id": "MDQ6VXNlcjQ4NDk2MzU1", "avatar_url": "https://avatars.githubusercontent.com/u/48496355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PieterDujardin", "html_url": "https://github.com/PieterDujardin", "followers_url": "https://api.gi...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Please post your code using [code blocks](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks). Don't post screenshots.", "FYI: \r\nphoto of **format input data**; https://i.stack.imgur.com/t472b.png\r\nphoto of **tag2name** ; https://i.stack.imgur.com/RO7dp.png\r\n\r\n\r\n...
1,583
1,588
1,588
NONE
null
# ❓ Questions & Help I am trying out a finetuned BERT model for token classification (--> https://huggingface.co/bert-base-cased-finetuned-conll03-english), but when I observe the model output (i.e. the logits after applying the softmax) and compare it with the true label_ids, they are totally uncorrelated (see pictur...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3073/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3073/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3072
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3072/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3072/comments
https://api.github.com/repos/huggingface/transformers/issues/3072/events
https://github.com/huggingface/transformers/issues/3072
573,532,646
MDU6SXNzdWU1NzM1MzI2NDY=
3,072
Chinese BERT model can be used represented by words instead of character
{ "login": "WenTingTseng", "id": 32416416, "node_id": "MDQ6VXNlcjMyNDE2NDE2", "avatar_url": "https://avatars.githubusercontent.com/u/32416416?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WenTingTseng", "html_url": "https://github.com/WenTingTseng", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "I am not sure which Chinese BERT you are referring to, but the original multilingual BERT has trained Chinese on the character-level. From their [README](https://github.com/google-research/bert/blob/master/multilingual.md):\r\n\r\n> Because Chinese (and Japanese Kanji and Korean Hanja) does not have whitespace cha...
1,583
1,583
1,583
NONE
null
# ❓ Questions & Help I want to ask about the Chinese BERT model can be used represented by words instead of character? Because when I do BERT visual for Chinese can only see its attention from character to character. I want to see attention from words to words. Can I change this? Thanks a lot for your help
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3072/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3072/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3071
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3071/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3071/comments
https://api.github.com/repos/huggingface/transformers/issues/3071/events
https://github.com/huggingface/transformers/issues/3071
573,520,345
MDU6SXNzdWU1NzM1MjAzNDU=
3,071
Predict the next word in sentence context from the list of possible words in Russian
{ "login": "svk-man", "id": 17108861, "node_id": "MDQ6VXNlcjE3MTA4ODYx", "avatar_url": "https://avatars.githubusercontent.com/u/17108861?v=4", "gravatar_id": "", "url": "https://api.github.com/users/svk-man", "html_url": "https://github.com/svk-man", "followers_url": "https://api.github.com/users/svk-ma...
[ { "id": 1834081910, "node_id": "MDU6TGFiZWwxODM0MDgxOTEw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Usage", "name": "Usage", "color": "e28436", "default": false, "description": "General questions about the library" } ]
closed
false
null
[]
[ "Example\r\nMy sentence: Мой кот ... (My cat ...)\r\n3 word is ест (eat)\r\nList of possible words: ест (eat), поглощает (absorb), глотает (swallow), кушают (eats) etc.\r\nI need to determine the probabilities of each word from the given list in the context of the phrase and make the most correct sentence.\r\nOutpu...
1,583
1,583
1,583
NONE
null
Hello from Russia. I have a task of predicting the next word from the list of possible words in Russian. How can I do this?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3071/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3071/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3070
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3070/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3070/comments
https://api.github.com/repos/huggingface/transformers/issues/3070/events
https://github.com/huggingface/transformers/issues/3070
573,488,746
MDU6SXNzdWU1NzM0ODg3NDY=
3,070
load_tf_weights_in_bert : 'BertModel' object has no attribute 'bias'
{ "login": "luyi6111", "id": 51707126, "node_id": "MDQ6VXNlcjUxNzA3MTI2", "avatar_url": "https://avatars.githubusercontent.com/u/51707126?v=4", "gravatar_id": "", "url": "https://api.github.com/users/luyi6111", "html_url": "https://github.com/luyi6111", "followers_url": "https://api.github.com/users/luy...
[ { "id": 1834056761, "node_id": "MDU6TGFiZWwxODM0MDU2NzYx", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Modeling", "name": "Core: Modeling", "color": "FF8446", "default": false, "description": "Internals of the library; Models." } ]
closed
false
null
[]
[ "change \r\n`BertModel.form_pretrained`\r\nto\r\n`BertForPreTraining.from_pretrained`\r\nit seems to work", "Glad you could get it to work! Indeed, `BertForPreTraining` should be used to convert from official BERT models." ]
1,583
1,583
1,583
NONE
null
``` AttributeError Traceback (most recent call last) <ipython-input-14-0d66155b396d> in <module> 12 13 K.clear_session() ---> 14 model = create_model() 15 optimizer = tf.keras.optimizers.Adam(learning_rate=2e-5) 16 model.compile(loss...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3070/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3070/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3069
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3069/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3069/comments
https://api.github.com/repos/huggingface/transformers/issues/3069/events
https://github.com/huggingface/transformers/issues/3069
573,477,072
MDU6SXNzdWU1NzM0NzcwNzI=
3,069
No Causal Attention Masking in GPT-2 LM Finetuning Script
{ "login": "alvinchangw", "id": 18749046, "node_id": "MDQ6VXNlcjE4NzQ5MDQ2", "avatar_url": "https://avatars.githubusercontent.com/u/18749046?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alvinchangw", "html_url": "https://github.com/alvinchangw", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi @alvinchangw, \r\n\r\nGPT2 always uses causal masking no matter what kind of attention_mask you give it. \r\nIt's easy to see when you print out the computed attentions for each layer (by setting `output_attentions=True`) => see for this also #2975. \r\n\r\nIn the code this is done in this line:\r\nhttps://gith...
1,583
1,583
1,583
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): GPT-2 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) The tasks I am working on is: *...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3069/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3069/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3068
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3068/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3068/comments
https://api.github.com/repos/huggingface/transformers/issues/3068/events
https://github.com/huggingface/transformers/issues/3068
573,046,241
MDU6SXNzdWU1NzMwNDYyNDE=
3,068
Problem with using pretrained BertTokenizer for Korean
{ "login": "alirezamshi-zz", "id": 43453239, "node_id": "MDQ6VXNlcjQzNDUzMjM5", "avatar_url": "https://avatars.githubusercontent.com/u/43453239?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alirezamshi-zz", "html_url": "https://github.com/alirezamshi-zz", "followers_url": "https://api.gi...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", ...
closed
false
null
[]
[ "Intuitively, I would say that this might not be a bug but a limitation of the size of the vocabulary. In the cased version, all data that the tokenizer is 'trained' on is cased, meaning that there are tokens in the vocabulary that only differs by case (e.g. `Be` and `be`). As a consequence, this may cause the voca...
1,582
1,588
1,588
NONE
null
I have a corpus that contains Korean sentences. Here is the output of a berttokenizer for a token: `tok = BertTokenizer.from_pretrained('bert-base-multilingual-uncased')` `tok.convert_tokens_to_ids(tok.tokenize('잘해놨습니다'))` `[44628, 14840, 97071, 97089, 97104, 13212, 79427]` `tok = BertTokenizer.from_pretrained('b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3068/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3068/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3067
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3067/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3067/comments
https://api.github.com/repos/huggingface/transformers/issues/3067/events
https://github.com/huggingface/transformers/issues/3067
573,020,947
MDU6SXNzdWU1NzMwMjA5NDc=
3,067
No speed diference when doing prediction between BERT and ALBERT
{ "login": "ayrtondenner", "id": 13112588, "node_id": "MDQ6VXNlcjEzMTEyNTg4", "avatar_url": "https://avatars.githubusercontent.com/u/13112588?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ayrtondenner", "html_url": "https://github.com/ayrtondenner", "followers_url": "https://api.github.c...
[ { "id": 1260952223, "node_id": "MDU6TGFiZWwxMjYwOTUyMjIz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion", "name": "Discussion", "color": "22870e", "default": false, "description": "Discussion on a topic (keep it focused or open a new issue though)" },...
closed
false
null
[]
[ "Hi, there's no reason ALBERT would be faster than BERT. They have the same number of layers, ALBERT just uses repeating layers (its `n` layers are a just a single one) instead of different layers (BERT's `n` layers are `n` different layers).", "Hi @LysandreJik !\r\nIf ALBERT is a lot smaller than BERT (in terms ...
1,582
1,590
1,590
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 Stack Overflow (SO) where a whole community of PyTorch and Tensorflow enthusiast can help you out. Make s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3067/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3067/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3066
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3066/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3066/comments
https://api.github.com/repos/huggingface/transformers/issues/3066/events
https://github.com/huggingface/transformers/issues/3066
573,001,235
MDU6SXNzdWU1NzMwMDEyMzU=
3,066
Documentation and code mismatch in BertForMaskedLM forward method
{ "login": "onurgu", "id": 56893, "node_id": "MDQ6VXNlcjU2ODkz", "avatar_url": "https://avatars.githubusercontent.com/u/56893?v=4", "gravatar_id": "", "url": "https://api.github.com/users/onurgu", "html_url": "https://github.com/onurgu", "followers_url": "https://api.github.com/users/onurgu/followers", ...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[]
1,582
1,587
1,587
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): BertForMaskedLM Language I am using the model on (English, Chinese ...): Not important. The problem arises when using: * [x] my own modified scripts: (give details below) The tasks I am working on is: I am trying to obtain LM probabili...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3066/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3066/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3065
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3065/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3065/comments
https://api.github.com/repos/huggingface/transformers/issues/3065/events
https://github.com/huggingface/transformers/issues/3065
572,936,346
MDU6SXNzdWU1NzI5MzYzNDY=
3,065
XLM-RoBERTa can't add new tokens.
{ "login": "Pelellone", "id": 6177687, "node_id": "MDQ6VXNlcjYxNzc2ODc=", "avatar_url": "https://avatars.githubusercontent.com/u/6177687?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Pelellone", "html_url": "https://github.com/Pelellone", "followers_url": "https://api.github.com/users/Pe...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", ...
closed
false
null
[]
[ "Can you post a minimal verifiable example that we can just copy-and-paste to try? I guess you don't really try to add empty strings as tokens?", "Hi @BramVanroy, no ofc, probably i've pasted the wrong snippet of code. \r\nIf you try to expand the vocabulary of the tokenizer with the following code: \r\n\r\n```\r...
1,582
1,589
1,589
NONE
null
# 🐛 Bug Model I am using (Bert, XLNet ...): XLM-RoBERTa ## To reproduce Steps to reproduce the behavior: 1. tokenizer = XLMRobertaTokenizer.from_pretrained('xlm-roberta-large', do_lower_case=True) 2. tokenizer.add_tokens(['<a1>', '</a1>', '<a2>', '</a2>']) 3. tokenizer.convert_tokens_to_ids('<a1>') It ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3065/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3065/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3064
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3064/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3064/comments
https://api.github.com/repos/huggingface/transformers/issues/3064/events
https://github.com/huggingface/transformers/issues/3064
572,911,248
MDU6SXNzdWU1NzI5MTEyNDg=
3,064
Add LM capabilities to TFTransfoXLLMHead
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "id": 1834056761, "node_id": "MDU6TGFiZWwxODM0MDU2NzYx", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Modeling", "name": "Core: Modeling", "color": "FF8446", "default": false, "description": "Internals of the library; Models." } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[]
1,582
1,584
1,584
MEMBER
null
# 🚀 Feature request It is currently not possible to generate language with the TFTransfoXLLMHeadModel because the `lm_head` is not implemented (see https://github.com/huggingface/transformers/blob/908fa43b543cf52a3238129624f502240725a6a6/src/transformers/modeling_tf_transfo_xl.py#L745) Doing: ``` from tra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3064/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3064/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3063
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3063/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3063/comments
https://api.github.com/repos/huggingface/transformers/issues/3063/events
https://github.com/huggingface/transformers/pull/3063
572,795,543
MDExOlB1bGxSZXF1ZXN0MzgxNDIzNDAy
3,063
Add generate() functionality to TF 2.0
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3063?src=pr&el=h1) Report\n> Merging [#3063](https://codecov.io/gh/huggingface/transformers/pull/3063?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/eec5ec807135ae61fa2266f3c7ad947cc207abda?src=pr&el=desc) will **i...
1,582
1,583
1,583
MEMBER
null
I added the `_generate_no_beam_search` functionality for TF 2.0. It works for the following models: 'gpt2', 'openai', 'xlnet', 'xlm', 'ctrl'. Only for the model 'transfo-xl' it doesn't work because the lm_head is not implemented yet in TF 2.0 (added an issue here: #3064 ). Also I checked whether the pytorch 'dis...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3063/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3063/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3063", "html_url": "https://github.com/huggingface/transformers/pull/3063", "diff_url": "https://github.com/huggingface/transformers/pull/3063.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3063.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3062
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3062/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3062/comments
https://api.github.com/repos/huggingface/transformers/issues/3062/events
https://github.com/huggingface/transformers/issues/3062
572,619,732
MDU6SXNzdWU1NzI2MTk3MzI=
3,062
Should weight distribution change more when fine-tuning transformers-based classifier?
{ "login": "marrrcin", "id": 6958772, "node_id": "MDQ6VXNlcjY5NTg3NzI=", "avatar_url": "https://avatars.githubusercontent.com/u/6958772?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marrrcin", "html_url": "https://github.com/marrrcin", "followers_url": "https://api.github.com/users/marrr...
[ { "id": 1260952223, "node_id": "MDU6TGFiZWwxMjYwOTUyMjIz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion", "name": "Discussion", "color": "22870e", "default": false, "description": "Discussion on a topic (keep it focused or open a new issue though)" },...
closed
false
null
[]
[ "I am curious: what kind of behaviour do you see when you freeze the whole base model, and only train the classifier? Also, you may want avoid the use of the `cls` variable name because it is a reserved keyword for the class. In general, the classifier is trained quite quickly (often in two or epochs or less), so y...
1,582
1,590
1,590
CONTRIBUTOR
null
## ❓Should weight distribution change more when fine-tuning transformers-based classifier? This question was posted on DataScience stack exchange: [https://datascience.stackexchange.com/questions/68641/should-weight-distribution-change-more-when-fine-tuning-transformers-based-class](https://datascience.stackexchange....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3062/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3062/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3061
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3061/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3061/comments
https://api.github.com/repos/huggingface/transformers/issues/3061/events
https://github.com/huggingface/transformers/issues/3061
572,519,279
MDU6SXNzdWU1NzI1MTkyNzk=
3,061
Bad word list for text generation
{ "login": "Peter-Devine", "id": 49399312, "node_id": "MDQ6VXNlcjQ5Mzk5MzEy", "avatar_url": "https://avatars.githubusercontent.com/u/49399312?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Peter-Devine", "html_url": "https://github.com/Peter-Devine", "followers_url": "https://api.github.c...
[ { "id": 1834052129, "node_id": "MDU6TGFiZWwxODM0MDUyMTI5", "url": "https://api.github.com/repos/huggingface/transformers/labels/High-Level%20feature", "name": "High-Level feature", "color": "f7c9a3", "default": false, "description": "" } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "I like this idea. Perhaps it can be added as an example, or even as an argument to the generation script." ]
1,582
1,585
1,585
NONE
null
# 🚀 Feature request Add a word of lists that you do not want the model to generate for whatever reason. ## Motivation When creating a text generation model, especially if you will serve that model publicly, it is desirable to have assurances that a model is physically incapable of outputting certain tokens. Su...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3061/reactions", "total_count": 6, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3061/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3060
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3060/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3060/comments
https://api.github.com/repos/huggingface/transformers/issues/3060/events
https://github.com/huggingface/transformers/issues/3060
572,490,874
MDU6SXNzdWU1NzI0OTA4NzQ=
3,060
How to init a subclass of BertForTokenClassification
{ "login": "haorannlp", "id": 52477842, "node_id": "MDQ6VXNlcjUyNDc3ODQy", "avatar_url": "https://avatars.githubusercontent.com/u/52477842?v=4", "gravatar_id": "", "url": "https://api.github.com/users/haorannlp", "html_url": "https://github.com/haorannlp", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,582
1,588
1,588
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 Stack Overflow (SO) where a whole community of PyTorch and Tensorflow enthusiast can help you out. Make s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3060/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3060/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3059
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3059/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3059/comments
https://api.github.com/repos/huggingface/transformers/issues/3059/events
https://github.com/huggingface/transformers/pull/3059
572,480,785
MDExOlB1bGxSZXF1ZXN0MzgxMTcwNDg2
3,059
Bart-CNN
{ "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/3059?src=pr&el=h1) Report\n> :exclamation: No coverage uploaded for pull request base (`master@271344f`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).\n> The diff coverage is `86.95%`...
1,582
1,583
1,583
CONTRIBUTOR
null
## Sources - copy pastes code from generate but does not share very much in an effort to simplify. there is no big abstraction yet. - also copy pastes some code from fairseq - encoder_outputs and previous decoder attentions are cached. ## Differences with PretrainedModel.generate these are all bc thats the w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3059/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3059/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3059", "html_url": "https://github.com/huggingface/transformers/pull/3059", "diff_url": "https://github.com/huggingface/transformers/pull/3059.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3059.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3058
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3058/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3058/comments
https://api.github.com/repos/huggingface/transformers/issues/3058/events
https://github.com/huggingface/transformers/issues/3058
572,460,345
MDU6SXNzdWU1NzI0NjAzNDU=
3,058
Fast tokenizers calculate wrong offsets when special characters are present
{ "login": "dirkgr", "id": 920638, "node_id": "MDQ6VXNlcjkyMDYzOA==", "avatar_url": "https://avatars.githubusercontent.com/u/920638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dirkgr", "html_url": "https://github.com/dirkgr", "followers_url": "https://api.github.com/users/dirkgr/follow...
[ { "id": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization", "name": "Core: Tokenization", "color": "FF4446", "default": false, "description": "Internals of the library; Tokenization." } ]
closed
false
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[ { "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://...
[ "@mfuntowicz, would it make sense for me to integrate our tokenizer tests into your code, so you can see these things immediately? I'd be happy to do so.", "Looks like this is a duplicate of #2917.", "On second reading, this is not the same issue as #2917, though they may be related.", "Roberta has another re...
1,582
1,587
1,587
CONTRIBUTOR
null
Example: ``` >>> import transformers >>> t_fast = transformers.AutoTokenizer.from_pretrained("bert-base-cased", use_fast=True, add_special_tokens=False) >>> sentence = "A, naïve [MASK] AllenNLP sentence." >>> tokenized = t_fast.encode_plus(sentence, add_special_tokens=False, return_offsets_mapping=True) >>> for...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3058/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3058/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3057
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3057/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3057/comments
https://api.github.com/repos/huggingface/transformers/issues/3057/events
https://github.com/huggingface/transformers/issues/3057
572,456,125
MDU6SXNzdWU1NzI0NTYxMjU=
3,057
Fast tokenizers don't properly tokenize special tokens
{ "login": "dirkgr", "id": 920638, "node_id": "MDQ6VXNlcjkyMDYzOA==", "avatar_url": "https://avatars.githubusercontent.com/u/920638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dirkgr", "html_url": "https://github.com/dirkgr", "followers_url": "https://api.github.com/users/dirkgr/follow...
[ { "id": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization", "name": "Core: Tokenization", "color": "FF4446", "default": false, "description": "Internals of the library; Tokenization." } ]
closed
false
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[ { "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://...
[ "I think it's a duplicate of #2919. Btw, I should have told you when I saw you open the PR, [I opened a bunch of issues related to AllenNLP usage](https://github.com/huggingface/transformers/issues?utf8=%E2%9C%93&q=is%3Aissue+author%3Abryant1410). I think one that was closed it's not completely solved, but not sure...
1,582
1,587
1,587
CONTRIBUTOR
null
Slow tokenizers: ``` >>> import transformers >>> t_slow = transformers.AutoTokenizer.from_pretrained("roberta-base", use_fast=False) >>> t_slow.encode_plus("A <mask> sentence.") {'input_ids': [0, 83, 50264, 3645, 4, 2], 'token_type_ids': [0, 0, 0, 0, 0, 0], 'attention_mask': [1, 1, 1, 1, 1, 1]} >>> t_slow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3057/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3057/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3056
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3056/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3056/comments
https://api.github.com/repos/huggingface/transformers/issues/3056/events
https://github.com/huggingface/transformers/pull/3056
572,370,905
MDExOlB1bGxSZXF1ZXN0MzgxMDgyNjU2
3,056
(Gross WIP) Bart-CNN
{ "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,582
1,583
1,582
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3056/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3056/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3056", "html_url": "https://github.com/huggingface/transformers/pull/3056", "diff_url": "https://github.com/huggingface/transformers/pull/3056.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3056.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/3055
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3055/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3055/comments
https://api.github.com/repos/huggingface/transformers/issues/3055/events
https://github.com/huggingface/transformers/pull/3055
572,345,835
MDExOlB1bGxSZXF1ZXN0MzgxMDYyMTg3
3,055
Pipeline doc
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hmm, why do we want to be able to spawn a `NerPipeline` or a `QuestionAnsweringPipeline` without a model or a tokenizer?\r\n\r\nIsn't this what `pipeline(\"ner\")` or `pipeline(\"question-answering\")` is for?", "I think the question is rather why can't we spawn a `NerPipeline` or a `QuestionAnsweringPipeline` e...
1,582
1,583
1,583
MEMBER
null
This PR adds documentation to the pipelines and slightly modifies their behavior: - `modelcard` is no longer available when using the `pipeline` factory method. As discussed with @thomwolf and @mfuntowicz, it doesn't serve any purpose for the user. - All task-specific pipelines can now be instantiated without any m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3055/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3055/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3055", "html_url": "https://github.com/huggingface/transformers/pull/3055", "diff_url": "https://github.com/huggingface/transformers/pull/3055.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3055.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3054
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3054/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3054/comments
https://api.github.com/repos/huggingface/transformers/issues/3054/events
https://github.com/huggingface/transformers/pull/3054
572,300,701
MDExOlB1bGxSZXF1ZXN0MzgxMDI2OTk5
3,054
Bart: Use bool attention_mask for encoder
{ "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
[]
[ "I believe the `bool` operator was introduced in PyTorch 1.2.0, won't this break compatibility with PyTorch 1.0.0?", "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3054?src=pr&el=h1) Report\n> Merging [#3054](https://codecov.io/gh/huggingface/transformers/pull/3054?src=pr&el=desc) into [master](...
1,582
1,583
1,583
CONTRIBUTOR
null
Wasn't breaking because bool(-1e4) is True, but clearer this way.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3054/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3054/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3054", "html_url": "https://github.com/huggingface/transformers/pull/3054", "diff_url": "https://github.com/huggingface/transformers/pull/3054.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3054.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/3053
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3053/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3053/comments
https://api.github.com/repos/huggingface/transformers/issues/3053/events
https://github.com/huggingface/transformers/pull/3053
572,230,696
MDExOlB1bGxSZXF1ZXN0MzgwOTcyNjQy
3,053
Changes to NER examples for PLT and TPU
{ "login": "srush", "id": 35882, "node_id": "MDQ6VXNlcjM1ODgy", "avatar_url": "https://avatars.githubusercontent.com/u/35882?v=4", "gravatar_id": "", "url": "https://api.github.com/users/srush", "html_url": "https://github.com/srush", "followers_url": "https://api.github.com/users/srush/followers", "f...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3053?src=pr&el=h1) Report\n> Merging [#3053](https://codecov.io/gh/huggingface/transformers/pull/3053?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8bcb37bfb80d77e06001f989ad982c9961a69c31?src=pr&el=desc) will **d...
1,582
1,582
1,582
CONTRIBUTOR
null
* Simplify the NER example to support new features added for us by pytorch-lightning. * Pull out all rank and backend special casing in the code base. * Setup data so that TPU examples work using the new code base. Testing: * Verify that standard examples of training work. * Confirm that new TPU code works...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3053/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3053/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3053", "html_url": "https://github.com/huggingface/transformers/pull/3053", "diff_url": "https://github.com/huggingface/transformers/pull/3053.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3053.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3052
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3052/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3052/comments
https://api.github.com/repos/huggingface/transformers/issues/3052/events
https://github.com/huggingface/transformers/issues/3052
572,210,623
MDU6SXNzdWU1NzIyMTA2MjM=
3,052
Is ALBERT the right implement from paper ?
{ "login": "adamluo1995", "id": 18718520, "node_id": "MDQ6VXNlcjE4NzE4NTIw", "avatar_url": "https://avatars.githubusercontent.com/u/18718520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adamluo1995", "html_url": "https://github.com/adamluo1995", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "I read the code carefully, and it do share." ]
1,582
1,582
1,582
NONE
null
I read ALBERT paper and code form Google: github.com/google-research/ALBERT. One of the main contribute of ALBert is cross-layer parameter sharing and i can see it on Google's code. But i can't see sharing on this code. Every Layers(or Blocks) are new object and their parameter will be different after fine-tuning. I...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3052/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3052/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3051
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3051/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3051/comments
https://api.github.com/repos/huggingface/transformers/issues/3051/events
https://github.com/huggingface/transformers/pull/3051
572,180,506
MDExOlB1bGxSZXF1ZXN0MzgwOTMxNjMx
3,051
Adding Docker images for transformers + notebooks
{ "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/3051?src=pr&el=h1) Report\n> Merging [#3051](https://codecov.io/gh/huggingface/transformers/pull/3051?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/53ce3854a16ad2a715bc6ac8af3e30c18b5a1d11?src=pr&el=desc) will **n...
1,582
1,583
1,583
MEMBER
null
Docker images are as follow: - transformers-cpu (PyTorch + TF) - transformers-gpu (PyTorch + TF) - transformers-pytorch-cpu - transformers-pytorch-gpu - transformers-tensorflow-cpu - transformers-tensorflow-gpu Images are tagged according to the version of the library they bring and always use the latest ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3051/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3051/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3051", "html_url": "https://github.com/huggingface/transformers/pull/3051", "diff_url": "https://github.com/huggingface/transformers/pull/3051.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3051.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3050
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3050/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3050/comments
https://api.github.com/repos/huggingface/transformers/issues/3050/events
https://github.com/huggingface/transformers/issues/3050
572,135,710
MDU6SXNzdWU1NzIxMzU3MTA=
3,050
Should be able to turn off logging
{ "login": "shamoons", "id": 1019677, "node_id": "MDQ6VXNlcjEwMTk2Nzc=", "avatar_url": "https://avatars.githubusercontent.com/u/1019677?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shamoons", "html_url": "https://github.com/shamoons", "followers_url": "https://api.github.com/users/shamo...
[ { "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 progress on this? Has anyone found a way to disable the logging this?\r\n\r\n\r\nThe issue appears to be tqdm. A work-around is to disable it before importing transformers:\r\n```\r\nimport tqdm\r\n\r\ndef nop(it, *a, **k):\r\n return it\r\ntqdm.tqdm = nop\r\nimport transformers\r\n```", "I agree that it'...
1,582
1,604
1,604
NONE
null
# 🚀 Feature request When doing a simple pipeline, I want to supress: ``` Downloading: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 230/230 [00:00<00:00, 136kB/s] convert squad examples to features: 100%|█████████████████████████████████████...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3050/reactions", "total_count": 15, "+1": 15, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3050/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3049
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3049/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3049/comments
https://api.github.com/repos/huggingface/transformers/issues/3049/events
https://github.com/huggingface/transformers/issues/3049
572,087,617
MDU6SXNzdWU1NzIwODc2MTc=
3,049
Regarding attention received by the distilbert model
{ "login": "divyag11", "id": 39218807, "node_id": "MDQ6VXNlcjM5MjE4ODA3", "avatar_url": "https://avatars.githubusercontent.com/u/39218807?v=4", "gravatar_id": "", "url": "https://api.github.com/users/divyag11", "html_url": "https://github.com/divyag11", "followers_url": "https://api.github.com/users/div...
[ { "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,582
1,588
1,588
NONE
null
I receive the attention of all the 6 layers with all the 12 heads while exporting the tfdistilbert model. I just want to take the attention of dimension equal to the sequence length. Which layer and head attention is the most effective attention value that I should take in order to get the best value of attention score...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3049/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3049/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3048
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3048/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3048/comments
https://api.github.com/repos/huggingface/transformers/issues/3048/events
https://github.com/huggingface/transformers/issues/3048
572,071,925
MDU6SXNzdWU1NzIwNzE5MjU=
3,048
Set specific hidden_size for ClassificationHead
{ "login": "GuillaumeDesforges", "id": 1882000, "node_id": "MDQ6VXNlcjE4ODIwMDA=", "avatar_url": "https://avatars.githubusercontent.com/u/1882000?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GuillaumeDesforges", "html_url": "https://github.com/GuillaumeDesforges", "followers_url": "http...
[ { "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,582
1,588
1,588
NONE
null
# 🚀 Feature request Add a config term `head_hidden_size` to the model configurations that will be used for the head of models such as `RobertaForSequenceClassification` ## Motivation HuggingFace transformers library provides a very accessible API and PyTorch models that can be used "plug n play" for various t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3048/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3048/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3047
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3047/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3047/comments
https://api.github.com/repos/huggingface/transformers/issues/3047/events
https://github.com/huggingface/transformers/pull/3047
572,070,438
MDExOlB1bGxSZXF1ZXN0MzgwODM5MDI3
3,047
[WIP] deleted special tokens as attributes from model config
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "Not feasible for bart at the moment, sadly.", "As mentioned in #3011, I think #3011 is the way to go." ]
1,582
1,583
1,583
MEMBER
null
Given our conversation in #3011 , I thought about deleting all model special config attributes to make sure that no data is duplicated between the tokenizer of a model and the model. There are two instances where config special attributes were used (e.g. self.config.pad_token_id) 1. the generate() function. But ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3047/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3047/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3047", "html_url": "https://github.com/huggingface/transformers/pull/3047", "diff_url": "https://github.com/huggingface/transformers/pull/3047.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3047.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/3046
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3046/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3046/comments
https://api.github.com/repos/huggingface/transformers/issues/3046/events
https://github.com/huggingface/transformers/pull/3046
572,000,809
MDExOlB1bGxSZXF1ZXN0MzgwNzgxNzE2
3,046
[WIP] add generate tests to more models
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3046?src=pr&el=h1) Report\n> Merging [#3046](https://codecov.io/gh/huggingface/transformers/pull/3046?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/298bed16a841fae3608d334441ccae4d9043611f?src=pr&el=desc) will **i...
1,582
1,583
1,583
MEMBER
null
- [ ] add prepare_input_for_generation() to all bert masked lm models - [ ] add slow integration tests to check results (also include camembert for this one)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3046/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3046/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3046", "html_url": "https://github.com/huggingface/transformers/pull/3046", "diff_url": "https://github.com/huggingface/transformers/pull/3046.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3046.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/3045
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3045/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3045/comments
https://api.github.com/repos/huggingface/transformers/issues/3045/events
https://github.com/huggingface/transformers/issues/3045
571,865,975
MDU6SXNzdWU1NzE4NjU5NzU=
3,045
[docs] Provide a barebones GPT-2 colab notebook
{ "login": "aolko", "id": 581458, "node_id": "MDQ6VXNlcjU4MTQ1OA==", "avatar_url": "https://avatars.githubusercontent.com/u/581458?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aolko", "html_url": "https://github.com/aolko", "followers_url": "https://api.github.com/users/aolko/followers"...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", ...
closed
false
null
[]
[ "Do you mean just for inference? Or fine-tuning too, like in the one you linked?", "Yes, fine-tuning as well.", "The notebook described in #2676 is a good example of something that could work; however the current implementation is not very user friendly, which was the design goal of the `gpt-2-simple` notebook....
1,582
1,598
1,598
NONE
null
Please provide a barebones "pick up and go" GPT-2 colab notebook for text generation, [just like gpt-2-simple does](https://colab.research.google.com/drive/1VLG8e7YSEwypxU-noRNhsv5dW4NfTGce)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3045/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/3045/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3044
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3044/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3044/comments
https://api.github.com/repos/huggingface/transformers/issues/3044/events
https://github.com/huggingface/transformers/issues/3044
571,865,360
MDU6SXNzdWU1NzE4NjUzNjA=
3,044
How can I use the this result?
{ "login": "bboyxu5928", "id": 36126405, "node_id": "MDQ6VXNlcjM2MTI2NDA1", "avatar_url": "https://avatars.githubusercontent.com/u/36126405?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bboyxu5928", "html_url": "https://github.com/bboyxu5928", "followers_url": "https://api.github.com/use...
[ { "id": 1834081910, "node_id": "MDU6TGFiZWwxODM0MDgxOTEw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Usage", "name": "Usage", "color": "e28436", "default": false, "description": "General questions about the library" } ]
closed
false
null
[]
[ "That answer links to an old version of the codebase. Here is an example using the current-day implementation. The documentation can be improved for this particular task, though, since as currently written the given example doesn't seem to do any NSP.\r\n\r\n```python\r\nfrom torch.nn.functional import softmax\r\nf...
1,582
1,582
1,582
NONE
null
I wan to call the next sentence prediction function on new data. and this webpage tell it https://stackoverflow.com/questions/55111360/using-bert-for-next-sentence-prediction input_ids = torch.LongTensor([[31, 51, 99], [15, 5, 0]]) input_mask = torch.LongTensor([[1, 1, 1], [1, 1, 0]]) token_type_ids ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3044/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3044/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3043
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3043/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3043/comments
https://api.github.com/repos/huggingface/transformers/issues/3043/events
https://github.com/huggingface/transformers/issues/3043
571,854,599
MDU6SXNzdWU1NzE4NTQ1OTk=
3,043
Issue with Makefile
{ "login": "surya-narayanan", "id": 17240858, "node_id": "MDQ6VXNlcjE3MjQwODU4", "avatar_url": "https://avatars.githubusercontent.com/u/17240858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/surya-narayanan", "html_url": "https://github.com/surya-narayanan", "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
[]
[ "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,582
1,588
1,588
NONE
null
# 🐛 Bug ## Information Model I am using (Bert ...): Language I am using the model on (English): The problem arises when using: * [x ] the official example scripts: (give details below) * [ ] my own modified scripts: (give details below) The tasks I am working on is: * [x ] an official GLUE/SQUaD tas...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3043/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3043/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3042
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3042/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3042/comments
https://api.github.com/repos/huggingface/transformers/issues/3042/events
https://github.com/huggingface/transformers/pull/3042
571,840,793
MDExOlB1bGxSZXF1ZXN0MzgwNjUxODg2
3,042
Fix spelling of strictly in error messages
{ "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/3042?src=pr&el=h1) Report\n> Merging [#3042](https://codecov.io/gh/huggingface/transformers/pull/3042?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b370cc7e99c5b8c7436154d4694c33b461ea0f08?src=pr&el=desc) will **d...
1,582
1,583
1,582
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3042/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3042/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3042", "html_url": "https://github.com/huggingface/transformers/pull/3042", "diff_url": "https://github.com/huggingface/transformers/pull/3042.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3042.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3041
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3041/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3041/comments
https://api.github.com/repos/huggingface/transformers/issues/3041/events
https://github.com/huggingface/transformers/pull/3041
571,815,803
MDExOlB1bGxSZXF1ZXN0MzgwNjMyNzk5
3,041
Fix batch_encode_plus
{ "login": "astariul", "id": 43774355, "node_id": "MDQ6VXNlcjQzNzc0MzU1", "avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/astariul", "html_url": "https://github.com/astariul", "followers_url": "https://api.github.com/users/ast...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3041?src=pr&el=h1) Report\n> Merging [#3041](https://codecov.io/gh/huggingface/transformers/pull/3041?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b370cc7e99c5b8c7436154d4694c33b461ea0f08?src=pr&el=desc) will **i...
1,582
1,582
1,582
CONTRIBUTOR
null
Fix #3037
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3041/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3041/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3041", "html_url": "https://github.com/huggingface/transformers/pull/3041", "diff_url": "https://github.com/huggingface/transformers/pull/3041.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3041.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3040
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3040/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3040/comments
https://api.github.com/repos/huggingface/transformers/issues/3040/events
https://github.com/huggingface/transformers/issues/3040
571,797,031
MDU6SXNzdWU1NzE3OTcwMzE=
3,040
Knowledge distillation from internal representation GPT2
{ "login": "snaik2016", "id": 18183245, "node_id": "MDQ6VXNlcjE4MTgzMjQ1", "avatar_url": "https://avatars.githubusercontent.com/u/18183245?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snaik2016", "html_url": "https://github.com/snaik2016", "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": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "The attention outputs are indeed softmax probabilities and should all be > 0. Could you post a code snippet that reproduces negative attention outputs? Or a code snippet of what exactly you are doing with the attention outputs? ", "This issue has been automatically marked as stale because it has not had recent a...
1,582
1,588
1,588
NONE
null
# ❓ Questions & Help I am trying to implement above paper for the GPT2 model. The attention outputs are softmax probabilities as seen from modeling_gpt2.py line (152-162). If KLD loss is computed on these values from teacher and student I am getting negative value of KLD indicating that the inputs are not probabilit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3040/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3040/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3039
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3039/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3039/comments
https://api.github.com/repos/huggingface/transformers/issues/3039/events
https://github.com/huggingface/transformers/issues/3039
571,747,868
MDU6SXNzdWU1NzE3NDc4Njg=
3,039
Paragraph re-ranking using MS MARCO dataset
{ "login": "Sharathmk99", "id": 3970340, "node_id": "MDQ6VXNlcjM5NzAzNDA=", "avatar_url": "https://avatars.githubusercontent.com/u/3970340?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sharathmk99", "html_url": "https://github.com/Sharathmk99", "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 }, { "id": 1834081910, "node_id": "MDU6TGFiZWwxODM0MDgxOTEw", ...
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,582
1,588
1,588
NONE
null
How can I use transformers package to train on MS MARCO dataset by adding my own domain data. Or can I use pre trained model to add my own domain data? SO link: https://stackoverflow.com/questions/60424723/paragraph-re-ranking-using-ms-marco-dataset
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3039/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3039/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3038
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3038/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3038/comments
https://api.github.com/repos/huggingface/transformers/issues/3038/events
https://github.com/huggingface/transformers/issues/3038
571,743,299
MDU6SXNzdWU1NzE3NDMyOTk=
3,038
AttributeError: 'Model2Model' object has no attribute 'prepare_model_kwargs' in 2.5.1
{ "login": "andr-ec", "id": 16169185, "node_id": "MDQ6VXNlcjE2MTY5MTg1", "avatar_url": "https://avatars.githubusercontent.com/u/16169185?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andr-ec", "html_url": "https://github.com/andr-ec", "followers_url": "https://api.github.com/users/andr-e...
[ { "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
[]
[ "Looks like `PreTrainedEncoderDecoder.prepare_model_kwargs()` was removed in #2745\r\nIs there a reason for that? either `prepare_model_kwargs` should be added again or the line: \r\n`kwargs_encoder, kwargs_decoder = self.prepare_model_kwargs(**kwargs)`\r\nshould be removed from the forward call. I'd be happy to s...
1,582
1,588
1,588
CONTRIBUTOR
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): Model2Model 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) based on the quick start g...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3038/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3038/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3037
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3037/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3037/comments
https://api.github.com/repos/huggingface/transformers/issues/3037/events
https://github.com/huggingface/transformers/issues/3037
571,734,995
MDU6SXNzdWU1NzE3MzQ5OTU=
3,037
Wrong logic in `batch_encode_plus()`
{ "login": "astariul", "id": 43774355, "node_id": "MDQ6VXNlcjQzNzc0MzU1", "avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/astariul", "html_url": "https://github.com/astariul", "followers_url": "https://api.github.com/users/ast...
[]
closed
false
null
[]
[]
1,582
1,582
1,582
CONTRIBUTOR
null
# 🐛 Bug I'm trying to use `batch_encode_plus()` with already tokenized ID as input. So I have a `list of list of int` as input. For example : ```python x = [[0, 83, 313, 11, 10551, 2278, 16, 2183, 1958, 804, 7, 916, 11, 13933, 982, 4, 286, 68, 5046, 6, 37, 40, 3627, 231, 2697, 9, 1958, 11, 41, 36027, 27894, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3037/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3037/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3036
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3036/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3036/comments
https://api.github.com/repos/huggingface/transformers/issues/3036/events
https://github.com/huggingface/transformers/issues/3036
571,606,904
MDU6SXNzdWU1NzE2MDY5MDQ=
3,036
Cannot use `transformers.GradientAccumulator` with `tf.function`
{ "login": "jarednielsen", "id": 4564897, "node_id": "MDQ6VXNlcjQ1NjQ4OTc=", "avatar_url": "https://avatars.githubusercontent.com/u/4564897?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jarednielsen", "html_url": "https://github.com/jarednielsen", "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 }, { "id": 1834054694, "node_id": "MDU6TGFiZWwxODM0MDU0Njk0", ...
closed
false
null
[]
[ "`transformers`'s implementation of the GradientAccumulator has been inspired by the OpenNMT implementation. Can you try their (updated) version and report the results? You can find it here:\r\n\r\nhttps://github.com/OpenNMT/OpenNMT-tf/blob/0311e473d9788b0363ca663cafbdfaf7777e53f9/opennmt/optimizers/utils.py#L64\r\...
1,582
1,589
1,589
CONTRIBUTOR
null
# 🐛 Bug I'm using gradient accumulation to get larger batch sizes when pretraining BERT, and GradientAccumulator works wonderfully. Thanks for including that! However, tf.AutoGraph fails when I wrap in the gradient accumulation step in tf.function. I have to write code like this: ```code @tf.function def ba...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3036/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3036/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3035
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3035/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3035/comments
https://api.github.com/repos/huggingface/transformers/issues/3035/events
https://github.com/huggingface/transformers/pull/3035
571,553,976
MDExOlB1bGxSZXF1ZXN0MzgwNDIwNDk3
3,035
Force pad_token_id to be set before padding for standard tokenizer
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3035?src=pr&el=h1) Report\n> Merging [#3035](https://codecov.io/gh/huggingface/transformers/pull/3035?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/298bed16a841fae3608d334441ccae4d9043611f?src=pr&el=desc) will **d...
1,582
1,583
1,583
MEMBER
null
I think batch_encode_plus with a proper padding strategy should not be allowed if the pad_token_id is not set. I don't feel like it helps the user to have a python list of lists with None values that he can't transform to a torch.Tensor anyways. As a remedy I think it is alright if a new pad_token is added or wheth...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3035/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3035/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3035", "html_url": "https://github.com/huggingface/transformers/pull/3035", "diff_url": "https://github.com/huggingface/transformers/pull/3035.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3035.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3034
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3034/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3034/comments
https://api.github.com/repos/huggingface/transformers/issues/3034/events
https://github.com/huggingface/transformers/pull/3034
571,528,030
MDExOlB1bGxSZXF1ZXN0MzgwMzk4OTgy
3,034
fix several typos in Distil* readme
{ "login": "awalker88", "id": 18567203, "node_id": "MDQ6VXNlcjE4NTY3MjAz", "avatar_url": "https://avatars.githubusercontent.com/u/18567203?v=4", "gravatar_id": "", "url": "https://api.github.com/users/awalker88", "html_url": "https://github.com/awalker88", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3034?src=pr&el=h1) Report\n> Merging [#3034](https://codecov.io/gh/huggingface/transformers/pull/3034?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9df74b8bc42eedc496f7148b9370728054ca3b6a?src=pr&el=desc) will **i...
1,582
1,582
1,582
CONTRIBUTOR
null
Hi, feel free to reject if you think these changes aren't necessary. Just saw a couple typos while reading the documentation and wanted to help 😄. The first change looks a bit hard to tell what changed, but it was 'superseeds' to 'supersedes'.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3034/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3034/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3034", "html_url": "https://github.com/huggingface/transformers/pull/3034", "diff_url": "https://github.com/huggingface/transformers/pull/3034.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3034.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3033
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3033/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3033/comments
https://api.github.com/repos/huggingface/transformers/issues/3033/events
https://github.com/huggingface/transformers/pull/3033
571,510,165
MDExOlB1bGxSZXF1ZXN0MzgwMzg0MTMy
3,033
Fix attn mask gpt2 when using past
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3033?src=pr&el=h1) Report\n> Merging [#3033](https://codecov.io/gh/huggingface/transformers/pull/3033?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/bb7c46852051f7d031dd4be0240c9c9db82f6ed9?src=pr&el=desc) will **d...
1,582
1,582
1,582
MEMBER
null
- fixed issue #3031 - updated doc-string for GPT2 - added two test for GPT2 that I think are important: - check that when using past as an input to speed up decoding, the results are equivalent to not using past. - check that when using past and attn_mask as an input to speed up decoding, the resul...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3033/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3033/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3033", "html_url": "https://github.com/huggingface/transformers/pull/3033", "diff_url": "https://github.com/huggingface/transformers/pull/3033.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3033.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3032
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3032/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3032/comments
https://api.github.com/repos/huggingface/transformers/issues/3032/events
https://github.com/huggingface/transformers/issues/3032
571,461,730
MDU6SXNzdWU1NzE0NjE3MzA=
3,032
Loading custom weights for BERT in pytorch
{ "login": "LivC193", "id": 38222294, "node_id": "MDQ6VXNlcjM4MjIyMjk0", "avatar_url": "https://avatars.githubusercontent.com/u/38222294?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LivC193", "html_url": "https://github.com/LivC193", "followers_url": "https://api.github.com/users/LivC19...
[ { "id": 1802861720, "node_id": "MDU6TGFiZWwxODAyODYxNzIw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20CLI", "name": "Core: CLI", "color": "FF6426", "default": false, "description": "" } ]
closed
false
null
[]
[ "Yes. Have a look at the documentation for [`from_pretrained`](https://huggingface.co/transformers/main_classes/model.html#transformers.PreTrainedModel.from_pretrained), particularly the `pretrained_model_name_or_path ` argument.", "Yes sorry I looked after I asked and found everything I needed it " ]
1,582
1,582
1,582
NONE
null
Is it possible to load custom pre-trained weights for BERT, other than the one you provide ?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3032/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3032/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3031
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3031/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3031/comments
https://api.github.com/repos/huggingface/transformers/issues/3031/events
https://github.com/huggingface/transformers/issues/3031
571,430,501
MDU6SXNzdWU1NzE0MzA1MDE=
3,031
Forward pass with GPT2 using both past and attention_mask as an input leads to dimension error
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "FYI - I created a stackoverflow question about this here: https://stackoverflow.com/questions/60459292/using-past-and-attention-mask-at-the-same-time-for-gpt2", "@Damiox - answered you stackoverflow question :-)" ]
1,582
1,583
1,582
MEMBER
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): GPT2 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) The tasks I am working on is: ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3031/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3031/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3030
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3030/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3030/comments
https://api.github.com/repos/huggingface/transformers/issues/3030/events
https://github.com/huggingface/transformers/issues/3030
571,428,060
MDU6SXNzdWU1NzE0MjgwNjA=
3,030
run_tf_glue with AdamW optimizer and distributed training
{ "login": "BOUALILILila", "id": 15789415, "node_id": "MDQ6VXNlcjE1Nzg5NDE1", "avatar_url": "https://avatars.githubusercontent.com/u/15789415?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BOUALILILila", "html_url": "https://github.com/BOUALILILila", "followers_url": "https://api.github.c...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "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,582
1,588
1,588
NONE
null
# ❓ Questions & Help Can you please update the run_tf_glue example (Tensorflow version) that includes the Adam optimizer with Warm-up and weight decay. If you can also show how to run the code on multiple GPUs and on TPU.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3030/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/3030/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3029
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3029/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3029/comments
https://api.github.com/repos/huggingface/transformers/issues/3029/events
https://github.com/huggingface/transformers/issues/3029
571,290,984
MDU6SXNzdWU1NzEyOTA5ODQ=
3,029
How to add data to pretrained model.
{ "login": "ynebula", "id": 22788865, "node_id": "MDQ6VXNlcjIyNzg4ODY1", "avatar_url": "https://avatars.githubusercontent.com/u/22788865?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ynebula", "html_url": "https://github.com/ynebula", "followers_url": "https://api.github.com/users/ynebul...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1834081910, "node_id": "MDU6TGFiZWwxODM0MDgxOTEw", ...
closed
false
null
[]
[ "Have a look at the language modeling example:\r\n\r\nhttps://huggingface.co/transformers/examples.html#language-model-training\r\n\r\nhttps://github.com/huggingface/transformers/blob/master/examples/run_language_modeling.py", "Thank you for your answering.\r\n\r\nI did that^^", "This issue has been automatical...
1,582
1,589
1,589
NONE
null
I want to add wiki data to pretrained model. i.e., kor wiki data is added to XLMRoberta Model weight. I think that files in /transformers/templates/adding_a_new_model do Is it right? please let me know way to add data.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3029/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3029/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3028
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3028/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3028/comments
https://api.github.com/repos/huggingface/transformers/issues/3028/events
https://github.com/huggingface/transformers/issues/3028
571,239,136
MDU6SXNzdWU1NzEyMzkxMzY=
3,028
AttributeError: 'Tensor' object has no attribute 'size'
{ "login": "sainimohit23", "id": 26195811, "node_id": "MDQ6VXNlcjI2MTk1ODEx", "avatar_url": "https://avatars.githubusercontent.com/u/26195811?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sainimohit23", "html_url": "https://github.com/sainimohit23", "followers_url": "https://api.github.c...
[ { "id": 1834054694, "node_id": "MDU6TGFiZWwxODM0MDU0Njk0", "url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow", "name": "TensorFlow", "color": "FF6F00", "default": false, "description": "Anything TensorFlow" } ]
closed
false
null
[]
[ "You are using TF. Did you mean to use `TFDistilBertModel` instead of `DistilBertModel`?", "@BramVanroy got it. Thanks.", "I wonder if it would be possible to know in advance whether a model supports TF or pyTorch, or both... and throw an exception accordingly? " ]
1,582
1,641
1,582
NONE
null
This is the model that I have defined: ``` input_layer = keras.layers.Input(shape = (attention_mask.shape[1],), dtype='int64') bert = DistilBertModel.from_pretrained("distilbert-base-cased")(input_layer) bert = bert[0][:,0,:] # bert = keras.layers.Dense(units=10, activation='relu')(bert) classifie...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3028/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3028/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3027
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3027/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3027/comments
https://api.github.com/repos/huggingface/transformers/issues/3027/events
https://github.com/huggingface/transformers/issues/3027
571,104,664
MDU6SXNzdWU1NzExMDQ2NjQ=
3,027
This class and module cannot be found
{ "login": "bboyxu5928", "id": 36126405, "node_id": "MDQ6VXNlcjM2MTI2NDA1", "avatar_url": "https://avatars.githubusercontent.com/u/36126405?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bboyxu5928", "html_url": "https://github.com/bboyxu5928", "followers_url": "https://api.github.com/use...
[ { "id": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization", "name": "Core: Tokenization", "color": "FF4446", "default": false, "description": "Internals of the library; Tokenization." }, { ...
closed
false
null
[]
[ "You can do `pip install tokenizers` or [install from source](https://github.com/huggingface/tokenizers).", "> You can do `pip install tokenizers` or [install from source](https://github.com/huggingface/tokenizers).\r\n\r\nOK, I've got it ,thank you", "> pip install tokenizers\r\n\r\n```bash\r\nRequirement alre...
1,582
1,618
1,582
NONE
null
I want to use BertForNextSentencePrediction in ' modeling_bert.py' line 1020 ,but when I run Examples in line 1065, error happens File "E:\work\pycharm\transformers-master\src\transformers\tokenization_bert.py", line 24, in <module> from tokenizers import BertWordPieceTokenizer ImportError: No module named...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3027/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/3027/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3026
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3026/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3026/comments
https://api.github.com/repos/huggingface/transformers/issues/3026/events
https://github.com/huggingface/transformers/issues/3026
571,094,325
MDU6SXNzdWU1NzEwOTQzMjU=
3,026
language_modeling.py doesn't continue from last global step
{ "login": "yuvalkirstain", "id": 57996478, "node_id": "MDQ6VXNlcjU3OTk2NDc4", "avatar_url": "https://avatars.githubusercontent.com/u/57996478?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuvalkirstain", "html_url": "https://github.com/yuvalkirstain", "followers_url": "https://api.githu...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1834052847, "node_id": "MDU6TGFiZWwxODM0MDUyODQ3", ...
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,582
1,588
1,588
CONTRIBUTOR
null
# 🐛 Bug Hey, The checkpoint's suffix is the last optimization step rather than the last global step (I'm working with accumulation steps) ## Information The problem arises when using: * [ ] the official example scripts: language_modeling.py The tasks I am working on is: * [ ] an official GLUE/SQUaD task: l...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3026/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3026/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3025
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3025/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3025/comments
https://api.github.com/repos/huggingface/transformers/issues/3025/events
https://github.com/huggingface/transformers/issues/3025
571,030,989
MDU6SXNzdWU1NzEwMzA5ODk=
3,025
Why do I run example/run_ner.py with no output
{ "login": "Vvegetables", "id": 9248572, "node_id": "MDQ6VXNlcjkyNDg1NzI=", "avatar_url": "https://avatars.githubusercontent.com/u/9248572?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Vvegetables", "html_url": "https://github.com/Vvegetables", "followers_url": "https://api.github.com/us...
[ { "id": 1108649070, "node_id": "MDU6TGFiZWwxMTA4NjQ5MDcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Need%20more%20information", "name": "Need more information", "color": "d876e3", "default": false, "description": "Further information is requested" }, { ...
closed
false
{ "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://api.github.com/users/...
[ { "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://a...
[ "Please don't post a screenshot. Copy-and-paste your code or output instead.", "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", "@Vvegetables , does this problem still exist?", "it'...
1,582
1,593
1,593
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 Stack Overflow (SO) where a whole community of PyTorch and Tensorflow enthusiast can help you out. Make s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3025/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3025/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3024
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3024/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3024/comments
https://api.github.com/repos/huggingface/transformers/issues/3024/events
https://github.com/huggingface/transformers/pull/3024
570,991,180
MDExOlB1bGxSZXF1ZXN0Mzc5OTQyMDMw
3,024
Fix (non-slow) tests on GPU (torch)
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3024?src=pr&el=h1) Report\n> Merging [#3024](https://codecov.io/gh/huggingface/transformers/pull/3024?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/bb7c46852051f7d031dd4be0240c9c9db82f6ed9?src=pr&el=desc) will **n...
1,582
1,582
1,582
MEMBER
null
Fixes ~29 failing tests Also cf previous commit from december: https://github.com/huggingface/transformers/pull/2055/commits/61978c1dd3f340a545e74537c3dae41a4514e867 (not sure why T5 and the common methods were not failing back then)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3024/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3024/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3024", "html_url": "https://github.com/huggingface/transformers/pull/3024", "diff_url": "https://github.com/huggingface/transformers/pull/3024.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3024.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3023
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3023/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3023/comments
https://api.github.com/repos/huggingface/transformers/issues/3023/events
https://github.com/huggingface/transformers/issues/3023
570,987,485
MDU6SXNzdWU1NzA5ODc0ODU=
3,023
BART : host `bart-large-cnn`
{ "login": "astariul", "id": 43774355, "node_id": "MDQ6VXNlcjQzNzc0MzU1", "avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/astariul", "html_url": "https://github.com/astariul", "followers_url": "https://api.github.com/users/ast...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" }, { "id": 1843738573, "node_id": "MDU6TGFiZWwxODQzNzM4NTc...
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...
[ "IIRC @sshleifer is working on getting summarization working with that model." ]
1,582
1,583
1,583
CONTRIBUTOR
null
# 🌟 New model addition BART pretrained model `bart-large` is currently provided, as well as fine-tuned BART model `bart-large-mnli`. **How about [`bart-large-cnn`](https://github.com/pytorch/fairseq/tree/master/examples/bart#pre-trained-models) ?**
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3023/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3023/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3022
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3022/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3022/comments
https://api.github.com/repos/huggingface/transformers/issues/3022/events
https://github.com/huggingface/transformers/pull/3022
570,896,940
MDExOlB1bGxSZXF1ZXN0Mzc5ODU2Njc4
3,022
Make format consistent with that of PreTrainedTokenizer
{ "login": "ranamihir", "id": 8270471, "node_id": "MDQ6VXNlcjgyNzA0NzE=", "avatar_url": "https://avatars.githubusercontent.com/u/8270471?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ranamihir", "html_url": "https://github.com/ranamihir", "followers_url": "https://api.github.com/users/ra...
[ { "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/3022?src=pr&el=h1) Report\n> :exclamation: No coverage uploaded for pull request base (`master@c913eb9`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).\n> The diff coverage is `100%`.\...
1,582
1,588
1,588
NONE
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3022/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3022/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3022", "html_url": "https://github.com/huggingface/transformers/pull/3022", "diff_url": "https://github.com/huggingface/transformers/pull/3022.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3022.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/3021
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3021/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3021/comments
https://api.github.com/repos/huggingface/transformers/issues/3021/events
https://github.com/huggingface/transformers/issues/3021
570,865,148
MDU6SXNzdWU1NzA4NjUxNDg=
3,021
Can GPT2LMHeadModel do batch inference with variable sentence lengths?
{ "login": "schizism", "id": 3358940, "node_id": "MDQ6VXNlcjMzNTg5NDA=", "avatar_url": "https://avatars.githubusercontent.com/u/3358940?v=4", "gravatar_id": "", "url": "https://api.github.com/users/schizism", "html_url": "https://github.com/schizism", "followers_url": "https://api.github.com/users/schiz...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "It seems possible to by-pass this issue by setting appropriate `attention_mask` so that no tokens will attend the positions that are supposed to be paddings, this way you can use whatever token as padding. I'm working on this issue too, will try to follow up if it works out.", "I tried a rough version, basically...
1,582
1,678
1,582
NONE
null
Given GPT2 tokenizer do not have an internal pad_token_id, how do I pad sentences and do batch inference using GPT2LMHeadModel? Specifically my code as: ``` prompt_text = [ 'in this paper we', 'we are trying to', 'The purpose of this workshop is to check whether we can', ] tokens = [tokenizer.conve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3021/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3021/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3020
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3020/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3020/comments
https://api.github.com/repos/huggingface/transformers/issues/3020/events
https://github.com/huggingface/transformers/pull/3020
570,835,585
MDExOlB1bGxSZXF1ZXN0Mzc5ODAzNzk1
3,020
[ci] Run all tests on (self-hosted) GPU
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3020?src=pr&el=h1) Report\n> Merging [#3020](https://codecov.io/gh/huggingface/transformers/pull/3020?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e8ce63ff2163259276fc0a4a2f35b836fe9f4aa0?src=pr&el=desc) will **d...
1,582
1,583
1,582
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3020/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3020/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3020", "html_url": "https://github.com/huggingface/transformers/pull/3020", "diff_url": "https://github.com/huggingface/transformers/pull/3020.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3020.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3019
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3019/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3019/comments
https://api.github.com/repos/huggingface/transformers/issues/3019/events
https://github.com/huggingface/transformers/pull/3019
570,823,600
MDExOlB1bGxSZXF1ZXN0Mzc5NzkzNTk1
3,019
Delete Model2Model
{ "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/3019?src=pr&el=h1) Report\n> Merging [#3019](https://codecov.io/gh/huggingface/transformers/pull/3019?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e8ce63ff2163259276fc0a4a2f35b836fe9f4aa0?src=pr&el=desc) will **i...
1,582
1,583
1,582
CONTRIBUTOR
null
- the quickstart code doesn't work - the tests don't test a forward pass if you need it `git checkout e8ce63ff`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3019/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3019/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3019", "html_url": "https://github.com/huggingface/transformers/pull/3019", "diff_url": "https://github.com/huggingface/transformers/pull/3019.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3019.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/3018
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3018/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3018/comments
https://api.github.com/repos/huggingface/transformers/issues/3018/events
https://github.com/huggingface/transformers/pull/3018
570,803,786
MDExOlB1bGxSZXF1ZXN0Mzc5Nzc3MDYz
3,018
[WIP] Updates to simplify PLT example and use new features
{ "login": "srush", "id": 35882, "node_id": "MDQ6VXNlcjM1ODgy", "avatar_url": "https://avatars.githubusercontent.com/u/35882?v=4", "gravatar_id": "", "url": "https://api.github.com/users/srush", "html_url": "https://github.com/srush", "followers_url": "https://api.github.com/users/srush/followers", "f...
[]
closed
false
null
[]
[ "I can't seem to find who is pushing the commits, but can whoever is doing that please add commit messages? This is really messy and impossible to go over as currently written.", "Sorry, @BramVanroy . I didn't realize people were reviewing this branch. This is a WIP We are still trying to work this out with new p...
1,582
1,582
1,582
CONTRIBUTOR
null
Some changes to PLT to support our workflow. Prelim support for TPUs. Still testing.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3018/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3018/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3018", "html_url": "https://github.com/huggingface/transformers/pull/3018", "diff_url": "https://github.com/huggingface/transformers/pull/3018.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3018.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/3017
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3017/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3017/comments
https://api.github.com/repos/huggingface/transformers/issues/3017/events
https://github.com/huggingface/transformers/pull/3017
570,802,805
MDExOlB1bGxSZXF1ZXN0Mzc5Nzc2MjUz
3,017
[WIP] Update to use new pytorch-lightning features
{ "login": "srush", "id": 35882, "node_id": "MDQ6VXNlcjM1ODgy", "avatar_url": "https://avatars.githubusercontent.com/u/35882?v=4", "gravatar_id": "", "url": "https://api.github.com/users/srush", "html_url": "https://github.com/srush", "followers_url": "https://api.github.com/users/srush/followers", "f...
[]
closed
false
null
[]
[]
1,582
1,582
1,582
CONTRIBUTOR
null
Updates to utilize a bunch of new features the PLT wrote to support us. Also support for TPU. Still in testing phase.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3017/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3017/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3017", "html_url": "https://github.com/huggingface/transformers/pull/3017", "diff_url": "https://github.com/huggingface/transformers/pull/3017.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3017.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/3016
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3016/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3016/comments
https://api.github.com/repos/huggingface/transformers/issues/3016/events
https://github.com/huggingface/transformers/issues/3016
570,791,014
MDU6SXNzdWU1NzA3OTEwMTQ=
3,016
Use my own pretrained BERT model
{ "login": "rabbitwayne", "id": 5334805, "node_id": "MDQ6VXNlcjUzMzQ4MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/5334805?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rabbitwayne", "html_url": "https://github.com/rabbitwayne", "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 }, { "id": 1834081910, "node_id": "MDU6TGFiZWwxODM0MDgxOTEw", ...
closed
false
null
[]
[ "Hi, where did you obtain this model? Is it using the official google-research implementation or using huggingface/transformers?", "@LysandreJik Thank you for your reply! I have pretrained BERT base using my own pytorch code and generated checkpoint for BERT base. Then I want to do squad finetuning using my own p...
1,582
1,588
1,588
NONE
null
How can I use my own pretrained BERT model in SQUAD finetuing? How to do this in the code? Can anyone provide any instructions?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3016/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3016/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3015
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3015/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3015/comments
https://api.github.com/repos/huggingface/transformers/issues/3015/events
https://github.com/huggingface/transformers/issues/3015
570,752,675
MDU6SXNzdWU1NzA3NTI2NzU=
3,015
Latest version of transformers available via conda?
{ "login": "rmartinshort", "id": 8951647, "node_id": "MDQ6VXNlcjg5NTE2NDc=", "avatar_url": "https://avatars.githubusercontent.com/u/8951647?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rmartinshort", "html_url": "https://github.com/rmartinshort", "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 }, { "id": 1843765959, "node_id": "MDU6TGFiZWwxODQzNzY1OTU5", ...
closed
false
null
[]
[ "It would be nice if it had it's own channel like PyTorch has, as put a distribution of the packages (transformers, tokenizers, etc.) 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 for your contribution...
1,582
1,591
1,591
NONE
null
# 🚀 Feature request I notice that the version of transformers available via conda-forge is quite outdated (v2.1.1). Could you make later versions available there too? Thanks!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3015/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/3015/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/3014
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/3014/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/3014/comments
https://api.github.com/repos/huggingface/transformers/issues/3014/events
https://github.com/huggingface/transformers/pull/3014
570,732,468
MDExOlB1bGxSZXF1ZXN0Mzc5NzE4Mjcy
3,014
Add integration tests for xlm roberta modelling and xlm roberta tokenzier
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3014?src=pr&el=h1) Report\n> Merging [#3014](https://codecov.io/gh/huggingface/transformers/pull/3014?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e693cd1e877aa191d3317faed33e87d1558c9406?src=pr&el=desc) will **d...
1,582
1,582
1,582
MEMBER
null
It's quite easy to get real numbers for the XLM-R moder from [fairseq](https://github.com/pytorch/fairseq/tree/master/examples/xlmr), so I added integration tests for `xlm_roberta_modeling.py` and `xlm_roberta_tokenization.py` Since `XLMRobertaModel` is the same model as `RobertaModel`, I think intergration tests f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/3014/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/3014/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/3014", "html_url": "https://github.com/huggingface/transformers/pull/3014", "diff_url": "https://github.com/huggingface/transformers/pull/3014.diff", "patch_url": "https://github.com/huggingface/transformers/pull/3014.patch", "merged_at": 1...