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/4312 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4312/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4312/comments | https://api.github.com/repos/huggingface/transformers/issues/4312/events | https://github.com/huggingface/transformers/issues/4312 | 616,613,657 | MDU6SXNzdWU2MTY2MTM2NTc= | 4,312 | how can I make BERT word embedding faster? | {
"login": "shubhamk16",
"id": 46631180,
"node_id": "MDQ6VXNlcjQ2NjMxMTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/46631180?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shubhamk16",
"html_url": "https://github.com/shubhamk16",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"It seems you're not actually putting anything on GPU. You need to call `bertModel.to(device)` and `input_ids.to(device)`.\r\n\r\nThe BERT model is much larger than GloVe, however, so you'll never get the same speed.",
"Thank you @LysandreJik. It actually increases speed but not that much.\r\nIs there any model w... | 1,589 | 1,595 | 1,595 | NONE | null | Hello guys,
I have a code in which words get embedded with **Glove Embedding** for the number of iterations.
model.word_emb= utils.load_word_emb(args.glove_embed_path)
a =time.time()
w = "Transformer"
X = model.word_emb.get(w, model.word_emb['unk'])
b =time.time()
print(b-a)
and for each word glove embedd... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4312/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/huggingface/transformers/issues/4312/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4311 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4311/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4311/comments | https://api.github.com/repos/huggingface/transformers/issues/4311/events | https://github.com/huggingface/transformers/issues/4311 | 616,599,169 | MDU6SXNzdWU2MTY1OTkxNjk= | 4,311 | RobertaForQuestionAnsweringModel | {
"login": "krishnapriya-18",
"id": 48817796,
"node_id": "MDQ6VXNlcjQ4ODE3Nzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/48817796?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/krishnapriya-18",
"html_url": "https://github.com/krishnapriya-18",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Pull request welcome!"
] | 1,589 | 1,589 | 1,589 | NONE | null | There is no ready to use RobertaForQuestionAnsweringModel Class in transformers.
Please add it as you have done for other models. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4311/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4311/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4310 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4310/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4310/comments | https://api.github.com/repos/huggingface/transformers/issues/4310/events | https://github.com/huggingface/transformers/issues/4310 | 616,556,297 | MDU6SXNzdWU2MTY1NTYyOTc= | 4,310 | MobileBert form google-research added | {
"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": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Will close this to track this at more general #4185",
"Please the \" checkpoint\" file to reset the path to \"mobilebert_variables.ckpt\" \r\nThis can solved my issue.\r\n"
] | 1,589 | 1,610 | 1,589 | CONTRIBUTOR | null | # 🌟 New model addition
## Model description
[MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices](https://arxiv.org/abs/2004.02984)
Repo [link](https://github.com/google-research/google-research/tree/master/mobilebert)
## Open source status
* [x] Uploaded to HF model hub
[bert_config.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4310/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4310/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4309 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4309/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4309/comments | https://api.github.com/repos/huggingface/transformers/issues/4309/events | https://github.com/huggingface/transformers/issues/4309 | 616,536,041 | MDU6SXNzdWU2MTY1MzYwNDE= | 4,309 | Finetuning error: RuntimeError: Error(s) in loading state_dict for GPT2LMHeadModel: Missing key(s) in state_dict: “transformer.h.0.attn.masked_bias”, “transformer.h.1.attn.masked_bias” | {
"login": "kiranikram",
"id": 45267484,
"node_id": "MDQ6VXNlcjQ1MjY3NDg0",
"avatar_url": "https://avatars.githubusercontent.com/u/45267484?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kiranikram",
"html_url": "https://github.com/kiranikram",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I think we're missing some info here, can you add your complete code snippet to the issue's title? \r\n\r\n### 🤣🤣 \r\n\r\nYou can even add some binary data in there for good measure.\r\n\r\nHehe I'm just kidding :trollface: ",
"Managed: I just didn’t account for the May 7 transformers release! \n\nSent from my... | 1,589 | 1,590 | 1,589 | 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/4309/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4309/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4308 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4308/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4308/comments | https://api.github.com/repos/huggingface/transformers/issues/4308/events | https://github.com/huggingface/transformers/issues/4308 | 616,517,287 | MDU6SXNzdWU2MTY1MTcyODc= | 4,308 | MPNet: Masked and Permuted Pre-training for Language Understanding | {
"login": "RyanHuangNLP",
"id": 49582480,
"node_id": "MDQ6VXNlcjQ5NTgyNDgw",
"avatar_url": "https://avatars.githubusercontent.com/u/49582480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RyanHuangNLP",
"html_url": "https://github.com/RyanHuangNLP",
"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
},
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
... | closed | false | null | [] | [
"Hi huggingface/transformers,\r\n\r\nI am Xu Tan from Microsoft Research. Thanks for that you mentioned MPNet in huggingface/transformers repo.\r\n\r\nMPNet is an advanced pre-trained models for language understanding, which inherits the advantages of BERT and XLNet, while well address their problems. We have MPNe... | 1,589 | 1,611 | 1,611 | NONE | null | # 🌟 New model addition
## Model description
[MPNet: Masked and Permuted Pre-training for Language Understanding](https://arxiv.org/pdf/2004.09297.pdf)
use both Masked Language Model and Permuted Language Model
## Open source status
* [MPNet ] the model implementation is available: (https://github.com/micr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4308/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4308/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4307 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4307/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4307/comments | https://api.github.com/repos/huggingface/transformers/issues/4307/events | https://github.com/huggingface/transformers/issues/4307 | 616,488,022 | MDU6SXNzdWU2MTY0ODgwMjI= | 4,307 | why Building wheel for tokenizers (PEP 517) ... error? | {
"login": "jerry1993-tech",
"id": 26736518,
"node_id": "MDQ6VXNlcjI2NzM2NTE4",
"avatar_url": "https://avatars.githubusercontent.com/u/26736518?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jerry1993-tech",
"html_url": "https://github.com/jerry1993-tech",
"followers_url": "https://api.gi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"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 have this problem too , how did you resolve it?can you share your ideas?"
] | 1,589 | 1,619 | 1,595 | 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/4307/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4307/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4306 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4306/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4306/comments | https://api.github.com/repos/huggingface/transformers/issues/4306/events | https://github.com/huggingface/transformers/issues/4306 | 616,426,900 | MDU6SXNzdWU2MTY0MjY5MDA= | 4,306 | Multiple token prediction with MLM | {
"login": "jannisborn",
"id": 15703818,
"node_id": "MDQ6VXNlcjE1NzAzODE4",
"avatar_url": "https://avatars.githubusercontent.com/u/15703818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jannisborn",
"html_url": "https://github.com/jannisborn",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"An error message would be great, want to submit a PR?\r\n\r\nFor multiple masked token support, I'm not entirely sure. The sampling might be very use case-specific.",
"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 ... | 1,589 | 1,620 | 1,595 | CONTRIBUTOR | null | # 🚀 Feature request
It would be great if the `fill_mask` interface would be able to predict multiple tokens at a time.
## Motivation
I didn't find any related issue. Using transformer for chemical data, queries like `fill_mask('CCCO<mask>C')` work fine. But writing `fill_mask('CC<mask>CO<mask>C')` I obtain:
`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4306/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/4306/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4305 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4305/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4305/comments | https://api.github.com/repos/huggingface/transformers/issues/4305/events | https://github.com/huggingface/transformers/pull/4305 | 616,423,200 | MDExOlB1bGxSZXF1ZXN0NDE2NTM2NTAx | 4,305 | fixed missing torch module import | {
"login": "lserinol",
"id": 13028689,
"node_id": "MDQ6VXNlcjEzMDI4Njg5",
"avatar_url": "https://avatars.githubusercontent.com/u/13028689?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lserinol",
"html_url": "https://github.com/lserinol",
"followers_url": "https://api.github.com/users/lse... | [
{
"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,589 | 1,589 | 1,589 | CONTRIBUTOR | null | fixed missing torch module import in example usage code | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4305/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4305/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4305",
"html_url": "https://github.com/huggingface/transformers/pull/4305",
"diff_url": "https://github.com/huggingface/transformers/pull/4305.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4305.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4304 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4304/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4304/comments | https://api.github.com/repos/huggingface/transformers/issues/4304/events | https://github.com/huggingface/transformers/issues/4304 | 616,403,075 | MDU6SXNzdWU2MTY0MDMwNzU= | 4,304 | Latest Version Of HuggingFace is Not Using GPUs | {
"login": "AdityaSoni19031997",
"id": 22738086,
"node_id": "MDQ6VXNlcjIyNzM4MDg2",
"avatar_url": "https://avatars.githubusercontent.com/u/22738086?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdityaSoni19031997",
"html_url": "https://github.com/AdityaSoni19031997",
"followers_url": "ht... | [] | closed | false | null | [] | [
"If you don't tell us what code you use, we cannot help you. Be detailed and use code block. Don't post screenshots. ",
"I agree. I apologize, was kinda annoyed that version diff can cause this. Will share a minimal example. (In the mean time, re-verifying via setting up different env's)",
"Did you manage to s... | 1,589 | 1,594 | 1,589 | CONTRIBUTOR | null | I switched from v2.8 to v2.9 today morning keeping all my experiments, enviornment same etc but the same code which used v2.8 has an epoch time of 5 mins, where as in v2.9 it's more than 2 hours.
Code was custom which was working till yesterday with v2.8.
Please verify the same. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4304/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4304/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4303 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4303/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4303/comments | https://api.github.com/repos/huggingface/transformers/issues/4303/events | https://github.com/huggingface/transformers/issues/4303 | 616,394,243 | MDU6SXNzdWU2MTYzOTQyNDM= | 4,303 | How to perform Agglomerative clustering on Albert model last hidden state output, it gives tuple of tensors for each sequence in a sentence. I am processing multiple sentences from a document, How to achieve this ? | {
"login": "daraksha-shirin",
"id": 53253192,
"node_id": "MDQ6VXNlcjUzMjUzMTky",
"avatar_url": "https://avatars.githubusercontent.com/u/53253192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daraksha-shirin",
"html_url": "https://github.com/daraksha-shirin",
"followers_url": "https://api... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,595 | 1,595 | 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/4303/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4303/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4302 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4302/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4302/comments | https://api.github.com/repos/huggingface/transformers/issues/4302/events | https://github.com/huggingface/transformers/pull/4302 | 616,382,224 | MDExOlB1bGxSZXF1ZXN0NDE2NTAzOTMz | 4,302 | Remove args from args.tf_dump_path | {
"login": "kalyangvs",
"id": 42022935,
"node_id": "MDQ6VXNlcjQyMDIyOTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/42022935?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kalyangvs",
"html_url": "https://github.com/kalyangvs",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,594 | 1,594 | NONE | null | Edit args.tf_dump_path in convert_all_pt_checkpoints_to_tf | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4302/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4302/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4302",
"html_url": "https://github.com/huggingface/transformers/pull/4302",
"diff_url": "https://github.com/huggingface/transformers/pull/4302.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4302.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4301 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4301/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4301/comments | https://api.github.com/repos/huggingface/transformers/issues/4301/events | https://github.com/huggingface/transformers/issues/4301 | 616,306,298 | MDU6SXNzdWU2MTYzMDYyOTg= | 4,301 | why squad.py did not reproduce squad1.1 report result? | {
"login": "yyHaker",
"id": 18585628,
"node_id": "MDQ6VXNlcjE4NTg1NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/18585628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yyHaker",
"html_url": "https://github.com/yyHaker",
"followers_url": "https://api.github.com/users/yyHake... | [
{
"id": 1897896961,
"node_id": "MDU6TGFiZWwxODk3ODk2OTYx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Migration",
"name": "Migration",
"color": "e99695",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"I have just solved this problem.\r\nYou have to set an additional flag: --do_lower_case.\r\nI wonder why the run_squad.py behaves differently than run_glue.py, etc. Is there is a code improve on the way?",
"You shouldn't have to set `--do_lower_case` as it should be lowercased by default for that model.",
"> Y... | 1,589 | 1,590 | 1,590 | NONE | null | # 📚 Migration
## Information
<!-- Important information -->
Model I am using (Bert, XLNet ...):
Language I am using the model on (English...):
The problem arises when using:
* [x] the official example scripts: (give details below)
examples/question-answering/run_squad.py
* [x] my own modified scripts... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4301/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4301/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4300 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4300/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4300/comments | https://api.github.com/repos/huggingface/transformers/issues/4300/events | https://github.com/huggingface/transformers/pull/4300 | 616,290,388 | MDExOlB1bGxSZXF1ZXN0NDE2NDMxNjQy | 4,300 | Fix nn.DataParallel compatibility in PyTorch 1.5 | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4300?src=pr&el=h1) Report\n> Merging [#4300](https://codecov.io/gh/huggingface/transformers/pull/4300?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7cb203fae4e7964e9e99400b375d660ebce765ee&el=desc) will **decrease... | 1,589 | 1,600 | 1,589 | MEMBER | null | As reported in #3936
PyTorch 1.5 changes the handling of nn.Parameters in `DataParallel` replicas. (https://github.com/pytorch/pytorch/pull/33907). The replicas now don't have parameters() anymore.
This PR updates our `self.device` and `self.dtype` helpers to mimic `nn.Module`'s `parameters()` helper but for att... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4300/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4300/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4300",
"html_url": "https://github.com/huggingface/transformers/pull/4300",
"diff_url": "https://github.com/huggingface/transformers/pull/4300.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4300.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4299 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4299/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4299/comments | https://api.github.com/repos/huggingface/transformers/issues/4299/events | https://github.com/huggingface/transformers/issues/4299 | 616,257,011 | MDU6SXNzdWU2MTYyNTcwMTE= | 4,299 | Issue with XLNet using xlnet-base-cased | {
"login": "enriqueb721",
"id": 11673418,
"node_id": "MDQ6VXNlcjExNjczNDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/11673418?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/enriqueb721",
"html_url": "https://github.com/enriqueb721",
"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 | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [
{
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "htt... | [
"I also have the same problem @alexandrenriq ",
"I think there's a mistake in the code which sets the `AutoModelForQuestionAnswering` as `XLNetForQuestionAnsweringSimple`. You can run the code by substituting `AutoModelForQuestionAnswering` into `XLNetForQuestionAnswering` (or by removing `cls_index` and `p_mask`... | 1,589 | 1,602 | 1,602 | 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/4299/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4299/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4298 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4298/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4298/comments | https://api.github.com/repos/huggingface/transformers/issues/4298/events | https://github.com/huggingface/transformers/pull/4298 | 616,255,513 | MDExOlB1bGxSZXF1ZXN0NDE2NDAzNDk1 | 4,298 | Fix BART tests on GPU | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4298/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4298/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4298",
"html_url": "https://github.com/huggingface/transformers/pull/4298",
"diff_url": "https://github.com/huggingface/transformers/pull/4298.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4298.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4297 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4297/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4297/comments | https://api.github.com/repos/huggingface/transformers/issues/4297/events | https://github.com/huggingface/transformers/pull/4297 | 616,240,186 | MDExOlB1bGxSZXF1ZXN0NDE2MzkwODE1 | 4,297 | pin TF to 2.1 | {
"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,589 | 1,589 | 1,589 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4297/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4297/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4297",
"html_url": "https://github.com/huggingface/transformers/pull/4297",
"diff_url": "https://github.com/huggingface/transformers/pull/4297.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4297.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4296 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4296/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4296/comments | https://api.github.com/repos/huggingface/transformers/issues/4296/events | https://github.com/huggingface/transformers/issues/4296 | 616,237,745 | MDU6SXNzdWU2MTYyMzc3NDU= | 4,296 | Error Training T5 Transformer Translation Model | {
"login": "jameschartouni",
"id": 16104649,
"node_id": "MDQ6VXNlcjE2MTA0NjQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/16104649?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jameschartouni",
"html_url": "https://github.com/jameschartouni",
"followers_url": "https://api.gi... | [] | 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... | [
"Which library are you using? Could you maybe post a complete code example (with all relevant imports) to reproduce the error? ",
"https://github.com/jameschartouni/arabic_translation/blob/google-t5/Model_1.ipynb\r\n\r\nLet me know if you have difficulty viewing the code! We are using colab and use a fresh instal... | 1,589 | 1,591 | 1,591 | 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/4296/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4296/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4295 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4295/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4295/comments | https://api.github.com/repos/huggingface/transformers/issues/4295/events | https://github.com/huggingface/transformers/pull/4295 | 616,180,071 | MDExOlB1bGxSZXF1ZXN0NDE2MzQyMjA0 | 4,295 | [Docs, Notebook] Include generation 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 | [] | [] | 1,589 | 1,589 | 1,589 | MEMBER | null | - adds the generation pipeline to usage docs with a couple of examples
- adds the generation pipeline to the notebook
- Also, I updated the config of all models that can be used with generation with model specific params: GPT2, OpenAI-GPT, XLNet, TransfoXL, Reformer, so that they now include a `text-generation` speci... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4295/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/4295/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4295",
"html_url": "https://github.com/huggingface/transformers/pull/4295",
"diff_url": "https://github.com/huggingface/transformers/pull/4295.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4295.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4294 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4294/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4294/comments | https://api.github.com/repos/huggingface/transformers/issues/4294/events | https://github.com/huggingface/transformers/pull/4294 | 616,168,487 | MDExOlB1bGxSZXF1ZXN0NDE2MzMyNzE4 | 4,294 | Documentation specification | {
"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,589 | 1,589 | 1,589 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4294/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4294/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4294",
"html_url": "https://github.com/huggingface/transformers/pull/4294",
"diff_url": "https://github.com/huggingface/transformers/pull/4294.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4294.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4293 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4293/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4293/comments | https://api.github.com/repos/huggingface/transformers/issues/4293/events | https://github.com/huggingface/transformers/issues/4293 | 616,151,099 | MDU6SXNzdWU2MTYxNTEwOTk= | 4,293 | No crossattention layers in decoder from pretrained encoder-decoder model | {
"login": "hammad001",
"id": 8685649,
"node_id": "MDQ6VXNlcjg2ODU2NDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8685649?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hammad001",
"html_url": "https://github.com/hammad001",
"followers_url": "https://api.github.com/users/ha... | [] | 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... | [
"A simple fix could be:\r\n\r\n1. Adding in file [modeling_encoder_decoder.py](https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_encoder_decoder.py) @ line 140:\r\n\r\n```\r\nkwargs_decoder[\"is_decoder\"]=True\r\n```\r\n\r\n2. Adding in file [modeling_auto.py](https://github.com/hug... | 1,589 | 1,590 | 1,590 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): BERT
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
* ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4293/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4293/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4292 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4292/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4292/comments | https://api.github.com/repos/huggingface/transformers/issues/4292/events | https://github.com/huggingface/transformers/pull/4292 | 616,112,050 | MDExOlB1bGxSZXF1ZXN0NDE2Mjg3MTI0 | 4,292 | Fix special token doc | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | MEMBER | null | closes #4274 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4292/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4292/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4292",
"html_url": "https://github.com/huggingface/transformers/pull/4292",
"diff_url": "https://github.com/huggingface/transformers/pull/4292.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4292.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4291 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4291/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4291/comments | https://api.github.com/repos/huggingface/transformers/issues/4291/events | https://github.com/huggingface/transformers/pull/4291 | 616,077,295 | MDExOlB1bGxSZXF1ZXN0NDE2MjU5OTA4 | 4,291 | Fix quickstart | {
"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,589 | 1,591 | 1,591 | MEMBER | null | GPT-2 now requires the entire context to be passed, even when specifying the past since #3734
closes #4259 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4291/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4291/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4291",
"html_url": "https://github.com/huggingface/transformers/pull/4291",
"diff_url": "https://github.com/huggingface/transformers/pull/4291.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4291.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4290 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4290/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4290/comments | https://api.github.com/repos/huggingface/transformers/issues/4290/events | https://github.com/huggingface/transformers/pull/4290 | 616,072,505 | MDExOlB1bGxSZXF1ZXN0NDE2MjU2MTUz | 4,290 | [Marian Fixes] prevent predicting pad_token_id before softmax, support language codes, name multilingual models | {
"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 | [] | [
"The slow bart summarization tests all pass with this? ",
"yes!",
"LGTM",
"Correct, @LysandreJik not a breaking change.\r\n",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4290?src=pr&el=h1) Report\n> Merging [#4290](https://codecov.io/gh/huggingface/transformers/pull/4290?src=pr&el=desc)... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | (this should probably be 3 PRs, sorry).
TLDR: This gets us to equal or better BLEU for 99+% of the converted models.
### Issue 1: non-breaking Generation Issue
`pad_token_id` is predicted with score 0, but we never want to generate it.
Previously, we set its score to inf after softmax, so probabilities summed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4290/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4290/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4290",
"html_url": "https://github.com/huggingface/transformers/pull/4290",
"diff_url": "https://github.com/huggingface/transformers/pull/4290.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4290.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4289 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4289/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4289/comments | https://api.github.com/repos/huggingface/transformers/issues/4289/events | https://github.com/huggingface/transformers/pull/4289 | 616,039,246 | MDExOlB1bGxSZXF1ZXN0NDE2MjMwMTAy | 4,289 | CamemBERT does not make use 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,589 | 1,589 | 1,589 | MEMBER | null | CamemBERT, like RoBERTa, does not make use of token type IDs.
closes https://github.com/huggingface/transformers/issues/4153
closes #4163
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4289/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4289/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4289",
"html_url": "https://github.com/huggingface/transformers/pull/4289",
"diff_url": "https://github.com/huggingface/transformers/pull/4289.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4289.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4288 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4288/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4288/comments | https://api.github.com/repos/huggingface/transformers/issues/4288/events | https://github.com/huggingface/transformers/issues/4288 | 615,977,111 | MDU6SXNzdWU2MTU5NzcxMTE= | 4,288 | TAPAS: Weakly Supervised Table Parsing via Pre-training | {
"login": "TheEdoardo93",
"id": 19664571,
"node_id": "MDQ6VXNlcjE5NjY0NTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/19664571?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TheEdoardo93",
"html_url": "https://github.com/TheEdoardo93",
"followers_url": "https://api.github.c... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Duplicated of [https://github.com/huggingface/transformers/issues/4166](url)"
] | 1,589 | 1,589 | 1,589 | NONE | null | # 🌟 TAPAS (Weakly Supervised Table Parsing via Pre-Training)
## Model description
**TAPAS** [ArXiV Paper](https://arxiv.org/pdf/2004.02349.pdf) [Google AI Blog](https://ai.googleblog.com/2020/04/using-neural-networks-to-find-answers.html?utm_campaign=Learning%20Posts&utm_content=128690771&utm_medium=social&utm_s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4288/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4288/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4287 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4287/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4287/comments | https://api.github.com/repos/huggingface/transformers/issues/4287/events | https://github.com/huggingface/transformers/issues/4287 | 615,917,013 | MDU6SXNzdWU2MTU5MTcwMTM= | 4,287 | T5 fp16 forward yields nan | {
"login": "binshengliu",
"id": 441707,
"node_id": "MDQ6VXNlcjQ0MTcwNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/441707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/binshengliu",
"html_url": "https://github.com/binshengliu",
"followers_url": "https://api.github.com/user... | [] | 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... | [
"Thanks for the detailed error description @binshengliu! I linked a PR that should fix it :-) ",
"Hi, there's still some chance we get `nan` values during training. It does not always happen but is still pretty easy to reproduce. My current version is `2.11.0`.\r\n\r\n```\r\nimport torch\r\nfrom transformers impo... | 1,589 | 1,625 | 1,589 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): T5
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
* [ ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4287/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/4287/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4286 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4286/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4286/comments | https://api.github.com/repos/huggingface/transformers/issues/4286/events | https://github.com/huggingface/transformers/pull/4286 | 615,916,697 | MDExOlB1bGxSZXF1ZXN0NDE2MTMwODc2 | 4,286 | Reformer enwik8 - Model card | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"id": 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,589 | 1,589 | 1,589 | MEMBER | null | Create a model card with char level tokenizer for reformer enwik8. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4286/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4286/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4286",
"html_url": "https://github.com/huggingface/transformers/pull/4286",
"diff_url": "https://github.com/huggingface/transformers/pull/4286.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4286.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4285 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4285/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4285/comments | https://api.github.com/repos/huggingface/transformers/issues/4285/events | https://github.com/huggingface/transformers/issues/4285 | 615,903,544 | MDU6SXNzdWU2MTU5MDM1NDQ= | 4,285 | Default code snippet for shared model doesn't work because of different model and tokenizer types | {
"login": "obsh",
"id": 1974420,
"node_id": "MDQ6VXNlcjE5NzQ0MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1974420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/obsh",
"html_url": "https://github.com/obsh",
"followers_url": "https://api.github.com/users/obsh/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 | [] | [
"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 have the exact same issue. When I share GPT2 model trained with AlbertTokenizer on huggingface.co the default code snippet doesn't wo... | 1,589 | 1,608 | 1,595 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): GPT2 with AlbertTokenizer
Language I am using the model on (English, Chinese ...): Ukrainian
The problem arises when using:
* [x] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4285/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4285/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4284 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4284/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4284/comments | https://api.github.com/repos/huggingface/transformers/issues/4284/events | https://github.com/huggingface/transformers/pull/4284 | 615,888,541 | MDExOlB1bGxSZXF1ZXN0NDE2MTA3ODgy | 4,284 | [Marian] Fix typo in docstring | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4284/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4284/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4284",
"html_url": "https://github.com/huggingface/transformers/pull/4284",
"diff_url": "https://github.com/huggingface/transformers/pull/4284.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4284.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4283 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4283/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4283/comments | https://api.github.com/repos/huggingface/transformers/issues/4283/events | https://github.com/huggingface/transformers/pull/4283 | 615,880,564 | MDExOlB1bGxSZXF1ZXN0NDE2MTAxMzE1 | 4,283 | [TF 2.2 compat] use tf.VariableAggregation.ONLY_FIRST_REPLICA | {
"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 | [] | [
"Good to be merged for me :) We should update the `setup.py` in same time to do not limit anymore to TF 2.1. Should it be done in this PR? /cc @julien-c @LysandreJik ",
"I think you can cc @LysandreJik @julien-c ",
"Yes can you do it in the same PR? and it'll be ready to merge.",
"Nice! Unfortunately there ar... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | This PR updates the TF gradient accumulator optimization to make it compliant with the new TF 2.2. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4283/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4283/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4283",
"html_url": "https://github.com/huggingface/transformers/pull/4283",
"diff_url": "https://github.com/huggingface/transformers/pull/4283.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4283.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4282 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4282/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4282/comments | https://api.github.com/repos/huggingface/transformers/issues/4282/events | https://github.com/huggingface/transformers/pull/4282 | 615,859,029 | MDExOlB1bGxSZXF1ZXN0NDE2MDgzNjc3 | 4,282 | [Reformer] Add Enwiki8 Reformer Model - Adapt convert script | {
"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/4282?src=pr&el=h1) Report\n> Merging [#4282](https://codecov.io/gh/huggingface/transformers/pull/4282?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b290c32e1617fa74f44ccd8b83365fe764437be9&el=desc) will **increase... | 1,589 | 1,589 | 1,589 | MEMBER | null | This PR adapts the reformer conversion script to the newest trax code and adds `reformer-enwik8` to the docs. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4282/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4282/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4282",
"html_url": "https://github.com/huggingface/transformers/pull/4282",
"diff_url": "https://github.com/huggingface/transformers/pull/4282.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4282.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4281 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4281/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4281/comments | https://api.github.com/repos/huggingface/transformers/issues/4281/events | https://github.com/huggingface/transformers/pull/4281 | 615,850,656 | MDExOlB1bGxSZXF1ZXN0NDE2MDc2ODcx | 4,281 | Model card for bert-turkish-question-answering question-answering model | {
"login": "lserinol",
"id": 13028689,
"node_id": "MDQ6VXNlcjEzMDI4Njg5",
"avatar_url": "https://avatars.githubusercontent.com/u/13028689?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lserinol",
"html_url": "https://github.com/lserinol",
"followers_url": "https://api.github.com/users/lse... | [
{
"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/4281?src=pr&el=h1) Report\n> Merging [#4281](https://codecov.io/gh/huggingface/transformers/pull/4281?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b290c32e1617fa74f44ccd8b83365fe764437be9&el=desc) will **decrease... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | First model card for bert-turkish-question-answering question-answering model | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4281/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4281/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4281",
"html_url": "https://github.com/huggingface/transformers/pull/4281",
"diff_url": "https://github.com/huggingface/transformers/pull/4281.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4281.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4280 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4280/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4280/comments | https://api.github.com/repos/huggingface/transformers/issues/4280/events | https://github.com/huggingface/transformers/pull/4280 | 615,842,026 | MDExOlB1bGxSZXF1ZXN0NDE2MDY5NzY4 | 4,280 | Update model-card | {
"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",
... | [
{
"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,589 | 1,589 | 1,589 | CONTRIBUTOR | null | This PR is to:
- Fix the XTREME link.
- add the number of evaluation documents for each language.
- fix the usage piece of code to specify which framework to use. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4280/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4280/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4280",
"html_url": "https://github.com/huggingface/transformers/pull/4280",
"diff_url": "https://github.com/huggingface/transformers/pull/4280.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4280.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4279 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4279/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4279/comments | https://api.github.com/repos/huggingface/transformers/issues/4279/events | https://github.com/huggingface/transformers/pull/4279 | 615,749,989 | MDExOlB1bGxSZXF1ZXN0NDE1OTkzNTYx | 4,279 | Documentation: fix links to NER examples | {
"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": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"👍 \r\n"
] | 1,589 | 1,589 | 1,589 | COLLABORATOR | null | Hi,
this PR just fixes some links related to the NER examples :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4279/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4279/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4279",
"html_url": "https://github.com/huggingface/transformers/pull/4279",
"diff_url": "https://github.com/huggingface/transformers/pull/4279.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4279.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4278 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4278/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4278/comments | https://api.github.com/repos/huggingface/transformers/issues/4278/events | https://github.com/huggingface/transformers/issues/4278 | 615,663,406 | MDU6SXNzdWU2MTU2NjM0MDY= | 4,278 | Could you help with a huggingface/transformers pretrained models download link? | {
"login": "yucc2018",
"id": 13469346,
"node_id": "MDQ6VXNlcjEzNDY5MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/13469346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yucc2018",
"html_url": "https://github.com/yucc2018",
"followers_url": "https://api.github.com/users/yuc... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi, you can find the model identifiers in this JSON: https://huggingface.co/api/models\r\n\r\nThen you can get all files URLs by removing `bert/` from the objects' keys and prefixing with URL endpoint \"https://cdn.huggingface.co/\"",
"This issue has been automatically marked as stale because it has not had rece... | 1,589 | 1,595 | 1,595 | 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/4278/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4278/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4277 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4277/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4277/comments | https://api.github.com/repos/huggingface/transformers/issues/4277/events | https://github.com/huggingface/transformers/issues/4277 | 615,647,775 | MDU6SXNzdWU2MTU2NDc3NzU= | 4,277 | Use BART for longer documents | {
"login": "tuhinjubcse",
"id": 3104771,
"node_id": "MDQ6VXNlcjMxMDQ3NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3104771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tuhinjubcse",
"html_url": "https://github.com/tuhinjubcse",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"@thomwolf @sshleifer ",
"Yeah, here is working code for the copy approach, starting with bart-large-cnn weights.\r\n\r\n```python\r\nfrom copy import deepcopy\r\nfrom transformers import BartForConditionalGeneration\r\n\r\n# Get original model\r\nmodel = BartForConditionalGeneration.from_pretrained('bart-large-... | 1,589 | 1,648 | 1,589 | 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/4277/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/4277/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4276 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4276/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4276/comments | https://api.github.com/repos/huggingface/transformers/issues/4276/events | https://github.com/huggingface/transformers/pull/4276 | 615,636,419 | MDExOlB1bGxSZXF1ZXN0NDE1OTA1MjQ0 | 4,276 | Update README.md | {
"login": "savasy",
"id": 6584825,
"node_id": "MDQ6VXNlcjY1ODQ4MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6584825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/savasy",
"html_url": "https://github.com/savasy",
"followers_url": "https://api.github.com/users/savasy/foll... | [
{
"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,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4276/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4276/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4276",
"html_url": "https://github.com/huggingface/transformers/pull/4276",
"diff_url": "https://github.com/huggingface/transformers/pull/4276.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4276.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4275 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4275/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4275/comments | https://api.github.com/repos/huggingface/transformers/issues/4275/events | https://github.com/huggingface/transformers/issues/4275 | 615,579,698 | MDU6SXNzdWU2MTU1Nzk2OTg= | 4,275 | training script for any tensorflow based pre-trained model for question-answer | {
"login": "Akashdesarda",
"id": 26931751,
"node_id": "MDQ6VXNlcjI2OTMxNzUx",
"avatar_url": "https://avatars.githubusercontent.com/u/26931751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Akashdesarda",
"html_url": "https://github.com/Akashdesarda",
"followers_url": "https://api.github.c... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,594 | 1,594 | 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/4275/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4275/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4274 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4274/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4274/comments | https://api.github.com/repos/huggingface/transformers/issues/4274/events | https://github.com/huggingface/transformers/issues/4274 | 615,567,611 | MDU6SXNzdWU2MTU1Njc2MTE= | 4,274 | Wrong returns of API:get_special_tokens_mask() | {
"login": "ishikawa-takumi",
"id": 16411341,
"node_id": "MDQ6VXNlcjE2NDExMzQx",
"avatar_url": "https://avatars.githubusercontent.com/u/16411341?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ishikawa-takumi",
"html_url": "https://github.com/ishikawa-takumi",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Yes, this is https://github.com/huggingface/transformers/issues/1784 come again, the issue is in the doc, not in the code",
"Indeed, thanks for raising this issue."
] | 1,589 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Roberta
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x ] my own modified scripts: (give details below)
I use transformers tokenizer, a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4274/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4274/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4273 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4273/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4273/comments | https://api.github.com/repos/huggingface/transformers/issues/4273/events | https://github.com/huggingface/transformers/pull/4273 | 615,517,195 | MDExOlB1bGxSZXF1ZXN0NDE1ODExMjgw | 4,273 | Add migrating from `pytorch-transformers` | {
"login": "guoquan",
"id": 1118270,
"node_id": "MDQ6VXNlcjExMTgyNzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1118270?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guoquan",
"html_url": "https://github.com/guoquan",
"followers_url": "https://api.github.com/users/guoquan/... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
},
{
"id": 1897896961,
"node_id": "MDU6TGFiZWwxODk3O... | closed | false | null | [] | [
"LGTM"
] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | "Migrating from pytorch-transformers to transformers" is missing in the main document. It is available in the main `readme` thought. Just move it to the document. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4273/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4273/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4273",
"html_url": "https://github.com/huggingface/transformers/pull/4273",
"diff_url": "https://github.com/huggingface/transformers/pull/4273.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4273.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4272 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4272/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4272/comments | https://api.github.com/repos/huggingface/transformers/issues/4272/events | https://github.com/huggingface/transformers/issues/4272 | 615,511,571 | MDU6SXNzdWU2MTU1MTE1NzE= | 4,272 | FileNotFoundError when running distributed Trainer | {
"login": "shaoyent",
"id": 8154586,
"node_id": "MDQ6VXNlcjgxNTQ1ODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8154586?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shaoyent",
"html_url": "https://github.com/shaoyent",
"followers_url": "https://api.github.com/users/shaoy... | [] | closed | false | null | [] | [
"Yes, I think you're right. Relaunching training from a checkpoint would however require the user to copy the weights to other machines, right?",
"> Yes, I think you're right. Relaunching training from a checkpoint would however require the user to copy the weights to other machines, right?\r\n\r\nYes, loading fr... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | # 🐛 Bug
## Information
I'm running the language modeling example in distributed mode and am getting FileNotFoundError in the Trainer.
The error :
```
Traceback (most recent call last):
File "run_language_modeling.py", line 292, in <module>
main()
File "run_language_modeling.py", line 257, in main... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4272/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4272/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4271 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4271/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4271/comments | https://api.github.com/repos/huggingface/transformers/issues/4271/events | https://github.com/huggingface/transformers/issues/4271 | 615,477,229 | MDU6SXNzdWU2MTU0NzcyMjk= | 4,271 | Evaluating a checkpoint | {
"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... | [] | closed | false | null | [] | [
"Yes: you need to use the path to the saved model as the `--model_name_or_path` argument.\r\n\r\n`--model_name_or_path` is the argument that conditions which model is loaded.\r\n\r\nWill close this for now."
] | 1,589 | 1,589 | 1,589 | 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/4271/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4271/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4270 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4270/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4270/comments | https://api.github.com/repos/huggingface/transformers/issues/4270/events | https://github.com/huggingface/transformers/pull/4270 | 615,474,770 | MDExOlB1bGxSZXF1ZXN0NDE1Nzc5NzA3 | 4,270 | Add MultipleChoice to TFTrainer [WIP] | {
"login": "ViktorAlm",
"id": 1090762,
"node_id": "MDQ6VXNlcjEwOTA3NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1090762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ViktorAlm",
"html_url": "https://github.com/ViktorAlm",
"followers_url": "https://api.github.com/users/Vi... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
},
{
"id": 1834066408,
"node_id": "MDU6... | closed | false | null | [] | [
"Hey! \r\n\r\nThanks a lot for your contribution on the trainer :+1:\r\n\r\nYour PR looks great! Just have a small comment, see above. Don't hesitate if you have questions!",
"#4252 \r\n\r\n```\r\n05/11/2020 19:59:05 - INFO - oauth2client.transport - Attempting refresh to obtain initial access_token\r\nINFO:ten... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Working on getting the TF trainer running on TPUs for multiple choice. I'm quite the newb so input is needed.
- [x] Add 1 GPU strategy
- [x] Args for TPU Name
- [x] Add MPC example for TFTrainer
- [x] Fix docstrings
Examples:
GPU on Swag
https://colab.research.google.com/drive/1X9d1TY1I7r8d3rCJ9vWiy0UgvJ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4270/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4270/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4270",
"html_url": "https://github.com/huggingface/transformers/pull/4270",
"diff_url": "https://github.com/huggingface/transformers/pull/4270.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4270.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4269 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4269/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4269/comments | https://api.github.com/repos/huggingface/transformers/issues/4269/events | https://github.com/huggingface/transformers/pull/4269 | 615,470,891 | MDExOlB1bGxSZXF1ZXN0NDE1Nzc2OTc5 | 4,269 | [Jax] top_k_top_p | {
"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,589 | 1,590 | 1,590 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4269/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4269/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4269",
"html_url": "https://github.com/huggingface/transformers/pull/4269",
"diff_url": "https://github.com/huggingface/transformers/pull/4269.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4269.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4268 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4268/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4268/comments | https://api.github.com/repos/huggingface/transformers/issues/4268/events | https://github.com/huggingface/transformers/issues/4268 | 615,460,537 | MDU6SXNzdWU2MTU0NjA1Mzc= | 4,268 | KlDivBackward | {
"login": "alshahrani2030",
"id": 55197626,
"node_id": "MDQ6VXNlcjU1MTk3NjI2",
"avatar_url": "https://avatars.githubusercontent.com/u/55197626?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alshahrani2030",
"html_url": "https://github.com/alshahrani2030",
"followers_url": "https://api.gi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"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,589 | 1,594 | 1,594 | NONE | null | Hi,
I fine-tune bert and using KLDivLoss instead of CrossEntropyLoss in binary classification. when I call
loss.backward()
I got this error !?

Thank you in advance | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4268/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4268/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4267 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4267/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4267/comments | https://api.github.com/repos/huggingface/transformers/issues/4267/events | https://github.com/huggingface/transformers/pull/4267 | 615,443,765 | MDExOlB1bGxSZXF1ZXN0NDE1NzU3NTgx | 4,267 | useless chg | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4267/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4267/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4267",
"html_url": "https://github.com/huggingface/transformers/pull/4267",
"diff_url": "https://github.com/huggingface/transformers/pull/4267.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4267.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4266 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4266/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4266/comments | https://api.github.com/repos/huggingface/transformers/issues/4266/events | https://github.com/huggingface/transformers/pull/4266 | 615,443,223 | MDExOlB1bGxSZXF1ZXN0NDE1NzU3MTk1 | 4,266 | [CI] remove run_tests_torch_and_tf | {
"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 | [] | [
"(fixed git history locally for future PRs)",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4266?src=pr&el=h1) Report\n> Merging [#4266](https://codecov.io/gh/huggingface/transformers/pull/4266?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/3487be75ef8f0d51c... | 1,589 | 1,597 | 1,597 | CONTRIBUTOR | null | Problem:
This job is rerunning all tests, after `run_tests_torch` and `run_tests_tf` with both packages installed. Meaning that it ~doubles the runtime of CI and doesn't find very many bugs.
Solution: This changes `run_tests_torch_and_tf` to only run the tests that require both TF and torch | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4266/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4266/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4266",
"html_url": "https://github.com/huggingface/transformers/pull/4266",
"diff_url": "https://github.com/huggingface/transformers/pull/4266.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4266.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4265 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4265/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4265/comments | https://api.github.com/repos/huggingface/transformers/issues/4265/events | https://github.com/huggingface/transformers/issues/4265 | 615,442,286 | MDU6SXNzdWU2MTU0NDIyODY= | 4,265 | [DOCS] BertModel documentation doesn't mention the usage of tokenizers for creating input_ids | {
"login": "Sriharsha-hatwar",
"id": 14826535,
"node_id": "MDQ6VXNlcjE0ODI2NTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/14826535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sriharsha-hatwar",
"html_url": "https://github.com/Sriharsha-hatwar",
"followers_url": "https://... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,595 | 1,595 | NONE | null | Documentation of https://huggingface.co/transformers/model_doc/bert.html#transformers.BertModel.forward currently doesn't mention the usage of `tokenizers.BertWordPieceTokenizer` for instance when I am using BertModel.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4265/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4265/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4264 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4264/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4264/comments | https://api.github.com/repos/huggingface/transformers/issues/4264/events | https://github.com/huggingface/transformers/pull/4264 | 615,437,018 | MDExOlB1bGxSZXF1ZXN0NDE1NzUyNjQ4 | 4,264 | Align sentiment-analysis' tokenizer (currently cased) to the model (uncased) | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"LGTM, or even better we could duplicate those tokenizer files into `distilbert-base-uncased-finetuned-sst-2-english` as now we kind of assume that a model == model + tokenizer.",
"Merging this for now and can update to @julien-c's proposal in a future PR",
"Yeah, just wanted to ping @mfuntowicz on this model/t... | 1,589 | 1,589 | 1,589 | MEMBER | null | `sentiment-analysis` pipeline has a tokenizer using a cased vocab while the model is uncased.
This PR makes the tokenizer uncased to match the actual model's vocab. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4264/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4264/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4264",
"html_url": "https://github.com/huggingface/transformers/pull/4264",
"diff_url": "https://github.com/huggingface/transformers/pull/4264.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4264.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4263 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4263/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4263/comments | https://api.github.com/repos/huggingface/transformers/issues/4263/events | https://github.com/huggingface/transformers/issues/4263 | 615,365,353 | MDU6SXNzdWU2MTUzNjUzNTM= | 4,263 | Sentiment Analysis Pipeline is predicting incorrect sentiment in 2.9 | {
"login": "mabu-dev",
"id": 22409996,
"node_id": "MDQ6VXNlcjIyNDA5OTk2",
"avatar_url": "https://avatars.githubusercontent.com/u/22409996?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mabu-dev",
"html_url": "https://github.com/mabu-dev",
"followers_url": "https://api.github.com/users/mab... | [
{
"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 PR should fix the problem:\r\nhttps://github.com/huggingface/transformers/pull/4264\r\n\r\nA mismatched tokenizer is hooked up with the pipeline.",
"yes, you are right. \r\n\r\nI also tested all sentences both positive and negative. But it is showing NEGATIVE all the time.",
"> This PR should fix the prob... | 1,589 | 1,606 | 1,595 | NONE | null | # 🐛 Bug
Sentiment Analysis Pipeline is predicting incorrect sentiment. Everything seems to be NEGATIVE.
## To reproduce
Steps to reproduce the behavior:
Left a Colab Notebook here for reproducing: https://colab.research.google.com/drive/1hIwyBOGFpcLMUNmaKf5UYb0wPeYb4yKS?usp=sharing
`pip install -qU transfo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4263/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4263/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4262 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4262/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4262/comments | https://api.github.com/repos/huggingface/transformers/issues/4262/events | https://github.com/huggingface/transformers/issues/4262 | 615,343,457 | MDU6SXNzdWU2MTUzNDM0NTc= | 4,262 | NER Models not using BIO tagging scheme | {
"login": "guillaume-be",
"id": 27071604,
"node_id": "MDQ6VXNlcjI3MDcxNjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/27071604?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guillaume-be",
"html_url": "https://github.com/guillaume-be",
"followers_url": "https://api.github.c... | [
{
"id": 1834060867,
"node_id": "MDU6TGFiZWwxODM0MDYwODY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Ex:%20Named%20Entity%20Recognition",
"name": "Ex: Named Entity Recognition",
"color": "06FFD8",
"default": false,
"description": ""
}
] | closed | false | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [
{
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://a... | [
"Hi @guillaume-be , only the CoNLL-2003 models are using this IOB1 tagging scheme, because it is used in the original dataset. You could convert it (+ needs proper testing) but this requires a modification of the original dataset.\r\n\r\nI could train models e.g. on the WikiANN corpus (see [here](https://www.aclweb... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Hello,
I have noticed that most (all?) pre-trained models uploaded seem not to use the BIO tagging scheme, instead returning `I-xxx` and `O` for all categories (`B-xxx` is not used). I believe this is just caused by the way these models have been trained. This makes using these models in actual pipelines difficult a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4262/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/4262/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4261 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4261/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4261/comments | https://api.github.com/repos/huggingface/transformers/issues/4261/events | https://github.com/huggingface/transformers/issues/4261 | 615,341,240 | MDU6SXNzdWU2MTUzNDEyNDA= | 4,261 | I am training a bert model for question classification task, now it is a binary classifier. 0 for Descriptive question and 1 for not descriptive. While testing I am getting the following error :- | {
"login": "HarshMultani",
"id": 24610919,
"node_id": "MDQ6VXNlcjI0NjEwOTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/24610919?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HarshMultani",
"html_url": "https://github.com/HarshMultani",
"followers_url": "https://api.github.c... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"use torch.unsqueeze(0) on b_input_ids,b_input_masks so that they become of shape (batch_size(=1),dim)",
"This issue has been automati... | 1,589 | 1,600 | 1,600 | NONE | null | I have generated my model with the help of around 1700 questions
But when I am testing it for one question at a time and running
outputs = model(b_input_ids, token_type_ids=None, attention_mask=b_input_masks)
It is giving me the following error
ValueError: Wrong shape for input_ids (shape torch.Size([1]))... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4261/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4261/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4260 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4260/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4260/comments | https://api.github.com/repos/huggingface/transformers/issues/4260/events | https://github.com/huggingface/transformers/issues/4260 | 615,322,870 | MDU6SXNzdWU2MTUzMjI4NzA= | 4,260 | Strange Behaviour using Transformer pipline with FLASK | {
"login": "nimahm2020",
"id": 65104405,
"node_id": "MDQ6VXNlcjY1MTA0NDA1",
"avatar_url": "https://avatars.githubusercontent.com/u/65104405?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nimahm2020",
"html_url": "https://github.com/nimahm2020",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @nimahm2020, \r\n\r\nThanks for reporting. \r\nIt seems the tokenizer used for the default Sentiment Analysis pipeline was not aligned with the actual model. More precisely, the model is using an **uncased** vocab while the tokenizer is **cased**.\r\n\r\nI've opened a PR(#4264) to solve the issue, if you can/wa... | 1,589 | 1,594 | 1,594 | NONE | null | # ❓ Questions & Help
I am building a web-frame with Flask to run Transformer pipeline ( sentiment - analysis ) over Excel columns text.
However , In first try running Flask app , gives following error as :
ModuleNotFoundError: No module named 'tensorflow_core._api'
after few days, without any success,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4260/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4260/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4259 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4259/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4259/comments | https://api.github.com/repos/huggingface/transformers/issues/4259/events | https://github.com/huggingface/transformers/pull/4259 | 615,270,055 | MDExOlB1bGxSZXF1ZXN0NDE1NjM3NDI3 | 4,259 | Fix bug in sample code | {
"login": "joehalliwell",
"id": 8868,
"node_id": "MDQ6VXNlcjg4Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8868?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joehalliwell",
"html_url": "https://github.com/joehalliwell",
"followers_url": "https://api.github.com/users/joe... | [
{
"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 | [] | [
"It seems this example was not updated after #3734. This is not the correct way to do it, as it now requires the user to specify the entire context all the time. Will open a PR now.",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activit... | 1,589 | 1,594 | 1,594 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4259/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4259/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4259",
"html_url": "https://github.com/huggingface/transformers/pull/4259",
"diff_url": "https://github.com/huggingface/transformers/pull/4259.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4259.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4258 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4258/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4258/comments | https://api.github.com/repos/huggingface/transformers/issues/4258/events | https://github.com/huggingface/transformers/issues/4258 | 615,260,837 | MDU6SXNzdWU2MTUyNjA4Mzc= | 4,258 | Model call with `inputs_embeds` does not match that with `input_ids` | {
"login": "vman049",
"id": 7951895,
"node_id": "MDQ6VXNlcjc5NTE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7951895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vman049",
"html_url": "https://github.com/vman049",
"followers_url": "https://api.github.com/users/vman049/... | [] | closed | false | null | [] | [
"I was incorrectly treating the output of the first layer as the actual embedding lookup when it is in fact the embedding lookup *plus* positional and token type embeddings. See [here](https://stackoverflow.com/a/61704348/424306) for more details."
] | 1,589 | 1,589 | 1,589 | 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: my own modified scripts: (details below)
## To reproduce
Steps to reproduce the behavior:
```
import tensorflow as tf
from transformers ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4258/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4258/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4257 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4257/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4257/comments | https://api.github.com/repos/huggingface/transformers/issues/4257/events | https://github.com/huggingface/transformers/pull/4257 | 615,245,432 | MDExOlB1bGxSZXF1ZXN0NDE1NjIwMzE4 | 4,257 | added functionality for electra classification head | {
"login": "liuzzi",
"id": 3812369,
"node_id": "MDQ6VXNlcjM4MTIzNjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3812369?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liuzzi",
"html_url": "https://github.com/liuzzi",
"followers_url": "https://api.github.com/users/liuzzi/foll... | [] | closed | false | null | [] | [
"This is great, thanks @liuzzi!\r\n\r\nWe would need to add the corresponding tests. Can you do it, or would you like me to do it? If so, may I push directly on your fork?",
"@LysandreJik sure! i just invited you to collaborate. I haven't been inside the transformers testing code so it'd probably be much faster ... | 1,589 | 1,590 | 1,590 | CONTRIBUTOR | null | Added functionality for an electra classification head following the google repo.
Tested and trains fine with the run_glue script. I was testing on my own repurposed classification problems so i didnt evaluate the actual GLUE accuracies, but can confirm that it is getting competitive results on my own problems.
Sa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4257/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4257/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4257",
"html_url": "https://github.com/huggingface/transformers/pull/4257",
"diff_url": "https://github.com/huggingface/transformers/pull/4257.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4257.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4256 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4256/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4256/comments | https://api.github.com/repos/huggingface/transformers/issues/4256/events | https://github.com/huggingface/transformers/issues/4256 | 615,238,397 | MDU6SXNzdWU2MTUyMzgzOTc= | 4,256 | Vaswani's Transformer (Encoder-Decoder) decoding methods | {
"login": "manzar96",
"id": 38495091,
"node_id": "MDQ6VXNlcjM4NDk1MDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/38495091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manzar96",
"html_url": "https://github.com/manzar96",
"followers_url": "https://api.github.com/users/man... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hello @manzar96 \r\nThe `.generate` method can be used with any HF model with a LM head on top.",
"Ok thank you.\r\nSo it can be used only with those models https://pytorch.org/hub/huggingface_pytorch-transformers/ (having a LM head on top) ",
"This issue has been automatically marked as stale because it has n... | 1,589 | 1,594 | 1,594 | NONE | null | Hi,
I recently studied this blog https://huggingface.co/blog/how-to-generate for using different decoding methods with PreTrained Models.
I would like to ask if it is possible to use those methods with the simple Encoder-Decoder Transformer model (as mentioned in Vaswani's paper) (as it is available in pytorch l... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4256/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4256/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4255 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4255/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4255/comments | https://api.github.com/repos/huggingface/transformers/issues/4255/events | https://github.com/huggingface/transformers/pull/4255 | 615,204,838 | MDExOlB1bGxSZXF1ZXN0NDE1NTkzNjgy | 4,255 | bert uncased models needs lower casing option turned on in the example code. | {
"login": "rsanjaykamath",
"id": 18527321,
"node_id": "MDQ6VXNlcjE4NTI3MzIx",
"avatar_url": "https://avatars.githubusercontent.com/u/18527321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rsanjaykamath",
"html_url": "https://github.com/rsanjaykamath",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Those models should contain config that initializes their tokenizer with the correct `do_lower_case=True` option. Is this not the case?\r\n\r\ni.e. we are moving the tokenizer configuration out of those example scripts (see updated scripts for `Trainer` at https://github.com/huggingface/transformers/tree/master/ex... | 1,589 | 1,590 | 1,590 | NONE | null | The command to replicate bert-base-uncased model and bert-large-uncased-whole-word-masking model results on Squad requires --do_lower_case to be used. If not, the result is low. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4255/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4255/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4255",
"html_url": "https://github.com/huggingface/transformers/pull/4255",
"diff_url": "https://github.com/huggingface/transformers/pull/4255.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4255.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4254 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4254/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4254/comments | https://api.github.com/repos/huggingface/transformers/issues/4254/events | https://github.com/huggingface/transformers/issues/4254 | 615,192,621 | MDU6SXNzdWU2MTUxOTI2MjE= | 4,254 | 'utf-8' codec can't decode byte 0x80 in position 229888: invalid start byte | {
"login": "codehunk628",
"id": 51091425,
"node_id": "MDQ6VXNlcjUxMDkxNDI1",
"avatar_url": "https://avatars.githubusercontent.com/u/51091425?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/codehunk628",
"html_url": "https://github.com/codehunk628",
"followers_url": "https://api.github.com/... | [
{
"id": 1834081910,
"node_id": "MDU6TGFiZWwxODM0MDgxOTEw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Usage",
"name": "Usage",
"color": "e28436",
"default": false,
"description": "General questions about the library"
}
] | closed | false | null | [] | [
"I don't think you can load .tars directly. Simply use the name as described in [the model page](https://huggingface.co/allenai/scibert_scivocab_uncased), and it should work.\r\n\r\n```python\r\ntokenizer = AutoTokenizer.from_pretrained(\"allenai/scibert_scivocab_uncased\")\r\n```",
"Thank You @BramVanroy .\r\nIt... | 1,589 | 1,589 | 1,589 | NONE | null | os : google colab
from transformers import *
tokenizer = AutoTokenizer.from_pretrained('https://s3-us-west-2.amazonaws.com/ai2-s2-research/scibert/huggingface_pytorch/scibert_scivocab_uncased.tar')

| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4254/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4254/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4253 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4253/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4253/comments | https://api.github.com/repos/huggingface/transformers/issues/4253/events | https://github.com/huggingface/transformers/pull/4253 | 615,177,257 | MDExOlB1bGxSZXF1ZXN0NDE1NTc2MTE2 | 4,253 | Conversion script to export transformers models to ONNX IR. | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4253?src=pr&el=h1) Report\n> Merging [#4253](https://codecov.io/gh/huggingface/transformers/pull/4253?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c558761ad11beba5e70dd505e1c97bdc4eb6ee9c&el=desc) will **not chan... | 1,589 | 1,589 | 1,589 | MEMBER | null | This PR adds conversion script to export our models to ONNX IR.
Plan is to support both PyTorch and TensorFlow:
- [x] PyTorch
- [x] TensorFlow
TensorFlow currently blocked because of an issue in the conversion script provided by ONNX (seems fixed on master : https://github.com/onnx/tensorflow-onnx/issues/87... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4253/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/4253/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4253",
"html_url": "https://github.com/huggingface/transformers/pull/4253",
"diff_url": "https://github.com/huggingface/transformers/pull/4253.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4253.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4252 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4252/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4252/comments | https://api.github.com/repos/huggingface/transformers/issues/4252/events | https://github.com/huggingface/transformers/issues/4252 | 615,175,259 | MDU6SXNzdWU2MTUxNzUyNTk= | 4,252 | How to specify a TPU IP for run_tf_glue.py? | {
"login": "mar-muel",
"id": 19345805,
"node_id": "MDQ6VXNlcjE5MzQ1ODA1",
"avatar_url": "https://avatars.githubusercontent.com/u/19345805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mar-muel",
"html_url": "https://github.com/mar-muel",
"followers_url": "https://api.github.com/users/mar... | [
{
"id": 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 | [] | [
"TPUs can be autodiscovered if you use them through AI-platform by running the trainer with `gcloud ai-platform jobs submit training ...` This is the advised usage of TPUs I put in the trainer.\r\n\r\nNevertheless if your want to use it through its name, this is done in the following PR #4270 thanks to @ViktorAlm",... | 1,589 | 1,595 | 1,595 | CONTRIBUTOR | null | Hi team!
I have a VM on Google Cloud and a TPU. When running your example script `run_tf_glue.py` there is no option for specifying a TPU IP. It seems like the TPU cannot be auto-discovered and then training falls back to training on CPU 🐢 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4252/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4252/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4251 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4251/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4251/comments | https://api.github.com/repos/huggingface/transformers/issues/4251/events | https://github.com/huggingface/transformers/issues/4251 | 615,170,658 | MDU6SXNzdWU2MTUxNzA2NTg= | 4,251 | Encoder - Decoder loading wrong weights and missing decoders | {
"login": "flozi00",
"id": 47894090,
"node_id": "MDQ6VXNlcjQ3ODk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flozi00",
"html_url": "https://github.com/flozi00",
"followers_url": "https://api.github.com/users/flozi0... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Roberta as encoder and Bert as decoder
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
* [x] my own task or datas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4251/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4251/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4250 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4250/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4250/comments | https://api.github.com/repos/huggingface/transformers/issues/4250/events | https://github.com/huggingface/transformers/issues/4250 | 615,152,099 | MDU6SXNzdWU2MTUxNTIwOTk= | 4,250 | [Request] NER Scripts on CoNLL 2003 dataset | {
"login": "gyuwankim",
"id": 13251652,
"node_id": "MDQ6VXNlcjEzMjUxNjUy",
"avatar_url": "https://avatars.githubusercontent.com/u/13251652?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gyuwankim",
"html_url": "https://github.com/gyuwankim",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834060867,
"node_id": "MDU6TGFiZWwxODM0MDYwODY3",
... | closed | false | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [
{
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://a... | [
"Hi @gyuwankim the problem with English CoNLL dataset is, that it is not freely available (because it requires access to Reuters corpora in order to create it from scratch with the provided scripts).\r\n\r\nYou can find the dataset somehow on GitHub, but legally this is very dubious (and you have no guarantee that ... | 1,589 | 1,595 | 1,595 | NONE | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
## Motivation
Current NER scripts (data preparation, train, and evaluation) is for the GermEval 2014 dataset.
It is very nice. However, according to the or... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4250/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/4250/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4249 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4249/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4249/comments | https://api.github.com/repos/huggingface/transformers/issues/4249/events | https://github.com/huggingface/transformers/pull/4249 | 615,142,341 | MDExOlB1bGxSZXF1ZXN0NDE1NTUyNjYx | 4,249 | [docs] fix typo | {
"login": "flozi00",
"id": 47894090,
"node_id": "MDQ6VXNlcjQ3ODk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flozi00",
"html_url": "https://github.com/flozi00",
"followers_url": "https://api.github.com/users/flozi0... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | replace sequence classification with question answering in AutoModelForQuestionAnswering class | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4249/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4249/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4249",
"html_url": "https://github.com/huggingface/transformers/pull/4249",
"diff_url": "https://github.com/huggingface/transformers/pull/4249.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4249.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4248 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4248/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4248/comments | https://api.github.com/repos/huggingface/transformers/issues/4248/events | https://github.com/huggingface/transformers/issues/4248 | 615,142,250 | MDU6SXNzdWU2MTUxNDIyNTA= | 4,248 | sentiment analysis pipeline provides option to output the original rating than positive/negative tags | {
"login": "junhua",
"id": 3516360,
"node_id": "MDQ6VXNlcjM1MTYzNjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3516360?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/junhua",
"html_url": "https://github.com/junhua",
"followers_url": "https://api.github.com/users/junhua/foll... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | 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,589 | 1,594 | 1,594 | NONE | null | It'd be helpful to provide an option for sentiment analysis pipeline output the original ratings rather than the positive/negative tags.
Also the documentation doesn't really explain what the output scores mean.. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4248/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4248/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4247 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4247/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4247/comments | https://api.github.com/repos/huggingface/transformers/issues/4247/events | https://github.com/huggingface/transformers/pull/4247 | 615,111,074 | MDExOlB1bGxSZXF1ZXN0NDE1NTMwMjA2 | 4,247 | removed variable api from pplm example | {
"login": "prajjwal1",
"id": 24690051,
"node_id": "MDQ6VXNlcjI0NjkwMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/24690051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prajjwal1",
"html_url": "https://github.com/prajjwal1",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Same as previous [PR](https://github.com/huggingface/transformers/pull/4156) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4247/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4247/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4247",
"html_url": "https://github.com/huggingface/transformers/pull/4247",
"diff_url": "https://github.com/huggingface/transformers/pull/4247.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4247.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4246 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4246/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4246/comments | https://api.github.com/repos/huggingface/transformers/issues/4246/events | https://github.com/huggingface/transformers/issues/4246 | 615,077,459 | MDU6SXNzdWU2MTUwNzc0NTk= | 4,246 | Structuring Dataset for Fine Tuning GPT-2 with Song Lyrics? | {
"login": "1337-Pete",
"id": 43712596,
"node_id": "MDQ6VXNlcjQzNzEyNTk2",
"avatar_url": "https://avatars.githubusercontent.com/u/43712596?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/1337-Pete",
"html_url": "https://github.com/1337-Pete",
"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 | [] | [
"By the way, did this approach work for you? I tried a similar one and I couldn't stop getting an error about incompatible output shapes when calculating sparse categorical accuracy.",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activi... | 1,588 | 1,636 | 1,599 | NONE | null | I'm looking to fine tune a GPT-2 model with several songs from the same artist. However, I'm not exactly sure how I should be feeding nearly 300 songs into the model to learn from.
Currently, I'm breaking the lyrics into blocks of 100 and feeding them into my model:
```
lyrics = open('/JayZ_lyrics.txt', "r", enc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4246/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/4246/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4245 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4245/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4245/comments | https://api.github.com/repos/huggingface/transformers/issues/4245/events | https://github.com/huggingface/transformers/pull/4245 | 615,073,186 | MDExOlB1bGxSZXF1ZXN0NDE1NTAxODQz | 4,245 | Add back option --do_lower_case in SQuAD for uncased models | {
"login": "airsplay",
"id": 2796554,
"node_id": "MDQ6VXNlcjI3OTY1NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2796554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/airsplay",
"html_url": "https://github.com/airsplay",
"followers_url": "https://api.github.com/users/airsp... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4245?src=pr&el=h1) Report\n> Merging [#4245](https://codecov.io/gh/huggingface/transformers/pull/4245?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7b75aa9fa55bee577e2c7403301ed31103125a35&el=desc) will **increase... | 1,588 | 1,590 | 1,590 | CONTRIBUTOR | null | The option `--do_lower_case` is currently needed by the uncased models (i.e., bert-base-uncased, bert-large-uncased). The results w/ and w/o this option are shown below.
The option was deleted in the current v2.9.0 version so this PR tries to add it back. This would not affect the cased models (i.e., RoBERTa, XLNet... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4245/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4245/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4245",
"html_url": "https://github.com/huggingface/transformers/pull/4245",
"diff_url": "https://github.com/huggingface/transformers/pull/4245.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4245.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4244 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4244/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4244/comments | https://api.github.com/repos/huggingface/transformers/issues/4244/events | https://github.com/huggingface/transformers/pull/4244 | 615,053,367 | MDExOlB1bGxSZXF1ZXN0NDE1NDg3MDYz | 4,244 | Allow gpt2 to be exported to valid ONNX | {
"login": "tianleiwu",
"id": 30328909,
"node_id": "MDQ6VXNlcjMwMzI4OTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/30328909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tianleiwu",
"html_url": "https://github.com/tianleiwu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@LysandreJik failing unittest seems unrelated to the change-set introduced in this PR",
"Indeed @mfuntowicz "
] | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | Problem: gpt2 model and other models using gelu_new or gelu_fast cannot be exported to valid ONNX model.
Causes:
PyTorch will export some constants like 1 or 2 as int64, while ONNX operators like [Add](https://github.com/onnx/onnx/blob/master/docs/Operators.md#Add) and [Pow](https://github.com/onnx/onnx/blob/master... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4244/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/4244/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4244",
"html_url": "https://github.com/huggingface/transformers/pull/4244",
"diff_url": "https://github.com/huggingface/transformers/pull/4244.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4244.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4243 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4243/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4243/comments | https://api.github.com/repos/huggingface/transformers/issues/4243/events | https://github.com/huggingface/transformers/pull/4243 | 615,048,944 | MDExOlB1bGxSZXF1ZXN0NDE1NDgzNjM3 | 4,243 | Distributed eval: SequentialDistributedSampler + gather all results | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4243?src=pr&el=h1) Report\n> Merging [#4243](https://codecov.io/gh/huggingface/transformers/pull/4243?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2d05480174c736399c212b3d60b8774fbbf2b6c2&el=desc) will **decrease... | 1,588 | 1,589 | 1,589 | MEMBER | null | As discussed in #3944
In our [**`Trainer`**](https://github.com/huggingface/transformers/blob/master/src/transformers/trainer.py), in torch.distributed mode, eval/predict are currently running on a single node. This PR attempts to fix this.
This relies on:
- a custom `DistributedSampler` named SequentialDistribu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4243/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4243/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4243",
"html_url": "https://github.com/huggingface/transformers/pull/4243",
"diff_url": "https://github.com/huggingface/transformers/pull/4243.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4243.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4242 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4242/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4242/comments | https://api.github.com/repos/huggingface/transformers/issues/4242/events | https://github.com/huggingface/transformers/pull/4242 | 614,926,172 | MDExOlB1bGxSZXF1ZXN0NDE1MzgzNDIz | 4,242 | Reformer self attention mask value not converted in apex half precision | {
"login": "theblackcat102",
"id": 13172147,
"node_id": "MDQ6VXNlcjEzMTcyMTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/13172147?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/theblackcat102",
"html_url": "https://github.com/theblackcat102",
"followers_url": "https://api.gi... | [
{
"id": 2052904485,
"node_id": "MDU6TGFiZWwyMDUyOTA0NDg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/reformer",
"name": "reformer",
"color": "5319e7",
"default": false,
"description": "Everything related to the reformer model"
}
] | 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... | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4242?src=pr&el=h1) Report\n> Merging [#4242](https://codecov.io/gh/huggingface/transformers/pull/4242?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7b75aa9fa55bee577e2c7403301ed31103125a35&el=desc) will **increase... | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using Reformer:
Language I am using the model on English:
The problem arises when using:
* [ x] my own modified scripts: (give details below)
The tasks I am working on is:
* [x ] my own task or dataset: (give details below)
## To reproduce
Steps to reproduce the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4242/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4242/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4242",
"html_url": "https://github.com/huggingface/transformers/pull/4242",
"diff_url": "https://github.com/huggingface/transformers/pull/4242.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4242.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4241 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4241/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4241/comments | https://api.github.com/repos/huggingface/transformers/issues/4241/events | https://github.com/huggingface/transformers/issues/4241 | 614,925,412 | MDU6SXNzdWU2MTQ5MjU0MTI= | 4,241 | Reformer self attention mask value not converted in apex half precision | {
"login": "theblackcat102",
"id": 13172147,
"node_id": "MDQ6VXNlcjEzMTcyMTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/13172147?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/theblackcat102",
"html_url": "https://github.com/theblackcat102",
"followers_url": "https://api.gi... | [
{
"id": 2052904485,
"node_id": "MDU6TGFiZWwyMDUyOTA0NDg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/reformer",
"name": "reformer",
"color": "5319e7",
"default": false,
"description": "Everything related to the reformer model"
}
] | 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 have submitted a pull request in #4242 ",
"Awesome I will take a look - thanks for the PR :-) "
] | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using Reformer:
Language I am using the model on English:
The problem arises when using:
* [ x] my own modified scripts: (give details below)
The tasks I am working on is:
* [x ] my own task or dataset: (give details below)
## To reproduce
Steps to reproduce the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4241/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4241/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4240 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4240/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4240/comments | https://api.github.com/repos/huggingface/transformers/issues/4240/events | https://github.com/huggingface/transformers/issues/4240 | 614,914,937 | MDU6SXNzdWU2MTQ5MTQ5Mzc= | 4,240 | RuntimeError: expected device cpu but got device cuda:0 | {
"login": "zaowad",
"id": 29595623,
"node_id": "MDQ6VXNlcjI5NTk1NjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/29595623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zaowad",
"html_url": "https://github.com/zaowad",
"followers_url": "https://api.github.com/users/zaowad/fo... | [] | closed | false | null | [] | [
"Try initialize the model in the trainer script from transformers with self.model = model.cuda()",
"I am getting the same error. Is there work around ? \r\nWhat @tebandesade mentioned didnt work out for.",
"I faced the same problem with RoBERTa pretraining, however inserting line model = model.cuda() before tr... | 1,588 | 1,590 | 1,589 | NONE | null | I am traing a roberta model and running the script examples/run_language_modeling.py
The following error occurs when i am trying to resume training.
Traceback (most recent call last):
File "examples/run_language_modeling.py", line 284, in <module>
main()
File "examples/run_language_modeling.py", line 254, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4240/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4240/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4239 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4239/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4239/comments | https://api.github.com/repos/huggingface/transformers/issues/4239/events | https://github.com/huggingface/transformers/issues/4239 | 614,909,295 | MDU6SXNzdWU2MTQ5MDkyOTU= | 4,239 | distilbert-base-uncased | {
"login": "anitaj-j",
"id": 24881797,
"node_id": "MDQ6VXNlcjI0ODgxNzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/24881797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anitaj-j",
"html_url": "https://github.com/anitaj-j",
"followers_url": "https://api.github.com/users/ani... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"hi! did you find a solution? I got the same problem!",
"I have the same problem with a freshly installed version. Any ideas?",
"This can happen if there is a network or firewall issue that prevents the `transformers` library from downloading the required files. To replicate on a laptop, you can delete the ca... | 1,588 | 1,608 | 1,603 | NONE | null | # 🐛 Bug/Question
## Information
am trying to execute :
**import ktrain
from ktrain import text
MODEL_NAME='distilbert-base-uncased'
t=text.Transformer(MODEL_NAME, maxlen=500, classes=np.unique(y_train))**
I get the following error:
OSError: Model name 'distilbert-base-uncased' was not found in t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4239/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4239/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4238 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4238/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4238/comments | https://api.github.com/repos/huggingface/transformers/issues/4238/events | https://github.com/huggingface/transformers/pull/4238 | 614,824,863 | MDExOlB1bGxSZXF1ZXN0NDE1MzAwNzcz | 4,238 | [tests] make pipelines tests faster with smaller models | {
"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/4238?src=pr&el=h1) Report\n> Merging [#4238](https://codecov.io/gh/huggingface/transformers/pull/4238?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/274d850d340c0004ee63627c88c433d0e55f5876&el=desc) will **increase... | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | - speedup: 8mins -> 90s on 1 CPU
- besides `test_fill_mask` the removed coverage was not meaningful, only shapes were being checked.
- Would be happy to continue for TF or get help.
- could use these in some examples tests also.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4238/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4238/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4238",
"html_url": "https://github.com/huggingface/transformers/pull/4238",
"diff_url": "https://github.com/huggingface/transformers/pull/4238.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4238.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4237 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4237/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4237/comments | https://api.github.com/repos/huggingface/transformers/issues/4237/events | https://github.com/huggingface/transformers/issues/4237 | 614,788,550 | MDU6SXNzdWU2MTQ3ODg1NTA= | 4,237 | Only self-attention returned when output_attentions = True for BERT | {
"login": "YovaKem",
"id": 29899597,
"node_id": "MDQ6VXNlcjI5ODk5NTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/29899597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YovaKem",
"html_url": "https://github.com/YovaKem",
"followers_url": "https://api.github.com/users/YovaKe... | [
{
"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,588 | 1,594 | 1,594 | NONE | null | # 🐛 Bug
```
if self.output_attentions:
all_attentions = all_attentions + (layer_outputs[1],)
```
should be
```
if self.output_attentions:
all_attentions = all_attentions + (layer_outputs[1:],)
```
## Information
Line 412 [here](https://github.com/huggingface/transformers/blob... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4237/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4237/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4236 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4236/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4236/comments | https://api.github.com/repos/huggingface/transformers/issues/4236/events | https://github.com/huggingface/transformers/pull/4236 | 614,778,455 | MDExOlB1bGxSZXF1ZXN0NDE1MjYzNjE1 | 4,236 | Pipelines: use tokenizer.max_len | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4236?src=pr&el=h1) Report\n> Merging [#4236](https://codecov.io/gh/huggingface/transformers/pull/4236?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/cf08830c2868c5335b1657f95779f370862e3a28&el=desc) will **decrease... | 1,588 | 1,592 | 1,592 | CONTRIBUTOR | null | fix #4224 by passing tokenizer.max_len to `tokenizer.batch_encode_plus`
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4236/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4236/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4236",
"html_url": "https://github.com/huggingface/transformers/pull/4236",
"diff_url": "https://github.com/huggingface/transformers/pull/4236.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4236.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4235 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4235/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4235/comments | https://api.github.com/repos/huggingface/transformers/issues/4235/events | https://github.com/huggingface/transformers/issues/4235 | 614,768,404 | MDU6SXNzdWU2MTQ3Njg0MDQ= | 4,235 | Error importing Reformer model | {
"login": "bayomim",
"id": 5493593,
"node_id": "MDQ6VXNlcjU0OTM1OTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5493593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bayomim",
"html_url": "https://github.com/bayomim",
"followers_url": "https://api.github.com/users/bayomim/... | [] | closed | false | null | [] | [
"I think you only need to update the library.\r\nVersion 2.9, released esterday, contains the reformer model",
"Thanks, \r\nInstalling Version 2.9.0 solved the issue"
] | 1,588 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
## Information
I am trying to import the Reformer model as in here:
https://huggingface.co/transformers/model_doc/reformer.html
'''
from transformers import ReformerModel, ReformerConfig
'''
However, I am getting the following error:
ImportError: cannot import name 'ReformerModel' from 'transformer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4235/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4235/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4234 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4234/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4234/comments | https://api.github.com/repos/huggingface/transformers/issues/4234/events | https://github.com/huggingface/transformers/issues/4234 | 614,767,184 | MDU6SXNzdWU2MTQ3NjcxODQ= | 4,234 | [infra] make a tiny "distilroberta-base" to speed up test_pipelines.py and test_examples.py | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [] | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | put it in a user namespace on s3 like `sshleifer/tiny-distilroberta`
doing the same for distilbert-base would probably also help. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4234/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4234/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4233 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4233/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4233/comments | https://api.github.com/repos/huggingface/transformers/issues/4233/events | https://github.com/huggingface/transformers/issues/4233 | 614,762,177 | MDU6SXNzdWU2MTQ3NjIxNzc= | 4,233 | How can I mute the info from BertTokenizerFast.encode_plus | {
"login": "131250208",
"id": 7437595,
"node_id": "MDQ6VXNlcjc0Mzc1OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7437595?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/131250208",
"html_url": "https://github.com/131250208",
"followers_url": "https://api.github.com/users/13... | [
{
"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,588 | 1,594 | 1,594 | NONE | null | # 🐛 Bug
## Information
Model I am using:
Bert
Language I am using the model on (English, Chinese ...):
Chinese
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
```python
tokenizer.encode_plus(...)
```
Every ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4233/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/4233/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4232 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4232/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4232/comments | https://api.github.com/repos/huggingface/transformers/issues/4232/events | https://github.com/huggingface/transformers/issues/4232 | 614,733,144 | MDU6SXNzdWU2MTQ3MzMxNDQ= | 4,232 | MarianMTModel: Runtime Errors | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"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... | [
"Fixed on S3.\r\n"
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | 11/1010 models cannot me loaded because of state_dict mismatches (not tokenizer).
```python
failing = ['sv-tpi',
'fi-en',
'sv-ty',
'sv-toi',
'en-st',
'en-tl',
'sv-ts',
'sv-tvl',
'en-fi',
'en-ml',
'fi-sv']
for mname in failing:
slug = f'opus-mt-{mname}'
MarianMTModel.from_pretrained(slug)
`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4232/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4232/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4231 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4231/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4231/comments | https://api.github.com/repos/huggingface/transformers/issues/4231/events | https://github.com/huggingface/transformers/issues/4231 | 614,704,731 | MDU6SXNzdWU2MTQ3MDQ3MzE= | 4,231 | Strange difference between NER results in 2.8.0 and previous versions | {
"login": "pvcastro",
"id": 12713359,
"node_id": "MDQ6VXNlcjEyNzEzMzU5",
"avatar_url": "https://avatars.githubusercontent.com/u/12713359?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pvcastro",
"html_url": "https://github.com/pvcastro",
"followers_url": "https://api.github.com/users/pvc... | [
{
"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": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [
{
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://a... | [
"FYI, ran in 2.9.0 as well and got the same results.",
"Hi @pvcastro , so the CoNLL results are looking good 🤔 Because there's an improviment with 2.8.\r\n\r\nRegarding to HAREM: Could you verify that there's a `tokenizer_config.json` located in the `/home/models/albert/base_pt_brwac_en/albert_ckp_1176k` folder?... | 1,588 | 1,596 | 1,596 | NONE | null | # 🐛 Bug
## Information
Model I am using: Albert
Language I am using the model on: English and Portuguese
The problem arises when using:
* [ ] the official example scripts: (give details below)
The tasks I am working on is:
* [ ] my own task or dataset: (give details below)
## To reproduce
Not su... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4231/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4231/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4230 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4230/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4230/comments | https://api.github.com/repos/huggingface/transformers/issues/4230/events | https://github.com/huggingface/transformers/pull/4230 | 614,683,612 | MDExOlB1bGxSZXF1ZXN0NDE1MTg3Mzgw | 4,230 | example updated to use generation pipeline | {
"login": "LoreDema",
"id": 7656158,
"node_id": "MDQ6VXNlcjc2NTYxNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7656158?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LoreDema",
"html_url": "https://github.com/LoreDema",
"followers_url": "https://api.github.com/users/LoreD... | [
{
"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 | [] | [
"That's great, thanks! cc @patrickvonplaten for the text-generation pipeline"
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4230/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4230/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4230",
"html_url": "https://github.com/huggingface/transformers/pull/4230",
"diff_url": "https://github.com/huggingface/transformers/pull/4230.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4230.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4229 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4229/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4229/comments | https://api.github.com/repos/huggingface/transformers/issues/4229/events | https://github.com/huggingface/transformers/issues/4229 | 614,660,602 | MDU6SXNzdWU2MTQ2NjA2MDI= | 4,229 | Problem with BertTokenizer using additional_special_tokens | {
"login": "pvcastro",
"id": 12713359,
"node_id": "MDQ6VXNlcjEyNzEzMzU5",
"avatar_url": "https://avatars.githubusercontent.com/u/12713359?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pvcastro",
"html_url": "https://github.com/pvcastro",
"followers_url": "https://api.github.com/users/pvc... | [
{
"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've also confronted this issue. \r\nIn my case, with `transformers v2.8.0` it correctly splits special token. \r\nBut from `v2.9.0`, it splits the special tokens like `'[', 'e', '##11', ']'`. It's quite weird...",
"This issue has been automatically marked as stale because it has not had recent activity. It will... | 1,588 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
## Information
Model I am using: Bert (bert-base-uncased)
Language I am using the model on: English
The problem arises when using:
* [ ] the official example scripts: (give details below)
The tasks I am working on is:
* [ ] my own task or dataset: (give details below)
## To reproduce
Ste... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4229/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4229/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4228 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4228/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4228/comments | https://api.github.com/repos/huggingface/transformers/issues/4228/events | https://github.com/huggingface/transformers/issues/4228 | 614,649,997 | MDU6SXNzdWU2MTQ2NDk5OTc= | 4,228 | Reformer tokenizer not working | {
"login": "prajjwal1",
"id": 24690051,
"node_id": "MDQ6VXNlcjI0NjkwMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/24690051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prajjwal1",
"html_url": "https://github.com/prajjwal1",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | # 🐛 Bug
`TextDataset` throws out of index error.
## Information
```
model_args = ModelArguments(model_name_or_path = 'Reformer',
config_name = 'ReformerConfig',
tokenizer_name = 'ReformerTokenizer')
training_args = TrainingArguments(output_dir = '/tmp', do... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4228/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4228/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4227 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4227/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4227/comments | https://api.github.com/repos/huggingface/transformers/issues/4227/events | https://github.com/huggingface/transformers/issues/4227 | 614,616,649 | MDU6SXNzdWU2MTQ2MTY2NDk= | 4,227 | 2.9.0 Padding Bug | {
"login": "pashok3d",
"id": 35535358,
"node_id": "MDQ6VXNlcjM1NTM1MzU4",
"avatar_url": "https://avatars.githubusercontent.com/u/35535358?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pashok3d",
"html_url": "https://github.com/pashok3d",
"followers_url": "https://api.github.com/users/pas... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
... | closed | false | null | [] | [
"Can you provide a smaller reproduction case?",
"```\r\n# Downloading pre-trained model\r\n!wget https://github.com/sdadas/polish-roberta/releases/download/models/roberta_base_transformers.zip\r\n!unzip roberta_base_transformers.zip -d roberta_base_transformers\r\n!pip install transformers -q\r\n\r\nfrom tokenize... | 1,588 | 1,604 | 1,598 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): **Roberta with RobertaForSequenceClassification head**
Language I am using the model on (English, Chinese ...): **Polish**
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (giv... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4227/reactions",
"total_count": 6,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4227/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4226 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4226/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4226/comments | https://api.github.com/repos/huggingface/transformers/issues/4226/events | https://github.com/huggingface/transformers/pull/4226 | 614,585,645 | MDExOlB1bGxSZXF1ZXN0NDE1MTA5Nzk0 | 4,226 | Simplify cache vars and allow for TRANSFORMERS_CACHE env | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,588 | 1,589 | 1,589 | COLLABORATOR | null | As it currently stands, "TRANSFORMERS_CACHE" is not an accepted environment variable. It seems that the these variables were not updated when moving from version pytorch_transformers to transformers. In addition, the fallback procedure could be improved. and simplified. Pathlib seems redundant here.
This PR:
- ad... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4226/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4226/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4226",
"html_url": "https://github.com/huggingface/transformers/pull/4226",
"diff_url": "https://github.com/huggingface/transformers/pull/4226.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4226.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4225 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4225/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4225/comments | https://api.github.com/repos/huggingface/transformers/issues/4225/events | https://github.com/huggingface/transformers/issues/4225 | 614,514,275 | MDU6SXNzdWU2MTQ1MTQyNzU= | 4,225 | [Reformer/Longformer] Add cross-attention layers for Encoder-Decoder setting | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"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... | [
"It's a good question. I originally thought it will be quite easy to add - but it's not going to be that trivial.\r\n\r\nFor the encoder-decoder setting, we need a lsh cross attention layer that receives different embeddings for query and keys so that the usual LSH hashing method does not work. \r\n\r\nIt will prob... | 1,588 | 1,602 | 1,602 | MEMBER | null | # ❓ Questions & Help
## Details
It seems that Reformer model has been added in Transformers. But it's a standard auto-regressive language model. How can we use Reformer in Encoder-Decoder settings ?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4225/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4225/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4224 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4224/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4224/comments | https://api.github.com/repos/huggingface/transformers/issues/4224/events | https://github.com/huggingface/transformers/issues/4224 | 614,493,428 | MDU6SXNzdWU2MTQ0OTM0Mjg= | 4,224 | Bart now enforces maximum sequence length in Summarization Pipeline | {
"login": "pwschaedler",
"id": 8781353,
"node_id": "MDQ6VXNlcjg3ODEzNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8781353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pwschaedler",
"html_url": "https://github.com/pwschaedler",
"followers_url": "https://api.github.com/us... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [
{
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://... | [
"#3857 might also be a culprit",
"@pwschaedler This is a change in pipelines that we may or may not undo. Previously, the tokenizer truncated your long documents to their beginnings\r\nIn the meantime, you can use this code on the latest transformers:\r\n\r\n```python\r\nfrom transformers import BartForConditiona... | 1,588 | 1,673 | 1,607 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Bart (bart-large-cnn)
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
Based on example... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4224/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4224/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4223 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4223/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4223/comments | https://api.github.com/repos/huggingface/transformers/issues/4223/events | https://github.com/huggingface/transformers/pull/4223 | 614,433,866 | MDExOlB1bGxSZXF1ZXN0NDE0OTkyMTA3 | 4,223 | [TPU] Doc, fix xla_spawn.py, only preprocess dataset once | {
"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 | [] | [
"Ok, merging this!"
] | 1,588 | 1,588 | 1,588 | MEMBER | null | - Fixed the `xla_spawn.py` launcher script which I broke earlier today when moving files around. It should be reasonably more robust now.
- Started to add a little documentation
- Changed the dataset logic so that multiple workers don't concurrently preprocess the dataset.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4223/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4223/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4223",
"html_url": "https://github.com/huggingface/transformers/pull/4223",
"diff_url": "https://github.com/huggingface/transformers/pull/4223.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4223.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4222 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4222/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4222/comments | https://api.github.com/repos/huggingface/transformers/issues/4222/events | https://github.com/huggingface/transformers/issues/4222 | 614,417,240 | MDU6SXNzdWU2MTQ0MTcyNDA= | 4,222 | TPU Trainer's PerDeviceLoader has no len() | {
"login": "caseysackett",
"id": 8107,
"node_id": "MDQ6VXNlcjgxMDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/caseysackett",
"html_url": "https://github.com/caseysackett",
"followers_url": "https://api.github.com/users/cas... | [] | closed | false | null | [] | [
"@jysohn23 (and @dlibenzi) might want to chime in on this but I think this works in xla's nightly from https://github.com/pytorch/xla/pull/1991\r\n\r\n(We might still want to improve things but if this is blocking you, please try using the nightly build of xla)",
"Yeah it's recently been added, so if you could se... | 1,588 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
The new TPU Trainer fails when running on a single TPU core in a colab notebook since the XLA ParallelLoader's PerDeviceLoader does not implement a length method.
## Information
Model I am using (Bert, XLNet ...): Bert
Language I am using the model on (English, Chinese ...): English
The problem... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4222/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4222/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4221 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4221/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4221/comments | https://api.github.com/repos/huggingface/transformers/issues/4221/events | https://github.com/huggingface/transformers/pull/4221 | 614,408,495 | MDExOlB1bGxSZXF1ZXN0NDE0OTcxNzg3 | 4,221 | feat(trainer): log epoch and final metrics | {
"login": "borisdayma",
"id": 715491,
"node_id": "MDQ6VXNlcjcxNTQ5MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisdayma",
"html_url": "https://github.com/borisdayma",
"followers_url": "https://api.github.com/users/b... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4221?src=pr&el=h1) Report\n> Merging [#4221](https://codecov.io/gh/huggingface/transformers/pull/4221?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c99fe0386be118bceaab1c85cdb8309eb8cb8208&el=desc) will **increase... | 1,588 | 1,591 | 1,591 | CONTRIBUTOR | null | This PR adds new logging capabilities to `Trainer`:
* logs epoch -> this let us compare runs with different batch sizes, using "epoch" as the x-axis instead of "global_step"
* logs final metrics -> metrics are also logged by `Trainer.evaluate` at the end of the script (or at the start if we just use `--do_eval` and... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4221/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4221/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4221",
"html_url": "https://github.com/huggingface/transformers/pull/4221",
"diff_url": "https://github.com/huggingface/transformers/pull/4221.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4221.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4220 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4220/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4220/comments | https://api.github.com/repos/huggingface/transformers/issues/4220/events | https://github.com/huggingface/transformers/pull/4220 | 614,404,557 | MDExOlB1bGxSZXF1ZXN0NDE0OTY4NTY3 | 4,220 | Improvements to the wandb integration | {
"login": "vanpelt",
"id": 17,
"node_id": "MDQ6VXNlcjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/17?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vanpelt",
"html_url": "https://github.com/vanpelt",
"followers_url": "https://api.github.com/users/vanpelt/followers",
"fol... | [] | closed | false | null | [] | [
"Hey guys, any updates on this?",
"@vanpelt Can't push to your fork so will tweak things in #4324 and combine with @borisdayma's #4221 "
] | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | Hey guys,
I'm one of the founders of W&B and have been working with @borisdayma on the wandb integration. I made a few changes to address a few cases we thought through:
1. If wandb is installed but the user hasn't logged in we now print a warning instead of prompting for an api_key
2. Made messaging more clear ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4220/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4220/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4220",
"html_url": "https://github.com/huggingface/transformers/pull/4220",
"diff_url": "https://github.com/huggingface/transformers/pull/4220.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4220.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4219 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4219/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4219/comments | https://api.github.com/repos/huggingface/transformers/issues/4219/events | https://github.com/huggingface/transformers/issues/4219 | 614,402,367 | MDU6SXNzdWU2MTQ0MDIzNjc= | 4,219 | Need correction in GPT-2 perplexity equation based on computation | {
"login": "states786",
"id": 64096105,
"node_id": "MDQ6VXNlcjY0MDk2MTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/64096105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/states786",
"html_url": "https://github.com/states786",
"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 | [] | [
"Off-topic, but it's high time that Github supports KaTeX =)",
"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,588 | 1,594 | 1,594 | NONE | null | # ❓ Questions & Help
I would like to formulate GPT-2 perplexity [calculation ](https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_language_modeling.py#L266)in terms of equation as under:
: log epoch and final metrics | {
"login": "borisdayma",
"id": 715491,
"node_id": "MDQ6VXNlcjcxNTQ5MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisdayma",
"html_url": "https://github.com/borisdayma",
"followers_url": "https://api.github.com/users/b... | [] | closed | false | null | [] | [
"^^ I borked your PR unfortunately (💩). Sorry about that. Care to open a new one?\r\n\r\n(same for #4211)",
"Sure, no worry!"
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | This PR adds new logging capabilities to `Trainer`:
* logs epoch -> this let us compare runs with different batch sizes, using "epoch" as the x-axis instead of "global_step"
* logs final metrics -> metrics are also logged by `Trainer.evaluate` at the end of the script (or at the start if we just use `--do_eval` and... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4218/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4218/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4218",
"html_url": "https://github.com/huggingface/transformers/pull/4218",
"diff_url": "https://github.com/huggingface/transformers/pull/4218.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4218.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4217 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4217/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4217/comments | https://api.github.com/repos/huggingface/transformers/issues/4217/events | https://github.com/huggingface/transformers/pull/4217 | 614,372,160 | MDExOlB1bGxSZXF1ZXN0NDE0OTQyMzA5 | 4,217 | [Pipeline, Generation] tf generation pipeline bug | {
"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/4217?src=pr&el=h1) Report\n> Merging [#4217](https://codecov.io/gh/huggingface/transformers/pull/4217?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8bf7312654d40cea1a399e86f9fe8e39e1ea3a1e&el=desc) will **increase... | 1,588 | 1,589 | 1,588 | MEMBER | null | Generation can currently not be used for TF due to a small bug. This PR fixes it and adds tests.
I will update the usage docs and pipeline notebook tomorrow. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4217/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/4217/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4217",
"html_url": "https://github.com/huggingface/transformers/pull/4217",
"diff_url": "https://github.com/huggingface/transformers/pull/4217.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4217.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4216 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4216/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4216/comments | https://api.github.com/repos/huggingface/transformers/issues/4216/events | https://github.com/huggingface/transformers/pull/4216 | 614,353,774 | MDExOlB1bGxSZXF1ZXN0NDE0OTI3NjIx | 4,216 | [examples/summarization] run_train_tiny.sh: remove unused kwarg | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"I borked your PR unfortunately (💩). Sorry about that. Care to open a new one?"
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4216/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4216/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4216",
"html_url": "https://github.com/huggingface/transformers/pull/4216",
"diff_url": "https://github.com/huggingface/transformers/pull/4216.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4216.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4215 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4215/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4215/comments | https://api.github.com/repos/huggingface/transformers/issues/4215/events | https://github.com/huggingface/transformers/pull/4215 | 614,275,239 | MDExOlB1bGxSZXF1ZXN0NDE0ODY0MDU2 | 4,215 | Examples readme.md | {
"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,588 | 1,588 | 1,588 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4215/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4215/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4215",
"html_url": "https://github.com/huggingface/transformers/pull/4215",
"diff_url": "https://github.com/huggingface/transformers/pull/4215.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4215.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4214 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4214/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4214/comments | https://api.github.com/repos/huggingface/transformers/issues/4214/events | https://github.com/huggingface/transformers/issues/4214 | 614,252,770 | MDU6SXNzdWU2MTQyNTI3NzA= | 4,214 | [examples] text_classification/run_pl.sh error | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1936... | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"I encountered this bug",
"Removing the `test_end` method in `BaseTransformer` (file: https://github.com/huggingface/transformers/blob/master/examples/lightning_base.py) solved the issue for me.\r\n\r\nFrom my understanding, what is happening here is that at the end of testing, `test_end` is being called which is... | 1,588 | 1,595 | 1,595 | CONTRIBUTOR | null | ```bash
cd examples/text-classification
./run_pl.sh
```
trains for 1 epoch, tests 12/13 steps, then fails with the following traceback
```python
/home/shleifer/.conda/envs/nb/lib/python3.7/site-packages/pytorch_lightning/utilities/warnings.py:18: UserWarning: The dataloader, test dataloader 0, does not have man... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4214/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/4214/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4213 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4213/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4213/comments | https://api.github.com/repos/huggingface/transformers/issues/4213/events | https://github.com/huggingface/transformers/pull/4213 | 614,225,845 | MDExOlB1bGxSZXF1ZXN0NDE0ODI0MDI0 | 4,213 | BIG Reorganize examples | {
"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 | [] | [
"Really cool!"
] | 1,588 | 1,588 | 1,588 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4213/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4213/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4213",
"html_url": "https://github.com/huggingface/transformers/pull/4213",
"diff_url": "https://github.com/huggingface/transformers/pull/4213.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4213.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.