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/3512 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3512/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3512/comments | https://api.github.com/repos/huggingface/transformers/issues/3512/events | https://github.com/huggingface/transformers/issues/3512 | 589,768,101 | MDU6SXNzdWU1ODk3NjgxMDE= | 3,512 | how to get activation weights of a pretrained model? | {
"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
}
] | 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,585 | 1,591 | 1,591 | CONTRIBUTOR | 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/3512/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3512/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3511 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3511/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3511/comments | https://api.github.com/repos/huggingface/transformers/issues/3511/events | https://github.com/huggingface/transformers/pull/3511 | 589,765,030 | MDExOlB1bGxSZXF1ZXN0Mzk1MjMxNzQ1 | 3,511 | Update the NER TF script | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3511?src=pr&el=h1) Report\n> Merging [#3511](https://codecov.io/gh/huggingface/transformers/pull/3511?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/601ac5b1dc1438f00d09696588f2deb0f045ae3b&el=desc) will **increase... | 1,585 | 1,589 | 1,585 | CONTRIBUTOR | null | PR to remove the softmax and make the pad token label id to -1. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3511/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3511",
"html_url": "https://github.com/huggingface/transformers/pull/3511",
"diff_url": "https://github.com/huggingface/transformers/pull/3511.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3511.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3510 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3510/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3510/comments | https://api.github.com/repos/huggingface/transformers/issues/3510/events | https://github.com/huggingface/transformers/issues/3510 | 589,757,840 | MDU6SXNzdWU1ODk3NTc4NDA= | 3,510 | reproducing the performance of XLM-ROBERTA on MLQA dataset on the zh language | {
"login": "nooralahzadeh",
"id": 1093791,
"node_id": "MDQ6VXNlcjEwOTM3OTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1093791?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nooralahzadeh",
"html_url": "https://github.com/nooralahzadeh",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Credit to people at Microsoft Asia: Ning Wu and Nan Dua\r\nTo achieve the best performance on the \"zh\" test sets, you just need to add \r\n\"final_text = tok_text\" after line 497 in squad_metrics.py (only for zh). Because there isn't space and subword in Chinese, so we don't need to execute the get_final_test()... | 1,585 | 1,661 | 1,586 | NONE | null | # ❓ Questions & Help
## Details
<!-- Description of your issue -->
I have trouble in reproducing the result of XLM-ROBERTA on MLQA dataset for Chinese languages. The result of the rest of the language seems fine, however on the zh section, I have very low {'exact_match': 4.263188631496982, 'f1': 17.45105917846194... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3510/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3510/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3509 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3509/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3509/comments | https://api.github.com/repos/huggingface/transformers/issues/3509/events | https://github.com/huggingface/transformers/pull/3509 | 589,737,967 | MDExOlB1bGxSZXF1ZXN0Mzk1MjEyMzI5 | 3,509 | Fix for continuing training | {
"login": "xeb",
"id": 7634,
"node_id": "MDQ6VXNlcjc2MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7634?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xeb",
"html_url": "https://github.com/xeb",
"followers_url": "https://api.github.com/users/xeb/followers",
"following_u... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3509?src=pr&el=h1) Report\n> Merging [#3509](https://codecov.io/gh/huggingface/transformers/pull/3509?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/601ac5b1dc1438f00d09696588f2deb0f045ae3b&el=desc) will **not chan... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | If `args.should_continue` is true, then there is no way in the current example to reload a checkpoint since it is assumed it exists within the output_dir. Checking here fixes everything as expected. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3509/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3509",
"html_url": "https://github.com/huggingface/transformers/pull/3509",
"diff_url": "https://github.com/huggingface/transformers/pull/3509.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3509.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3508 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3508/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3508/comments | https://api.github.com/repos/huggingface/transformers/issues/3508/events | https://github.com/huggingface/transformers/issues/3508 | 589,731,690 | MDU6SXNzdWU1ODk3MzE2OTA= | 3,508 | [Bart] when output_paste=False BartForConditionalGeneration raises confusing error | {
"login": "manishiitg",
"id": 1370315,
"node_id": "MDQ6VXNlcjEzNzAzMTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1370315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manishiitg",
"html_url": "https://github.com/manishiitg",
"followers_url": "https://api.github.com/users... | [
{
"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... | [
"@sshleifer I'm seeing this as well. It doesn't happen if `num_beams=1`. Might have to do with the recent generation and bart changes. Only started happening in the last week or so. ",
"Thanks for contributing!\r\n\r\nA few thoughts:\r\n\r\n1. if you pass `output_past=True` to `BartForConditionalGeneration.from_p... | 1,585 | 1,613 | 1,586 | NONE | null | # 🐛 Bug
## Information
i am using BART
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:
* [ ] an official GLUE/SQU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3508/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3507 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3507/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3507/comments | https://api.github.com/repos/huggingface/transformers/issues/3507/events | https://github.com/huggingface/transformers/pull/3507 | 589,697,789 | MDExOlB1bGxSZXF1ZXN0Mzk1MTgyOTc3 | 3,507 | [T5] Add training documenation | {
"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/3507?src=pr&el=h1) Report\n> Merging [#3507](https://codecov.io/gh/huggingface/transformers/pull/3507?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/601ac5b1dc1438f00d09696588f2deb0f045ae3b&el=desc) will **increase... | 1,585 | 1,585 | 1,585 | MEMBER | null | - Fixes T5 docstring regarding pretraining
- Add detailed description on how to process input and target for T5 training | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3507/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3507",
"html_url": "https://github.com/huggingface/transformers/pull/3507",
"diff_url": "https://github.com/huggingface/transformers/pull/3507.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3507.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3506 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3506/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3506/comments | https://api.github.com/repos/huggingface/transformers/issues/3506/events | https://github.com/huggingface/transformers/issues/3506 | 589,696,985 | MDU6SXNzdWU1ODk2OTY5ODU= | 3,506 | No grad feature in model parameters | {
"login": "lalalapotter",
"id": 27332689,
"node_id": "MDQ6VXNlcjI3MzMyNjg5",
"avatar_url": "https://avatars.githubusercontent.com/u/27332689?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lalalapotter",
"html_url": "https://github.com/lalalapotter",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"This is more of a general PyTorch question than a Transformers-question. Have you tried asking on StackOverflow or the PyTorch forums?"
] | 1,585 | 1,585 | 1,585 | 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/3506/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3506/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3505 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3505/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3505/comments | https://api.github.com/repos/huggingface/transformers/issues/3505/events | https://github.com/huggingface/transformers/pull/3505 | 589,696,612 | MDExOlB1bGxSZXF1ZXN0Mzk1MTgyMTgy | 3,505 | Add clear description of how to train T5 | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,585 | 1,651 | 1,585 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3505/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3505/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3505",
"html_url": "https://github.com/huggingface/transformers/pull/3505",
"diff_url": "https://github.com/huggingface/transformers/pull/3505.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3505.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/3504 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3504/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3504/comments | https://api.github.com/repos/huggingface/transformers/issues/3504/events | https://github.com/huggingface/transformers/pull/3504 | 589,685,818 | MDExOlB1bGxSZXF1ZXN0Mzk1MTc0Mjcw | 3,504 | [Docs] Update usage doc regarding generate fn | {
"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/3504?src=pr&el=h1) Report\n> Merging [#3504](https://codecov.io/gh/huggingface/transformers/pull/3504?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/601ac5b1dc1438f00d09696588f2deb0f045ae3b&el=desc) will **decrease... | 1,585 | 1,585 | 1,585 | MEMBER | null | Update `model.generate()` docs | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3504/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3504/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3504",
"html_url": "https://github.com/huggingface/transformers/pull/3504",
"diff_url": "https://github.com/huggingface/transformers/pull/3504.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3504.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3503 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3503/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3503/comments | https://api.github.com/repos/huggingface/transformers/issues/3503/events | https://github.com/huggingface/transformers/issues/3503 | 589,678,444 | MDU6SXNzdWU1ODk2Nzg0NDQ= | 3,503 | Distil-BART? | {
"login": "parker84",
"id": 12496987,
"node_id": "MDQ6VXNlcjEyNDk2OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/12496987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/parker84",
"html_url": "https://github.com/parker84",
"followers_url": "https://api.github.com/users/par... | [
{
"id": 1838876023,
"node_id": "MDU6TGFiZWwxODM4ODc2MDIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Distillation",
"name": "Distillation",
"color": "d4c5f9",
"default": false,
"description": "Related to model distillation"
},
{
"id": 1845609017,
"n... | 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... | [
"Interesting idea! What do you think @thomwolf ?",
"Hi, any update on this, even partial code?",
"I'm gunna take a crack this weekend, hopefully, By starting from the [distilbert example](https://github.com/huggingface/transformers/tree/master/examples/distillation) and modifying. I'll post a branch if I make ... | 1,585 | 1,593 | 1,593 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3503/reactions",
"total_count": 10,
"+1": 9,
"-1": 0,
"laugh": 1,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3503/timeline | completed | null | null | |
https://api.github.com/repos/huggingface/transformers/issues/3502 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3502/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3502/comments | https://api.github.com/repos/huggingface/transformers/issues/3502/events | https://github.com/huggingface/transformers/issues/3502 | 589,622,307 | MDU6SXNzdWU1ODk2MjIzMDc= | 3,502 | Bert Batch Encode Plus adding an extra [SEP] | {
"login": "creat89",
"id": 17121539,
"node_id": "MDQ6VXNlcjE3MTIxNTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/17121539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/creat89",
"html_url": "https://github.com/creat89",
"followers_url": "https://api.github.com/users/creat8... | [] | 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 @creat89, \r\n\r\nThanks for posting this issue! \r\n\r\nYou are correct there is some inconsistent behavior here. \r\n\r\n1. We should probably in general not allow using `batch_encode_plus()` of a simple string. For this the `encode_plus()` function should be used. \r\n2. It seems like there is an inconsiste... | 1,585 | 1,586 | 1,586 | NONE | null | # 🐛 Bug
## Information
I'm using `bert-base-multilingual-cased` tokenizer and model for creating another model. However, the `batch_encode_plus` is adding an extra `[SEP]` token id in the middle.
The problem arises when using:
* Specific strings to encode, e.g. `16.`, `3.`, `10.`,
* The `bert-base-multiling... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3502/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3502/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3501 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3501/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3501/comments | https://api.github.com/repos/huggingface/transformers/issues/3501/events | https://github.com/huggingface/transformers/pull/3501 | 589,610,966 | MDExOlB1bGxSZXF1ZXN0Mzk1MTE5NDYx | 3,501 | [BART] Update encoder and decoder on set_input_embedding | {
"login": "dougian",
"id": 4057349,
"node_id": "MDQ6VXNlcjQwNTczNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4057349?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dougian",
"html_url": "https://github.com/dougian",
"followers_url": "https://api.github.com/users/dougian/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3501?src=pr&el=h1) Report\n> Merging [#3501](https://codecov.io/gh/huggingface/transformers/pull/3501?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/601ac5b1dc1438f00d09696588f2deb0f045ae3b&el=desc) will **increase... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | Since _resize_token_embeddings will create a new embedding layer,
resizing the input embeddings for BART will currently break, as the
model.shared will refer to the new embedding created but the
model.encoder.embed_tokens and the model.decoder.embed_tokens will
still refer to the old embedding created.
We need ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3501/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3501/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3501",
"html_url": "https://github.com/huggingface/transformers/pull/3501",
"diff_url": "https://github.com/huggingface/transformers/pull/3501.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3501.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3500 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3500/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3500/comments | https://api.github.com/repos/huggingface/transformers/issues/3500/events | https://github.com/huggingface/transformers/pull/3500 | 589,603,851 | MDExOlB1bGxSZXF1ZXN0Mzk1MTE0OTAz | 3,500 | [Wait to merge] [Bart] Rename lm_labels argument to masked_lm_labels | {
"login": "dougian",
"id": 4057349,
"node_id": "MDQ6VXNlcjQwNTczNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4057349?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dougian",
"html_url": "https://github.com/dougian",
"followers_url": "https://api.github.com/users/dougian/... | [] | 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... | [
"Could you make sure the kwarg in `examples/summarization/bart/run_bart_sum.py` is correct? Thanks!",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3500?src=pr&el=h1) Report\n> Merging [#3500](https://codecov.io/gh/huggingface/transformers/pull/3500?src=pr&el=desc) into [master](https://codecov... | 1,585 | 1,593 | 1,593 | CONTRIBUTOR | null | While the docstring correctly lists masked_lm_labels, forward
was expecting lm_labels. Renaming to match BERT and the rest of
the MLM-based models
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3500/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3500/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3500",
"html_url": "https://github.com/huggingface/transformers/pull/3500",
"diff_url": "https://github.com/huggingface/transformers/pull/3500.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3500.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3499 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3499/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3499/comments | https://api.github.com/repos/huggingface/transformers/issues/3499/events | https://github.com/huggingface/transformers/issues/3499 | 589,597,058 | MDU6SXNzdWU1ODk1OTcwNTg= | 3,499 | masked_lm_loss in BertForMaskedLM model | {
"login": "Drpulti",
"id": 23643762,
"node_id": "MDQ6VXNlcjIzNjQzNzYy",
"avatar_url": "https://avatars.githubusercontent.com/u/23643762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Drpulti",
"html_url": "https://github.com/Drpulti",
"followers_url": "https://api.github.com/users/Drpult... | [] | closed | false | null | [] | [
"Have a look at the `mask_tokens` method in `run_language_modeling.py`. This takes in the `input_ids`, performs masking on them and returns the masked `input_ids` and corresponding `masked_lm_labels`.",
"@Drpulti I am also getting the same error as you, and I believe it is because `-100` exists in the `masked_lm_... | 1,585 | 1,585 | 1,585 | NONE | null | Altought I've read the documentation related to BertForMaskedLM class, I still cannot understand how to properly calculate loss for my problem.
Let's suppose that my target sentence is:
"_I will be writing when you arrive._"
I want to calculate loss for all words except 'arrive'.
The documentation says:
> **ma... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3499/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/3499/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3498 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3498/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3498/comments | https://api.github.com/repos/huggingface/transformers/issues/3498/events | https://github.com/huggingface/transformers/issues/3498 | 589,593,554 | MDU6SXNzdWU1ODk1OTM1NTQ= | 3,498 | XLM-ROBERTA | {
"login": "nooralahzadeh",
"id": 1093791,
"node_id": "MDQ6VXNlcjEwOTM3OTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1093791?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nooralahzadeh",
"html_url": "https://github.com/nooralahzadeh",
"followers_url": "https://api.github.... | [
{
"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": "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-... | [
{
"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.gith... | [
"That's a good point @nooralahzadeh! We should probably add the `model_type` field to the XLM-ROBERTA config. \r\n\r\n@julien-c - If it's fine for you I can add the `model_type` `xlm-roberta` to all `xlm-roberta` configs of the following models: \r\nhttps://huggingface.co/models?search=xlm-rob \r\n\r\nAs @nooralahz... | 1,585 | 1,643 | 1,585 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): XLM-ROBERTA
In order to fine-tune XLM-ROBERTA from pre_trained file, since the config file does not have the model_type field, all the required files should be in a folder which contains "xlm-robert" in its name! otherwise the "XLM" config will be as... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3498/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3498/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3497 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3497/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3497/comments | https://api.github.com/repos/huggingface/transformers/issues/3497/events | https://github.com/huggingface/transformers/issues/3497 | 589,552,346 | MDU6SXNzdWU1ODk1NTIzNDY= | 3,497 | REALM | {
"login": "aced125",
"id": 44452903,
"node_id": "MDQ6VXNlcjQ0NDUyOTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/44452903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aced125",
"html_url": "https://github.com/aced125",
"followers_url": "https://api.github.com/users/aced12... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg... | closed | false | null | [] | [
"Code is released for the preceding paper: Latent Retrieval for Weakly Supervised Open Domain Question Answering\" https://www.aclweb.org/anthology/P19-1612/\r\nhttps://github.com/google-research/language/tree/master/language/orqa",
"This issue has been automatically marked as stale because it has not had recent ... | 1,585 | 1,642 | 1,642 | NONE | null | # 🌟 New model addition
REALM is from some of the authors of BERT (I like to think of it as the next BERT :) ) that have found a way to incorporate world knowledge (from Wikipedia) into the model.
They do this by having the concept of a retriever module that retrieves information from wikipedia articles.
<!-- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3497/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/3497/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3496 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3496/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3496/comments | https://api.github.com/repos/huggingface/transformers/issues/3496/events | https://github.com/huggingface/transformers/issues/3496 | 589,510,716 | MDU6SXNzdWU1ODk1MTA3MTY= | 3,496 | How to load BertforSequenceClassification models weights into BertforTokenClassification model? | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [
{
"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 you tried loading your checkpoint in the model using `from_pretrained`:\r\n\r\n```py\r\nmodel = BertForTokenClassification.from_pretrained(\"checkpoint)\r\n```\r\n\r\n? It should work out of the box. Please be aware that the NER head will be randomly initialized as it is not in the sequence classification che... | 1,585 | 1,591 | 1,591 | NONE | null | Initially, I have a fine-tuned BERT base cased model using a text classification dataset and I have used BertforSequenceClassification class for this. Now I want to use this fine-tuned BERT model weights for Named Entity Recognition and I have to use BertforTokenClassification class for this. I'm unable to figure out h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3496/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3496/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3495 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3495/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3495/comments | https://api.github.com/repos/huggingface/transformers/issues/3495/events | https://github.com/huggingface/transformers/issues/3495 | 589,509,071 | MDU6SXNzdWU1ODk1MDkwNzE= | 3,495 | CUDA error: CUBLAS_STATUS_ALLOC_FAILED When running language modeling using bert-base-cased | {
"login": "Rshcaroline",
"id": 22836973,
"node_id": "MDQ6VXNlcjIyODM2OTcz",
"avatar_url": "https://avatars.githubusercontent.com/u/22836973?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rshcaroline",
"html_url": "https://github.com/Rshcaroline",
"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": 1834052847,
"node_id": "MDU6TGFiZWwxODM0MDUyODQ3",
... | closed | false | null | [] | [
"I have encountered the same error running the LM finetuning script on Google Colab, also with the Bert model type but using the pretrained weights from 'allenai/scibert_scivocab_uncased'\r\n\r\n```\r\n!python run_language_modeling.py \\\r\n --output_dir=models \\\r\n --model_type=bert \\\r\n --model_name_... | 1,585 | 1,635 | 1,592 | 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:
* [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/3495/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/3495/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3494 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3494/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3494/comments | https://api.github.com/repos/huggingface/transformers/issues/3494/events | https://github.com/huggingface/transformers/issues/3494 | 589,503,320 | MDU6SXNzdWU1ODk1MDMzMjA= | 3,494 | TypeError when using Feature Extraction Pipeline with XLM roberta | {
"login": "aeshapar",
"id": 29237123,
"node_id": "MDQ6VXNlcjI5MjM3MTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/29237123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aeshapar",
"html_url": "https://github.com/aeshapar",
"followers_url": "https://api.github.com/users/aes... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): XLM-R
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/3494/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3494/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3493 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3493/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3493/comments | https://api.github.com/repos/huggingface/transformers/issues/3493/events | https://github.com/huggingface/transformers/issues/3493 | 589,485,513 | MDU6SXNzdWU1ODk0ODU1MTM= | 3,493 | Finetuning GPT-2 | {
"login": "sadhikamalladi",
"id": 6046676,
"node_id": "MDQ6VXNlcjYwNDY2NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6046676?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sadhikamalladi",
"html_url": "https://github.com/sadhikamalladi",
"followers_url": "https://api.gith... | [
{
"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 use `run_language_modeling.py` for this purpose. Just set `--model_type` to `gpt2`, set `--model_name_or_path` to the gpt2 model checkpoint you want (`gpt2`) and set `--train_data_file` to your dataset and you should be ready to go.",
"Thanks! The issue is that I want to use the pre-trained version of GP... | 1,585 | 1,592 | 1,592 | NONE | null | It looks like there used to be a script `run_lm_finetuning.py` that has been replaced by `run_language_modeling.py`. It's unclear to me how to use this script to run finetuning. I want to finetune GPT-2 on a variety of downstream tasks, and would love some help! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3493/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/3493/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3492 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3492/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3492/comments | https://api.github.com/repos/huggingface/transformers/issues/3492/events | https://github.com/huggingface/transformers/pull/3492 | 589,411,064 | MDExOlB1bGxSZXF1ZXN0Mzk0OTY4MDEz | 3,492 | [model_cards]: use MIT license for all dbmdz models | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [
{
"id": 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/3492?src=pr&el=h1) Report\n> Merging [#3492](https://codecov.io/gh/huggingface/transformers/pull/3492?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/17dceae7a1de5577cd0c07a97dcd5821a08af07c&el=desc) will **decrease... | 1,585 | 1,601 | 1,585 | COLLABORATOR | null | Hi,
this PR adds MIT license tag for all dbmdz models 🤗 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3492/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3492/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3492",
"html_url": "https://github.com/huggingface/transformers/pull/3492",
"diff_url": "https://github.com/huggingface/transformers/pull/3492.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3492.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3491 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3491/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3491/comments | https://api.github.com/repos/huggingface/transformers/issues/3491/events | https://github.com/huggingface/transformers/pull/3491 | 589,373,752 | MDExOlB1bGxSZXF1ZXN0Mzk0OTM3Mjg1 | 3,491 | cased -> uncased for example cmdline consistency | {
"login": "mattolson93",
"id": 32203230,
"node_id": "MDQ6VXNlcjMyMjAzMjMw",
"avatar_url": "https://avatars.githubusercontent.com/u/32203230?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mattolson93",
"html_url": "https://github.com/mattolson93",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"In the same file, there is also `--do_lower_case` wrongly apply to `roberta-base` and `xlnet-large-cased` model. It will be great if this PR also includes that fix.",
"> In the same file, there is also `--do_lower_case` wrongly apply to `roberta-base` and `xlnet-large-cased` model. It will be great if this PR al... | 1,585 | 1,586 | 1,586 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3491/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3491/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3491",
"html_url": "https://github.com/huggingface/transformers/pull/3491",
"diff_url": "https://github.com/huggingface/transformers/pull/3491.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3491.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/3490 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3490/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3490/comments | https://api.github.com/repos/huggingface/transformers/issues/3490/events | https://github.com/huggingface/transformers/issues/3490 | 589,360,195 | MDU6SXNzdWU1ODkzNjAxOTU= | 3,490 | which iterator to use for different hugging face transformer models for solving multiple choice questions? | {
"login": "h56cho",
"id": 52889259,
"node_id": "MDQ6VXNlcjUyODg5MjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h56cho",
"html_url": "https://github.com/h56cho",
"followers_url": "https://api.github.com/users/h56cho/fo... | [
{
"id": 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 | [] | [
"Do I need to build my own iterator for this?\r\nHow should the tokens be arranged for multiple choice question solving?\r\n\r\ne.g. (question) (token1) (token2) (MCoption)(answer1)\r\n. ----> is this the right format for all of the GPT-2, BERT and XLNet? \r\n\r\nThank you",
"This issue has been automatically mar... | 1,585 | 1,591 | 1,591 | NONE | null | Hello,
I have used Hugging Face GPT-2 models to do Natural Language Processing.
When I used the GPT-2 model, I used the ```BPTTIterator``` from TorchText to pre-process my text data, since GPT-2 essentially performs regular language modelling (next token prediction).
I am wondering, when I use GPT-2, BERT and XL... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3490/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3489 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3489/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3489/comments | https://api.github.com/repos/huggingface/transformers/issues/3489/events | https://github.com/huggingface/transformers/issues/3489 | 589,335,968 | MDU6SXNzdWU1ODkzMzU5Njg= | 3,489 | missing import in BartForConditionalGeneration example | {
"login": "cgnorthcutt",
"id": 27030270,
"node_id": "MDQ6VXNlcjI3MDMwMjcw",
"avatar_url": "https://avatars.githubusercontent.com/u/27030270?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cgnorthcutt",
"html_url": "https://github.com/cgnorthcutt",
"followers_url": "https://api.github.com/... | [
{
"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 | null | [] | [
"Please complete the issue template, I don't understand what the issue is.",
"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,585 | 1,591 | 1,591 | NONE | null | Add
`from transformers import AutoTokenizer, AutoModelWithLMHead`
to Bart for Conditional Generation example in
# 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
Language I am using the model on (English, Chinese ...):
The problem arises when using:
* [ ] the official example scripts: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3489/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3488 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3488/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3488/comments | https://api.github.com/repos/huggingface/transformers/issues/3488/events | https://github.com/huggingface/transformers/pull/3488 | 589,285,805 | MDExOlB1bGxSZXF1ZXN0Mzk0ODc4ODMx | 3,488 | [bart-tiny-random] Put a 5MB model on S3 to allow faster examples 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/3488?src=pr&el=h1) Report\n> Merging [#3488](https://codecov.io/gh/huggingface/transformers/pull/3488?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/17dceae7a1de5577cd0c07a97dcd5821a08af07c&el=desc) will **decrease... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | - Vocab size is the same to avoid requiring a new tokenizer.
- this allows examples that parametrize `model_name`, like `evaluate_cnn.py`, to run much quicker: `summarization/bart/test_bart_examples.py` runs in 6 seconds vs 22 + download time previously.
- Would be happy to do this for more models.
- Will update `ru... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3488/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3488",
"html_url": "https://github.com/huggingface/transformers/pull/3488",
"diff_url": "https://github.com/huggingface/transformers/pull/3488.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3488.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3487 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3487/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3487/comments | https://api.github.com/repos/huggingface/transformers/issues/3487/events | https://github.com/huggingface/transformers/pull/3487 | 589,255,391 | MDExOlB1bGxSZXF1ZXN0Mzk0ODU0Mzk1 | 3,487 | Create model card | {
"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 | [] | [
"@julien-c Do you know why does it fail?"
] | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3487/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3487",
"html_url": "https://github.com/huggingface/transformers/pull/3487",
"diff_url": "https://github.com/huggingface/transformers/pull/3487.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3487.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3486 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3486/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3486/comments | https://api.github.com/repos/huggingface/transformers/issues/3486/events | https://github.com/huggingface/transformers/issues/3486 | 589,255,313 | MDU6SXNzdWU1ODkyNTUzMTM= | 3,486 | setup.py succeeds, then can't import transformers | {
"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 | [] | [
"Do you use the `zsh` shell? cause in this case I think you have to do `pip install -e \".\"`\r\n\r\nI think this has something to do with the shells. Can you compare `zsh` to pure `bash` shell?",
"Fails in bash identically.\r\nOne clue, this is also happening for `pip install tokenizers` followed by import `toke... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | ```bash
pip install -e .
```
works succesfully and makes `transformers.egg-info/`
Then,
```python
import transformers
```
fails with
```
ModuleNotFoundError: No module named 'transformers'
```
env
```
- `transformers` version: 2.6.0
- Platform: Darwin-19.0.0-x86_64-i386-64bit
- Python version: 3... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3486/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3485 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3485/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3485/comments | https://api.github.com/repos/huggingface/transformers/issues/3485/events | https://github.com/huggingface/transformers/pull/3485 | 589,211,407 | MDExOlB1bGxSZXF1ZXN0Mzk0ODE4Mjk2 | 3,485 | Fix circle ci flaky fail of wmt example | {
"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 | [] | [
"This is from this right? https://circleci.com/gh/huggingface/transformers/26455?utm_campaign=workflow-failed&utm_medium=email&utm_source=notification",
"Yeah exactly - it should be fixed now. \r\nI will push a slightly cleaner version in a second :-) ",
"In general, every example test that creates folder or fi... | 1,585 | 1,585 | 1,585 | MEMBER | null | Weird bug which might be fixed by forcing bleu scorer.
Test pass locally, but seem to fail on circle ci. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3485/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3485/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3485",
"html_url": "https://github.com/huggingface/transformers/pull/3485",
"diff_url": "https://github.com/huggingface/transformers/pull/3485.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3485.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3484 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3484/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3484/comments | https://api.github.com/repos/huggingface/transformers/issues/3484/events | https://github.com/huggingface/transformers/issues/3484 | 589,206,684 | MDU6SXNzdWU1ODkyMDY2ODQ= | 3,484 | Sphinx build for documentation fails when tensorflow is installed | {
"login": "venkatasg",
"id": 22871413,
"node_id": "MDQ6VXNlcjIyODcxNDEz",
"avatar_url": "https://avatars.githubusercontent.com/u/22871413?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/venkatasg",
"html_url": "https://github.com/venkatasg",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This seems to be similar to [Issue #3466](https://github.com/huggingface/transformers/issues/3466)",
"Hi, this issue was solved with https://github.com/huggingface/transformers/commit/e2c05f06ef58ea77103d2c64492dd8d9a0b21c3f\r\n\r\nCould you try to pull the repository once again and try then?",
"Yes, that seem... | 1,585 | 1,585 | 1,585 | NONE | null | ## Information
I am trying to build the documentation in `docs/` using `sphinx-build` so that I can add it to [Dash](https://kapeli.com/dash) as one of the docsets. However, I get an assertion error with sphinx-build when I run `make html` in the `docs/` folder *only when tensorflow is installed*. The build works wi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3484/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3483 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3483/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3483/comments | https://api.github.com/repos/huggingface/transformers/issues/3483/events | https://github.com/huggingface/transformers/issues/3483 | 589,196,576 | MDU6SXNzdWU1ODkxOTY1NzY= | 3,483 | Tests for more examples | {
"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 | {
"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... | [
{
"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/sr... | [
"I agree. Tried for an hour last night to add coverage for `run_bart_sum.py` and got stuck on two things.\r\n\r\n1) A `circleci` job that installs `pytorch_lightning` (and potentially other dependencies)\r\n2) the ability to import `examples/transformer_base.py`\r\n\r\n### Suggested Approach:\r\n- add the aforement... | 1,585 | 1,591 | 1,591 | CONTRIBUTOR | null |
# Add tests for more of the examples/
We need to have more testing code for examples. This is particularly true with NER which recently had a tokenizer issue.
(Self-assigning) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3483/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/3483/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3482 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3482/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3482/comments | https://api.github.com/repos/huggingface/transformers/issues/3482/events | https://github.com/huggingface/transformers/pull/3482 | 589,189,395 | MDExOlB1bGxSZXF1ZXN0Mzk0ODAwMDE4 | 3,482 | Correct output shape for Bert NSP models in docs | {
"login": "Genius1237",
"id": 15867363,
"node_id": "MDQ6VXNlcjE1ODY3MzYz",
"avatar_url": "https://avatars.githubusercontent.com/u/15867363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Genius1237",
"html_url": "https://github.com/Genius1237",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | In the docs, for Bert models that have the NSP head, the output shape for one of the params returned by the forward method, `seq_relationship_scores`, is incorrect. Fixing it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3482/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3482",
"html_url": "https://github.com/huggingface/transformers/pull/3482",
"diff_url": "https://github.com/huggingface/transformers/pull/3482.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3482.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3481/comments | https://api.github.com/repos/huggingface/transformers/issues/3481/events | https://github.com/huggingface/transformers/issues/3481 | 589,188,022 | MDU6SXNzdWU1ODkxODgwMjI= | 3,481 | Do I need to pad non-fixed examples or does run_language_modeling.py already takes care of that? | {
"login": "timsoraro",
"id": 61194445,
"node_id": "MDQ6VXNlcjYxMTk0NDQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/61194445?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timsoraro",
"html_url": "https://github.com/timsoraro",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I believe that the `collate` function should take care of it. However, you will need to create the `attention_mask` variable when you have inputs of variable length, so that the model does not attend to the padded indices.",
"@Genius1237 I'm a real noob (I come from a programming background and no ML), but I'm u... | 1,585 | 1,593 | 1,591 | NONE | null | I use a custom TextDataset in [examples/run_language_modeling.py](https://github.com/huggingface/transformers/blob/master/examples/run_language_modeling.py). I can't figure if I need to pad the examples to `bucket_size` myself, or is it already been taken care of in [L221-L223](https://github.com/huggingface/transforme... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3481/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3480 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3480/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3480/comments | https://api.github.com/repos/huggingface/transformers/issues/3480/events | https://github.com/huggingface/transformers/pull/3480 | 589,175,966 | MDExOlB1bGxSZXF1ZXN0Mzk0Nzg4ODAx | 3,480 | Add option to choose T5 model size. | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | MEMBER | null | I believe the error mentioned in #3469 is due to the example tests loading T5-large in memory. One of the workers load that model which fills up the machine's memory, and other workers crash with an oom error.
This PR gives the option to choose the T5 model size, and changes the tests to only use the small model. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3480/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3480",
"html_url": "https://github.com/huggingface/transformers/pull/3480",
"diff_url": "https://github.com/huggingface/transformers/pull/3480.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3480.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3479/comments | https://api.github.com/repos/huggingface/transformers/issues/3479/events | https://github.com/huggingface/transformers/pull/3479 | 589,152,027 | MDExOlB1bGxSZXF1ZXN0Mzk0NzY5MDMw | 3,479 | Add Colab with the evaluation procedure | {
"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": 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,585 | 1,594 | 1,594 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3479/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3479",
"html_url": "https://github.com/huggingface/transformers/pull/3479",
"diff_url": "https://github.com/huggingface/transformers/pull/3479.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3479.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/3478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3478/comments | https://api.github.com/repos/huggingface/transformers/issues/3478/events | https://github.com/huggingface/transformers/pull/3478 | 589,088,231 | MDExOlB1bGxSZXF1ZXN0Mzk0NzE2NDI5 | 3,478 | add summarization and translation to notebook | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | MEMBER | null | Add summarization and translation to pipeline notebook | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3478/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3478",
"html_url": "https://github.com/huggingface/transformers/pull/3478",
"diff_url": "https://github.com/huggingface/transformers/pull/3478.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3478.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3477 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3477/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3477/comments | https://api.github.com/repos/huggingface/transformers/issues/3477/events | https://github.com/huggingface/transformers/pull/3477 | 589,076,319 | MDExOlB1bGxSZXF1ZXN0Mzk0NzA2NjM1 | 3,477 | Added CovidBERT-NLI model card | {
"login": "gsarti",
"id": 16674069,
"node_id": "MDQ6VXNlcjE2Njc0MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16674069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gsarti",
"html_url": "https://github.com/gsarti",
"followers_url": "https://api.github.com/users/gsarti/fo... | [
{
"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,585 | 1,585 | 1,585 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3477/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3477",
"html_url": "https://github.com/huggingface/transformers/pull/3477",
"diff_url": "https://github.com/huggingface/transformers/pull/3477.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3477.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3476 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3476/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3476/comments | https://api.github.com/repos/huggingface/transformers/issues/3476/events | https://github.com/huggingface/transformers/issues/3476 | 589,053,293 | MDU6SXNzdWU1ODkwNTMyOTM= | 3,476 | Finetuning FlauBERT with hugging face's Transformers : WARNING - __main__ - Process rank: -1, device: cuda, n_gpu: 2, distributed training: False, 16-bits training: True | {
"login": "keloemma",
"id": 40454218,
"node_id": "MDQ6VXNlcjQwNDU0MjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/40454218?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keloemma",
"html_url": "https://github.com/keloemma",
"followers_url": "https://api.github.com/users/kel... | [] | closed | false | null | [] | [
"You're probably on an old transformers version."
] | 1,585 | 1,585 | 1,585 | NONE | null | I am trying to use the script run_glue present in the transformers library to fintenue Flaubert for french data using huggingface's transformers and I am gettinh this error :
`
03/27/2020 11:54:48 - WARNING - __main__ - Process rank: -1, device: cuda, n_gpu: 2, distributed training: False, 16-bits training: Tru... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3476/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3476/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3475 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3475/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3475/comments | https://api.github.com/repos/huggingface/transformers/issues/3475/events | https://github.com/huggingface/transformers/pull/3475 | 589,045,758 | MDExOlB1bGxSZXF1ZXN0Mzk0NjgxMDk4 | 3,475 | [WIP] General docs polish | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,585 | 1,593 | 1,593 | MEMBER | null | Rebased from ##3461. So merge after this one.
- [x] Add Bart, T5 and MMBT to main docs page
- [x] Add MMBT docs
- [ ] Add MMBT pretrained info
- [ ] Polish MMBT docstring | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3475/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3475",
"html_url": "https://github.com/huggingface/transformers/pull/3475",
"diff_url": "https://github.com/huggingface/transformers/pull/3475.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3475.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3474/comments | https://api.github.com/repos/huggingface/transformers/issues/3474/events | https://github.com/huggingface/transformers/pull/3474 | 588,996,825 | MDExOlB1bGxSZXF1ZXN0Mzk0NjQwMjIz | 3,474 | [examples] fine-tuning `bert-base-finnish-(un)cased-v1` model for Named Entity Recognition | {
"login": "bmichele",
"id": 21679029,
"node_id": "MDQ6VXNlcjIxNjc5MDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/21679029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bmichele",
"html_url": "https://github.com/bmichele",
"followers_url": "https://api.github.com/users/bmi... | [
{
"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/3474?src=pr&el=h1) Report\n> Merging [#3474](https://codecov.io/gh/huggingface/transformers/pull/3474?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e392ba6938f50655a195ea7ec8a260b1e9fc6058&el=desc) will **increase... | 1,585 | 1,594 | 1,594 | NONE | null | No new features added and no modifications to the existing code has been done. Just addition of scripts for the fine-tuning. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3474/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3474",
"html_url": "https://github.com/huggingface/transformers/pull/3474",
"diff_url": "https://github.com/huggingface/transformers/pull/3474.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3474.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3473 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3473/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3473/comments | https://api.github.com/repos/huggingface/transformers/issues/3473/events | https://github.com/huggingface/transformers/issues/3473 | 588,911,203 | MDU6SXNzdWU1ODg5MTEyMDM= | 3,473 | Inversion of a mask in newer pytorch versions | {
"login": "Shashi456",
"id": 18056781,
"node_id": "MDQ6VXNlcjE4MDU2Nzgx",
"avatar_url": "https://avatars.githubusercontent.com/u/18056781?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shashi456",
"html_url": "https://github.com/Shashi456",
"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 | [] | [
"Do you mind giving a reproducible example so that we may debug easily?",
"I was following this issue because I ran into the same problem. I won't use the code I ran into the problem with here but here is the gist:\r\n\r\n```python\r\nfrom transformers import XLNetForSequenceClassification\r\n\r\nmodel = XLNetFor... | 1,585 | 1,591 | 1,591 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): XLNet
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/3473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3473/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3472/comments | https://api.github.com/repos/huggingface/transformers/issues/3472/events | https://github.com/huggingface/transformers/pull/3472 | 588,908,682 | MDExOlB1bGxSZXF1ZXN0Mzk0NTY4NDc2 | 3,472 | Optimize tokenization (85-92% time reduction) | {
"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... | [
{
"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,585 | 1,594 | 1,594 | NONE | null | This optimization in tokenization reduces the tokenization time by ~ 85-92 %
Stats:
Before fix:
8%|████████▉ | 119574/1486030 [01:03<12:09, 1874.22it/s]
After fix:
98%|████████████████████████████████████... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3472/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3472",
"html_url": "https://github.com/huggingface/transformers/pull/3472",
"diff_url": "https://github.com/huggingface/transformers/pull/3472.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3472.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3471/comments | https://api.github.com/repos/huggingface/transformers/issues/3471/events | https://github.com/huggingface/transformers/issues/3471 | 588,896,667 | MDU6SXNzdWU1ODg4OTY2Njc= | 3,471 | TFAlbertForMaskedLM Decoding Error | {
"login": "zzj0402",
"id": 15345547,
"node_id": "MDQ6VXNlcjE1MzQ1NTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/15345547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zzj0402",
"html_url": "https://github.com/zzj0402",
"followers_url": "https://api.github.com/users/zzj040... | [] | 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... | [
"When you encode with `tokenizer = AlbertTokenizer.from_pretrained('albert-base-v2')` a [CLS] token is added in the beginning and a [SEP] token is added at the end. You can verify this by: \r\n\r\n```python \r\nfrom transformers import AlbertTokenizer, TFAlbertForMaskedLM\r\n\r\ntokenizer = AlbertTokenizer.from_pre... | 1,585 | 1,585 | 1,585 | NONE | null | # 🐛 Bug
## Information
### Model
TFAlbertForMaskedLM <https://huggingface.co/transformers/model_doc/albert.html#tfalbertformaskedlm>
### Language
English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
```pytho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3471/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3470 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3470/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3470/comments | https://api.github.com/repos/huggingface/transformers/issues/3470/events | https://github.com/huggingface/transformers/pull/3470 | 588,851,829 | MDExOlB1bGxSZXF1ZXN0Mzk0NTIzMTE0 | 3,470 | 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,585 | 1,585 | 1,585 | CONTRIBUTOR | null | Fix typo | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3470/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3470",
"html_url": "https://github.com/huggingface/transformers/pull/3470",
"diff_url": "https://github.com/huggingface/transformers/pull/3470.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3470.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3469 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3469/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3469/comments | https://api.github.com/repos/huggingface/transformers/issues/3469/events | https://github.com/huggingface/transformers/issues/3469 | 588,830,784 | MDU6SXNzdWU1ODg4MzA3ODQ= | 3,469 | CircleCI ExamplesTests::test_run_squad 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... | [] | closed | false | null | [] | [
"\r\n\r\nHappy to help on this @LysandreJik @patrickvonplaten",
"The test runs fine locally on my computer. A couple of wild thoughts:\r\n\r\n- It happened after merging #3411 and #3428 which adds quite so... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | Started happening at https://github.com/huggingface/transformers/pull/3428
and has been happening consistently.
scroll all the way down for [traceback](https://circleci.com/gh/huggingface/transformers/26044?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3469/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3468 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3468/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3468/comments | https://api.github.com/repos/huggingface/transformers/issues/3468/events | https://github.com/huggingface/transformers/issues/3468 | 588,819,743 | MDU6SXNzdWU1ODg4MTk3NDM= | 3,468 | Issue in generating samples for text generation | {
"login": "Ahanmr",
"id": 26196002,
"node_id": "MDQ6VXNlcjI2MTk2MDAy",
"avatar_url": "https://avatars.githubusercontent.com/u/26196002?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ahanmr",
"html_url": "https://github.com/Ahanmr",
"followers_url": "https://api.github.com/users/Ahanmr/fo... | [] | 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 file `run_language_modeling.py` does indeed not have a variable called `MODEL_CLASSES`. Can you explain what you are trying to do exactly?"
] | 1,585 | 1,585 | 1,585 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):GPT2
```python
def generate_samples(args, model, prompt_text):
"""Generating sampling for the provided prompt using the provided model."""
set_seed(args.seed)
_, _, tokenizer_class = run_language_modeling.MODEL_CLASSES[args.model_type]
t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3468/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3468/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3467 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3467/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3467/comments | https://api.github.com/repos/huggingface/transformers/issues/3467/events | https://github.com/huggingface/transformers/pull/3467 | 588,788,723 | MDExOlB1bGxSZXF1ZXN0Mzk0NDczMDUy | 3,467 | Model Cards: Fix grammar error | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3467?src=pr&el=h1) Report\n> Merging [#3467](https://codecov.io/gh/huggingface/transformers/pull/3467?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/63f4d8cad010f1972254007ad56b22fe5ed203fe&el=desc) will **increase... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3467/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3467/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3467",
"html_url": "https://github.com/huggingface/transformers/pull/3467",
"diff_url": "https://github.com/huggingface/transformers/pull/3467.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3467.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3466 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3466/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3466/comments | https://api.github.com/repos/huggingface/transformers/issues/3466/events | https://github.com/huggingface/transformers/issues/3466 | 588,780,511 | MDU6SXNzdWU1ODg3ODA1MTE= | 3,466 | Docstring cannot be build anymore | {
"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": "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-... | [
{
"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.gith... | [
"Was fixed with https://github.com/huggingface/transformers/commit/e2c05f06ef58ea77103d2c64492dd8d9a0b21c3f"
] | 1,585 | 1,585 | 1,585 | MEMBER | null | # 🐛 Bug
## Information
Docstring
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
## To reproduce
Steps to reproduce the behavior:
1. `pip install -e ".[docs]"` at `transformers` root folder
2. `cd docs`
3... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3466/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3465 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3465/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3465/comments | https://api.github.com/repos/huggingface/transformers/issues/3465/events | https://github.com/huggingface/transformers/pull/3465 | 588,778,021 | MDExOlB1bGxSZXF1ZXN0Mzk0NDY0NDE0 | 3,465 | Add link to 16 POS tags model | {
"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,585 | 1,585 | 1,585 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3465/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3465",
"html_url": "https://github.com/huggingface/transformers/pull/3465",
"diff_url": "https://github.com/huggingface/transformers/pull/3465.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3465.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3464 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3464/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3464/comments | https://api.github.com/repos/huggingface/transformers/issues/3464/events | https://github.com/huggingface/transformers/pull/3464 | 588,774,456 | MDExOlB1bGxSZXF1ZXN0Mzk0NDYxNTI2 | 3,464 | Add text shown in example of usage | {
"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,585 | 1,585 | 1,585 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3464/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3464",
"html_url": "https://github.com/huggingface/transformers/pull/3464",
"diff_url": "https://github.com/huggingface/transformers/pull/3464.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3464.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3463 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3463/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3463/comments | https://api.github.com/repos/huggingface/transformers/issues/3463/events | https://github.com/huggingface/transformers/issues/3463 | 588,741,115 | MDU6SXNzdWU1ODg3NDExMTU= | 3,463 | Question Answering pipeline not working | {
"login": "paras55",
"id": 52483274,
"node_id": "MDQ6VXNlcjUyNDgzMjc0",
"avatar_url": "https://avatars.githubusercontent.com/u/52483274?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/paras55",
"html_url": "https://github.com/paras55",
"followers_url": "https://api.github.com/users/paras5... | [
{
"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 | [] | [
"Had the same Issue, I think it was already fixed in an older commit, but the pip package doesnt seem to be updated. Try installing transformers from this repo:\r\n`git clone https://github.com/huggingface/transformers`\r\n`cd transformers`\r\n`pip install .`",
"I also had the same issue as @paras55, and the solu... | 1,585 | 1,594 | 1,594 | NONE | null | This is error while running the question answering pipeline !
convert squad examples to features: 0%| | 0/1 [00:00<?, ?it/s]
---------------------------------------------------------------------------
RemoteTraceback Traceback (most recent call last)
RemoteTraceback:
"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3463/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/3463/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3462 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3462/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3462/comments | https://api.github.com/repos/huggingface/transformers/issues/3462/events | https://github.com/huggingface/transformers/issues/3462 | 588,616,430 | MDU6SXNzdWU1ODg2MTY0MzA= | 3,462 | SyntaxError when fine-tuning ALBERT on NER | {
"login": "manueltonneau",
"id": 29440170,
"node_id": "MDQ6VXNlcjI5NDQwMTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/29440170?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueltonneau",
"html_url": "https://github.com/manueltonneau",
"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": 1834060867,
"node_id": "MDU6TGFiZWwxODM0MDYwODY3",
... | closed | false | null | [] | [
"`transformers` 2.6.0 has dropped support for Python 3.5: https://github.com/huggingface/transformers/releases/tag/v2.6.0",
"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,585 | 1,591 | 1,591 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): ALBERT
Language I am using the model on (English, Chinese ...):
The problem arises when using:
* [x] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
## To reproduce
Steps to reproduc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3462/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/3462/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3461 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3461/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3461/comments | https://api.github.com/repos/huggingface/transformers/issues/3461/events | https://github.com/huggingface/transformers/pull/3461 | 588,605,997 | MDExOlB1bGxSZXF1ZXN0Mzk0MzIxMzU0 | 3,461 | Add T5 to docs | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3461?src=pr&el=h1) Report\n> Merging [#3461](https://codecov.io/gh/huggingface/transformers/pull/3461?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/3ee431dd4c720e67e35a449b453d3dc2b15ccfff&el=desc) will **increase... | 1,585 | 1,585 | 1,585 | MEMBER | null | - [x] Copy past from bart docs
- [x] polish main docs page
- [x] improve docstring in `modeling_t5.py` and `modeling_tf_t5.py` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3461/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3461",
"html_url": "https://github.com/huggingface/transformers/pull/3461",
"diff_url": "https://github.com/huggingface/transformers/pull/3461.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3461.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3460 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3460/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3460/comments | https://api.github.com/repos/huggingface/transformers/issues/3460/events | https://github.com/huggingface/transformers/issues/3460 | 588,601,234 | MDU6SXNzdWU1ODg2MDEyMzQ= | 3,460 | Error : forward() got an unexpected keyword argument 'inputs_embeds' | {
"login": "CNelias",
"id": 34754896,
"node_id": "MDQ6VXNlcjM0NzU0ODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/34754896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CNelias",
"html_url": "https://github.com/CNelias",
"followers_url": "https://api.github.com/users/CNelia... | [] | 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 can run the following code succesfully: \r\n\r\n```\r\nfrom transformers import GPT2Model, GPT2Tokenizer\r\nimport torch\r\n\r\nmodel = GPT2Model.from_pretrained('gpt2')\r\ntokenizer = GPT2Tokenizer.from_pretrained('gpt2', pad_token='<PAD>')\r\n\r\ninput_ids = tokenizer.encode(\"Hello, how are you?\", return_ten... | 1,585 | 1,597 | 1,585 | NONE | null | Hello,
I am trying to train a GPT2 from scratch using ```modeling_gpt2.py``` as a base.
I declared the model as follow :
```Python
config = GPT2Config(vocab_size = VELSIZE, n_positions = SEQLEN, n_embd = EMBEDSIZE, n_layer = NUMLAYER,n_ctx = SEQLEN, n_head = NUMHEAD)
model = GPT2Model(config)
```
I don'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3460/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3459 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3459/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3459/comments | https://api.github.com/repos/huggingface/transformers/issues/3459/events | https://github.com/huggingface/transformers/pull/3459 | 588,599,663 | MDExOlB1bGxSZXF1ZXN0Mzk0MzE2MDcy | 3,459 | [Docs] Add better explanation to check `docs` locally. | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3459/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3459",
"html_url": "https://github.com/huggingface/transformers/pull/3459",
"diff_url": "https://github.com/huggingface/transformers/pull/3459.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3459.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3458 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3458/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3458/comments | https://api.github.com/repos/huggingface/transformers/issues/3458/events | https://github.com/huggingface/transformers/issues/3458 | 588,570,744 | MDU6SXNzdWU1ODg1NzA3NDQ= | 3,458 | WARNING - __main__ - Process rank: -1, device: cuda, n_gpu: 2, distributed training: False, 16-bits training: True | {
"login": "keloemma",
"id": 40454218,
"node_id": "MDQ6VXNlcjQwNDU0MjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/40454218?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keloemma",
"html_url": "https://github.com/keloemma",
"followers_url": "https://api.github.com/users/kel... | [] | closed | false | null | [] | [
"?how to solve it"
] | 1,585 | 1,687 | 1,585 | NONE | null | I am trying to use the script run_glue to fintenue Flaubert for french data using huggingface's transformers and I am gettinh this error :
`
03/27/2020 11:54:48 - WARNING - __main__ - Process rank: -1, device: cuda, n_gpu: 2, distributed training: False, 16-bits training: True
Traceback (most recent call last)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3458/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/3458/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3457 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3457/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3457/comments | https://api.github.com/repos/huggingface/transformers/issues/3457/events | https://github.com/huggingface/transformers/issues/3457 | 588,531,060 | MDU6SXNzdWU1ODg1MzEwNjA= | 3,457 | ImportError: cannot import name 'TF_MODEL_FOR_TOKEN_CLASSIFICATION_MAPPING' | {
"login": "pascalhuszar",
"id": 45284935,
"node_id": "MDQ6VXNlcjQ1Mjg0OTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/45284935?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pascalhuszar",
"html_url": "https://github.com/pascalhuszar",
"followers_url": "https://api.github.c... | [] | 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... | [
"Importing `TF_MODEL_FOR_TOKEN_CLASSIFICATION_MAPPING` from `transformers` works for me. Can you update your transformers library and see whether you still get the import error.",
"Hi,\r\n\r\nI have the same issue here. I have installed transformers from source with the latest update.\r\n But still this **ImportE... | 1,585 | 1,586 | 1,585 | NONE | null | Wanted to use the ner demo, but after running:
`!python3 ./ner/run_tf_ner.py --data_dir /data --model_type bert --labels .data/labels.txt --model_name_or_path bert-base-multilingual-cased --output_dir germeval-model --max_seq_length 128 --num_train_epochs 3 --per_device_train_batch_size 32 --save_steps 750 --seed 1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3457/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3456 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3456/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3456/comments | https://api.github.com/repos/huggingface/transformers/issues/3456/events | https://github.com/huggingface/transformers/issues/3456 | 588,465,885 | MDU6SXNzdWU1ODg0NjU4ODU= | 3,456 | Fine-tuning with BertForSequenceClassification on custom dataset yields a model that outputs only the label with highest support in training set | {
"login": "royeis",
"id": 55491131,
"node_id": "MDQ6VXNlcjU1NDkxMTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/55491131?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/royeis",
"html_url": "https://github.com/royeis",
"followers_url": "https://api.github.com/users/royeis/fo... | [
{
"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",
"@royeis did you find solution for this? I am facing the same issue. ",
"@SarikGhazarian \r\nEnded up solving this with a workaround. ... | 1,585 | 1,595 | 1,591 | NONE | null | Hello!
I have a custom dataset that I wish to fine tune BERT on for classification. The examples consist of 3 sequences each and the label set is {0, 1, ..., 9}. The training data has 570 examples, and validation has 150 examples.
The encoding of the input examples is as follows:
`tmp_enc = sequence_a + ' [SEP] ' +... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3456/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/3456/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3455 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3455/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3455/comments | https://api.github.com/repos/huggingface/transformers/issues/3455/events | https://github.com/huggingface/transformers/pull/3455 | 588,450,358 | MDExOlB1bGxSZXF1ZXN0Mzk0MTk0MTI0 | 3,455 | Tokenizers: Start cleaning examples a little | {
"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 | [] | [
"Merging this as discussed (preliminarily) with @LysandreJik last week",
"This is great."
] | 1,585 | 1,585 | 1,585 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3455/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3455",
"html_url": "https://github.com/huggingface/transformers/pull/3455",
"diff_url": "https://github.com/huggingface/transformers/pull/3455.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3455.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3454/comments | https://api.github.com/repos/huggingface/transformers/issues/3454/events | https://github.com/huggingface/transformers/issues/3454 | 588,440,095 | MDU6SXNzdWU1ODg0NDAwOTU= | 3,454 | NER pipeline usage examples | {
"login": "jensam",
"id": 13467943,
"node_id": "MDQ6VXNlcjEzNDY3OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/13467943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jensam",
"html_url": "https://github.com/jensam",
"followers_url": "https://api.github.com/users/jensam/fo... | [] | closed | false | null | [] | [
"The German and English CoNLL datasets use the IOB1 tagging scheme. `B-` is only used to separate two adjacent entities of the same type."
] | 1,585 | 1,585 | 1,585 | NONE | null | In the NER usage examples:
https://huggingface.co/transformers/usage.html#named-entity-recognition
Can you explain why the examples give only I- entities? For example:
('New', 'I-LOC'), ('York', 'I-LOC'), ('City', 'I-LOC')
('Hu', 'I-ORG'), ('##gging', 'I-ORG'), ('Face', 'I-ORG'), ('Inc', 'I-ORG')
Why are there... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3454/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3453/comments | https://api.github.com/repos/huggingface/transformers/issues/3453/events | https://github.com/huggingface/transformers/pull/3453 | 588,431,279 | MDExOlB1bGxSZXF1ZXN0Mzk0MTc4Njgx | 3,453 | Create card for the model: GPT-2-finetuned-covid-bio-medrxiv | {
"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,585 | 1,585 | 1,585 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3453/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3453",
"html_url": "https://github.com/huggingface/transformers/pull/3453",
"diff_url": "https://github.com/huggingface/transformers/pull/3453.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3453.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3452/comments | https://api.github.com/repos/huggingface/transformers/issues/3452/events | https://github.com/huggingface/transformers/issues/3452 | 588,425,339 | MDU6SXNzdWU1ODg0MjUzMzk= | 3,452 | Write With Transformer returning a 502 on gpt2/xl model | {
"login": "sergalbutt",
"id": 4271534,
"node_id": "MDQ6VXNlcjQyNzE1MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4271534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sergalbutt",
"html_url": "https://github.com/sergalbutt",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"We had to turn that model off because it was really expensive/hard to operationalize.\r\n\r\nWe'll add a warning to that particular webpage. (cc @LysandreJik)"
] | 1,585 | 1,585 | 1,585 | NONE | null | When setting the model size to **gpt2/xl**, WwT gets stuck on loading the autocomplete.
Checking Chrome's console tells me
"Failed to load resource: the server responded with a status of 502 (Bad Gateway)"
Having a quick look through the older tickets, I saw that this has happened before. #2121 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3452/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3451 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3451/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3451/comments | https://api.github.com/repos/huggingface/transformers/issues/3451/events | https://github.com/huggingface/transformers/pull/3451 | 588,421,495 | MDExOlB1bGxSZXF1ZXN0Mzk0MTcwNjMy | 3,451 | [examples] SummarizationDataset cleanup | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"@acarrera94 does this look OK?",
"This looks great! Something else we might want to figure out is the best configuration of max_seq_length and max_target_length. For example, the tesla V100 in google colab can for sure handle about max_seq_length=768 and max_target_length=56 with a batch size of 4. It can't hand... | 1,585 | 1,586 | 1,586 | CONTRIBUTOR | null | - factor out redundant tokenization logic
- For both articles and summaries, batches are "trimmed" such that no columns are full of `pad_token_id`.
- The max sizes are 1024 for source and 56 for target. This ensures that truncation never happens for summaries, and rarely happens for articles. These values are uncha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3451/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3451/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3451",
"html_url": "https://github.com/huggingface/transformers/pull/3451",
"diff_url": "https://github.com/huggingface/transformers/pull/3451.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3451.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3450/comments | https://api.github.com/repos/huggingface/transformers/issues/3450/events | https://github.com/huggingface/transformers/pull/3450 | 588,407,405 | MDExOlB1bGxSZXF1ZXN0Mzk0MTU4OTE4 | 3,450 | Create card for model GPT-2-finetuned-CORD19 | {
"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,585 | 1,585 | 1,585 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3450/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3450/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3450",
"html_url": "https://github.com/huggingface/transformers/pull/3450",
"diff_url": "https://github.com/huggingface/transformers/pull/3450.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3450.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3449 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3449/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3449/comments | https://api.github.com/repos/huggingface/transformers/issues/3449/events | https://github.com/huggingface/transformers/pull/3449 | 588,363,258 | MDExOlB1bGxSZXF1ZXN0Mzk0MTIzMTQ3 | 3,449 | revert unpin isort commit | {
"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 | [] | [
"This syntax is not support by PyPi unfortunately, so we had to revert this.",
"> This syntax is not support by PyPi unfortunately, so we had to revert this.\r\n\r\nI see...is there another way of getting the pinned version? \r\nIn general, do we need isort? Doesn't black also sort the import statements? ",
"O... | 1,585 | 1,585 | 1,585 | MEMBER | null | This PR reverts the change of
https://github.com/huggingface/transformers/commit/fbc5bf10cfe4d4ca81f8daacc148b0abd51dda5a
Using the unpinned version of `isort` makes black and `isort` disagree in some cases.
In this PR the unpinned version of `isort` leads to a falied code quality test:
https://github.com/huggi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3449/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3449",
"html_url": "https://github.com/huggingface/transformers/pull/3449",
"diff_url": "https://github.com/huggingface/transformers/pull/3449.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3449.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3448 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3448/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3448/comments | https://api.github.com/repos/huggingface/transformers/issues/3448/events | https://github.com/huggingface/transformers/issues/3448 | 588,350,257 | MDU6SXNzdWU1ODgzNTAyNTc= | 3,448 | Failure to load checkpoints saved during distributed training | {
"login": "glnmario",
"id": 15987282,
"node_id": "MDQ6VXNlcjE1OTg3Mjgy",
"avatar_url": "https://avatars.githubusercontent.com/u/15987282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/glnmario",
"html_url": "https://github.com/glnmario",
"followers_url": "https://api.github.com/users/gln... | [
{
"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,585 | 1,591 | 1,591 | NONE | null | # 🐛 Bug
## Information
Model I am using: Bert
Language I am using the model on: English, German, Swedish
The problem arises when using:
* [x] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
* [ ] an official GLUE/SQU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3448/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3447/comments | https://api.github.com/repos/huggingface/transformers/issues/3447/events | https://github.com/huggingface/transformers/issues/3447 | 588,329,149 | MDU6SXNzdWU1ODgzMjkxNDk= | 3,447 | Save models after each epoch | {
"login": "GCHQResearcher92457",
"id": 62057951,
"node_id": "MDQ6VXNlcjYyMDU3OTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/62057951?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GCHQResearcher92457",
"html_url": "https://github.com/GCHQResearcher92457",
"followers_url": ... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1936351150,
"node_id": "MDU6TGFiZWwxOTM2MzUxMTUw",
... | 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",
"I also need this. Did you figure out a better way of doing it other than counting the number of checkpoints required for an epoch manua... | 1,585 | 1,601 | 1,601 | NONE | null | # 🚀 Feature request
In the various training scripts in `examples`, would it be better to checkpoint the model at the end of each epoch, as well as every `save_steps` iterations as specified by the user?
## Motivation
I suppose for language modelling, saving the model after each epoch is not as important, but for ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3447/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/3447/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3446 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3446/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3446/comments | https://api.github.com/repos/huggingface/transformers/issues/3446/events | https://github.com/huggingface/transformers/issues/3446 | 588,328,329 | MDU6SXNzdWU1ODgzMjgzMjk= | 3,446 | Special tokens to pre-trained BART model | {
"login": "loretoparisi",
"id": 163333,
"node_id": "MDQ6VXNlcjE2MzMzMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/163333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/loretoparisi",
"html_url": "https://github.com/loretoparisi",
"followers_url": "https://api.github.com/u... | [
{
"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": "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... | [
"Hi!\r\nTwo points that might be helpful.\r\n- The `add_special_tokens` functionality should work the same as `RobertaTokenizer`. \r\n- `<s>` is already the `bos` token, so I don't expect it to be broken up.\r\n\r\nLet me know if that resolves your issue, thanks!",
"\r\nNot sure how to go about doing this ?\r\n@s... | 1,585 | 1,621 | 1,585 | CONTRIBUTOR | 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/3446/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3446/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3445 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3445/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3445/comments | https://api.github.com/repos/huggingface/transformers/issues/3445/events | https://github.com/huggingface/transformers/issues/3445 | 588,279,314 | MDU6SXNzdWU1ODgyNzkzMTQ= | 3,445 | run_lm_finetuning on multiple training files | {
"login": "ghtaro",
"id": 24857936,
"node_id": "MDQ6VXNlcjI0ODU3OTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/24857936?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghtaro",
"html_url": "https://github.com/ghtaro",
"followers_url": "https://api.github.com/users/ghtaro/fo... | [] | closed | false | null | [] | [
"Hi, this is not currently supported, you would need to implement this yourself. Feel free to open a PR if you do"
] | 1,585 | 1,585 | 1,585 | 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/3445/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/3445/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3444 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3444/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3444/comments | https://api.github.com/repos/huggingface/transformers/issues/3444/events | https://github.com/huggingface/transformers/issues/3444 | 588,181,401 | MDU6SXNzdWU1ODgxODE0MDE= | 3,444 | Import error in example script `run_language_modeling.py` | {
"login": "xiaolul",
"id": 8575650,
"node_id": "MDQ6VXNlcjg1NzU2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8575650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiaolul",
"html_url": "https://github.com/xiaolul",
"followers_url": "https://api.github.com/users/xiaolul/... | [] | closed | false | null | [] | [
"You need to upgrade your version of transformers (to 2.6), or better, to [install from source](https://github.com/huggingface/transformers#run-the-examples).",
"I just pulled the `huggingface/transformers-tensorflow-gpu:2.10.0` docker image, went to the `examples/language-modeling/` folder and ran the following,... | 1,585 | 1,590 | 1,585 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): RobertaForMaskedLM
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 work... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3444/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3444/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3443 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3443/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3443/comments | https://api.github.com/repos/huggingface/transformers/issues/3443/events | https://github.com/huggingface/transformers/issues/3443 | 588,119,550 | MDU6SXNzdWU1ODgxMTk1NTA= | 3,443 | `run_language_modeling` fails with community model (BioClinicalBERT) | {
"login": "xhluca",
"id": 21180505,
"node_id": "MDQ6VXNlcjIxMTgwNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xhluca",
"html_url": "https://github.com/xhluca",
"followers_url": "https://api.github.com/users/xhluca/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": 1834052847,
"node_id": "MDU6TGFiZWwxODM0MDUyODQ3",
... | closed | false | null | [] | [
"Seems like scibert is also broken. When I run\r\n\r\n```\r\npython run_language_modeling.py \\\r\n --output_dir=output \\\r\n --model_type=scibert \\\r\n --model_name_or_path=allenai/scibert_scivocab_cased \\\r\n --output_dir=/kaggle/working/model \\\r\n --do_train \\\r\n --line_by_line \\\r\n ... | 1,585 | 1,591 | 1,591 | CONTRIBUTOR | null | # 🐛 Bug
The `run_language_modeling.py` fails when using community models.
## Information
Model I am using (Bert, XLNet ...): BioClinical_BERT
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [ ] m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3443/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3442 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3442/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3442/comments | https://api.github.com/repos/huggingface/transformers/issues/3442/events | https://github.com/huggingface/transformers/issues/3442 | 588,094,829 | MDU6SXNzdWU1ODgwOTQ4Mjk= | 3,442 | can't import TFBertModel from transformers | {
"login": "xiongma",
"id": 30991932,
"node_id": "MDQ6VXNlcjMwOTkxOTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/30991932?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiongma",
"html_url": "https://github.com/xiongma",
"followers_url": "https://api.github.com/users/xiongm... | [] | closed | false | null | [] | [
"I try it in Mac, it had same error\r\nmy enviroment is transformers 2.4 mac python 3.7",
"That's because you don't have TensorFlow 2 installed.",
"Conda users:\r\n\r\nFor whom the problem is not solved with re/installing TensorFlow, update the modules in conda.\r\n`conda install tensorflow`",
"You might want... | 1,585 | 1,629 | 1,585 | NONE | null | this is the log when I imported the TFBertModel from transformers
```
from transformers import TFBertModel
ImportError: cannot import name 'TFBertModel' from 'transformers' (/home/cally/.local/lib/python3.7/site-packages/transformers/__init__.py)
```
my enviroment is transformers 2.4 linux python 3.7 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3442/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3441 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3441/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3441/comments | https://api.github.com/repos/huggingface/transformers/issues/3441/events | https://github.com/huggingface/transformers/pull/3441 | 588,085,081 | MDExOlB1bGxSZXF1ZXN0MzkzOTAzMDY3 | 3,441 | Add support for the null answer in `QuestionAnsweringPipeline` | {
"login": "bryant1410",
"id": 3905501,
"node_id": "MDQ6VXNlcjM5MDU1MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3905501?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bryant1410",
"html_url": "https://github.com/bryant1410",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3441?src=pr&el=h1) Report\n> Merging [#3441](https://codecov.io/gh/huggingface/transformers/pull/3441?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/010e0460b22ddd7f74e31163f69ab3da2e9741ba&el=desc) will **decrease... | 1,585 | 1,587 | 1,587 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3441/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3441/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3441",
"html_url": "https://github.com/huggingface/transformers/pull/3441",
"diff_url": "https://github.com/huggingface/transformers/pull/3441.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3441.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3440 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3440/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3440/comments | https://api.github.com/repos/huggingface/transformers/issues/3440/events | https://github.com/huggingface/transformers/pull/3440 | 588,074,571 | MDExOlB1bGxSZXF1ZXN0MzkzODk1MDA3 | 3,440 | feat: config what's trainable in Bert 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",
... | [
{
"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/3440?src=pr&el=h1) Report\n> Merging [#3440](https://codecov.io/gh/huggingface/transformers/pull/3440?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/010e0460b22ddd7f74e31163f69ab3da2e9741ba&el=desc) will **increase... | 1,585 | 1,594 | 1,594 | CONTRIBUTOR | null | Make it possible to configure trainability for specific subparts of a `TFBertMainLayer`.
This is minimal and Bert-only. Really should be added in more model types, not just Bert, but it probably necessarily differs quite a bit between model types, so probably can't be done in a very “DRY” way.
See https://github.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3440/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3440",
"html_url": "https://github.com/huggingface/transformers/pull/3440",
"diff_url": "https://github.com/huggingface/transformers/pull/3440.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3440.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3439 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3439/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3439/comments | https://api.github.com/repos/huggingface/transformers/issues/3439/events | https://github.com/huggingface/transformers/pull/3439 | 588,010,074 | MDExOlB1bGxSZXF1ZXN0MzkzODQzNjIx | 3,439 | Force the return of token type IDs | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | MEMBER | null | close #3313
close #3227
These two issues happen because the `token_type_ids` are not generated by the `encode_plus` method when the SQuAD and multiple choice scripts expect it. The GLUE script was patched by #3240 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3439/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/3439/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3439",
"html_url": "https://github.com/huggingface/transformers/pull/3439",
"diff_url": "https://github.com/huggingface/transformers/pull/3439.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3439.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3438 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3438/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3438/comments | https://api.github.com/repos/huggingface/transformers/issues/3438/events | https://github.com/huggingface/transformers/issues/3438 | 587,998,589 | MDU6SXNzdWU1ODc5OTg1ODk= | 3,438 | Same probability from fine-tuning custom pre-trained LM | {
"login": "yuanbit",
"id": 12972261,
"node_id": "MDQ6VXNlcjEyOTcyMjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/12972261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuanbit",
"html_url": "https://github.com/yuanbit",
"followers_url": "https://api.github.com/users/yuanbi... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,585 | 1,619 | 1,619 | 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/3438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3438/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3437 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3437/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3437/comments | https://api.github.com/repos/huggingface/transformers/issues/3437/events | https://github.com/huggingface/transformers/pull/3437 | 587,967,854 | MDExOlB1bGxSZXF1ZXN0MzkzODA4ODU2 | 3,437 | [Bug fix] Using loaded checkpoint with --do_predict (instead of random init) | {
"login": "ethanjperez",
"id": 6402205,
"node_id": "MDQ6VXNlcjY0MDIyMDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6402205?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ethanjperez",
"html_url": "https://github.com/ethanjperez",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Tagging @srush @nateraw from the original [Lightning GLUE PR](https://github.com/huggingface/transformers/pull/3290) to check I'm not missing something?",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3437?src=pr&el=h1) Report\n> Merging [#3437](https://codecov.io/gh/huggingface/transformers/p... | 1,585 | 1,592 | 1,585 | CONTRIBUTOR | null | Without this fix, I'm getting near-random validation performance for a trained model, and the validation performance differs per validation run. I think this happens since the `model` variable isn't set with the loaded checkpoint, so I'm using a randomly initialized model. Looking at the model activations, they differ ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3437/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3437",
"html_url": "https://github.com/huggingface/transformers/pull/3437",
"diff_url": "https://github.com/huggingface/transformers/pull/3437.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3437.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3436 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3436/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3436/comments | https://api.github.com/repos/huggingface/transformers/issues/3436/events | https://github.com/huggingface/transformers/issues/3436 | 587,957,792 | MDU6SXNzdWU1ODc5NTc3OTI= | 3,436 | TFXLMRoberta impossible to load base and large model with pretrained weight ? | {
"login": "Shiro-LK",
"id": 26505641,
"node_id": "MDQ6VXNlcjI2NTA1NjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26505641?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shiro-LK",
"html_url": "https://github.com/Shiro-LK",
"followers_url": "https://api.github.com/users/Shi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"maybe u can use from_pt=True\r\nTFXLMRobertaForSequenceClassification.from_pretrained(pretrained_model_name_or_path=\"xlm-roberta-large\", **_from_pt=True_**)",
"Hi, thanks for your answer.\r\nI got exactly the same message with \"from_pt=True\"",
"I am suspecting that the file does not exist.\r\nI succeed to ... | 1,585 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
XLMRoberta
Language I am using the model on (English, Chinese ...):
The problem arises when using:
* [ x] the official example scripts: (give details below)
The tasks I am working on is:
my own task or dataset: (give details below)
## To r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3436/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3436/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3435 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3435/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3435/comments | https://api.github.com/repos/huggingface/transformers/issues/3435/events | https://github.com/huggingface/transformers/pull/3435 | 587,930,786 | MDExOlB1bGxSZXF1ZXN0MzkzNzc4NTA5 | 3,435 | Updated/added model cards | {
"login": "traviemcg",
"id": 37486396,
"node_id": "MDQ6VXNlcjM3NDg2Mzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/37486396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/traviemcg",
"html_url": "https://github.com/traviemcg",
"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/3435?src=pr&el=h1) Report\n> Merging [#3435](https://codecov.io/gh/huggingface/transformers/pull/3435?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ccbe839ee0b78a17e74dab218bfae7efe904ac3b&el=desc) will **increase... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | Trained four models, adding/updating model cards to make consistent! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3435/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3435/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3435",
"html_url": "https://github.com/huggingface/transformers/pull/3435",
"diff_url": "https://github.com/huggingface/transformers/pull/3435.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3435.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3434 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3434/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3434/comments | https://api.github.com/repos/huggingface/transformers/issues/3434/events | https://github.com/huggingface/transformers/issues/3434 | 587,757,698 | MDU6SXNzdWU1ODc3NTc2OTg= | 3,434 | How to detokenize a BertTokenizer output? | {
"login": "al-yakubovich",
"id": 12928778,
"node_id": "MDQ6VXNlcjEyOTI4Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/12928778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/al-yakubovich",
"html_url": "https://github.com/al-yakubovich",
"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 | [] | [
"I came across the same problem some days ago. I like your code, however it can be faster:\r\n\r\n```python\r\n\r\ndef is_subtoken(word):\r\n if word[:2] == \"##\":\r\n return True\r\n else:\r\n return False\r\n\r\ntokens = ['why', 'isn', \"##'\", '##t', 'Alex', \"##'\", 'text', 'token', '##izin... | 1,585 | 1,591 | 1,591 | NONE | null | For example, let's tokenize a sentece "why isn't Alex' text tokenizing":
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased', do_lower_case=True)
tokens = tokenizer.tokenize("why isn't Alex' text tokenizing")
We are getting the next output:
['why', 'isn', "'", 't', 'Alex', "'", 'text', '... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3434/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/3434/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3433 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3433/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3433/comments | https://api.github.com/repos/huggingface/transformers/issues/3433/events | https://github.com/huggingface/transformers/pull/3433 | 587,747,120 | MDExOlB1bGxSZXF1ZXN0MzkzNjI4NzMx | 3,433 | Extend config with task specific configs. | {
"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 | [] | [
"> I think this makes sense, giving where we've been going up to now.\r\n> \r\n> I would like to understand what is our philosophy with the growing size of the configuration files; for example the `bert-base-cased` configuration on S3 looks like this:\r\n> \r\n> ```\r\n> {\r\n> \"architectures\": [\r\n> \"Ber... | 1,585 | 1,585 | 1,585 | MEMBER | null | As discussed and proposed by @thomwolf in PR #3413, another step towards a combined tokenizer/model config is this PR. It extends the normal config with the following parameters:
```
{
....
prefix = "", # generic generation HP
max_length: 100,
length_penalty: 1.0,
task_specific_params: {
"summarizatio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3433/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3433",
"html_url": "https://github.com/huggingface/transformers/pull/3433",
"diff_url": "https://github.com/huggingface/transformers/pull/3433.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3433.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3432 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3432/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3432/comments | https://api.github.com/repos/huggingface/transformers/issues/3432/events | https://github.com/huggingface/transformers/issues/3432 | 587,708,041 | MDU6SXNzdWU1ODc3MDgwNDE= | 3,432 | how to use transformers to get all pretraining model names in transformers hub | {
"login": "xiongma",
"id": 30991932,
"node_id": "MDQ6VXNlcjMwOTkxOTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/30991932?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiongma",
"html_url": "https://github.com/xiongma",
"followers_url": "https://api.github.com/users/xiongm... | [] | closed | false | null | [] | [
"```python\r\nfrom transformers.hf_api import HfApi\r\n\r\napi = HfApi()\r\nmodels = api.list_models()\r\n```\r\n\r\nThis is not very well documented yet so feel free to add to the doc."
] | 1,585 | 1,585 | 1,585 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3432/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3432/timeline | completed | null | null | |
https://api.github.com/repos/huggingface/transformers/issues/3431 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3431/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3431/comments | https://api.github.com/repos/huggingface/transformers/issues/3431/events | https://github.com/huggingface/transformers/issues/3431 | 587,651,470 | MDU6SXNzdWU1ODc2NTE0NzA= | 3,431 | Error ImportError: cannot import name 'MODEL_FOR_SEQUENCE_CLASSIFICATION_MAPPING' from 'transformers' (C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\transformers\__init__.py) | {
"login": "kennysmith12",
"id": 61227472,
"node_id": "MDQ6VXNlcjYxMjI3NDcy",
"avatar_url": "https://avatars.githubusercontent.com/u/61227472?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kennysmith12",
"html_url": "https://github.com/kennysmith12",
"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're not running the latest version of transformers.",
"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,585 | 1,590 | 1,590 | NONE | null | # 🐛 Bug
## Information
I am doing the tutorial ["Quick tour of the fine-tuning/usage scripts"](https://github.com/huggingface/transformers#quick-tour-of-the-fine-tuningusage-scripts)
I downloaded the Glue dataset.
When I try to run this command from pytorch
```
python ./examples/run_glue.py \
--model_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3431/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3431/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3430 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3430/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3430/comments | https://api.github.com/repos/huggingface/transformers/issues/3430/events | https://github.com/huggingface/transformers/issues/3430 | 587,624,157 | MDU6SXNzdWU1ODc2MjQxNTc= | 3,430 | Problem saving and/or loading fine-tuned model | {
"login": "ant-louis",
"id": 32681432,
"node_id": "MDQ6VXNlcjMyNjgxNDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/32681432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ant-louis",
"html_url": "https://github.com/ant-louis",
"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... | [
"Hi @antoilouis,\r\n\r\nThanks for posting this. \r\nA quick wild guess might be that after training you save the model in `args.output_dir` but then load it from a different `args.model_name_or_path` (also since you said that if you evaluate the model right after training you get good results. \r\n\r\nMy advice to... | 1,585 | 1,666 | 1,591 | CONTRIBUTOR | null | # ❓ Questions & Help
I have finetuned bert-base-cased for multi-class classification with BertForSequenceClassification and got great results (about 88% accuracy on my dev data). However, when I save the finetuned model, load it and run the evaluation on the exact same dev data, I got awful results (about 0.17 accurac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3430/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/3430/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3429 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3429/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3429/comments | https://api.github.com/repos/huggingface/transformers/issues/3429/events | https://github.com/huggingface/transformers/issues/3429 | 587,612,101 | MDU6SXNzdWU1ODc2MTIxMDE= | 3,429 | Confusion in understanding the output of BERTforTokenClassification class from Transformers library | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [] | closed | false | null | [] | [
"AFAIK, `12` does",
"For detailed explanation for this, refer\r\nhttps://stackoverflow.com/questions/60847291/confusion-in-understanding-the-output-of-bertfortokenclassification-class-from-t"
] | 1,585 | 1,585 | 1,585 | NONE | null | It is the example given in the documentation of transformers pytorch library
```
from transformers import BertTokenizer, BertForTokenClassification
import torch
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
model = BertForTokenClassification.from_pretrained('bert-base-uncased')
input_ids = to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3429/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3428 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3428/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3428/comments | https://api.github.com/repos/huggingface/transformers/issues/3428/events | https://github.com/huggingface/transformers/pull/3428 | 587,605,933 | MDExOlB1bGxSZXF1ZXN0MzkzNTE0NzU4 | 3,428 | Add wmt translation example | {
"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 | [] | [
"> long\r\n\r\nYeah we should definitely try to run it on a GPU - will take a look at that :-) ",
"Not sure whether we need fp16 and multi-gpu training. I think single GPU training is enough and t5 + wmt does not take much memory. But happy to take a look into it if you guys think it's worth it :-) @thomwolf @Lys... | 1,585 | 1,585 | 1,585 | MEMBER | null | PR adds translation example for T5.
It uses the `sacrebleu` BLEU scorer.
I adapted the README.md a bit so that users are aware that models in official paper were attained with finetuned T5 @craffel | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3428/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3428/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3428",
"html_url": "https://github.com/huggingface/transformers/pull/3428",
"diff_url": "https://github.com/huggingface/transformers/pull/3428.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3428.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3427 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3427/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3427/comments | https://api.github.com/repos/huggingface/transformers/issues/3427/events | https://github.com/huggingface/transformers/issues/3427 | 587,596,866 | MDU6SXNzdWU1ODc1OTY4NjY= | 3,427 | I want to create a tokenizer which the vocab file in my computer | {
"login": "xiongma",
"id": 30991932,
"node_id": "MDQ6VXNlcjMwOTkxOTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/30991932?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiongma",
"html_url": "https://github.com/xiongma",
"followers_url": "https://api.github.com/users/xiongm... | [] | closed | false | null | [] | [
"Your config.json file should be named `config.json`, and then you should be able to do:\r\n```\r\nself.model_config = AutoConfig.from_pretrained(r'/home/cally/Awake/Code/bert/pre_model/')\r\nself.tokenizer = AutoTokenizer.from_pretrained(r'/home/cally/Awake/Code/bert/pre_model/')\r\n```\r\n\r\n(just the folder nam... | 1,585 | 1,620 | 1,585 | NONE | null | I want to create a tokenizer in my computer, which the vocab file is below, my code as below
```
self.model_config = AutoConfig.from_pretrained(r'/home/cally/Awake/Code/bert/pre_model/bert_config.json')
self.tokenizer = AutoTokenizer.from_pretrained(r'/home/cally/Awake/Code/bert/pre_model/vocab.txt')
```
it appear... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3427/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3427/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3426 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3426/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3426/comments | https://api.github.com/repos/huggingface/transformers/issues/3426/events | https://github.com/huggingface/transformers/issues/3426 | 587,449,620 | MDU6SXNzdWU1ODc0NDk2MjA= | 3,426 | Expected object of device type cuda but got device type cpu for argument #1 'self' in call to _th_index_selec | {
"login": "ankit-ai",
"id": 44282943,
"node_id": "MDQ6VXNlcjQ0MjgyOTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/44282943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ankit-ai",
"html_url": "https://github.com/ankit-ai",
"followers_url": "https://api.github.com/users/ank... | [
{
"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 | [] | [
"Are the inputs also being cast to GPU?",
"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,585 | 1,591 | 1,591 | NONE | null | I wrapped the code base into a flask container and tried to run it on a GPU and I am running into a GPU device copy issue. Looking for pointers.
I have verified that the model actually gets moved to the GPU:
` self.model.to(torch.device("cuda" if torch.cuda.is_available() and not "store_true" else "cpu"))
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3426/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3426/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3425 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3425/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3425/comments | https://api.github.com/repos/huggingface/transformers/issues/3425/events | https://github.com/huggingface/transformers/pull/3425 | 587,431,688 | MDExOlB1bGxSZXF1ZXN0MzkzMzc1Njc1 | 3,425 | Update model card huseinzol05/bert-base-bahasa-cased | {
"login": "huseinzol05",
"id": 19810909,
"node_id": "MDQ6VXNlcjE5ODEwOTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/19810909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huseinzol05",
"html_url": "https://github.com/huseinzol05",
"followers_url": "https://api.github.com/... | [
{
"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 | [] | [
"Hi @huseinzol05! can you rebase on master so that it's easy to merge?",
"@julien-c , done! thank u very much!",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3425?src=pr&el=h1) Report\n> Merging [#3425](https://codecov.io/gh/huggingface/transformers/pull/3425?src=pr&el=desc) into [master](ht... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3425/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3425/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3425",
"html_url": "https://github.com/huggingface/transformers/pull/3425",
"diff_url": "https://github.com/huggingface/transformers/pull/3425.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3425.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3424 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3424/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3424/comments | https://api.github.com/repos/huggingface/transformers/issues/3424/events | https://github.com/huggingface/transformers/issues/3424 | 587,387,008 | MDU6SXNzdWU1ODczODcwMDg= | 3,424 | Where is the code of Bart fine-tuning?Thanks | {
"login": "qiunlp",
"id": 24563279,
"node_id": "MDQ6VXNlcjI0NTYzMjc5",
"avatar_url": "https://avatars.githubusercontent.com/u/24563279?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qiunlp",
"html_url": "https://github.com/qiunlp",
"followers_url": "https://api.github.com/users/qiunlp/fo... | [] | 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... | [
"Hi,\r\nthe code is in `transformers/examples/summarization/bart/`. Read the `README.md` file.\r\n\r\n> To use your own data, copy that files format. Each article to be summarized is on its own line.\r\n\r\nOr look at issue #3672"
] | 1,585 | 1,587 | 1,587 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3424/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/3424/timeline | completed | null | null | |
https://api.github.com/repos/huggingface/transformers/issues/3423 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3423/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3423/comments | https://api.github.com/repos/huggingface/transformers/issues/3423/events | https://github.com/huggingface/transformers/pull/3423 | 587,356,095 | MDExOlB1bGxSZXF1ZXN0MzkzMzE3ODYz | 3,423 | Experiment w/ dataclasses (including Py36) | {
"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 | [] | [] | 1,585 | 1,585 | 1,585 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3423/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3423/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3423",
"html_url": "https://github.com/huggingface/transformers/pull/3423",
"diff_url": "https://github.com/huggingface/transformers/pull/3423.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3423.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3422 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3422/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3422/comments | https://api.github.com/repos/huggingface/transformers/issues/3422/events | https://github.com/huggingface/transformers/pull/3422 | 587,319,727 | MDExOlB1bGxSZXF1ZXN0MzkzMjg4Njc1 | 3,422 | [BART] add bart-large-xsum weights | {
"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/3422?src=pr&el=h1) Report\n> Merging [#3422](https://codecov.io/gh/huggingface/transformers/pull/3422?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/17dceae7a1de5577cd0c07a97dcd5821a08af07c&el=desc) will **decrease... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | - conversion script can now take a path, which is required since this model is not on `torch.hub`. Finetuning with fairseq and then converting to huggingface should work. I also cleaned it up a bit
- Config in S3 is already updated with author-recommended generation parameters:
`(num_beams=6, length_penalty=1., min_l... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3422/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3422/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3422",
"html_url": "https://github.com/huggingface/transformers/pull/3422",
"diff_url": "https://github.com/huggingface/transformers/pull/3422.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3422.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3421 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3421/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3421/comments | https://api.github.com/repos/huggingface/transformers/issues/3421/events | https://github.com/huggingface/transformers/pull/3421 | 587,315,408 | MDExOlB1bGxSZXF1ZXN0MzkzMjg1MTU3 | 3,421 | Added BioBERT-NLI model card | {
"login": "gsarti",
"id": 16674069,
"node_id": "MDQ6VXNlcjE2Njc0MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16674069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gsarti",
"html_url": "https://github.com/gsarti",
"followers_url": "https://api.github.com/users/gsarti/fo... | [
{
"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/3421?src=pr&el=h1) Report\n> Merging [#3421](https://codecov.io/gh/huggingface/transformers/pull/3421?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d0c36a7b7270f114322c191866d29abea383e5da&el=desc) will **increase... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3421/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3421/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3421",
"html_url": "https://github.com/huggingface/transformers/pull/3421",
"diff_url": "https://github.com/huggingface/transformers/pull/3421.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3421.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3420 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3420/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3420/comments | https://api.github.com/repos/huggingface/transformers/issues/3420/events | https://github.com/huggingface/transformers/issues/3420 | 587,277,985 | MDU6SXNzdWU1ODcyNzc5ODU= | 3,420 | Reading files takes for ever in language modeling | {
"login": "abdallah197",
"id": 28394606,
"node_id": "MDQ6VXNlcjI4Mzk0NjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/28394606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abdallah197",
"html_url": "https://github.com/abdallah197",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"the same issue happens with me when running on 30 GB English Text, with the same parameters given to the script",
"@julien-c any recommendations on this issue?",
"Maybe launch on a single node and in a debugger, to see what's happening?",
"I have run the debugging both with pre-trained tokenizer using --mode... | 1,585 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
## Information
Model I am using (GPT2):
Language I am using the model on (Music Midifiles tokens):
The problem arises when using:
* [ ] the official example scripts: (give details below)
The tasks I am working on is:
* language modeling, running the script run_langauge_modling.py
## To re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3420/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3420/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3419 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3419/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3419/comments | https://api.github.com/repos/huggingface/transformers/issues/3419/events | https://github.com/huggingface/transformers/pull/3419 | 587,267,666 | MDExOlB1bGxSZXF1ZXN0MzkzMjQ2MzY3 | 3,419 | Adds translation pipeline | {
"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/3419?src=pr&el=h1) Report\n> Merging [#3419](https://codecov.io/gh/huggingface/transformers/pull/3419?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9c683ef01e19c4dc1216dcd1ae3c8e7c44d7b2b9&el=desc) will **increase... | 1,585 | 1,585 | 1,585 | MEMBER | null | The API for translation is as follows:
```
en_fr_translation = pipeline("translation_en_to_fr")
en_fr_translation("How old are you?")
```
for English to French translation.
PR adds tests and gives an example in the docstring.
PR builds on #3413 and should be merged after this one.
Example:
![Screensh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3419/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3419/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3419",
"html_url": "https://github.com/huggingface/transformers/pull/3419",
"diff_url": "https://github.com/huggingface/transformers/pull/3419.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3419.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3418 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3418/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3418/comments | https://api.github.com/repos/huggingface/transformers/issues/3418/events | https://github.com/huggingface/transformers/issues/3418 | 587,242,349 | MDU6SXNzdWU1ODcyNDIzNDk= | 3,418 | Unused function in squad metrics | {
"login": "Santosh-Gupta",
"id": 5524261,
"node_id": "MDQ6VXNlcjU1MjQyNjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5524261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Santosh-Gupta",
"html_url": "https://github.com/Santosh-Gupta",
"followers_url": "https://api.github.... | [
{
"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,585 | 1,590 | 1,590 | CONTRIBUTOR | null | In the squad metrics file, I noticed an unused function `find_all_best_thresh_v2`
https://github.com/huggingface/transformers/blob/master/src/transformers/data/metrics/squad_metrics.py#L167
It looks to be pertaining to the squad v2.0 dataset type, which has 'impossible' questions for contexts.
It looks like i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3418/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3418/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3417 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3417/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3417/comments | https://api.github.com/repos/huggingface/transformers/issues/3417/events | https://github.com/huggingface/transformers/pull/3417 | 587,234,634 | MDExOlB1bGxSZXF1ZXN0MzkzMjE5NTAz | 3,417 | Fix XLNet batch generation bug | {
"login": "neonbjb",
"id": 833082,
"node_id": "MDQ6VXNlcjgzMzA4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/833082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/neonbjb",
"html_url": "https://github.com/neonbjb",
"followers_url": "https://api.github.com/users/neonbjb/fo... | [] | 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 @neonbjb,\r\n\r\nsorry to answer waaaay to late.\r\nBatch generation currently does not work. See #3021\r\n\r\nWe are not sure yet when and how to add this feature.",
"Uhhhh.. but it could with this PR? I have it working on my cloned repo and used it in this writeup. Your call though.\r\nhttps://nonint.com/20... | 1,585 | 1,591 | 1,591 | CONTRIBUTOR | null | When doing batch generation with XLNet, only the first element in the batch contains any predictions. This seems to be caused by the target_mapping being improperly initialized in prepare_inputs_for_generation. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3417/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/3417/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3417",
"html_url": "https://github.com/huggingface/transformers/pull/3417",
"diff_url": "https://github.com/huggingface/transformers/pull/3417.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3417.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3416 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3416/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3416/comments | https://api.github.com/repos/huggingface/transformers/issues/3416/events | https://github.com/huggingface/transformers/issues/3416 | 587,227,546 | MDU6SXNzdWU1ODcyMjc1NDY= | 3,416 | XLNet model on S3 not set up correctly? | {
"login": "martinralfreindl",
"id": 61122332,
"node_id": "MDQ6VXNlcjYxMTIyMzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/61122332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/martinralfreindl",
"html_url": "https://github.com/martinralfreindl",
"followers_url": "https://... | [] | closed | false | null | [] | [
"After looking into this some more. It looks like my issue was arising from the fact that the XLNet authors published both a 'base' and 'large' version of their model: \r\n\r\n\r\n\r\nIt seems like the conf... | 1,585 | 1,585 | 1,585 | NONE | null | Hi all,
**I'm trying to initialize an XLNetForSequenceClassification model as follows:**
```
from transformers import XLNetForSequenceClassification, XLNetConfig
configuration = XLNetConfig()
model = XLNetForSequenceClassification.from_pretrained("xlnet-base-cased", config=configuration)
```
**However I'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3416/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3416/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3415 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3415/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3415/comments | https://api.github.com/repos/huggingface/transformers/issues/3415/events | https://github.com/huggingface/transformers/issues/3415 | 587,127,797 | MDU6SXNzdWU1ODcxMjc3OTc= | 3,415 | Problem with running Transformer Notebook: How to train a language model | {
"login": "giulianobertoti",
"id": 2041679,
"node_id": "MDQ6VXNlcjIwNDE2Nzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2041679?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/giulianobertoti",
"html_url": "https://github.com/giulianobertoti",
"followers_url": "https://api.g... | [] | closed | false | {
"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-... | [
{
"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.gith... | [
"Importing CONFIG_MAPPING from https://github.com/huggingface/transformers/blob/master/src/transformers/configuration_auto.py to https://github.com/huggingface/transformers/blob/master/src/transformers/__init__.py fixes the problem (for the last version of the package)",
"This should be fixed on master by f8823ba... | 1,585 | 1,585 | 1,585 | NONE | null | Hello,
in the page:
https://github.com/huggingface/transformers/blob/master/notebooks/README.md
I clicked "open in colab" on the notebook "How to train a language model".
When the last run cell was run:
%%time
!{cmd}
The following error was presented:
Traceback (most recent call last):
File "ru... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3415/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3415/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3414 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3414/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3414/comments | https://api.github.com/repos/huggingface/transformers/issues/3414/events | https://github.com/huggingface/transformers/issues/3414 | 587,056,829 | MDU6SXNzdWU1ODcwNTY4Mjk= | 3,414 | Add custom rules for sampling from GPT-2 Generator | {
"login": "simonefrancia",
"id": 7140210,
"node_id": "MDQ6VXNlcjcxNDAyMTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7140210?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simonefrancia",
"html_url": "https://github.com/simonefrancia",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Hey @simonefrancia happy that you liked the blog post :-) \r\n\r\nThis sounds like quite a special sampling function, so the best you can do would be to fork/clone the repo and add this functionality yourself. If the sampling function is too special we probably will not include it into the master branch. \r\n\r\nB... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | Hi @patrickvonplaten,
I've read your [blogpost](https://huggingface.co/blog/how-to-generate) and it's really interesting. Thanks! I have a question for that.
We have recently trained a GPT-2 generator with HF on general text and it works well.
But to have better results on my custom task, I would like to add a c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3414/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/3414/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3413 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3413/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3413/comments | https://api.github.com/repos/huggingface/transformers/issues/3413/events | https://github.com/huggingface/transformers/pull/3413 | 586,999,880 | MDExOlB1bGxSZXF1ZXN0MzkzMDIzNjQ0 | 3,413 | Add t5 to pipeline(task='summarization') | {
"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/3413?src=pr&el=h1) Report\n> Merging [#3413](https://codecov.io/gh/huggingface/transformers/pull/3413?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e392ba6938f50655a195ea7ec8a260b1e9fc6058&el=desc) will **increase... | 1,585 | 1,585 | 1,585 | MEMBER | null | This PR:
- adds T5 to summarization piplines.
- adds warnings and better defaults to Bart/T5 summarization
- removes unnecessary assert in generate() function
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3413/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3413/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3413",
"html_url": "https://github.com/huggingface/transformers/pull/3413",
"diff_url": "https://github.com/huggingface/transformers/pull/3413.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3413.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.