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/3313 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3313/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3313/comments | https://api.github.com/repos/huggingface/transformers/issues/3313/events | https://github.com/huggingface/transformers/issues/3313 | 583,159,176 | MDU6SXNzdWU1ODMxNTkxNzY= | 3,313 | KeyError in GLUE data tokenization with RoBERTA | {
"login": "ethanjperez",
"id": 6402205,
"node_id": "MDQ6VXNlcjY0MDIyMDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6402205?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ethanjperez",
"html_url": "https://github.com/ethanjperez",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"I also have this issue when i run run_multiple_choice.py in RACE data with RoBERTA.",
"I get the same error when I try to fine-tune Squad",
"Tagging @LysandreJik ",
"> \r\n> \r\n> I also have this issue when i run run_multiple_choice.py in RACE data with RoBERTA.\r\n\r\nSame here. Any solution?",
"@nieling... | 1,584 | 1,585 | 1,585 | CONTRIBUTOR | null | # 🐛 Bug
I'm getting a KeyError [here](https://github.com/huggingface/transformers/blob/master/src/transformers/data/processors/glue.py#L94) when using RoBERTa in [examples/run_glue.py](https://github.com/huggingface/transformers/blob/master/examples/run_glue.py) and trying to access `'token_type_ids'` while preproc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3313/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/3313/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3312 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3312/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3312/comments | https://api.github.com/repos/huggingface/transformers/issues/3312/events | https://github.com/huggingface/transformers/issues/3312 | 583,143,521 | MDU6SXNzdWU1ODMxNDM1MjE= | 3,312 | GPT2Tokenizer doesn't include BOS or EOS token | {
"login": "moinnadeem",
"id": 813367,
"node_id": "MDQ6VXNlcjgxMzM2Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/813367?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moinnadeem",
"html_url": "https://github.com/moinnadeem",
"followers_url": "https://api.github.com/users/m... | [] | closed | false | null | [] | [
"Accidental double post -- closing this in favour of #3311 "
] | 1,584 | 1,584 | 1,584 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): GPT-2
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] 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/3312/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3312/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3311 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3311/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3311/comments | https://api.github.com/repos/huggingface/transformers/issues/3311/events | https://github.com/huggingface/transformers/issues/3311 | 583,143,221 | MDU6SXNzdWU1ODMxNDMyMjE= | 3,311 | GPT2 -- build_inputs_with_special_tokens lacking BOS and EOS tokens. | {
"login": "moinnadeem",
"id": 813367,
"node_id": "MDQ6VXNlcjgxMzM2Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/813367?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moinnadeem",
"html_url": "https://github.com/moinnadeem",
"followers_url": "https://api.github.com/users/m... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hi @moinnadeem, \r\n\r\nThanks for posting this! \r\nAs it is implemented in the moment, you are right, GPT2 Tokenizer does not add the BOS in the beginning nor the EOS token in the end. \r\nYou can see e.g. that the XLNet tokenizer has a method that adds special tokens to the encoded input string (see https://git... | 1,584 | 1,705 | 1,606 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): GPT-2
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] 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/3311/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/3311/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3310 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3310/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3310/comments | https://api.github.com/repos/huggingface/transformers/issues/3310/events | https://github.com/huggingface/transformers/issues/3310 | 583,087,221 | MDU6SXNzdWU1ODMwODcyMjE= | 3,310 | Add sample softmax possibility to TransfoXL model for TransfoXL training | {
"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": 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... | [
"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,584 | 1,590 | 1,590 | MEMBER | null | # 🚀 Feature request
TransfoXL samples the logits during training if required. At the moment TransfoXL can only be used whithout sampling from the logits during training. A partrly finished implementation can be found under the branch: `add_sampling_and_training_to_transfo_xl_models` .
## Motivation
To be able... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3310/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3310/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3309 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3309/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3309/comments | https://api.github.com/repos/huggingface/transformers/issues/3309/events | https://github.com/huggingface/transformers/pull/3309 | 583,048,379 | MDExOlB1bGxSZXF1ZXN0Mzg5ODY2MDY1 | 3,309 | Create model card for CodeBERTaPy | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3309?src=pr&el=h1) Report\n> Merging [#3309](https://codecov.io/gh/huggingface/transformers/pull/3309?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2187c49f5cde57306c3fd1eb67dbc68fab9c6403&el=desc) will **increase... | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3309/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3309/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3309",
"html_url": "https://github.com/huggingface/transformers/pull/3309",
"diff_url": "https://github.com/huggingface/transformers/pull/3309.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3309.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3308 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3308/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3308/comments | https://api.github.com/repos/huggingface/transformers/issues/3308/events | https://github.com/huggingface/transformers/issues/3308 | 582,915,553 | MDU6SXNzdWU1ODI5MTU1NTM= | 3,308 | Loading DistilBertModel with AutoModel gives 12 layers | {
"login": "sasaadi",
"id": 7882383,
"node_id": "MDQ6VXNlcjc4ODIzODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7882383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sasaadi",
"html_url": "https://github.com/sasaadi",
"followers_url": "https://api.github.com/users/sasaadi/... | [
{
"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,584 | 1,590 | 1,590 | NONE | null | I am using ``AutoModel`` to load ``distilbert-base-uncased`` and save the fine-tuned model after training using ``model.save_pretrained('path_to_save')``. However, when I load the fine-tuned model using ``AutoModel.from_pretrained('path_to_the_saved_model')``, it extracts 12 layers instead of 6 layers. I also checked ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3308/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3308/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3307 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3307/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3307/comments | https://api.github.com/repos/huggingface/transformers/issues/3307/events | https://github.com/huggingface/transformers/pull/3307 | 582,897,039 | MDExOlB1bGxSZXF1ZXN0Mzg5NzM5Nzgz | 3,307 | Make sacremoses dependency optional due to GPL license. | {
"login": "f11r",
"id": 7826519,
"node_id": "MDQ6VXNlcjc4MjY1MTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7826519?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/f11r",
"html_url": "https://github.com/f11r",
"followers_url": "https://api.github.com/users/f11r/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",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3307?src=pr&el=h1) Report\n> Merging [#3307](https://codecov.io/gh/hugg... | 1,584 | 1,600 | 1,600 | NONE | null | Closes #2453. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3307/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/3307/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3307",
"html_url": "https://github.com/huggingface/transformers/pull/3307",
"diff_url": "https://github.com/huggingface/transformers/pull/3307.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3307.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3306 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3306/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3306/comments | https://api.github.com/repos/huggingface/transformers/issues/3306/events | https://github.com/huggingface/transformers/pull/3306 | 582,833,548 | MDExOlB1bGxSZXF1ZXN0Mzg5Njg4ODI2 | 3,306 | Create README.md | {
"login": "jannesgg",
"id": 36601086,
"node_id": "MDQ6VXNlcjM2NjAxMDg2",
"avatar_url": "https://avatars.githubusercontent.com/u/36601086?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jannesgg",
"html_url": "https://github.com/jannesgg",
"followers_url": "https://api.github.com/users/jan... | [
{
"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/3306?src=pr&el=h1) Report\n> Merging [#3306](https://codecov.io/gh/huggingface/transformers/pull/3306?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/68ef0a111f8740f06ca4e5a00374ec4e2adb0a6d&el=desc) will **decrease... | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3306/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3306/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3306",
"html_url": "https://github.com/huggingface/transformers/pull/3306",
"diff_url": "https://github.com/huggingface/transformers/pull/3306.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3306.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3305 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3305/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3305/comments | https://api.github.com/repos/huggingface/transformers/issues/3305/events | https://github.com/huggingface/transformers/pull/3305 | 582,716,900 | MDExOlB1bGxSZXF1ZXN0Mzg5NTkyNDc2 | 3,305 | Update examples/ner/run_ner.py to use AutoModel | {
"login": "lifefeel",
"id": 38556,
"node_id": "MDQ6VXNlcjM4NTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/38556?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lifefeel",
"html_url": "https://github.com/lifefeel",
"followers_url": "https://api.github.com/users/lifefeel/foll... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3305?src=pr&el=h1) Report\n> Merging [#3305](https://codecov.io/gh/huggingface/transformers/pull/3305?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b2028cc26b61a9dad960274d427e261af7c9bdc8&el=desc) will **decrease... | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | This PR is updating `run_ner.py` to use AutoModel implementation. Refer to #3290 and is simpler than before.
Maybe @srush can review this. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3305/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3305/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3305",
"html_url": "https://github.com/huggingface/transformers/pull/3305",
"diff_url": "https://github.com/huggingface/transformers/pull/3305.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3305.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3304 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3304/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3304/comments | https://api.github.com/repos/huggingface/transformers/issues/3304/events | https://github.com/huggingface/transformers/issues/3304 | 582,709,029 | MDU6SXNzdWU1ODI3MDkwMjk= | 3,304 | Error in loading albert-base-v2 | {
"login": "WenxiongLiao",
"id": 25845940,
"node_id": "MDQ6VXNlcjI1ODQ1OTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/25845940?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WenxiongLiao",
"html_url": "https://github.com/WenxiongLiao",
"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 | [] | [
"@anjubaoGDUT If you can provide the code in text (instead of image) that can copy and paste, it is easy to test. ",
"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,584 | 1,590 | 1,590 | NONE | null | 

Help~~
The above problems appear in loading the pre-trained Albert by transformers. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3304/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3304/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3303 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3303/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3303/comments | https://api.github.com/repos/huggingface/transformers/issues/3303/events | https://github.com/huggingface/transformers/issues/3303 | 582,706,766 | MDU6SXNzdWU1ODI3MDY3NjY= | 3,303 | Error in loading Albert model | {
"login": "WenxiongLiao",
"id": 25845940,
"node_id": "MDQ6VXNlcjI1ODQ1OTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/25845940?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WenxiongLiao",
"html_url": "https://github.com/WenxiongLiao",
"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,584 | 1,590 | 1,590 | NONE | null | 
Help~
The above problems appear in loading the pre-trained Albert by transformers. Albert pre-trained model download address is https://drive.google.com/file/d/1byZQmWDgyhrLpj8oXtxBG6AA52c8IHE-/view | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3303/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3303/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3302 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3302/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3302/comments | https://api.github.com/repos/huggingface/transformers/issues/3302/events | https://github.com/huggingface/transformers/pull/3302 | 582,694,463 | MDExOlB1bGxSZXF1ZXN0Mzg5NTc0Nzcy | 3,302 | [BART] Delete redundant unit test | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3302/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3302/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3302",
"html_url": "https://github.com/huggingface/transformers/pull/3302",
"diff_url": "https://github.com/huggingface/transformers/pull/3302.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3302.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3301 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3301/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3301/comments | https://api.github.com/repos/huggingface/transformers/issues/3301/events | https://github.com/huggingface/transformers/pull/3301 | 582,654,131 | MDExOlB1bGxSZXF1ZXN0Mzg5NTQxNTY4 | 3,301 | Add model card for Google AI's BERT Miniatures | {
"login": "iuliaturc-google",
"id": 61293507,
"node_id": "MDQ6VXNlcjYxMjkzNTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/61293507?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iuliaturc-google",
"html_url": "https://github.com/iuliaturc-google",
"followers_url": "https://... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3301?src=pr&el=h1) Report\n> Merging [#3301](https://codecov.io/gh/huggingface/transformers/pull/3301?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/47591763137f17021928e686ef171f25c240f076&el=desc) will **decrease... | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | This model card is intended to be shared among all models under google/bert_uncased_*
(We'll need some support from HuggingFace to get this card cross-linked from all models) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3301/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/3301/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3301",
"html_url": "https://github.com/huggingface/transformers/pull/3301",
"diff_url": "https://github.com/huggingface/transformers/pull/3301.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3301.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3300 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3300/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3300/comments | https://api.github.com/repos/huggingface/transformers/issues/3300/events | https://github.com/huggingface/transformers/issues/3300 | 582,552,153 | MDU6SXNzdWU1ODI1NTIxNTM= | 3,300 | ImportError: cannot import name 'BartForConditionalGeneration' | {
"login": "NinaHristozovaTR",
"id": 56268343,
"node_id": "MDQ6VXNlcjU2MjY4MzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/56268343?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NinaHristozovaTR",
"html_url": "https://github.com/NinaHristozovaTR",
"followers_url": "https://... | [] | closed | false | null | [] | [
"I saw that to use the examples, it has to be installed from source."
] | 1,584 | 1,584 | 1,584 | NONE | null |
## Information
Hi, I am trying to use the BART model to sumamrize a text snippet.
The problem arises when using:
* from transformers import BartTokenizer, BartConfig, BartForConditionalGeneration
## To reproduce
Steps to reproduce the behavior:
1. Installed Tensorflow 2.0 and Pytorch
2. pip install... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3300/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3300/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3299 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3299/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3299/comments | https://api.github.com/repos/huggingface/transformers/issues/3299/events | https://github.com/huggingface/transformers/pull/3299 | 582,522,705 | MDExOlB1bGxSZXF1ZXN0Mzg5NDMwNzA3 | 3,299 | add camembert for Question answering for examples | {
"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 | [] | [
"Wow that was quick :D "
] | 1,584 | 1,584 | 1,584 | MEMBER | null | This one might have been accidently deleted in PR #2700 I think. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3299/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3299/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3299",
"html_url": "https://github.com/huggingface/transformers/pull/3299",
"diff_url": "https://github.com/huggingface/transformers/pull/3299.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3299.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3298 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3298/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3298/comments | https://api.github.com/repos/huggingface/transformers/issues/3298/events | https://github.com/huggingface/transformers/pull/3298 | 582,244,939 | MDExOlB1bGxSZXF1ZXN0Mzg5MTkyOTk1 | 3,298 | [generate] do_sample default back to 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://... | [] | closed | false | null | [] | [
"Not 100% sure how this results in a \"Prettier API,\" but agree this isn't a big deal to fix downstream. (my current code explicitly sets `do_sample=True` just in case something like this happened.)\r\n\r\nIf you are creating any demo generation notebooks/tooling like Write With Transformer, I recommend explicitly... | 1,584 | 1,584 | 1,584 | MEMBER | null | This somewhat reverts the commit:
https://github.com/huggingface/transformers/commit/6c1b23554f8bb5b5e1f6c80969acab764c755678
and the decision taken in #2696
and sets the default sampling behavior of `generate()` to greedy - / beam search.
Pros:
- `False` is the more natural default value
- Prettier API (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3298/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3298/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3298",
"html_url": "https://github.com/huggingface/transformers/pull/3298",
"diff_url": "https://github.com/huggingface/transformers/pull/3298.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3298.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3297 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3297/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3297/comments | https://api.github.com/repos/huggingface/transformers/issues/3297/events | https://github.com/huggingface/transformers/issues/3297 | 582,180,364 | MDU6SXNzdWU1ODIxODAzNjQ= | 3,297 | Getting output of any hidden layer | {
"login": "katarina-cavar",
"id": 32822047,
"node_id": "MDQ6VXNlcjMyODIyMDQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/32822047?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/katarina-cavar",
"html_url": "https://github.com/katarina-cavar",
"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 | {
"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... | [
"Yes, this will be quite hard and is not a feature that is implemented at the moment nor a feature that we plan on implementing soon. \r\n\r\nAn easy way to get what you want though, will be to clone the repo and adapt the code. You can easily add the layer outputs (e.g. `ffn_output`) you want to the `return` funct... | 1,584 | 1,589 | 1,584 | 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. -->
Is there a way to get output from any hidden layer of the model?
## Motivation
<!-- Please outline the motivation for the proposal. Is your feature ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3297/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3297/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3296 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3296/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3296/comments | https://api.github.com/repos/huggingface/transformers/issues/3296/events | https://github.com/huggingface/transformers/issues/3296 | 582,158,024 | MDU6SXNzdWU1ODIxNTgwMjQ= | 3,296 | Installation error: can not find Rust compiler | {
"login": "jiyanloveyou",
"id": 9956312,
"node_id": "MDQ6VXNlcjk5NTYzMTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/9956312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiyanloveyou",
"html_url": "https://github.com/jiyanloveyou",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Can you please open an issue on https://github.com/huggingface/tokenizers?\r\n\r\nThanks!\r\ncc @n1t0 @mfuntowicz "
] | 1,584 | 1,584 | 1,584 | NONE | null | I used pip to install transformers like this:
pip install transformers
in the end, I got the error:
Can not find Rust compiler
while, I have installed rust on my apple computer, please tell me how to deal with the problem, thank you!
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3296/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3296/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3295 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3295/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3295/comments | https://api.github.com/repos/huggingface/transformers/issues/3295/events | https://github.com/huggingface/transformers/pull/3295 | 582,128,023 | MDExOlB1bGxSZXF1ZXN0Mzg5MDkzMTUw | 3,295 | Create CodeBERTaJS model card | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3295?src=pr&el=h1) Report\n> Merging [#3295](https://codecov.io/gh/huggingface/transformers/pull/3295?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/af471ce5e8ca7c19183e70bb998561170addc276?src=pr&el=desc) will **i... | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3295/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3295/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3295",
"html_url": "https://github.com/huggingface/transformers/pull/3295",
"diff_url": "https://github.com/huggingface/transformers/pull/3295.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3295.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3294 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3294/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3294/comments | https://api.github.com/repos/huggingface/transformers/issues/3294/events | https://github.com/huggingface/transformers/issues/3294 | 582,088,134 | MDU6SXNzdWU1ODIwODgxMzQ= | 3,294 | BertForPreTraining should compute only <MASKED> prediction_scores | {
"login": "songsuoyuan",
"id": 1378976,
"node_id": "MDQ6VXNlcjEzNzg5NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1378976?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/songsuoyuan",
"html_url": "https://github.com/songsuoyuan",
"followers_url": "https://api.github.com/us... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I had little modification on the source code and solve the problem. (But I may changed the behavior and the return format of class BertForPretraining)\r\n\r\n```python\r\ndef gather_indexes_auto(sequence_tensor, masked_lm_labels):\r\n \"\"\"Gathers the vectors according to masked_lm_labels over a minibatch.\r\n... | 1,584 | 1,590 | 1,590 | NONE | null | # 🚀 Feature request
In class transformers.BertForPreTraining, the forward compute all prediction_scores. In fact, we may only calculate the prediction_scores on the <MASKED> tokens to save some computational cost.
## Motivation
In source code of class BertForPreTraining:
```python
outputs = self.bert(input_ids,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3294/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/3294/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3293 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3293/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3293/comments | https://api.github.com/repos/huggingface/transformers/issues/3293/events | https://github.com/huggingface/transformers/pull/3293 | 582,081,904 | MDExOlB1bGxSZXF1ZXN0Mzg5MDU0Mjky | 3,293 | Create model card for spanbert-finetuned-squadv2 | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3293/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3293/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3293",
"html_url": "https://github.com/huggingface/transformers/pull/3293",
"diff_url": "https://github.com/huggingface/transformers/pull/3293.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3293.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3292 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3292/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3292/comments | https://api.github.com/repos/huggingface/transformers/issues/3292/events | https://github.com/huggingface/transformers/issues/3292 | 581,958,138 | MDU6SXNzdWU1ODE5NTgxMzg= | 3,292 | NER Pipeline returns null | {
"login": "Realvincentyuan",
"id": 26101303,
"node_id": "MDQ6VXNlcjI2MTAxMzAz",
"avatar_url": "https://avatars.githubusercontent.com/u/26101303?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Realvincentyuan",
"html_url": "https://github.com/Realvincentyuan",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"By \"it returns null\" you mean it returns an empty array? That's because it didn't identify any named entity in your sequence."
] | 1,584 | 1,585 | 1,585 | NONE | null | # 🐛 Bug
## Information
Model I am using (NER Pipeline):
Language I am using the model on (English):
The problem arises when using:
* [x] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks I am working on is:
* [ ] an official GLUE/SQUaD ta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3292/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3292/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3291 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3291/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3291/comments | https://api.github.com/repos/huggingface/transformers/issues/3291/events | https://github.com/huggingface/transformers/issues/3291 | 581,951,591 | MDU6SXNzdWU1ODE5NTE1OTE= | 3,291 | a lot of examples in doc can't run successful | {
"login": "xiongma",
"id": 30991932,
"node_id": "MDQ6VXNlcjMwOTkxOTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/30991932?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiongma",
"html_url": "https://github.com/xiongma",
"followers_url": "https://api.github.com/users/xiongm... | [] | closed | false | null | [] | [
"@patrickvonplaten my OS is mac OS 10.14.6, Python 3.6.10, tensorflow 2.0, transformers version is the resoruce code in github",
"Hi @policeme, which example did you use? ",
"\r\nlike this",
"@patrick... | 1,584 | 1,585 | 1,585 | NONE | null | I used example in doc, but a lot of example can't run successful, what's wrong? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3291/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3291/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3290 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3290/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3290/comments | https://api.github.com/repos/huggingface/transformers/issues/3290/events | https://github.com/huggingface/transformers/pull/3290 | 581,892,856 | MDExOlB1bGxSZXF1ZXN0Mzg4ODkxNTcz | 3,290 | [WIP] Lightning glue example | {
"login": "nateraw",
"id": 32437151,
"node_id": "MDQ6VXNlcjMyNDM3MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/32437151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nateraw",
"html_url": "https://github.com/nateraw",
"followers_url": "https://api.github.com/users/natera... | [] | closed | false | null | [] | [
"@srush Can you please take a look?",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3290?src=pr&el=h1) Report\n> Merging [#3290](https://codecov.io/gh/huggingface/transformers/pull/3290?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8320feec09309a94f673e1e7c... | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | This PR adds an example of using Pytorch Lightning to run the GLUE benchmark. Additionally, I altered the `transformer_base.py` to use auto models and moved it to the example directory so it could be copied in by any script that wishes to use it.
Preferably, the base transformer would have subclasses for the differe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3290/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3290/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3290",
"html_url": "https://github.com/huggingface/transformers/pull/3290",
"diff_url": "https://github.com/huggingface/transformers/pull/3290.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3290.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3289 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3289/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3289/comments | https://api.github.com/repos/huggingface/transformers/issues/3289/events | https://github.com/huggingface/transformers/issues/3289 | 581,775,502 | MDU6SXNzdWU1ODE3NzU1MDI= | 3,289 | GPT-2 attention_mask reshaping uses input_ids first dimension | {
"login": "lazarevskiVsg",
"id": 55826248,
"node_id": "MDQ6VXNlcjU1ODI2MjQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/55826248?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lazarevskiVsg",
"html_url": "https://github.com/lazarevskiVsg",
"followers_url": "https://api.githu... | [] | 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... | [
"Hey @lazarevskiVsg, thanks a lot for pointing this out!\r\nIt should be fixed now :-) "
] | 1,584 | 1,584 | 1,584 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): GPT-2
## To reproduce
Use attention_mask in **GPT2LMHead**, while feeding **inputs_embeds** instead of **input_ids**
The code fails because line 427 of modeling_gpt2.py uses input_ids first dimension to reshape the mask
```
if attention_ma... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3289/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3289/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3288 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3288/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3288/comments | https://api.github.com/repos/huggingface/transformers/issues/3288/events | https://github.com/huggingface/transformers/issues/3288 | 581,701,674 | MDU6SXNzdWU1ODE3MDE2NzQ= | 3,288 | Dockerhub images huggingface/transformers_cpu for version 2.5.1 has version 2.5.0 installed | {
"login": "edwardcqian",
"id": 26368837,
"node_id": "MDQ6VXNlcjI2MzY4ODM3",
"avatar_url": "https://avatars.githubusercontent.com/u/26368837?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edwardcqian",
"html_url": "https://github.com/edwardcqian",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [
{
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://... | [
"Should be fixed, I'll push updated images for all the others Dockerfile in the next hours. \r\n\r\nThanks for reporting @edwardcqian ",
"I'm closing, feel free to reopen if I missed something 👍 "
] | 1,584 | 1,584 | 1,584 | NONE | null | # 🐛 Bug
## Information
Model I am using any model introduced in 2.5.1
The problem arises when using:
pulling `huggingface/transformers_cpu:2.5.1` from dockerhub
## To reproduce
Steps to reproduce the behavior:
1. pull docker image from dockerhub
2. run docker container
3. run `pip freeze` to see `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3288/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3288/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3287 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3287/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3287/comments | https://api.github.com/repos/huggingface/transformers/issues/3287/events | https://github.com/huggingface/transformers/issues/3287 | 581,684,320 | MDU6SXNzdWU1ODE2ODQzMjA= | 3,287 | Unexpected output from feature extraction pipeline | {
"login": "Stuffooh",
"id": 50005268,
"node_id": "MDQ6VXNlcjUwMDA1MjY4",
"avatar_url": "https://avatars.githubusercontent.com/u/50005268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Stuffooh",
"html_url": "https://github.com/Stuffooh",
"followers_url": "https://api.github.com/users/Stu... | [] | closed | false | null | [] | [
"The tokenizer adds special tokens (here, specific to BERT) at the beginning and end of the sentence. \r\n\r\nYou can check that with:\r\n```python\r\ntokenizer = AutoTokenizer.from_pretrained('bert-base-uncased')\r\nlen(tokenizer.encode(TEXT)) == 18\r\n```",
"@julien-c is there any way to avoid the special token... | 1,584 | 1,584 | 1,584 | NONE | null | Hi everyone,
I'm not sure if it is a bug or if I simply overlooking something so I did not want to submit a bug report yet. I have the following example code:
```
from transformers import pipeline, AutoTokenizer
import numpy as np
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased',
add_special_to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3287/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3287/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3286 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3286/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3286/comments | https://api.github.com/repos/huggingface/transformers/issues/3286/events | https://github.com/huggingface/transformers/pull/3286 | 581,650,752 | MDExOlB1bGxSZXF1ZXN0Mzg4Njg1MzEw | 3,286 | Adding LM Head to Transfo-XL and first step to fixing problem with Adaptive Embeddings in TransfoXL | {
"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/3286?src=pr&el=h1) Report\n> Merging [#3286](https://codecov.io/gh/huggingface/transformers/pull/3286?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/68ef0a111f8740f06ca4e5a00374ec4e2adb0a6d&el=desc) will **increase... | 1,584 | 1,584 | 1,584 | MEMBER | null | This PR adds LM generation capabilitiies to the TF transfo-xl model. The integration tests for language generation pass, so generation from a pretrained model works now in TF as well.
What does definitely not work yet is running the both PT and TF models with `self.sample_softmax > 0`:
- Transfo-XL uses adaptive ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3286/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3286/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3286",
"html_url": "https://github.com/huggingface/transformers/pull/3286",
"diff_url": "https://github.com/huggingface/transformers/pull/3286.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3286.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3285 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3285/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3285/comments | https://api.github.com/repos/huggingface/transformers/issues/3285/events | https://github.com/huggingface/transformers/issues/3285 | 581,614,153 | MDU6SXNzdWU1ODE2MTQxNTM= | 3,285 | Is there a way to evaluate GPT-2 model during fine-tuning process for accuracy and fluency? | {
"login": "D-i-l-r-u-k-s-h-i",
"id": 47185867,
"node_id": "MDQ6VXNlcjQ3MTg1ODY3",
"avatar_url": "https://avatars.githubusercontent.com/u/47185867?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/D-i-l-r-u-k-s-h-i",
"html_url": "https://github.com/D-i-l-r-u-k-s-h-i",
"followers_url": "https... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"A common way of evaluating LMs is to measure their Perplexity. \r\nSay you want to finetune GPT2 on your dataset D.\r\nDefine train, val and test datasets (maybe something around 75%, 10%, 15%.\r\nMeasure the [perplexity](https://towardsdatascience.com/perplexity-intuition-and-derivation-105dd481c8f3) on train an... | 1,584 | 1,650 | 1,584 | NONE | null | # ❓ Questions & Help
I'm trying to evaluate GPT-2 model during fine tuning process, and I'm able to calculate the loss at each epoch, but do not know how accuracy can be calculated or how to give a score to the model. Would like to get some suggestions as help.
## Details
<!-- Description of your issue -->
<!-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3285/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3285/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3284 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3284/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3284/comments | https://api.github.com/repos/huggingface/transformers/issues/3284/events | https://github.com/huggingface/transformers/issues/3284 | 581,613,915 | MDU6SXNzdWU1ODE2MTM5MTU= | 3,284 | Return token span from NerPipeline | {
"login": "EmilStenstrom",
"id": 224130,
"node_id": "MDQ6VXNlcjIyNDEzMA==",
"avatar_url": "https://avatars.githubusercontent.com/u/224130?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EmilStenstrom",
"html_url": "https://github.com/EmilStenstrom",
"followers_url": "https://api.github.co... | [
{
"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 | [] | [
"Oh, I guess a workaround is to pass in `ignore_labels=[]` when creating the pipeline. This makes the nlp call return all tokens, including the ones that are not part of NER. Then I can just chunk two tokens together if their label is the same and they are nearby. Does this make sense, or am I missing something fun... | 1,584 | 1,590 | 1,590 | NONE | null | # 🚀 Feature request
I would like to suggest that NerPipeline should return the span in the original text where the matched entity exists.
Instead of:
```python
[
{"word": "New", "score": 0.9995751976966858, "entity": "LOC"},
{"word": "York", "score": 0.9996403455734253, "entity": "LOC"}
]
```
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3284/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3284/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3283 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3283/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3283/comments | https://api.github.com/repos/huggingface/transformers/issues/3283/events | https://github.com/huggingface/transformers/issues/3283 | 581,590,631 | MDU6SXNzdWU1ODE1OTA2MzE= | 3,283 | What is the most effective way to use BERT , ROBERTA , GPT-2 architectures as frozen feature extractors ? | {
"login": "shamanez",
"id": 16892570,
"node_id": "MDQ6VXNlcjE2ODkyNTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shamanez",
"html_url": "https://github.com/shamanez",
"followers_url": "https://api.github.com/users/sha... | [
{
"id": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
},... | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,584 | 1,591 | 1,591 | CONTRIBUTOR | null | We use pretrained self-supervised learning (SSL) models for NLP as feature extractors for downstream tasks like sentiment analysis. In most of such cases, we add a simple new classification layer and **fine-tune the whole model**. With the SSL models getting bigger and the amount of unsupervised training data is huge ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3283/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3283/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3282 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3282/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3282/comments | https://api.github.com/repos/huggingface/transformers/issues/3282/events | https://github.com/huggingface/transformers/issues/3282 | 581,578,692 | MDU6SXNzdWU1ODE1Nzg2OTI= | 3,282 | Install error , Win10,anaconda3,python3.5,pytorch | {
"login": "caucsunjiahui",
"id": 52264790,
"node_id": "MDQ6VXNlcjUyMjY0Nzkw",
"avatar_url": "https://avatars.githubusercontent.com/u/52264790?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/caucsunjiahui",
"html_url": "https://github.com/caucsunjiahui",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"seems to be a sentencepiece issue, please open an issue at https://github.com/google/sentencepiece"
] | 1,584 | 1,584 | 1,584 | NONE | null |
When I pip install the transformers,its not successfull,my environment is Win10,anaconda3,python3.5,the error is as follows,what is wrong with it,thank you!.
## Details
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3282/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3282/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3281 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3281/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3281/comments | https://api.github.com/repos/huggingface/transformers/issues/3281/events | https://github.com/huggingface/transformers/issues/3281 | 581,532,887 | MDU6SXNzdWU1ODE1MzI4ODc= | 3,281 | how to use TFBertModel to load a Bert, which the path is from own computer. | {
"login": "xiongma",
"id": 30991932,
"node_id": "MDQ6VXNlcjMwOTkxOTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/30991932?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiongma",
"html_url": "https://github.com/xiongma",
"followers_url": "https://api.github.com/users/xiongm... | [] | closed | false | null | [] | [
"and how to use AutoTokenizer to load a local vocab file, instead of download a vocab file from server"
] | 1,584 | 1,585 | 1,585 | NONE | null | my model's path is on my computer, so, I want to load it, but when I use TFBertModel to load it, it appeared this error.
`model = TFBertModel.from_pretrained('/Users/maxiong/Workpace/Code/transformers/pre_model',config=config)`
error:
 where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3280/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3280/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3279 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3279/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3279/comments | https://api.github.com/repos/huggingface/transformers/issues/3279/events | https://github.com/huggingface/transformers/pull/3279 | 581,411,626 | MDExOlB1bGxSZXF1ZXN0Mzg4NDc1Mzgy | 3,279 | [BART] Remove unused kwargs | {
"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/3279?src=pr&el=h1) Report\n> Merging [#3279](https://codecov.io/gh/huggingface/transformers/pull/3279?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/3814e167d99c4b2e135b250d73deaa3f63ebef0c&el=desc) will **decrease... | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | This doesn't change anything,
- k_dim and v_dim kwargs are there for other models in fairseq but we don't need them.
- attention weights are returned by the AttentionModule (and ignored later) no matter what | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3279/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3279/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3279",
"html_url": "https://github.com/huggingface/transformers/pull/3279",
"diff_url": "https://github.com/huggingface/transformers/pull/3279.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3279.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3278 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3278/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3278/comments | https://api.github.com/repos/huggingface/transformers/issues/3278/events | https://github.com/huggingface/transformers/pull/3278 | 581,397,782 | MDExOlB1bGxSZXF1ZXN0Mzg4NDYyNzAz | 3,278 | [BART] generation_mode as a kwarg not a class attribute | {
"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/3278?src=pr&el=h1) Report\n> Merging [#3278](https://codecov.io/gh/huggingface/transformers/pull/3278?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/3814e167d99c4b2e135b250d73deaa3f63ebef0c?src=pr&el=desc) will **d... | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | Currently, we set it to `BartModel.decoder.generation_mode = True` and then never unset it, which is confusing in the the rare case where you try to finetune or extract features after generating.
We can encapsulate bart specific logic to modeling_bart.py by just using a kwarg.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3278/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3278/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3278",
"html_url": "https://github.com/huggingface/transformers/pull/3278",
"diff_url": "https://github.com/huggingface/transformers/pull/3278.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3278.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3277 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3277/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3277/comments | https://api.github.com/repos/huggingface/transformers/issues/3277/events | https://github.com/huggingface/transformers/pull/3277 | 581,297,842 | MDExOlB1bGxSZXF1ZXN0Mzg4Mzc2MDc3 | 3,277 | Add missing token classification for XLM | {
"login": "sakares",
"id": 1306031,
"node_id": "MDQ6VXNlcjEzMDYwMzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1306031?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sakares",
"html_url": "https://github.com/sakares",
"followers_url": "https://api.github.com/users/sakares/... | [] | closed | false | null | [] | [] | 1,584 | 1,585 | 1,585 | CONTRIBUTOR | null | The current [modeling_xlm.py](https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_xlm.py) did not have alike `ForTokenClassification` class like others, which helps for NER task comparison across all existing models.
now `XLMForTokenClassification` can be called via:
```python
from tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3277/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/3277/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3277",
"html_url": "https://github.com/huggingface/transformers/pull/3277",
"diff_url": "https://github.com/huggingface/transformers/pull/3277.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3277.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3276 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3276/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3276/comments | https://api.github.com/repos/huggingface/transformers/issues/3276/events | https://github.com/huggingface/transformers/issues/3276 | 581,255,883 | MDU6SXNzdWU1ODEyNTU4ODM= | 3,276 | Model fail to revert to generation_mode=False after generation | {
"login": "AOZMH",
"id": 49521559,
"node_id": "MDQ6VXNlcjQ5NTIxNTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/49521559?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AOZMH",
"html_url": "https://github.com/AOZMH",
"followers_url": "https://api.github.com/users/AOZMH/follow... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"I don't follow your workflow. Why do you want to run forward after you generate using the generated_ids as decoder_input_ids?\r\n\r\nIt would be easier to follow if you:\r\n- checked whether the behavior you expect is achieved by the authors' implementation in fairseq\r\n- made the example smaller\r\n\r\nThanks fo... | 1,584 | 1,587 | 1,587 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): BART
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
* ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3276/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3276/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3275 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3275/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3275/comments | https://api.github.com/repos/huggingface/transformers/issues/3275/events | https://github.com/huggingface/transformers/issues/3275 | 581,251,417 | MDU6SXNzdWU1ODEyNTE0MTc= | 3,275 | Cannot Achieve Reproducability with Tensorflow Transformer Models | {
"login": "nategr03",
"id": 55382292,
"node_id": "MDQ6VXNlcjU1MzgyMjky",
"avatar_url": "https://avatars.githubusercontent.com/u/55382292?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nategr03",
"html_url": "https://github.com/nategr03",
"followers_url": "https://api.github.com/users/nat... | [
{
"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 have the same issue and I get (sometimes wildly) different results from run to run. Here's my code:\r\n\r\nhttps://github.com/dmitriydligach/Thyme/blob/master/RelKeras/et.py\r\n\r\nDoes anybody have a solution yet?",
"This issue has been automatically marked as stale because it has not had recent activity. It ... | 1,584 | 1,593 | 1,593 | NONE | null | I've been experimenting with the roberta-large model with both PyTorch and TensorFlow for a sentiment analysis task. With the PyTorch model, I am able to achieve 100% reproducability, however, this is not the case with the Tensorflow model.
I have set all the necessary seeds as follows:
```
seed_val = 3
os.envi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3275/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3275/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3274 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3274/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3274/comments | https://api.github.com/repos/huggingface/transformers/issues/3274/events | https://github.com/huggingface/transformers/issues/3274 | 581,246,388 | MDU6SXNzdWU1ODEyNDYzODg= | 3,274 | Tremendous slowdown in multi-node distributed training | {
"login": "Genius1237",
"id": 15867363,
"node_id": "MDQ6VXNlcjE1ODY3MzYz",
"avatar_url": "https://avatars.githubusercontent.com/u/15867363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Genius1237",
"html_url": "https://github.com/Genius1237",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Did you find an answer to what the cause is?",
"Well, I guess that you need infiniband between the nodes to train a model as large as bert. The ethernet interface seems to be a bottleneck during the gradient synchronization process.\r\n\r\nTo test this out, I tried out a much smaller bert model on the existing s... | 1,584 | 1,605 | 1,584 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Bert
Finetuning a bert-base model on language modeling for a particular domain
Language I am using the model on (English, Chinese ...):
The problem arises when using:
* [x] the official example scripts: (give details below)
* [ ] my own modifie... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3274/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3274/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3273 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3273/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3273/comments | https://api.github.com/repos/huggingface/transformers/issues/3273/events | https://github.com/huggingface/transformers/pull/3273 | 581,241,930 | MDExOlB1bGxSZXF1ZXN0Mzg4MzMwNzU5 | 3,273 | add XLMForTokenClassification | {
"login": "sakares",
"id": 1306031,
"node_id": "MDQ6VXNlcjEzMDYwMzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1306031?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sakares",
"html_url": "https://github.com/sakares",
"followers_url": "https://api.github.com/users/sakares/... | [] | closed | false | null | [] | [] | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | Firstly, I want to experiment with NER task across all available architecture with Thai language pretrained model.
Turned out I found not TokenClassification class for XLM yet. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3273/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3273/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3273",
"html_url": "https://github.com/huggingface/transformers/pull/3273",
"diff_url": "https://github.com/huggingface/transformers/pull/3273.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3273.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3272 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3272/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3272/comments | https://api.github.com/repos/huggingface/transformers/issues/3272/events | https://github.com/huggingface/transformers/issues/3272 | 581,233,650 | MDU6SXNzdWU1ODEyMzM2NTA= | 3,272 | how can i distill xlm-roberta model , just like distill roberta model , any suggestion ?thanks a lot | {
"login": "ciel-zhang",
"id": 18700473,
"node_id": "MDQ6VXNlcjE4NzAwNDcz",
"avatar_url": "https://avatars.githubusercontent.com/u/18700473?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ciel-zhang",
"html_url": "https://github.com/ciel-zhang",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"Any answer on this? "
] | 1,584 | 1,649 | 1,589 | NONE | null | # ❓ Questions & Help
how can i distill xlm-roberta model , maybe i can distill it ,just like distill roberta model , any suggestion ? thanks a lot | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3272/reactions",
"total_count": 4,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/3272/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3271 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3271/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3271/comments | https://api.github.com/repos/huggingface/transformers/issues/3271/events | https://github.com/huggingface/transformers/issues/3271 | 581,171,540 | MDU6SXNzdWU1ODExNzE1NDA= | 3,271 | Finetuning before feature extraction | {
"login": "Stuffooh",
"id": 50005268,
"node_id": "MDQ6VXNlcjUwMDA1MjY4",
"avatar_url": "https://avatars.githubusercontent.com/u/50005268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Stuffooh",
"html_url": "https://github.com/Stuffooh",
"followers_url": "https://api.github.com/users/Stu... | [] | closed | false | null | [] | [
"The script has been renamed [`run_language_modeling.py`](https://github.com/huggingface/transformers/blob/master/examples/run_language_modeling.py) to better reflect the fact that it can also be used to train a new model from scratch.\r\n\r\nLet us know if it works.",
"Hi @julien-c thanks for the quick reply!\r... | 1,584 | 1,588 | 1,588 | NONE | null | Hi,
Currently I am using the pipeline feature extraction to extract features with my own dataset as input. I was wondering if it is possible to finetune different models using my own dataset before using the pipeline for feature extraction and if so what will be the easiest way to do so?
In the past there used to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3271/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3271/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3270 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3270/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3270/comments | https://api.github.com/repos/huggingface/transformers/issues/3270/events | https://github.com/huggingface/transformers/issues/3270 | 581,133,096 | MDU6SXNzdWU1ODExMzMwOTY= | 3,270 | train model from scratch with big data | {
"login": "jorgtied",
"id": 614718,
"node_id": "MDQ6VXNlcjYxNDcxOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/614718?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jorgtied",
"html_url": "https://github.com/jorgtied",
"followers_url": "https://api.github.com/users/jorgtie... | [
{
"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,584 | 1,589 | 1,589 | CONTRIBUTOR | 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
I would like to train a new model from scratch with some big data sets and the tutorial suggests to load and tokenize examples on the fly. It ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3270/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/3270/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3269 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3269/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3269/comments | https://api.github.com/repos/huggingface/transformers/issues/3269/events | https://github.com/huggingface/transformers/issues/3269 | 581,023,842 | MDU6SXNzdWU1ODEwMjM4NDI= | 3,269 | when I install transformers, it appeared this error | {
"login": "xiongma",
"id": 30991932,
"node_id": "MDQ6VXNlcjMwOTkxOTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/30991932?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiongma",
"html_url": "https://github.com/xiongma",
"followers_url": "https://api.github.com/users/xiongm... | [] | closed | false | null | [] | [
"You should add more information about your environment like OS, Python Version etc?\r\nI just installed it on Windows 10, WSL etc Python 3.6.9 :: Anaconda, Inc.; It worked..",
"I installed it on Mac, Python 3.6.10 Anaconda"
] | 1,584 | 1,585 | 1,585 | NONE | null | ERROR: Could not build wheels for tokenizers which use PEP 517 and cannot be installed directly | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3269/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3269/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3268 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3268/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3268/comments | https://api.github.com/repos/huggingface/transformers/issues/3268/events | https://github.com/huggingface/transformers/pull/3268 | 580,820,138 | MDExOlB1bGxSZXF1ZXN0Mzg3OTU5NzU1 | 3,268 | add gpt2-xl for tf | {
"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 | [] | [
"Good to merge for me. Tested whether model can generate text and everything seems fine.\r\n@julien-c ",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3268?src=pr&el=h1) Report\n> Merging [#3268](https://codecov.io/gh/huggingface/transformers/pull/3268?src=pr&el=desc) into [master](https://code... | 1,584 | 1,584 | 1,584 | MEMBER | null | TF GPT2-XL is now added to AWS and can be loaded via:
```
from transformers import TFGPT2LMHeadModel
model = TFGPT2LMHeadModel.from_pretrained('gpt2-xl')
```
Thanks @bkkaggle for pointing this out! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3268/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/3268/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3268",
"html_url": "https://github.com/huggingface/transformers/pull/3268",
"diff_url": "https://github.com/huggingface/transformers/pull/3268.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3268.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3267 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3267/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3267/comments | https://api.github.com/repos/huggingface/transformers/issues/3267/events | https://github.com/huggingface/transformers/pull/3267 | 580,768,852 | MDExOlB1bGxSZXF1ZXN0Mzg3OTE2MzEw | 3,267 | removing torch.cuda.empty_cache() from TF function | {
"login": "keskarnitish",
"id": 5945552,
"node_id": "MDQ6VXNlcjU5NDU1NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5945552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keskarnitish",
"html_url": "https://github.com/keskarnitish",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3267?src=pr&el=h1) Report\n> Merging [#3267](https://codecov.io/gh/huggingface/transformers/pull/3267?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/cc4c37952a961f2d13e83f3d5ba6dab811d0bbfd&el=desc) will **not chan... | 1,584 | 1,585 | 1,584 | CONTRIBUTOR | null | torch.cuda.empty_cache() was being called from a TF function (even when torch is unavailable)
not sure any replacement is needed if TF OOMs
simply running the benchmarks on a GPU with lower HBM will reproduce this error | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3267/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3267/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3267",
"html_url": "https://github.com/huggingface/transformers/pull/3267",
"diff_url": "https://github.com/huggingface/transformers/pull/3267.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3267.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3266 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3266/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3266/comments | https://api.github.com/repos/huggingface/transformers/issues/3266/events | https://github.com/huggingface/transformers/pull/3266 | 580,720,844 | MDExOlB1bGxSZXF1ZXN0Mzg3ODc2MzY2 | 3,266 | [BART] FP16 testing fixes | {
"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 have a suspicion that this will also fix the GPU test runner. "
] | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | closes #3249: fp16 forward pass failing when no `decoder_attention_mask` provided. Adds test coverage.
closes #3265: test_generate_fp16 was failing since #3140 (by sending proper kwargs to `BartForConditionalGenerate.generate`)
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3266/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3266/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3266",
"html_url": "https://github.com/huggingface/transformers/pull/3266",
"diff_url": "https://github.com/huggingface/transformers/pull/3266.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3266.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3265 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3265/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3265/comments | https://api.github.com/repos/huggingface/transformers/issues/3265/events | https://github.com/huggingface/transformers/issues/3265 | 580,685,392 | MDU6SXNzdWU1ODA2ODUzOTI= | 3,265 | [BART] test_generate_fp16 fails after PR#3140 | {
"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 | [] | [
"Interesting - will investigate. Probably something with the `device` of `unfinished_sents` then!\r\n\r\n@julien-c ",
"Caused by previously unexposed kwargs changing behavior:\r\npassing\r\n```\r\ndo_sample=False, early_stopping=True\r\n```\r\nin the unit test fixes them.",
"I'm getting this error @sshleifer ",... | 1,584 | 1,592 | 1,584 | CONTRIBUTOR | null | passes after `git checkout d6de6423` (commit preceding #3140)
Traceback:
```
unfinished_sents.mul_((~eos_in_sents).long())
# stop when there is a </s> in each sentence, or if we exceed the maximul length
> if unfinished_sents.max() == 0:
E RuntimeError: cuda runt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3265/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3265/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3264 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3264/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3264/comments | https://api.github.com/repos/huggingface/transformers/issues/3264/events | https://github.com/huggingface/transformers/pull/3264 | 580,636,961 | MDExOlB1bGxSZXF1ZXN0Mzg3ODA2ODkx | 3,264 | Clean special token init in modeling_....py | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Is good to merge for me if you guys are fine with it. Can open a new PR for a test proposal for this one and then also adapt the dutch bert model config on AWS. ",
"Isn't this breaking other hosted configs than the ones you're listing?\r\n\r\nLike https://huggingface.co/microsoft/DialoGPT-large for instance? (mo... | 1,584 | 1,584 | 1,584 | MEMBER | null | #### INTRO:
This PR is a follow-up from PR #3011.
After discussion with @thomwolf today, we decided that the variable `eos_token_ids` in all models causes more confusion and ugly code than it helps.
#### BACKGROUND:
All models now have `pad_token_id`, `bos_token_id` and `eos_token_id` as default values. The ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3264/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/3264/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3264",
"html_url": "https://github.com/huggingface/transformers/pull/3264",
"diff_url": "https://github.com/huggingface/transformers/pull/3264.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3264.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3263 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3263/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3263/comments | https://api.github.com/repos/huggingface/transformers/issues/3263/events | https://github.com/huggingface/transformers/pull/3263 | 580,561,650 | MDExOlB1bGxSZXF1ZXN0Mzg3NzQ0NDIx | 3,263 | Create camembert-base-README.md | {
"login": "benjamin-mlr",
"id": 17753315,
"node_id": "MDQ6VXNlcjE3NzUzMzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/17753315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/benjamin-mlr",
"html_url": "https://github.com/benjamin-mlr",
"followers_url": "https://api.github.c... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3263?src=pr&el=h1) Report\n> Merging [#3263](https://codecov.io/gh/huggingface/transformers/pull/3263?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/afea70c01c7d2a844662a4d66b9f9d933cc6449c?src=pr&el=desc) will **i... | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | First version of our model_card for the original uploaded CamemBERT.
@louismartin @pjox | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3263/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3263/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3263",
"html_url": "https://github.com/huggingface/transformers/pull/3263",
"diff_url": "https://github.com/huggingface/transformers/pull/3263.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3263.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3262 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3262/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3262/comments | https://api.github.com/repos/huggingface/transformers/issues/3262/events | https://github.com/huggingface/transformers/issues/3262 | 580,503,244 | MDU6SXNzdWU1ODA1MDMyNDQ= | 3,262 | TFAlbertMainLayer cannot be imported from the transformers library. | {
"login": "shreyansh05s",
"id": 22441463,
"node_id": "MDQ6VXNlcjIyNDQxNDYz",
"avatar_url": "https://avatars.githubusercontent.com/u/22441463?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shreyansh05s",
"html_url": "https://github.com/shreyansh05s",
"followers_url": "https://api.github.c... | [] | 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... | [
"This seems like a valid point, what do you think @LysandreJik?"
] | 1,584 | 1,584 | 1,584 | NONE | null | Unlike the TFBertMainLayer class which can be imported from transformers, TFAlbertMainLayer cannot be imported.
Locally I made the changes to init.py:
Import TFAlbertMainLayer from modeling_tf_albert
Similar to tensorflow version, pytorch version should also be implemented. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3262/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3262/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3261 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3261/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3261/comments | https://api.github.com/repos/huggingface/transformers/issues/3261/events | https://github.com/huggingface/transformers/pull/3261 | 580,479,370 | MDExOlB1bGxSZXF1ZXN0Mzg3Njc4ODUx | 3,261 | Update examples/ner/run_ner.py | {
"login": "lifefeel",
"id": 38556,
"node_id": "MDQ6VXNlcjM4NTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/38556?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lifefeel",
"html_url": "https://github.com/lifefeel",
"followers_url": "https://api.github.com/users/lifefeel/foll... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3261?src=pr&el=h1) Report\n> Merging [#3261](https://codecov.io/gh/huggingface/transformers/pull/3261?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/afea70c01c7d2a844662a4d66b9f9d933cc6449c&el=desc) will **increase... | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | Update the example file by changing the name of AlbertForTokenClassification to AlbertForSequenceClassification. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3261/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3261/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3261",
"html_url": "https://github.com/huggingface/transformers/pull/3261",
"diff_url": "https://github.com/huggingface/transformers/pull/3261.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3261.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3260 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3260/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3260/comments | https://api.github.com/repos/huggingface/transformers/issues/3260/events | https://github.com/huggingface/transformers/issues/3260 | 580,454,121 | MDU6SXNzdWU1ODA0NTQxMjE= | 3,260 | Model name 'distilbert-base-german-cased' was not found in model name list. | {
"login": "woiza",
"id": 7392237,
"node_id": "MDQ6VXNlcjczOTIyMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7392237?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/woiza",
"html_url": "https://github.com/woiza",
"followers_url": "https://api.github.com/users/woiza/follower... | [] | closed | false | null | [] | [
"Hi @woiza,\r\n\r\ntry to use: `DistilBertForSequenceClassification` instead of `BertForSequenceClassification` :)\r\n\r\n",
"@stefan-it \r\n\r\nthat worked, thank you!"
] | 1,584 | 1,584 | 1,584 | NONE | null | This code is ok:
`from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("distilbert-base-german-cased")
model = AutoModel.from_pretrained("distilbert-base-german-cased")
`
But the following fails:
`from transformers import BertForSequenceClassification, AdamW, BertCon... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3260/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3260/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3259 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3259/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3259/comments | https://api.github.com/repos/huggingface/transformers/issues/3259/events | https://github.com/huggingface/transformers/issues/3259 | 580,329,711 | MDU6SXNzdWU1ODAzMjk3MTE= | 3,259 | Great job advice | {
"login": "DenceChen",
"id": 11643704,
"node_id": "MDQ6VXNlcjExNjQzNzA0",
"avatar_url": "https://avatars.githubusercontent.com/u/11643704?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DenceChen",
"html_url": "https://github.com/DenceChen",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@DenceChen thanks for sharing :-) Feel free trying to add a model if you need it!"
] | 1,584 | 1,584 | 1,584 | NONE | null | First of all this is a very perfect job,I shared it with multiple colleagues,also please provide an implementation of the ElMo model and more tensorflow examples.
thank you very much~ | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3259/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3259/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3258 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3258/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3258/comments | https://api.github.com/repos/huggingface/transformers/issues/3258/events | https://github.com/huggingface/transformers/issues/3258 | 580,317,715 | MDU6SXNzdWU1ODAzMTc3MTU= | 3,258 | very slow performance on transformer 2.5.0 versus 2.3.0 | {
"login": "yes1234man",
"id": 59166627,
"node_id": "MDQ6VXNlcjU5MTY2NjI3",
"avatar_url": "https://avatars.githubusercontent.com/u/59166627?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yes1234man",
"html_url": "https://github.com/yes1234man",
"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 | [] | [
"I met the same issue when running the run_squad.py using the 2.5.0 version. ",
"Which PyTorch version are you using for your benchmarks? Is it the same for both, or is it different?",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further acti... | 1,584 | 1,591 | 1,591 | NONE | null | Hi
I am running the run_glue version with last version of transformer 2.5.0 python=3.5 and this is at least 10 times slower than running the same code with transformer 2.3.0 with python 3.6.9. I use the BERT model. The difference between speed of these versions is extremely high, could you have a look and check why th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3258/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3258/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3257 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3257/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3257/comments | https://api.github.com/repos/huggingface/transformers/issues/3257/events | https://github.com/huggingface/transformers/pull/3257 | 580,266,986 | MDExOlB1bGxSZXF1ZXN0Mzg3NTEwMzU5 | 3,257 | ELECTRA | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3257?src=pr&el=h1) Report\n> Merging [#3257](https://codecov.io/gh/huggingface/transformers/pull/3257?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/012d775b14d1ab673aab7eae151823a74a8525a6&el=desc) will **not chan... | 1,584 | 1,586 | 1,585 | MEMBER | null | Adds ELECTRA to the library.
The script I'm using to compare the different models is this [Github gist](https://gist.github.com/LysandreJik/db4c948f6b4483960de5cbac598ad4ed), coupled to [a modified version of the ELECTRA repository](https://github.com/LysandreJik/electra).
- [x] add model/configuration/tokenizati... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3257/reactions",
"total_count": 31,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 18,
"confused": 0,
"heart": 5,
"rocket": 8,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3257/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3257",
"html_url": "https://github.com/huggingface/transformers/pull/3257",
"diff_url": "https://github.com/huggingface/transformers/pull/3257.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3257.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3256 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3256/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3256/comments | https://api.github.com/repos/huggingface/transformers/issues/3256/events | https://github.com/huggingface/transformers/issues/3256 | 580,235,096 | MDU6SXNzdWU1ODAyMzUwOTY= | 3,256 | Implement Electra | {
"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 | [] | [
"We are currently working on it :-) \r\nCheck out PR: #3257"
] | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | 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. -->
https://github.com/google-research/electra
## Motivation
<!-- Please outline the motivation for the proposal. Is your feature request
related to ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3256/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3256/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3255 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3255/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3255/comments | https://api.github.com/repos/huggingface/transformers/issues/3255/events | https://github.com/huggingface/transformers/pull/3255 | 580,140,231 | MDExOlB1bGxSZXF1ZXN0Mzg3NDA4MjY5 | 3,255 | add BART to README | {
"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,584 | 1,584 | 1,584 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3255/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3255/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3255",
"html_url": "https://github.com/huggingface/transformers/pull/3255",
"diff_url": "https://github.com/huggingface/transformers/pull/3255.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3255.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3254 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3254/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3254/comments | https://api.github.com/repos/huggingface/transformers/issues/3254/events | https://github.com/huggingface/transformers/pull/3254 | 580,130,186 | MDExOlB1bGxSZXF1ZXN0Mzg3Mzk5NTMx | 3,254 | Bump psutil from 5.6.3 to 5.6.6 in /examples/distillation | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3254?src=pr&el=h1) Report\n> Merging [#3254](https://codecov.io/gh/huggingface/transformers/pull/3254?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2e81b9d8d76a4d41a13f74eb5e0f4a65d8143cab?src=pr&el=desc) will **d... | 1,584 | 1,584 | 1,584 | CONTRIBUTOR | null | Bumps [psutil](https://github.com/giampaolo/psutil) from 5.6.3 to 5.6.6.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/giampaolo/psutil/blob/master/HISTORY.rst">psutil's changelog</a>.</em></p>
<blockquote>
<h1>5.6.6</h1>
<p>2019-11-25</p>
<p><strong>Bug fixes</strong></p>
<ul>
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3254/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3254/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3254",
"html_url": "https://github.com/huggingface/transformers/pull/3254",
"diff_url": "https://github.com/huggingface/transformers/pull/3254.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3254.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3253 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3253/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3253/comments | https://api.github.com/repos/huggingface/transformers/issues/3253/events | https://github.com/huggingface/transformers/issues/3253 | 580,057,898 | MDU6SXNzdWU1ODAwNTc4OTg= | 3,253 | bug in run_glue | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"If you could include your environment and steps to replicate the issue, that would help. Its working for me on version 2.5.1 (from master branch).",
"Hi. Sorry then I must have used the old version of transformer, I will close the issue and reopen if needed. thanks. ",
"This issue has been automatically marked... | 1,584 | 1,589 | 1,584 | NONE | null | Hi I got this error when running the run_glue.py
from transformers import glue_compute_metrics as compute_metrics
ImportError: cannot import name 'glue_compute_metrics' | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3253/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3253/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3252 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3252/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3252/comments | https://api.github.com/repos/huggingface/transformers/issues/3252/events | https://github.com/huggingface/transformers/issues/3252 | 580,052,979 | MDU6SXNzdWU1ODAwNTI5Nzk= | 3,252 | batch_encode_plus cannot work properly | {
"login": "PosoSAgapo",
"id": 33200481,
"node_id": "MDQ6VXNlcjMzMjAwNDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/33200481?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PosoSAgapo",
"html_url": "https://github.com/PosoSAgapo",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This is quite a weird way to encode your data with `ds[0][0:3]`. There are two cases:\r\n\r\n1) You have a single string you want to encode:\r\n```\r\ninput_str = 'hello, what time is it?'\r\ninput_ids_dict = tokenizer.encode_plus(input_str)\r\n```\r\n\r\n2) You have a batch of input string data that you want to e... | 1,584 | 1,584 | 1,584 | NONE | null | I have data like below:
```
>>> ds[0][0:3]
["John was writing lyrics for his new album.He started experiencing writer 's block.He tried to force himself to write but it would n't do anythingHe tried to force himself to write but it would n't do anything.He took a walk , hung out with some friends , and looked at nat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3252/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3252/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3251 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3251/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3251/comments | https://api.github.com/repos/huggingface/transformers/issues/3251/events | https://github.com/huggingface/transformers/issues/3251 | 580,049,804 | MDU6SXNzdWU1ODAwNDk4MDQ= | 3,251 | Why is the seq_len dimension hard coded to be the first dimension of BERT's input? | {
"login": "entslscheia",
"id": 15921425,
"node_id": "MDQ6VXNlcjE1OTIxNDI1",
"avatar_url": "https://avatars.githubusercontent.com/u/15921425?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/entslscheia",
"html_url": "https://github.com/entslscheia",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"My wild guess is maybe there is no specific reason for this. It's just an implementation issue. If I really want do feed a tensor of different number of dimensions I can just do reshape twice (i.e., one before forward one after)."
] | 1,584 | 1,586 | 1,586 | NONE | null | According to your [code](https://github.com/huggingface/transformers/blob/2e81b9d8d76a4d41a13f74eb5e0f4a65d8143cab/src/transformers/modeling_bert.py#L164), the `seq_len` dimension always corresponds to the first dimension of the input tensor. I found this problem when I tried to feed a tensor of shape `(batch_size, num... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3251/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3251/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3250 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3250/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3250/comments | https://api.github.com/repos/huggingface/transformers/issues/3250/events | https://github.com/huggingface/transformers/issues/3250 | 580,029,285 | MDU6SXNzdWU1ODAwMjkyODU= | 3,250 | UnicodeDecodeError when loading BART from fairseq checkpoint | {
"login": "marmg",
"id": 25741926,
"node_id": "MDQ6VXNlcjI1NzQxOTI2",
"avatar_url": "https://avatars.githubusercontent.com/u/25741926?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marmg",
"html_url": "https://github.com/marmg",
"followers_url": "https://api.github.com/users/marmg/follow... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"Unfortunately, I don't think the conversion you are describing is currently supported. \r\nIf I were to attempt this on my own, I would try to modify https://github.com/huggingface/transformers/blob/master/src/transformers/convert_bart_original_pytorch_checkpoint_to_pytorch.py to take in a path to a checkpoint, ra... | 1,584 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
When trying to load a checpoint from the fariseq library I'm getting an UnicodeError
## Information
Model I am using (Bert, XLNet ...): BART
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3250/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3250/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3249 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3249/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3249/comments | https://api.github.com/repos/huggingface/transformers/issues/3249/events | https://github.com/huggingface/transformers/issues/3249 | 580,008,556 | MDU6SXNzdWU1ODAwMDg1NTY= | 3,249 | Using FP16 on BartModel | {
"login": "AOZMH",
"id": 49521559,
"node_id": "MDQ6VXNlcjQ5NTIxNTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/49521559?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AOZMH",
"html_url": "https://github.com/AOZMH",
"followers_url": "https://api.github.com/users/AOZMH/follow... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"@sshleifer May I ask could you reproduce the error in your machine? I ran the same code on a Linux machine with master-branch of transformers, but still got the same error. I'm planning to use BartModel these days so please notify me at your earliest convenience if there're any updates. Many thanks!",
"Yes, will... | 1,584 | 1,608 | 1,584 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): BART
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
* ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3249/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3249/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3248 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3248/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3248/comments | https://api.github.com/repos/huggingface/transformers/issues/3248/events | https://github.com/huggingface/transformers/pull/3248 | 579,962,693 | MDExOlB1bGxSZXF1ZXN0Mzg3MjYzMTQ5 | 3,248 | [model_cards] polbert: simplify usage example with pipelines | {
"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,584 | 1,584 | 1,584 | MEMBER | null | Co-Authored-By: Darek Kłeczek | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3248/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3248/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3248",
"html_url": "https://github.com/huggingface/transformers/pull/3248",
"diff_url": "https://github.com/huggingface/transformers/pull/3248.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3248.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3247 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3247/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3247/comments | https://api.github.com/repos/huggingface/transformers/issues/3247/events | https://github.com/huggingface/transformers/pull/3247 | 579,923,877 | MDExOlB1bGxSZXF1ZXN0Mzg3MjMwNzg1 | 3,247 | Improved Error message when loading config/model with .from_pretrained() | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [
{
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.gith... | [
"Thanks to @mariamabarham for pointing this out :-) ",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3247?src=pr&el=h1) Report\n> Merging [#3247](https://codecov.io/gh/huggingface/transformers/pull/3247?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/dc848c29... | 1,584 | 1,584 | 1,584 | MEMBER | null | Given the previous error message, it can be quite time-consuming to find out that the only problem was that the /path/to/model/dir was incorrect :D | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3247/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3247/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3247",
"html_url": "https://github.com/huggingface/transformers/pull/3247",
"diff_url": "https://github.com/huggingface/transformers/pull/3247.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3247.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3246 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3246/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3246/comments | https://api.github.com/repos/huggingface/transformers/issues/3246/events | https://github.com/huggingface/transformers/issues/3246 | 579,825,303 | MDU6SXNzdWU1Nzk4MjUzMDM= | 3,246 | How do you do inference in production? | {
"login": "ZhuoranLyu",
"id": 8801452,
"node_id": "MDQ6VXNlcjg4MDE0NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8801452?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhuoranLyu",
"html_url": "https://github.com/ZhuoranLyu",
"followers_url": "https://api.github.com/users... | [] | 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... | [
"Did you try out to just use this `save_...` function: https://github.com/huggingface/transformers/blob/2e81b9d8d76a4d41a13f74eb5e0f4a65d8143cab/src/transformers/modeling_tf_utils.py#L232 ? \r\n\r\n-> \r\n```\r\ntf_model = TFGPT2LMHeadModel.from_pretrained(\"tmp/\", from_pt=True)\r\ntf_model.save_pretrained(\"./tf_... | 1,584 | 1,674 | 1,588 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3246/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/3246/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3245 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3245/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3245/comments | https://api.github.com/repos/huggingface/transformers/issues/3245/events | https://github.com/huggingface/transformers/issues/3245 | 579,760,631 | MDU6SXNzdWU1Nzk3NjA2MzE= | 3,245 | pad error in BertTokenizer.batch_encode_plus | {
"login": "PosoSAgapo",
"id": 33200481,
"node_id": "MDQ6VXNlcjMzMjAwNDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/33200481?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PosoSAgapo",
"html_url": "https://github.com/PosoSAgapo",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This will greatly effect the output of BERT model,I do not quite know whether this is the problem of the code or the problem of the package.\r\nd[0] and d[1] are lists of sentences,which is used to train the model.",
"When I was trying to decode the input_ids, the result shows that the text_pair is not encoded p... | 1,584 | 1,590 | 1,590 | NONE | null | As the document writes,the value that bert do not attend should have attention value of 0.However, I was using the BertTokenizer,the result is different.
This is my code:
```
input_wsrq1ids=tokenizer.batch_encode_plus(d[0],text_pair=d[1],add_special_tokens=True,return_tensors='pt')
>>> input_wsrq1ids['input_ids'][0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3245/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3245/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3244 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3244/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3244/comments | https://api.github.com/repos/huggingface/transformers/issues/3244/events | https://github.com/huggingface/transformers/issues/3244 | 579,751,004 | MDU6SXNzdWU1Nzk3NTEwMDQ= | 3,244 | Get word seperator char for tokenization | {
"login": "Ricocotam",
"id": 9447752,
"node_id": "MDQ6VXNlcjk0NDc3NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/9447752?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ricocotam",
"html_url": "https://github.com/Ricocotam",
"followers_url": "https://api.github.com/users/Ri... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834052129,
"node_id": "MDU6TGFiZWwxODM0MDUyMTI5",
... | 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 don't think you should delete the issue since it's kinda useful to have and not having it may be embarassing. But do as you want !",
... | 1,583 | 1,595 | 1,595 | NONE | null | # 🚀 Feature request
When using some of tokenization models (e.g. : CamemBERT) you can find the char used to separate words after some investigation ([start](https://github.com/huggingface/transformers/blob/a4c75f149269099a98613f51b76cd0b579a109ee/src/transformers/tokenization_camembert.py#L274), [first jump](https://... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3244/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3244/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3243 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3243/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3243/comments | https://api.github.com/repos/huggingface/transformers/issues/3243/events | https://github.com/huggingface/transformers/issues/3243 | 579,750,540 | MDU6SXNzdWU1Nzk3NTA1NDA= | 3,243 | seems TFBertForSequenceClassification cannot load tf1.x model? | {
"login": "fword",
"id": 2551601,
"node_id": "MDQ6VXNlcjI1NTE2MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2551601?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fword",
"html_url": "https://github.com/fword",
"followers_url": "https://api.github.com/users/fword/follower... | [] | closed | false | null | [] | [
"All of our TensorFlow models are TF2+ only."
] | 1,583 | 1,584 | 1,584 | NONE | null | for TFPreTrainedModel
model.load_weights(resolved_archive_file, by_name=True)
seems by_name is always true.while i see in "tensorflow_core/python/keras/engine/network.py"
if save_format == 'tf':
status = self._trackable_saver.restore(filepath)
if by_name:
raise NotImplementedError(
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3243/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3243/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3242 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3242/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3242/comments | https://api.github.com/repos/huggingface/transformers/issues/3242/events | https://github.com/huggingface/transformers/pull/3242 | 579,722,755 | MDExOlB1bGxSZXF1ZXN0Mzg3MDY0OTU3 | 3,242 | Update examples/ner/run_ner.py | {
"login": "lifefeel",
"id": 38556,
"node_id": "MDQ6VXNlcjM4NTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/38556?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lifefeel",
"html_url": "https://github.com/lifefeel",
"followers_url": "https://api.github.com/users/lifefeel/foll... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3242?src=pr&el=h1) Report\n> Merging [#3242](https://codecov.io/gh/huggingface/transformers/pull/3242?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a4c75f149269099a98613f51b76cd0b579a109ee?src=pr&el=desc) will **d... | 1,583 | 1,584 | 1,584 | CONTRIBUTOR | null | Update the example file by changing the name of AlbertForTokenClassification to AlbertForSequenceClassification. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3242/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3242/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3242",
"html_url": "https://github.com/huggingface/transformers/pull/3242",
"diff_url": "https://github.com/huggingface/transformers/pull/3242.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3242.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3241 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3241/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3241/comments | https://api.github.com/repos/huggingface/transformers/issues/3241/events | https://github.com/huggingface/transformers/pull/3241 | 579,692,911 | MDExOlB1bGxSZXF1ZXN0Mzg3MDQwMzkz | 3,241 | simplify polbert usage example with pipelines | {
"login": "kldarek",
"id": 15803781,
"node_id": "MDQ6VXNlcjE1ODAzNzgx",
"avatar_url": "https://avatars.githubusercontent.com/u/15803781?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kldarek",
"html_url": "https://github.com/kldarek",
"followers_url": "https://api.github.com/users/kldare... | [
{
"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 | [] | [
"Squashed into #3248 ",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3241?src=pr&el=h1) Report\n> Merging [#3241](https://codecov.io/gh/huggingface/transformers/pull/3241?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a4c75f149269099a98613f51b76cd0b579a109e... | 1,583 | 1,584 | 1,584 | CONTRIBUTOR | null | Indeed this is much simpler now! Pipelines look great :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3241/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3241/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3241",
"html_url": "https://github.com/huggingface/transformers/pull/3241",
"diff_url": "https://github.com/huggingface/transformers/pull/3241.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3241.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3240 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3240/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3240/comments | https://api.github.com/repos/huggingface/transformers/issues/3240/events | https://github.com/huggingface/transformers/pull/3240 | 579,687,742 | MDExOlB1bGxSZXF1ZXN0Mzg3MDM2MDI5 | 3,240 | Minor Bug Fix for Running Roberta on Glue | {
"login": "skarakulak",
"id": 8154783,
"node_id": "MDQ6VXNlcjgxNTQ3ODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8154783?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/skarakulak",
"html_url": "https://github.com/skarakulak",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,583 | 1,584 | 1,584 | CONTRIBUTOR | null | Since `RobertaTokenizer` does not generate `return_type_ids`, running Glue with Roberta throws errors. This fix overwrites the default behaviour of the tokenizers, and forces them to generate `return_type_ids`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3240/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3240/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3240",
"html_url": "https://github.com/huggingface/transformers/pull/3240",
"diff_url": "https://github.com/huggingface/transformers/pull/3240.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3240.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3239 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3239/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3239/comments | https://api.github.com/repos/huggingface/transformers/issues/3239/events | https://github.com/huggingface/transformers/pull/3239 | 579,683,455 | MDExOlB1bGxSZXF1ZXN0Mzg3MDMyNDY4 | 3,239 | Minor Bug Fix for Running Roberta on Glue | {
"login": "skarakulak",
"id": 8154783,
"node_id": "MDQ6VXNlcjgxNTQ3ODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8154783?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/skarakulak",
"html_url": "https://github.com/skarakulak",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,583 | 1,583 | 1,583 | CONTRIBUTOR | null | Since `RobertaTokenizer` does not generate `return_type_ids`, running Glue with Roberta throws errors. This fix overwrites the default behaviour of the tokenizers, and forces them to generate `return_type_ids`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3239/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3239/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3239",
"html_url": "https://github.com/huggingface/transformers/pull/3239",
"diff_url": "https://github.com/huggingface/transformers/pull/3239.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3239.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3238 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3238/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3238/comments | https://api.github.com/repos/huggingface/transformers/issues/3238/events | https://github.com/huggingface/transformers/pull/3238 | 579,650,593 | MDExOlB1bGxSZXF1ZXN0Mzg3MDA2MTQz | 3,238 | add output_past option to BERT class | {
"login": "asahi417",
"id": 17395980,
"node_id": "MDQ6VXNlcjE3Mzk1OTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/17395980?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asahi417",
"html_url": "https://github.com/asahi417",
"followers_url": "https://api.github.com/users/asa... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,583 | 1,594 | 1,594 | NONE | null | I need key-value of the present state like GPT class for BERT as well (I'm testing PPLM like architecture but with masked LM), and here I've added the option `output_past` to BERT to enable returning those statistics. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3238/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3238/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3238",
"html_url": "https://github.com/huggingface/transformers/pull/3238",
"diff_url": "https://github.com/huggingface/transformers/pull/3238.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3238.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3237 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3237/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3237/comments | https://api.github.com/repos/huggingface/transformers/issues/3237/events | https://github.com/huggingface/transformers/issues/3237 | 579,646,810 | MDU6SXNzdWU1Nzk2NDY4MTA= | 3,237 | How to encode a batch of sequence? | {
"login": "PosoSAgapo",
"id": 33200481,
"node_id": "MDQ6VXNlcjMzMjAwNDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/33200481?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PosoSAgapo",
"html_url": "https://github.com/PosoSAgapo",
"followers_url": "https://api.github.com/use... | [] | 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... | [
"`batch_encode_plus` is the correct method :-) \r\n\r\n```\r\nfrom transformers import BertTokenizer\r\nbatch_input_str = ((\"Mary spends $20 on pizza\"), (\"She likes eating it\"), (\"The pizza was great\"))\r\ntok = BertTokenizer.from_pretrained('bert-base-uncased')\r\nprint(tok.batch_encode_plus(batch_input_str,... | 1,583 | 1,584 | 1,584 | NONE | null | Hi,I am trying to learn this transformers package.
I prepared the data as following format:
`(("Mary spends $20 on pizza"),("She likes eating it),("The pizza was great"))`
I saw methods like `tokenizer.encode`,`tokenizer.encode_plus`t and `tokenizer.batch_encode_plus`.However, the `tokenizer.encode` seems to only en... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3237/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/3237/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3236 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3236/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3236/comments | https://api.github.com/repos/huggingface/transformers/issues/3236/events | https://github.com/huggingface/transformers/pull/3236 | 579,630,038 | MDExOlB1bGxSZXF1ZXN0Mzg2OTg5Nzg1 | 3,236 | [WIP] Add BART for summarization training with CNN/DM using pytorch-lightning | {
"login": "andr-ec",
"id": 16169185,
"node_id": "MDQ6VXNlcjE2MTY5MTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/16169185?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andr-ec",
"html_url": "https://github.com/andr-ec",
"followers_url": "https://api.github.com/users/andr-e... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3236?src=pr&el=h1) Report\n> Merging [#3236](https://codecov.io/gh/huggingface/transformers/pull/3236?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9d4a01905fad4f5eed2e6c1037dea9877711427a&el=desc) will **not chan... | 1,583 | 1,585 | 1,585 | CONTRIBUTOR | null | This pull request adds to the example for BART for summarization. I used the [example for NER](https://github.com/huggingface/transformers/tree/master/examples/ner) using pytorch-lightning as guidance. This example will train on CNN/DM and evaluate, and get decent results, though I haven't trained it on the full datase... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3236/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3236/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3236",
"html_url": "https://github.com/huggingface/transformers/pull/3236",
"diff_url": "https://github.com/huggingface/transformers/pull/3236.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3236.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3235 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3235/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3235/comments | https://api.github.com/repos/huggingface/transformers/issues/3235/events | https://github.com/huggingface/transformers/pull/3235 | 579,573,974 | MDExOlB1bGxSZXF1ZXN0Mzg2OTQ0MTcy | 3,235 | Directories not found when saving checkpoints | {
"login": "nguyenhoan1988",
"id": 2057220,
"node_id": "MDQ6VXNlcjIwNTcyMjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2057220?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nguyenhoan1988",
"html_url": "https://github.com/nguyenhoan1988",
"followers_url": "https://api.gith... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Do you mind making sure the code quality test runs before we merge? You can see how to do that in the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed i... | 1,583 | 1,594 | 1,594 | NONE | null | _rotate_checkpoints deletes some checkpoint directory which causes "directories not found" error | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3235/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3235/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3235",
"html_url": "https://github.com/huggingface/transformers/pull/3235",
"diff_url": "https://github.com/huggingface/transformers/pull/3235.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3235.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3234 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3234/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3234/comments | https://api.github.com/repos/huggingface/transformers/issues/3234/events | https://github.com/huggingface/transformers/pull/3234 | 579,568,049 | MDExOlB1bGxSZXF1ZXN0Mzg2OTM5MTIy | 3,234 | [model_cards] 🇹🇷 Add new (cased) DistilBERTurk model | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Also cc @VictorSanh for the model distillation script.\r\n\r\nThanks @stefan-it this is awesome",
"I'm supposed to use the same line-breaking options as GitHub for markdown formatting (using marked.js), however this still seems to not render like on GitHub: https://huggingface.co/dbmdz/distilbert-base-turkish-ca... | 1,583 | 1,583 | 1,583 | COLLABORATOR | null | Hi,
this PR adds a new distilled BERT model for Turkish: DistilBERTurk 🤗
It was trained with the official Hugging Face [implementation](https://github.com/huggingface/transformers/tree/master/examples/distillation) for model distillation. It uses 7GB of the original training data of BERTurk, and uses the cased B... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3234/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3234/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3234",
"html_url": "https://github.com/huggingface/transformers/pull/3234",
"diff_url": "https://github.com/huggingface/transformers/pull/3234.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3234.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3233 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3233/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3233/comments | https://api.github.com/repos/huggingface/transformers/issues/3233/events | https://github.com/huggingface/transformers/pull/3233 | 579,559,306 | MDExOlB1bGxSZXF1ZXN0Mzg2OTMxODMy | 3,233 | Bart: update example for #3140 compatibility | {
"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 | [] | [
"Had to temporarily pause the self-hosted CI runner while I debug while it's been failing, @sshleifer "
] | 1,583 | 1,584 | 1,584 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3233/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3233/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3233",
"html_url": "https://github.com/huggingface/transformers/pull/3233",
"diff_url": "https://github.com/huggingface/transformers/pull/3233.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3233.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3232 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3232/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3232/comments | https://api.github.com/repos/huggingface/transformers/issues/3232/events | https://github.com/huggingface/transformers/issues/3232 | 579,546,895 | MDU6SXNzdWU1Nzk1NDY4OTU= | 3,232 | [TorchHub]Repo's layout is not compatible with TorchHub anymore since 2.0 | {
"login": "chenliu0831",
"id": 1504463,
"node_id": "MDQ6VXNlcjE1MDQ0NjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1504463?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenliu0831",
"html_url": "https://github.com/chenliu0831",
"followers_url": "https://api.github.com/us... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"Any plan to fix this?",
"I missed that issue, but this was fixed a couple of weeks ago, and it's even covered by CI now: https://gith... | 1,583 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
When I try loading a model/tokenizer from the [pytorch hub](https://pytorch.org/hub/huggingface_pytorch-transformers/) page, the hub loading code is not working anymore. Pre transformers 2.0.0, the same loading code is working.
On a quick look, I believe it's related to the repo's fold layout since 2.0 w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3232/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3232/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3231 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3231/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3231/comments | https://api.github.com/repos/huggingface/transformers/issues/3231/events | https://github.com/huggingface/transformers/issues/3231 | 579,455,241 | MDU6SXNzdWU1Nzk0NTUyNDE= | 3,231 | train dev test split with BERT | {
"login": "ksatvat",
"id": 43620635,
"node_id": "MDQ6VXNlcjQzNjIwNjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/43620635?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ksatvat",
"html_url": "https://github.com/ksatvat",
"followers_url": "https://api.github.com/users/ksatva... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"You can write or add your own version easily..",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,583 | 1,589 | 1,589 | NONE | null | Does `run_multiple_choice.py` work on train dev test splits?
I need to run BERT on 3 labeled datasets. Train it on my training set, validate it on my validation set (tune hyperparameters and calculate loss), and evaluate it on my test set (report performance). I finally want to do prediction on a forth unlabeled datas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3231/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3231/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3230 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3230/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3230/comments | https://api.github.com/repos/huggingface/transformers/issues/3230/events | https://github.com/huggingface/transformers/pull/3230 | 579,375,007 | MDExOlB1bGxSZXF1ZXN0Mzg2NzgwMTE1 | 3,230 | Create README.md for bio+discharge summary BERT | {
"login": "EmilyAlsentzer",
"id": 7334040,
"node_id": "MDQ6VXNlcjczMzQwNDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7334040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EmilyAlsentzer",
"html_url": "https://github.com/EmilyAlsentzer",
"followers_url": "https://api.gith... | [
{
"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/3230?src=pr&el=h1) Report\n> Merging [#3230](https://codecov.io/gh/huggingface/transformers/pull/3230?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e43afb1bb87f01470d0bd16cac2d2aac50a76d7a?src=pr&el=desc) will **i... | 1,583 | 1,583 | 1,583 | CONTRIBUTOR | null | Add Bio+ Discharge Summary BERT from Publicly Available Clinical BERT Embeddings | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3230/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3230/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3230",
"html_url": "https://github.com/huggingface/transformers/pull/3230",
"diff_url": "https://github.com/huggingface/transformers/pull/3230.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3230.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3229 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3229/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3229/comments | https://api.github.com/repos/huggingface/transformers/issues/3229/events | https://github.com/huggingface/transformers/pull/3229 | 579,370,967 | MDExOlB1bGxSZXF1ZXN0Mzg2Nzc2NzUy | 3,229 | Add Bio+ Clinical BERT model card | {
"login": "EmilyAlsentzer",
"id": 7334040,
"node_id": "MDQ6VXNlcjczMzQwNDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7334040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EmilyAlsentzer",
"html_url": "https://github.com/EmilyAlsentzer",
"followers_url": "https://api.gith... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,583 | 1,583 | 1,583 | CONTRIBUTOR | null | Adding Bio+ Clinical BERT model from Publicly Available Clinical BERT Embeddings paper | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3229/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3229/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3229",
"html_url": "https://github.com/huggingface/transformers/pull/3229",
"diff_url": "https://github.com/huggingface/transformers/pull/3229.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3229.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3228 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3228/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3228/comments | https://api.github.com/repos/huggingface/transformers/issues/3228/events | https://github.com/huggingface/transformers/pull/3228 | 579,321,478 | MDExOlB1bGxSZXF1ZXN0Mzg2NzM2NDQ2 | 3,228 | Support T5 Generation | {
"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/3228?src=pr&el=h1) Report\n> Merging [#3228](https://codecov.io/gh/huggingface/transformers/pull/3228?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/68ef0a111f8740f06ca4e5a00374ec4e2adb0a6d&el=desc) will **increase... | 1,583 | 1,642 | 1,584 | MEMBER | null | In this PR some first commits are added to make T5 work for generation.
the `T5WithLMHeadModel.forward()` has a special API due to its encoder-decoder nature.
This is why we need to add a `prepare_inputs_for_generation()` in `t5_modeling_utils.py` to
correctly prepare t5's inputs for generation.
Some easy t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3228/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3228/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3228",
"html_url": "https://github.com/huggingface/transformers/pull/3228",
"diff_url": "https://github.com/huggingface/transformers/pull/3228.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3228.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3227 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3227/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3227/comments | https://api.github.com/repos/huggingface/transformers/issues/3227/events | https://github.com/huggingface/transformers/issues/3227 | 579,302,501 | MDU6SXNzdWU1NzkzMDI1MDE= | 3,227 | An Error report about pipeline | {
"login": "SizhaoXu",
"id": 50722884,
"node_id": "MDQ6VXNlcjUwNzIyODg0",
"avatar_url": "https://avatars.githubusercontent.com/u/50722884?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SizhaoXu",
"html_url": "https://github.com/SizhaoXu",
"followers_url": "https://api.github.com/users/Siz... | [
{
"id": 1771187924,
"node_id": "MDU6TGFiZWwxNzcxMTg3OTI0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Pipeline",
"name": "Core: Pipeline",
"color": "FF7066",
"default": false,
"description": "Internals of the library; Pipeline."
},
{
"id": 184337... | closed | false | null | [] | [
"I have this same issue, but have no problems running:\r\n\r\nnlp = pipeline(\"question-answering\")\r\n\r\n\r\nNote: To install the library, I had to install tokenizers version 0.6.0 separately, git clone the transformers repo and edit the setup.py file before installing as per @dafraile's answer for issue: https:... | 1,583 | 1,585 | 1,585 | NONE | null | # 🐛 Bug
## Information
This may be an easy question, but it has been bothering me all day.
When I run the code:
nlp = pipeline("question-answering")
It always tells me:
Couldn't reach server at 'https://s3.amazonaws.com/models.huggingface.co/bert/distilbert-base-cased-distilled-squad-modelcard.json' to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3227/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3227/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3226 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3226/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3226/comments | https://api.github.com/repos/huggingface/transformers/issues/3226/events | https://github.com/huggingface/transformers/issues/3226 | 579,272,442 | MDU6SXNzdWU1NzkyNzI0NDI= | 3,226 | Strange behaviour after using BertTokenizer.add_tokens() | {
"login": "Saltychtao",
"id": 9932507,
"node_id": "MDQ6VXNlcjk5MzI1MDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9932507?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Saltychtao",
"html_url": "https://github.com/Saltychtao",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"No, this is expected behavior. If it was returning `['inv', 'ol', 've']`, then the model would identify each token as being a beginning of word token, whereas the last two are actually part of words following a beginning of a word.",
"Thanks for your response. But since both 'involve' and `['inv', 'ol', 've']` a... | 1,583 | 1,584 | 1,584 | NONE | null | When a word is in origin Bert vocabulary, it would not be split. But after adding several its subtokens, it would be split into pieces, which seems to inconsistent with the longest match first algorithm.
To reproduce:
```
import transformers
tokenizer = transformers.BertTokenizer.from_pretrained('bert-base-uncased... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3226/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3226/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3225 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3225/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3225/comments | https://api.github.com/repos/huggingface/transformers/issues/3225/events | https://github.com/huggingface/transformers/pull/3225 | 579,271,255 | MDExOlB1bGxSZXF1ZXN0Mzg2Njk1MDA0 | 3,225 | Complete merge Seq-2-Seq generation into default generation | {
"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/3225?src=pr&el=h1) Report\n> Merging [#3225](https://codecov.io/gh/huggingface/transformers/pull/3225?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2e81b9d8d76a4d41a13f74eb5e0f4a65d8143cab?src=pr&el=desc) will **i... | 1,583 | 1,584 | 1,584 | MEMBER | null | This is a follow-up PR to finalize #3140 .
There was still no conclusion on how to handle the fairseq tricks for generation. To summarize:
I think we have three options:
1. Remove all faiseq tricks. Here the ROUGE score is: **20.285**
2. Implement the fairseq tricks EXCEPT leaving the starting decoding_input... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3225/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3225/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3225",
"html_url": "https://github.com/huggingface/transformers/pull/3225",
"diff_url": "https://github.com/huggingface/transformers/pull/3225.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3225.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3224 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3224/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3224/comments | https://api.github.com/repos/huggingface/transformers/issues/3224/events | https://github.com/huggingface/transformers/issues/3224 | 579,181,160 | MDU6SXNzdWU1NzkxODExNjA= | 3,224 | Problem with PreTrainedTokenizerFast and return_offsets_mapping | {
"login": "mary-design-testing",
"id": 54845028,
"node_id": "MDQ6VXNlcjU0ODQ1MDI4",
"avatar_url": "https://avatars.githubusercontent.com/u/54845028?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mary-design-testing",
"html_url": "https://github.com/mary-design-testing",
"followers_url": ... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1771187924,
"node_id": "MDU6TGFiZWwxNzcxMTg3OTI0",
... | closed | false | null | [] | [
"I am running into the same issue. Any progress on getting this into a release?",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,583 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Bert, bert-large-uncased-whole-word-masking-finetuned-squad
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts:
* [X] my own modified scripts:
The tasks I am work... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3224/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3224/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3223 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3223/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3223/comments | https://api.github.com/repos/huggingface/transformers/issues/3223/events | https://github.com/huggingface/transformers/issues/3223 | 579,098,154 | MDU6SXNzdWU1NzkwOTgxNTQ= | 3,223 | torch.distributed.barrier() have NCCL error | {
"login": "Limtle",
"id": 47511735,
"node_id": "MDQ6VXNlcjQ3NTExNzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/47511735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Limtle",
"html_url": "https://github.com/Limtle",
"followers_url": "https://api.github.com/users/Limtle/fo... | [] | closed | false | null | [] | [] | 1,583 | 1,599 | 1,583 | NONE | null | ## Details
<!-- Description of your issue -->
**singularity :** ```singularity build pytorch20.02.simg docker://nvcr.io/nvidia/pytorch:20.02-py3```
I use Slurm and singularity to run run_glue.py but have NCCL error on torch.distributed.barrier()
### test.sh
```
#!/bin/bash
#SBATCH --nodes=1
#SBATCH --ntas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3223/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3223/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3222 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3222/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3222/comments | https://api.github.com/repos/huggingface/transformers/issues/3222/events | https://github.com/huggingface/transformers/issues/3222 | 579,092,811 | MDU6SXNzdWU1NzkwOTI4MTE= | 3,222 | Why the pre-trained models will be downloaded each times? | {
"login": "xf05888",
"id": 33285394,
"node_id": "MDQ6VXNlcjMzMjg1Mzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/33285394?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xf05888",
"html_url": "https://github.com/xf05888",
"followers_url": "https://api.github.com/users/xf0588... | [] | closed | false | null | [] | [
"They should definitely be cached locally.\r\n\r\nDo you have a sample code showing the behaviour of re-downloading every time?",
"Yes, here is a example (not happen every time but after system restart):\r\n```\r\nimport torch\r\nfrom transformers import AlbertTokenizer\r\nalbert_tokenizer = AlbertTokenizer.from_... | 1,583 | 1,689 | 1,585 | NONE | null | I often use pre-trained models, but when I want to import it (after restart).
But each time, I have to download again. So is there a function that can automatically save the model you downloaded in a directory? In Gluon-NLP, it will save the model you used in `.mxnet` in your home directory. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3222/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3222/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3221 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3221/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3221/comments | https://api.github.com/repos/huggingface/transformers/issues/3221/events | https://github.com/huggingface/transformers/pull/3221 | 579,060,490 | MDExOlB1bGxSZXF1ZXN0Mzg2NTI1NDA2 | 3,221 | Model card for dkleczek/bert-base-polish-uncased-v1 | {
"login": "kldarek",
"id": 15803781,
"node_id": "MDQ6VXNlcjE1ODAzNzgx",
"avatar_url": "https://avatars.githubusercontent.com/u/15803781?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kldarek",
"html_url": "https://github.com/kldarek",
"followers_url": "https://api.github.com/users/kldare... | [
{
"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/3221?src=pr&el=h1) Report\n> Merging [#3221](https://codecov.io/gh/huggingface/transformers/pull/3221?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d6de6423baf02a971d38ee69824104a1f0f85ad2&el=desc) will **decrease... | 1,583 | 1,584 | 1,583 | CONTRIBUTOR | null | Model card for dkleczek/bert-base-polish-uncased-v1 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3221/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/3221/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3221",
"html_url": "https://github.com/huggingface/transformers/pull/3221",
"diff_url": "https://github.com/huggingface/transformers/pull/3221.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3221.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3220 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3220/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3220/comments | https://api.github.com/repos/huggingface/transformers/issues/3220/events | https://github.com/huggingface/transformers/issues/3220 | 579,043,912 | MDU6SXNzdWU1NzkwNDM5MTI= | 3,220 | How to tokenize word to characeter | {
"login": "ynebula",
"id": 22788865,
"node_id": "MDQ6VXNlcjIyNzg4ODY1",
"avatar_url": "https://avatars.githubusercontent.com/u/22788865?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ynebula",
"html_url": "https://github.com/ynebula",
"followers_url": "https://api.github.com/users/ynebul... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
... | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,583 | 1,590 | 1,590 | NONE | null | I am studying machine reading comprehension on xlmroberta.
My data is korquad.
I need to tokenize all word to character.
e.g. by english
This is a dog
-> _T h i s _i s _a _d o g
please let me know. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3220/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3220/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3219 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3219/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3219/comments | https://api.github.com/repos/huggingface/transformers/issues/3219/events | https://github.com/huggingface/transformers/pull/3219 | 578,938,295 | MDExOlB1bGxSZXF1ZXN0Mzg2NDI3Mzk1 | 3,219 | Typo in warning message | {
"login": "elgeish",
"id": 6879673,
"node_id": "MDQ6VXNlcjY4Nzk2NzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6879673?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elgeish",
"html_url": "https://github.com/elgeish",
"followers_url": "https://api.github.com/users/elgeish/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3219?src=pr&el=h1) Report\n> Merging [#3219](https://codecov.io/gh/huggingface/transformers/pull/3219?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d6de6423baf02a971d38ee69824104a1f0f85ad2&el=desc) will **not chan... | 1,583 | 1,586 | 1,584 | CONTRIBUTOR | null | `T5Tokenizer` instead of `XLNetTokenizer` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3219/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3219/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3219",
"html_url": "https://github.com/huggingface/transformers/pull/3219",
"diff_url": "https://github.com/huggingface/transformers/pull/3219.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3219.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3218 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3218/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3218/comments | https://api.github.com/repos/huggingface/transformers/issues/3218/events | https://github.com/huggingface/transformers/pull/3218 | 578,929,015 | MDExOlB1bGxSZXF1ZXN0Mzg2NDE5OTky | 3,218 | Create README.md | {
"login": "dreasysnail",
"id": 2461039,
"node_id": "MDQ6VXNlcjI0NjEwMzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2461039?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dreasysnail",
"html_url": "https://github.com/dreasysnail",
"followers_url": "https://api.github.com/us... | [
{
"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/3218?src=pr&el=h1) Report\n> Merging [#3218](https://codecov.io/gh/huggingface/transformers/pull/3218?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d6de6423baf02a971d38ee69824104a1f0f85ad2&el=desc) will **decrease... | 1,583 | 1,583 | 1,583 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3218/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3218/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3218",
"html_url": "https://github.com/huggingface/transformers/pull/3218",
"diff_url": "https://github.com/huggingface/transformers/pull/3218.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3218.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3217 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3217/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3217/comments | https://api.github.com/repos/huggingface/transformers/issues/3217/events | https://github.com/huggingface/transformers/pull/3217 | 578,921,761 | MDExOlB1bGxSZXF1ZXN0Mzg2NDE0MjAx | 3,217 | Create README.md | {
"login": "dreasysnail",
"id": 2461039,
"node_id": "MDQ6VXNlcjI0NjEwMzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2461039?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dreasysnail",
"html_url": "https://github.com/dreasysnail",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [] | 1,583 | 1,583 | 1,583 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3217/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3217/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3217",
"html_url": "https://github.com/huggingface/transformers/pull/3217",
"diff_url": "https://github.com/huggingface/transformers/pull/3217.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3217.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/3216 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3216/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3216/comments | https://api.github.com/repos/huggingface/transformers/issues/3216/events | https://github.com/huggingface/transformers/pull/3216 | 578,921,728 | MDExOlB1bGxSZXF1ZXN0Mzg2NDE0MTcw | 3,216 | Create README.md | {
"login": "dreasysnail",
"id": 2461039,
"node_id": "MDQ6VXNlcjI0NjEwMzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2461039?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dreasysnail",
"html_url": "https://github.com/dreasysnail",
"followers_url": "https://api.github.com/us... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,583 | 1,583 | 1,583 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3216/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3216/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3216",
"html_url": "https://github.com/huggingface/transformers/pull/3216",
"diff_url": "https://github.com/huggingface/transformers/pull/3216.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3216.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3215 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3215/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3215/comments | https://api.github.com/repos/huggingface/transformers/issues/3215/events | https://github.com/huggingface/transformers/pull/3215 | 578,921,352 | MDExOlB1bGxSZXF1ZXN0Mzg2NDEzODYy | 3,215 | Create README.md | {
"login": "dreasysnail",
"id": 2461039,
"node_id": "MDQ6VXNlcjI0NjEwMzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2461039?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dreasysnail",
"html_url": "https://github.com/dreasysnail",
"followers_url": "https://api.github.com/us... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,583 | 1,583 | 1,583 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3215/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3215/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3215",
"html_url": "https://github.com/huggingface/transformers/pull/3215",
"diff_url": "https://github.com/huggingface/transformers/pull/3215.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3215.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3214 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3214/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3214/comments | https://api.github.com/repos/huggingface/transformers/issues/3214/events | https://github.com/huggingface/transformers/pull/3214 | 578,920,229 | MDExOlB1bGxSZXF1ZXN0Mzg2NDEyOTM1 | 3,214 | Create README.md | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,583 | 1,583 | 1,583 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3214/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3214/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3214",
"html_url": "https://github.com/huggingface/transformers/pull/3214",
"diff_url": "https://github.com/huggingface/transformers/pull/3214.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3214.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.