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/5720
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5720/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5720/comments
https://api.github.com/repos/huggingface/transformers/issues/5720/events
https://github.com/huggingface/transformers/issues/5720
656,070,101
MDU6SXNzdWU2NTYwNzAxMDE=
5,720
TypeError: To be compatible with tf.contrib.eager.defun, Python functions must return zero or more Tensors; in compilation of <function tf_if_stmt.<locals>.error_checking_body at 0x7f55400e3c80>, found return value of type <class 'tensorflow.python.keras.losses.MeanSquaredError'>, which is not a Tensor.
{ "login": "Misoknisky", "id": 12208899, "node_id": "MDQ6VXNlcjEyMjA4ODk5", "avatar_url": "https://avatars.githubusercontent.com/u/12208899?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Misoknisky", "html_url": "https://github.com/Misoknisky", "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", "I encounter one case: `if object: do something` will trigger this error, while if you use the condition `if object is not None` you wil...
1,594
1,678
1,600
NONE
null
INFO:tensorflow:Error reported to Coordinator: in converted code: /data0/liuyongkang/.conda/envs/tf2/lib/python3.7/site-packages/transformers/trainer_tf.py:511 _forward * per_example_loss, _ = self._run_model(features, labels, True) /data0/liuyongkang/.conda/envs/tf2/lib/python3.7/site-packages/tr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5720/reactions", "total_count": 8, "+1": 8, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5720/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5719
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5719/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5719/comments
https://api.github.com/repos/huggingface/transformers/issues/5719/events
https://github.com/huggingface/transformers/issues/5719
656,057,545
MDU6SXNzdWU2NTYwNTc1NDU=
5,719
generator` yielded an element that could not be converted to the expected type. The expected type was int32, but the yielded element was None.
{ "login": "Misoknisky", "id": 12208899, "node_id": "MDQ6VXNlcjEyMjA4ODk5", "avatar_url": "https://avatars.githubusercontent.com/u/12208899?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Misoknisky", "html_url": "https://github.com/Misoknisky", "followers_url": "https://api.github.com/use...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,594
1,600
1,600
NONE
null
# 🐛 Bug ## Information Model I am using (RoBerta): Language I am using the model on (English): The problem arises when using: * [ ] the official example scripts: (give details below) inputs = tokenizer( text_a, text_b, add_special_tokens=True, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5719/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5719/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5718
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5718/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5718/comments
https://api.github.com/repos/huggingface/transformers/issues/5718/events
https://github.com/huggingface/transformers/pull/5718
656,054,810
MDExOlB1bGxSZXF1ZXN0NDQ4NDIwODM5
5,718
[Don't merge - Bert2Bert] Add training scripts and slight changes to Trainer
{ "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/5718?src=pr&el=h1) Report\n> Merging [#5718](https://codecov.io/gh/huggingface/transformers/pull/5718?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/fa5423b1695cd24856bcff47214172e0f540d924&el=desc) will **decrease...
1,594
1,594
1,594
MEMBER
null
Just a draft to keep track of Bert2Bert summary training.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5718/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5718/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5718", "html_url": "https://github.com/huggingface/transformers/pull/5718", "diff_url": "https://github.com/huggingface/transformers/pull/5718.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5718.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5717
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5717/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5717/comments
https://api.github.com/repos/huggingface/transformers/issues/5717/events
https://github.com/huggingface/transformers/pull/5717
656,048,363
MDExOlB1bGxSZXF1ZXN0NDQ4NDE1NTI2
5,717
Update tokenization_t5.py
{ "login": "gauravmishra", "id": 1448938, "node_id": "MDQ6VXNlcjE0NDg5Mzg=", "avatar_url": "https://avatars.githubusercontent.com/u/1448938?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gauravmishra", "html_url": "https://github.com/gauravmishra", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5717?src=pr&el=h1) Report\n> Merging [#5717](https://codecov.io/gh/huggingface/transformers/pull/5717?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7096e47513127d4f072111a7f58f109842a2b6b0&el=desc) will **increase...
1,594
1,594
1,594
CONTRIBUTOR
null
Minor doc fix.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5717/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5717/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5717", "html_url": "https://github.com/huggingface/transformers/pull/5717", "diff_url": "https://github.com/huggingface/transformers/pull/5717.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5717.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5716
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5716/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5716/comments
https://api.github.com/repos/huggingface/transformers/issues/5716/events
https://github.com/huggingface/transformers/pull/5716
655,962,156
MDExOlB1bGxSZXF1ZXN0NDQ4MzQ1NjU5
5,716
Add generic text classification example in TF
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5716?src=pr&el=h1) Report\n> Merging [#5716](https://codecov.io/gh/huggingface/transformers/pull/5716?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7cbf0f722d23440f3342aafc27697b50ead5996b?el=desc) will **increase...
1,594
1,600
1,600
CONTRIBUTOR
null
This PR adds a new example script for text classification in TensorFlow with the :hugs:nlp lib. The script allows users to run a text classification task on their own CSV files.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5716/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5716/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5716", "html_url": "https://github.com/huggingface/transformers/pull/5716", "diff_url": "https://github.com/huggingface/transformers/pull/5716.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5716.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5715
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5715/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5715/comments
https://api.github.com/repos/huggingface/transformers/issues/5715/events
https://github.com/huggingface/transformers/issues/5715
655,946,056
MDU6SXNzdWU2NTU5NDYwNTY=
5,715
Extending vocabulary by a large size crashes RobertaTokenizerFast
{ "login": "RudrakshTuwani", "id": 16378764, "node_id": "MDQ6VXNlcjE2Mzc4NzY0", "avatar_url": "https://avatars.githubusercontent.com/u/16378764?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RudrakshTuwani", "html_url": "https://github.com/RudrakshTuwani", "followers_url": "https://api.gi...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "I tried using BertTokenizerFast but the problem persists.", "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", "Is there any update on the issue? \r\nI have the same problem...", "Al...
1,594
1,659
1,600
NONE
null
# 🐛 Bug ## Information Model I am using: RoBERTa Language I am using the model on: 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: * [ ] an official GLUE/SQUaD task: (give...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5715/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5715/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5714
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5714/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5714/comments
https://api.github.com/repos/huggingface/transformers/issues/5714/events
https://github.com/huggingface/transformers/issues/5714
655,936,236
MDU6SXNzdWU2NTU5MzYyMzY=
5,714
facebook/bart-large-mnli input format
{ "login": "chrisdoyleIE", "id": 44365591, "node_id": "MDQ6VXNlcjQ0MzY1NTkx", "avatar_url": "https://avatars.githubusercontent.com/u/44365591?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chrisdoyleIE", "html_url": "https://github.com/chrisdoyleIE", "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
[]
[ "Thanks for the kind words!\r\n\r\n1) definitely needs to be `<s>` instead of `[EOS]`, but the tokenizer should do this for you.\r\n2) I suspect that the tokenizer takes pairs of sentences. I know that @VictorSanh and I have used that model inside the run_glue.py script and gotten reasonable accuracy.\r\nThe logic ...
1,594
1,600
1,600
NONE
null
Hi folks, First off, I've been using you guys since the early days and think the effort and time that you put in is just phenomenal. Thank you. All the postgrads I know at the Uni of Edinburgh love HuggingFace. My question concerns the usage of the ```facebook/bart-large-mnli``` checkpoint - specifically the inp...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5714/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5714/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5713
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5713/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5713/comments
https://api.github.com/repos/huggingface/transformers/issues/5713/events
https://github.com/huggingface/transformers/issues/5713
655,933,739
MDU6SXNzdWU2NTU5MzM3Mzk=
5,713
ONNX export broken for QA models
{ "login": "vshampor", "id": 31695470, "node_id": "MDQ6VXNlcjMxNjk1NDcw", "avatar_url": "https://avatars.githubusercontent.com/u/31695470?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vshampor", "html_url": "https://github.com/vshampor", "followers_url": "https://api.github.com/users/vsh...
[]
closed
false
null
[]
[ "Might I also add that breaking regular PyTorch ONNX export like that with custom model output wrappers is IMO a Really Bad Idea (TM). Your `PreTrainedModel`'s are still `torch.nn.Module`'s, and as such should be exportable using standard `torch.onnx.export` APIs. \r\n\r\nTo make matters worse, the proposed `conver...
1,594
1,595
1,595
CONTRIBUTOR
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): bert-base-uncased Language I am using the model on (English, Chinese ...): - The problem arises when using: * [x] the official example scripts: convert_graph_to_onnx.py * [x] my own modified scripts: any script attempting to do a regular torch.on...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5713/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/5713/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5712
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5712/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5712/comments
https://api.github.com/repos/huggingface/transformers/issues/5712/events
https://github.com/huggingface/transformers/issues/5712
655,877,737
MDU6SXNzdWU2NTU4Nzc3Mzc=
5,712
How to download Pre-trained T5 model?
{ "login": "deepankar27", "id": 3585068, "node_id": "MDQ6VXNlcjM1ODUwNjg=", "avatar_url": "https://avatars.githubusercontent.com/u/3585068?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepankar27", "html_url": "https://github.com/deepankar27", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "```python \r\nfrom transformers import T5ForConditionalGeneration\r\n\r\nt5 = T5ForConditionalGeneration.from_pretrained(\"t5-small\")\r\n```\r\n\r\ndoes not work? ", "@patrickvonplaten Thanks for the pointer, I tried & getting this:\r\n\r\n```\r\n>>> from transformers import T5ForConditionalGeneration\r\n>>> t5...
1,594
1,598
1,598
NONE
null
Hi, I tried looking for ways to download & use T5-small pre-trained model but didn't get any API mentioned in documentation to download it. Though I found links but don't know will it work if I pass the path of the model? Thanks in advance..
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5712/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5712/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5711
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5711/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5711/comments
https://api.github.com/repos/huggingface/transformers/issues/5711/events
https://github.com/huggingface/transformers/issues/5711
655,859,911
MDU6SXNzdWU2NTU4NTk5MTE=
5,711
QA Pipeline: Key Error due to predicting a token outside of allowed context
{ "login": "tholor", "id": 1563902, "node_id": "MDQ6VXNlcjE1NjM5MDI=", "avatar_url": "https://avatars.githubusercontent.com/u/1563902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tholor", "html_url": "https://github.com/tholor", "followers_url": "https://api.github.com/users/tholor/foll...
[]
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://...
[ "Hi @tholor, \r\n\r\nThanks for reporting the issue. \r\n\r\nWe did have an issue where predictions were going out of bounds on QA pipeline and it has been fixed on master: \r\n\r\n```python\r\n>>> nlp = pipeline(\"question-answering\",model=\"distilbert-base-uncased-distilled-squad\",\r\n ...
1,594
1,595
1,595
CONTRIBUTOR
null
# 🐛 Bug ## Information Model: distilbert Language: English The problem arises when using: QA inference via `pipeline` The pipeline throws an exception when the model predicts a token that is not part of the document (e.g. final special token). In the example below, the model predicts token 13 to be the end...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5711/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5711/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5710
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5710/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5710/comments
https://api.github.com/repos/huggingface/transformers/issues/5710/events
https://github.com/huggingface/transformers/issues/5710
655,835,194
MDU6SXNzdWU2NTU4MzUxOTQ=
5,710
Attention heads attend equally after conversion from tensorflow checkpoint
{ "login": "YMaks", "id": 22409396, "node_id": "MDQ6VXNlcjIyNDA5Mzk2", "avatar_url": "https://avatars.githubusercontent.com/u/22409396?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YMaks", "html_url": "https://github.com/YMaks", "followers_url": "https://api.github.com/users/YMaks/follow...
[ { "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,594
1,600
1,600
NONE
null
# 🐛 Bug ## Information Hi. I'm using notebook https://github.com/jessevig/bertviz/blob/master/head_view_bert.ipynb from https://github.com/jessevig/bertviz for visualizing attention in the Bert model. Given example works fine with pytorch default models. The problem arises when I'm converting pre-trained (wit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5710/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/5710/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5709
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5709/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5709/comments
https://api.github.com/repos/huggingface/transformers/issues/5709/events
https://github.com/huggingface/transformers/issues/5709
655,699,157
MDU6SXNzdWU2NTU2OTkxNTc=
5,709
Run Language Modeling on Colab TPU cores terminates
{ "login": "AliOsm", "id": 7662492, "node_id": "MDQ6VXNlcjc2NjI0OTI=", "avatar_url": "https://avatars.githubusercontent.com/u/7662492?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AliOsm", "html_url": "https://github.com/AliOsm", "followers_url": "https://api.github.com/users/AliOsm/foll...
[]
closed
false
null
[]
[ "For the single core problem, I think it is related to how the trainer prepares the `epoch_loader` object [here](https://github.com/huggingface/transformers/blob/master/src/transformers/trainer.py#L480-L484).", "Update: for the single core problem, removing ` / len(epoch_iterator)` part from this [line](https://g...
1,594
1,595
1,595
CONTRIBUTOR
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): GPT2 Language I am using the model on (English, Chinese ...): English (wikitext-2) The problem arises when using: * [x] the official example scripts: (give details below) * [ ] my own modified scripts: (give details below) The tasks I am worki...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5709/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5709/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5708
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5708/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5708/comments
https://api.github.com/repos/huggingface/transformers/issues/5708/events
https://github.com/huggingface/transformers/issues/5708
655,667,265
MDU6SXNzdWU2NTU2NjcyNjU=
5,708
For Roberta pretraining, how to enable large batch training using gradient accumulation?
{ "login": "quincyliang", "id": 4104404, "node_id": "MDQ6VXNlcjQxMDQ0MDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/4104404?v=4", "gravatar_id": "", "url": "https://api.github.com/users/quincyliang", "html_url": "https://github.com/quincyliang", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Hi! You can use the `--gradient_accumulation_steps=N_STEPS` argument to the `run_language_modeling.py` script for that.\r\n\r\nYou can see all available flags by doing `python run_language_modeling.py --help`" ]
1,594
1,595
1,595
NONE
null
In the example code, where can I enable gradient accumulation for large batch size training. Thanks. https://github.com/huggingface/transformers/tree/master/examples/language-modeling
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5708/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5708/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5707
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5707/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5707/comments
https://api.github.com/repos/huggingface/transformers/issues/5707/events
https://github.com/huggingface/transformers/issues/5707
655,617,793
MDU6SXNzdWU2NTU2MTc3OTM=
5,707
Span Mask Fill
{ "login": "BigSalmon2", "id": 61605789, "node_id": "MDQ6VXNlcjYxNjA1Nzg5", "avatar_url": "https://avatars.githubusercontent.com/u/61605789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BigSalmon2", "html_url": "https://github.com/BigSalmon2", "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
[]
[ "Maybe you can get inspiration from here: https://github.com/facebookresearch/SpanBERT", "> Maybe you can get inspiration from here: https://github.com/facebookresearch/SpanBERT\r\n\r\n@RudrakshTuwani \r\n\r\nThank you for your response. I've actually tried to implement SpanBERT previously, but my status as a beg...
1,594
1,600
1,600
NONE
null
I see that Transformers does not support Ernie, but am in search of a way to [MASK] phrases. Can somebody guide me to an alternative to Ernie, code, or a way I could do this myself?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5707/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5707/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5706
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5706/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5706/comments
https://api.github.com/repos/huggingface/transformers/issues/5706/events
https://github.com/huggingface/transformers/issues/5706
655,611,191
MDU6SXNzdWU2NTU2MTExOTE=
5,706
can't resume training from a saved checkpoint in run_glue
{ "login": "ohadrozen", "id": 44141885, "node_id": "MDQ6VXNlcjQ0MTQxODg1", "avatar_url": "https://avatars.githubusercontent.com/u/44141885?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ohadrozen", "html_url": "https://github.com/ohadrozen", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Thanks!", "sorry, in the checkpoint directory I have 5 files (and not 2 as I wrote above):\r\npytorch_model.bin\r\ntraining_args.bin\r\nconfig.json\r\noptimizer.pt\r\nscheduler.pt\r\n", "the vocabulary file is missing in the checkpoint folder. You can use the base model vocabulary by adding more parameter `--t...
1,594
1,675
1,603
NONE
null
# 🐛 Bug Hi, I'm using run_glue.py to train Roberta model. I ran the training for a few hours, but after 2 epochs it crashed due to low disk space. I now want to resume the training, and for that, I replaced the --model_name_or_path from roberta-base to [my checkpoint dir]. But then I get the following error: "OSE...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5706/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5706/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5705
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5705/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5705/comments
https://api.github.com/repos/huggingface/transformers/issues/5705/events
https://github.com/huggingface/transformers/issues/5705
655,599,801
MDU6SXNzdWU2NTU1OTk4MDE=
5,705
Any insight to this mystery issue? Using the Keras functional API results in whole deleted weights/layers for transformer layers.
{ "login": "Santosh-Gupta", "id": 5524261, "node_id": "MDQ6VXNlcjU1MjQyNjE=", "avatar_url": "https://avatars.githubusercontent.com/u/5524261?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Santosh-Gupta", "html_url": "https://github.com/Santosh-Gupta", "followers_url": "https://api.github....
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,594
1,600
1,600
CONTRIBUTOR
null
# ❓ Questions & Help This is probably a Keras, tensorflow bug, but just wanted to check-in here in case I overlooked anything. I've discovered a bug, where if transformer layers are copied from a transformer model, and used as individual layers, and then a Keras model is made using the functional API, this seems...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5705/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5705/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5704
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5704/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5704/comments
https://api.github.com/repos/huggingface/transformers/issues/5704/events
https://github.com/huggingface/transformers/pull/5704
655,596,265
MDExOlB1bGxSZXF1ZXN0NDQ4MDQ2OTQ0
5,704
Make the order of additional special tokens deterministic
{ "login": "gonglinyuan", "id": 9744170, "node_id": "MDQ6VXNlcjk3NDQxNzA=", "avatar_url": "https://avatars.githubusercontent.com/u/9744170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gonglinyuan", "html_url": "https://github.com/gonglinyuan", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5704?src=pr&el=h1) Report\n> Merging [#5704](https://codecov.io/gh/huggingface/transformers/pull/5704?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0befb513278f6e42b722be340dbc667e0ba2718e&el=desc) will **decrease...
1,594
1,596
1,596
CONTRIBUTOR
null
In `SpecialTokensMixin.all_special_tokens_extended`, deduplication is performed by `all_toks = list(set(all_toks))`. However, this will change the ordering of additional special tokens, and the order depends on the hash seed of set data structure. This will result in non-deterministic id of additional special tokens ad...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5704/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5704/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5704", "html_url": "https://github.com/huggingface/transformers/pull/5704", "diff_url": "https://github.com/huggingface/transformers/pull/5704.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5704.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5703
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5703/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5703/comments
https://api.github.com/repos/huggingface/transformers/issues/5703/events
https://github.com/huggingface/transformers/pull/5703
655,589,680
MDExOlB1bGxSZXF1ZXN0NDQ4MDQxNTA2
5,703
Make the order of additional special tokens deterministic
{ "login": "gonglinyuan", "id": 9744170, "node_id": "MDQ6VXNlcjk3NDQxNzA=", "avatar_url": "https://avatars.githubusercontent.com/u/9744170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gonglinyuan", "html_url": "https://github.com/gonglinyuan", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[]
1,594
1,594
1,594
CONTRIBUTOR
null
In `SpecialTokensMixin.all_special_tokens_extended`, deduplication is performed by `all_toks = list(set(all_toks))`. However, this will change the ordering of additional special tokens, and the order depends on the hash seed of set data structure. This will result in non-deterministic id of additional special tokens ad...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5703/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5703/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5703", "html_url": "https://github.com/huggingface/transformers/pull/5703", "diff_url": "https://github.com/huggingface/transformers/pull/5703.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5703.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5702
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5702/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5702/comments
https://api.github.com/repos/huggingface/transformers/issues/5702/events
https://github.com/huggingface/transformers/issues/5702
655,556,335
MDU6SXNzdWU2NTU1NTYzMzU=
5,702
help:OSError: Model name 'ctrl' was not found in tokenizers model name list (ctrl). We assumed 'ctrl' was a path, a model identifier, or url to a directory containing vocabulary files named ['vocab.json', 'merges.txt'] but couldn't find such vocabulary files at this path or url.
{ "login": "Heiheiyo", "id": 15426714, "node_id": "MDQ6VXNlcjE1NDI2NzE0", "avatar_url": "https://avatars.githubusercontent.com/u/15426714?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Heiheiyo", "html_url": "https://github.com/Heiheiyo", "followers_url": "https://api.github.com/users/Hei...
[]
closed
false
null
[]
[ "As for me, I'm getting \r\n```\r\nOSError: Can't load weights for 'mrm8488/distill-bert-base-spanish-wwm-cased-finetuned-spa-squad2-es'. Make sure that:\r\n\r\n- 'mrm8488/distill-bert-base-spanish-wwm-cased-finetuned-spa-squad2-es' is a correct model identifier listed on 'https://huggingface.co/models'\r\n\r\n- or...
1,594
1,595
1,595
NONE
null
# ❓ Questions & Help ![image](https://user-images.githubusercontent.com/15426714/87268409-dd30ff80-c4fc-11ea-9e34-4d1c06dc1d23.png)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5702/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5702/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5701
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5701/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5701/comments
https://api.github.com/repos/huggingface/transformers/issues/5701/events
https://github.com/huggingface/transformers/issues/5701
655,508,056
MDU6SXNzdWU2NTU1MDgwNTY=
5,701
How to generate sentences from Transformer's sentence embeddings?
{ "login": "willanxywc", "id": 24306827, "node_id": "MDQ6VXNlcjI0MzA2ODI3", "avatar_url": "https://avatars.githubusercontent.com/u/24306827?v=4", "gravatar_id": "", "url": "https://api.github.com/users/willanxywc", "html_url": "https://github.com/willanxywc", "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
[]
[ "Sorry I'm not 100% sure, I get the question. Could you specify what you mean by `sentence embeddings` exactly and the output you would like with some code? :-) ", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you ...
1,594
1,600
1,600
NONE
null
Is it possible to use the pre-trained transformer models to generate sentences from sentence embeddings? I konw I can get the continuous representations of a sentence with for example BertModel or GPT2Model. But can I reconstruct the sentence directly from the sentence representations generated by BertModel, with hug...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5701/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5701/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5700
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5700/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5700/comments
https://api.github.com/repos/huggingface/transformers/issues/5700/events
https://github.com/huggingface/transformers/issues/5700
655,492,606
MDU6SXNzdWU2NTU0OTI2MDY=
5,700
How to visualize the output of the encoder using T-sne plots?
{ "login": "jlim13", "id": 36393441, "node_id": "MDQ6VXNlcjM2MzkzNDQx", "avatar_url": "https://avatars.githubusercontent.com/u/36393441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jlim13", "html_url": "https://github.com/jlim13", "followers_url": "https://api.github.com/users/jlim13/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,594
1,600
1,600
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5700/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5700/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5699
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5699/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5699/comments
https://api.github.com/repos/huggingface/transformers/issues/5699/events
https://github.com/huggingface/transformers/issues/5699
655,457,789
MDU6SXNzdWU2NTU0NTc3ODk=
5,699
Add beta 1 and beta 2 option in `TrainingArguments` for `AdamW` optimizer.
{ "login": "PhilipMay", "id": 229382, "node_id": "MDQ6VXNlcjIyOTM4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhilipMay", "html_url": "https://github.com/PhilipMay", "followers_url": "https://api.github.com/users/Phil...
[]
closed
false
null
[]
[ "I'm not sure we would like to add this to the `TrainingArguments`. If we add all possible params this could quickly explode. Note that you can instantiate your own optimizer and pass it here: https://github.com/huggingface/transformers/blob/7096e47513127d4f072111a7f58f109842a2b6b0/src/transformers/trainer.py#L158\...
1,594
1,594
1,594
CONTRIBUTOR
null
I want to set the Adam Optimizers beta 2 to 0.98 - this is because I want to train a new RoBERTa LM. The paper sais, that it improves stability. The default is 0.999 and it can not be set in `TrainingArguments`. Could you please add the option to specify beta 1 and 2 for AdamW in the `TrainingArguments`? `adam_epsil...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5699/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5699/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5698
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5698/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5698/comments
https://api.github.com/repos/huggingface/transformers/issues/5698/events
https://github.com/huggingface/transformers/pull/5698
655,402,697
MDExOlB1bGxSZXF1ZXN0NDQ3OTAxNzE4
5,698
Create README.md
{ "login": "dartrevan", "id": 24587263, "node_id": "MDQ6VXNlcjI0NTg3MjYz", "avatar_url": "https://avatars.githubusercontent.com/u/24587263?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dartrevan", "html_url": "https://github.com/dartrevan", "followers_url": "https://api.github.com/users/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5698?src=pr&el=h1) Report\n> Merging [#5698](https://codecov.io/gh/huggingface/transformers/pull/5698?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0befb513278f6e42b722be340dbc667e0ba2718e&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5698/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5698/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5698", "html_url": "https://github.com/huggingface/transformers/pull/5698", "diff_url": "https://github.com/huggingface/transformers/pull/5698.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5698.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5697
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5697/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5697/comments
https://api.github.com/repos/huggingface/transformers/issues/5697/events
https://github.com/huggingface/transformers/issues/5697
655,368,803
MDU6SXNzdWU2NTUzNjg4MDM=
5,697
How can I evaluate on GLUE but without fine-tune BERT. Just train the rest layers?
{ "login": "caolusg", "id": 8014065, "node_id": "MDQ6VXNlcjgwMTQwNjU=", "avatar_url": "https://avatars.githubusercontent.com/u/8014065?v=4", "gravatar_id": "", "url": "https://api.github.com/users/caolusg", "html_url": "https://github.com/caolusg", "followers_url": "https://api.github.com/users/caolusg/...
[ { "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,594
1,600
1,600
NONE
null
# ❓ Questions & Help ## Details
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5697/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5697/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5696
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5696/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5696/comments
https://api.github.com/repos/huggingface/transformers/issues/5696/events
https://github.com/huggingface/transformers/pull/5696
655,366,014
MDExOlB1bGxSZXF1ZXN0NDQ3ODc1OTY4
5,696
Update README.md
{ "login": "bashartalafha", "id": 26685171, "node_id": "MDQ6VXNlcjI2Njg1MTcx", "avatar_url": "https://avatars.githubusercontent.com/u/26685171?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bashartalafha", "html_url": "https://github.com/bashartalafha", "followers_url": "https://api.githu...
[ { "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,594
1,594
1,594
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5696/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5696/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5696", "html_url": "https://github.com/huggingface/transformers/pull/5696", "diff_url": "https://github.com/huggingface/transformers/pull/5696.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5696.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5695
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5695/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5695/comments
https://api.github.com/repos/huggingface/transformers/issues/5695/events
https://github.com/huggingface/transformers/pull/5695
655,364,501
MDExOlB1bGxSZXF1ZXN0NDQ3ODc0ODM0
5,695
Update README.md
{ "login": "bashartalafha", "id": 26685171, "node_id": "MDQ6VXNlcjI2Njg1MTcx", "avatar_url": "https://avatars.githubusercontent.com/u/26685171?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bashartalafha", "html_url": "https://github.com/bashartalafha", "followers_url": "https://api.githu...
[ { "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,594
1,594
1,594
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5695/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5695/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5695", "html_url": "https://github.com/huggingface/transformers/pull/5695", "diff_url": "https://github.com/huggingface/transformers/pull/5695.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5695.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5694
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5694/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5694/comments
https://api.github.com/repos/huggingface/transformers/issues/5694/events
https://github.com/huggingface/transformers/pull/5694
655,354,245
MDExOlB1bGxSZXF1ZXN0NDQ3ODY3MzI1
5,694
[Don't merge] Run make style on templates
{ "login": "JetRunner", "id": 22514219, "node_id": "MDQ6VXNlcjIyNTE0MjE5", "avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JetRunner", "html_url": "https://github.com/JetRunner", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "It seems to be an isort version problem" ]
1,594
1,651
1,594
CONTRIBUTOR
null
When run `make style` locally, these files got modified. I noticed that `black` and `isort` seem to have conflicts on these files. Is there a solution? ``` > make style black --line-length 119 --target-version py35 examples templates tests src utils reformatted /Users/canwenxu/transformers/src/transformers/__...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5694/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5694/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5694", "html_url": "https://github.com/huggingface/transformers/pull/5694", "diff_url": "https://github.com/huggingface/transformers/pull/5694.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5694.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5693
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5693/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5693/comments
https://api.github.com/repos/huggingface/transformers/issues/5693/events
https://github.com/huggingface/transformers/issues/5693
655,346,586
MDU6SXNzdWU2NTUzNDY1ODY=
5,693
__init__() missing 1 required positional argument: 'logits'
{ "login": "vanh17", "id": 10501538, "node_id": "MDQ6VXNlcjEwNTAxNTM4", "avatar_url": "https://avatars.githubusercontent.com/u/10501538?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vanh17", "html_url": "https://github.com/vanh17", "followers_url": "https://api.github.com/users/vanh17/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "i faced the same error yesterday. Installing version 3.0.1 fixed the issue for me.", "Installing one or two older versions can fix this. However, I will leave it here so that they know this bug exists in their newest version.", "It appears that the CircleCI doesn't run gpu tests (or just multiple gpu?), all su...
1,594
1,601
1,601
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): Language I am using the model on (English, Chinese ...): The problem arises when using: * [x] the official example scripts: (give details below) * [ ] my own modified scripts: (give details below) The tasks I am working on is: * [x] an offici...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5693/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/5693/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5692
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5692/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5692/comments
https://api.github.com/repos/huggingface/transformers/issues/5692/events
https://github.com/huggingface/transformers/pull/5692
655,345,792
MDExOlB1bGxSZXF1ZXN0NDQ3ODYxMjY3
5,692
rename the functions to match the rest of the test convention
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5692?src=pr&el=h1) Report\n> Merging [#5692](https://codecov.io/gh/huggingface/transformers/pull/5692?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0befb513278f6e42b722be340dbc667e0ba2718e&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
no functional change
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5692/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5692/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5692", "html_url": "https://github.com/huggingface/transformers/pull/5692", "diff_url": "https://github.com/huggingface/transformers/pull/5692.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5692.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5691
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5691/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5691/comments
https://api.github.com/repos/huggingface/transformers/issues/5691/events
https://github.com/huggingface/transformers/issues/5691
655,339,554
MDU6SXNzdWU2NTUzMzk1NTQ=
5,691
Cannot import EvalPrediction from transformers
{ "login": "vanh17", "id": 10501538, "node_id": "MDQ6VXNlcjEwNTAxNTM4", "avatar_url": "https://avatars.githubusercontent.com/u/10501538?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vanh17", "html_url": "https://github.com/vanh17", "followers_url": "https://api.github.com/users/vanh17/fo...
[]
closed
false
null
[]
[ "Hi @vanh17 , your transformers version is old, `EvalPrediction` is not available in 2.5.1. You can install transformers from source and then run the examples. \r\n" ]
1,594
1,594
1,594
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): Language I am using the model on (English, Chinese ...): The problem arises when using: * [x] the official example scripts: (give details below) * [ ] my own modified scripts: (give details below) The tasks I am working on is: * [x] an offici...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5691/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5691/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5690
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5690/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5690/comments
https://api.github.com/repos/huggingface/transformers/issues/5690/events
https://github.com/huggingface/transformers/issues/5690
655,310,122
MDU6SXNzdWU2NTUzMTAxMjI=
5,690
How I can predict missing letters in a sentence, like " I want to b _ _ the car because it is cheap."
{ "login": "taicaile", "id": 23215696, "node_id": "MDQ6VXNlcjIzMjE1Njk2", "avatar_url": "https://avatars.githubusercontent.com/u/23215696?v=4", "gravatar_id": "", "url": "https://api.github.com/users/taicaile", "html_url": "https://github.com/taicaile", "followers_url": "https://api.github.com/users/tai...
[]
closed
false
null
[]
[ "I am not sure how to predict letters, but you can use BERT to predict words. ", "I'd try to train a character-level model. Some of the Reformer models are pretrained in a char-level setting, if I remember correctly: https://huggingface.co/models?search=reformer\r\n\r\nIn the future however, this question is more...
1,594
1,595
1,595
NONE
null
Hi, I am new on NLP, I want to predict missing letters in a sentence. Here is an example, ```text I want to b _ _ the car because it is cheap. ```
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5690/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5690/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5689
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5689/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5689/comments
https://api.github.com/repos/huggingface/transformers/issues/5689/events
https://github.com/huggingface/transformers/issues/5689
655,291,409
MDU6SXNzdWU2NTUyOTE0MDk=
5,689
Is Writing With Transform open source?
{ "login": "DrAlta", "id": 25010423, "node_id": "MDQ6VXNlcjI1MDEwNDIz", "avatar_url": "https://avatars.githubusercontent.com/u/25010423?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DrAlta", "html_url": "https://github.com/DrAlta", "followers_url": "https://api.github.com/users/DrAlta/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "If you add your model to the hub, you'll get the inference widget & API that you can use for demos or integration into your product: https://huggingface.co/docs", "We don't currently have short-term plans to open source Write With Transformers's frontend\r\n\r\nFollowing up on what @clmnt said, we have an option...
1,594
1,600
1,600
NONE
null
I want to use Writing with Transform with my own model? My first though was that I could just download it and modify the source to point to my model., but I can't find WWT anywhere in the repo. Do I have to publish my model then make a request for you to add it?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5689/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/5689/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5688
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5688/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5688/comments
https://api.github.com/repos/huggingface/transformers/issues/5688/events
https://github.com/huggingface/transformers/pull/5688
655,264,552
MDExOlB1bGxSZXF1ZXN0NDQ3ODA2Njg5
5,688
doc improvements
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5688?src=pr&el=h1) Report\n> Merging [#5688](https://codecov.io/gh/huggingface/transformers/pull/5688?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0267668c3d648c6e41afda97f5df8671ee880ac3&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
a few documentation improvements - one variable name consistency rename, and the rest are small tweaks with one clarification.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5688/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5688/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5688", "html_url": "https://github.com/huggingface/transformers/pull/5688", "diff_url": "https://github.com/huggingface/transformers/pull/5688.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5688.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5687
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5687/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5687/comments
https://api.github.com/repos/huggingface/transformers/issues/5687/events
https://github.com/huggingface/transformers/pull/5687
655,245,857
MDExOlB1bGxSZXF1ZXN0NDQ3NzkzNTg1
5,687
Making ONNX conversion directly load the model and tokenizer + adding tests
{ "login": "abelriboulot", "id": 34995848, "node_id": "MDQ6VXNlcjM0OTk1ODQ4", "avatar_url": "https://avatars.githubusercontent.com/u/34995848?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abelriboulot", "html_url": "https://github.com/abelriboulot", "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
{ "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://...
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5687?src=pr&el=h1) Report\n> Merging [#5687](https://codecov.io/gh/huggingface/transformers/pull/5687?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0267668c3d648c6e41afda97f5df8671ee880ac3&el=desc) will **increase...
1,594
1,604
1,603
CONTRIBUTOR
null
This is a proposal for an update in the ONNX conversion: - First, I investigated issue #4906 as I was having the same issue. This is due to a dependency on this [commit](https://github.com/pytorch/pytorch/commit/96989a2a114de9b77e7dd9495d62c4a8a549b40d) from the ONNX team available from version 1.5.0 of PyTorch, I the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5687/reactions", "total_count": 5, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5687/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5687", "html_url": "https://github.com/huggingface/transformers/pull/5687", "diff_url": "https://github.com/huggingface/transformers/pull/5687.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5687.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5686
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5686/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5686/comments
https://api.github.com/repos/huggingface/transformers/issues/5686/events
https://github.com/huggingface/transformers/pull/5686
655,222,489
MDExOlB1bGxSZXF1ZXN0NDQ3Nzc3NTA3
5,686
[Fix] github actions CI by reverting #5138
{ "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/5686?src=pr&el=h1) Report\n> Merging [#5686](https://codecov.io/gh/huggingface/transformers/pull/5686?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0267668c3d648c6e41afda97f5df8671ee880ac3&el=desc) will **increase...
1,594
1,594
1,594
CONTRIBUTOR
null
On github actions, even when the tests fail the job is green, presumably because of my artifacts change( #5318 ). I am not clear on why this happens, but have verified that this does not happen on CircleCI. In the screenshot below, there is a green check mark, but also 2 tests have failed: ![image](https://user-im...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5686/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5686/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5686", "html_url": "https://github.com/huggingface/transformers/pull/5686", "diff_url": "https://github.com/huggingface/transformers/pull/5686.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5686.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5685
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5685/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5685/comments
https://api.github.com/repos/huggingface/transformers/issues/5685/events
https://github.com/huggingface/transformers/pull/5685
655,199,953
MDExOlB1bGxSZXF1ZXN0NDQ3NzYyMTMz
5,685
Fix Trainer in DataParallel setting
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5685?src=pr&el=h1) Report\n> Merging [#5685](https://codecov.io/gh/huggingface/transformers/pull/5685?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7fad617dc1fc681a7f5da5e0172c8b83f4bf0024&el=desc) will **decrease...
1,594
1,594
1,594
COLLABORATOR
null
The new output types seem to break data parallel FYI, see comment on #5671. This is is because of the line ``` return type(out)(map(gather_map, zip(*outputs))) ``` in `scatter_gather` which tries to reconstruct an output of the same type as ours (and fails since it does not provide the necessary arguments). There ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5685/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5685/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5685", "html_url": "https://github.com/huggingface/transformers/pull/5685", "diff_url": "https://github.com/huggingface/transformers/pull/5685.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5685.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5684
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5684/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5684/comments
https://api.github.com/repos/huggingface/transformers/issues/5684/events
https://github.com/huggingface/transformers/pull/5684
655,196,972
MDExOlB1bGxSZXF1ZXN0NDQ3NzYwMTI0
5,684
fix incorrect docstring on bart summarization example
{ "login": "SamuelCahyawijaya", "id": 2826602, "node_id": "MDQ6VXNlcjI4MjY2MDI=", "avatar_url": "https://avatars.githubusercontent.com/u/2826602?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SamuelCahyawijaya", "html_url": "https://github.com/SamuelCahyawijaya", "followers_url": "https:/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5684?src=pr&el=h1) Report\n> Merging [#5684](https://codecov.io/gh/huggingface/transformers/pull/5684?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7fad617dc1fc681a7f5da5e0172c8b83f4bf0024&el=desc) will **decrease...
1,594
1,594
1,594
NONE
null
Change summarization example for BART from ``` inputs = tokenizer([ARTICLE_TO_SUMMARIZE], max_length=1024, return_tensors='pt') ``` to ``` inputs = tokenizer.encode_plus(ARTICLE_TO_SUMMARIZE, max_length=1024, return_tensors='pt') ```
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5684/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5684/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5684", "html_url": "https://github.com/huggingface/transformers/pull/5684", "diff_url": "https://github.com/huggingface/transformers/pull/5684.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5684.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5683
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5683/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5683/comments
https://api.github.com/repos/huggingface/transformers/issues/5683/events
https://github.com/huggingface/transformers/pull/5683
655,196,576
MDExOlB1bGxSZXF1ZXN0NDQ3NzU5ODUy
5,683
Add Microsoft's CodeBERT
{ "login": "JetRunner", "id": 22514219, "node_id": "MDQ6VXNlcjIyNTE0MjE5", "avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JetRunner", "html_url": "https://github.com/JetRunner", "followers_url": "https://api.github.com/users/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5683?src=pr&el=h1) Report\n> Merging [#5683](https://codecov.io/gh/huggingface/transformers/pull/5683?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7fad617dc1fc681a7f5da5e0172c8b83f4bf0024&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
@guoday
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5683/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5683/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5683", "html_url": "https://github.com/huggingface/transformers/pull/5683", "diff_url": "https://github.com/huggingface/transformers/pull/5683.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5683.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5682
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5682/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5682/comments
https://api.github.com/repos/huggingface/transformers/issues/5682/events
https://github.com/huggingface/transformers/issues/5682
655,185,567
MDU6SXNzdWU2NTUxODU1Njc=
5,682
What is the decoder_input for encoder-decoder transformer in training time?
{ "login": "guotong1988", "id": 4702353, "node_id": "MDQ6VXNlcjQ3MDIzNTM=", "avatar_url": "https://avatars.githubusercontent.com/u/4702353?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guotong1988", "html_url": "https://github.com/guotong1988", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "The spirit of the answer is right. There is a lot more detail in this [blogpost](https://sshleifer.github.io/blog_v2/jupyter/2020/03/12/bart.html)", "In the future, this would be a great Q for our forums: https://discuss.huggingface.co/ since it doesn't directly involve issues with the library. ", "Thank you a...
1,594
1,594
1,594
CONTRIBUTOR
null
https://datascience.stackexchange.com/questions/76261/whats-the-input-dimension-for-transformer-decoder-during-training Is the link's answer right? Thank you very much!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5682/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5682/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5681
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5681/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5681/comments
https://api.github.com/repos/huggingface/transformers/issues/5681/events
https://github.com/huggingface/transformers/pull/5681
655,179,281
MDExOlB1bGxSZXF1ZXN0NDQ3NzQ5MDE5
5,681
[pipelines] Update fill mask pipeline to remove special tokens in the output
{ "login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomw...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5681?src=pr&el=h1) Report\n> Merging [#5681](https://codecov.io/gh/huggingface/transformers/pull/5681?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7fad617dc1fc681a7f5da5e0172c8b83f4bf0024&el=desc) will **decrease...
1,594
1,651
1,601
MEMBER
null
Small fix to remove the special tokens from the output of the fill mask pipeline.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5681/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5681/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5681", "html_url": "https://github.com/huggingface/transformers/pull/5681", "diff_url": "https://github.com/huggingface/transformers/pull/5681.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5681.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5680
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5680/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5680/comments
https://api.github.com/repos/huggingface/transformers/issues/5680/events
https://github.com/huggingface/transformers/issues/5680
655,169,245
MDU6SXNzdWU2NTUxNjkyNDU=
5,680
How to produce customized attention mask for BertModel?
{ "login": "empty-id", "id": 56990007, "node_id": "MDQ6VXNlcjU2OTkwMDA3", "avatar_url": "https://avatars.githubusercontent.com/u/56990007?v=4", "gravatar_id": "", "url": "https://api.github.com/users/empty-id", "html_url": "https://github.com/empty-id", "followers_url": "https://api.github.com/users/emp...
[ { "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", "Is there any help?", "@null-id I also want to know how to customize query-key attention mask. Did you solve the problem?" ]
1,594
1,602
1,600
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5680/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5680/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5679
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5679/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5679/comments
https://api.github.com/repos/huggingface/transformers/issues/5679/events
https://github.com/huggingface/transformers/pull/5679
655,163,840
MDExOlB1bGxSZXF1ZXN0NDQ3NzM5NDA0
5,679
Pipeline model type check
{ "login": "JetRunner", "id": 22514219, "node_id": "MDQ6VXNlcjIyNTE0MjE5", "avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JetRunner", "html_url": "https://github.com/JetRunner", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5679?src=pr&el=h1) Report\n> Merging [#5679](https://codecov.io/gh/huggingface/transformers/pull/5679?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7fad617dc1fc681a7f5da5e0172c8b83f4bf0024&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
Add model type check for pipelines. https://github.com/huggingface/transformers/issues/5678
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5679/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5679/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5679", "html_url": "https://github.com/huggingface/transformers/pull/5679", "diff_url": "https://github.com/huggingface/transformers/pull/5679.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5679.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5678
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5678/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5678/comments
https://api.github.com/repos/huggingface/transformers/issues/5678/events
https://github.com/huggingface/transformers/issues/5678
655,150,803
MDU6SXNzdWU2NTUxNTA4MDM=
5,678
Weird output when using unexpected model type for pipelines
{ "login": "JetRunner", "id": 22514219, "node_id": "MDQ6VXNlcjIyNTE0MjE5", "avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JetRunner", "html_url": "https://github.com/JetRunner", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "I'm working on a fix now.", "This bug occurs irrespective `transformer` version I checked it for 2.8.0, 2.90 and 3.0.1\r\n\r\nPipeline returns incorrect output only when the model and tokenizer classes are used to initialize the pipeline.\r\n\r\nIf you use model and tokernizer parameters as path instead in form ...
1,594
1,598
1,594
CONTRIBUTOR
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): CodeBERT Language I am using the model on (English, Chinese ...): Code The problem arises when using: * [x] the official example scripts: (give details below) * [ ] my own modified scripts: (give details below) The tasks I am working on is: *...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5678/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5678/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5677
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5677/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5677/comments
https://api.github.com/repos/huggingface/transformers/issues/5677/events
https://github.com/huggingface/transformers/pull/5677
655,132,715
MDExOlB1bGxSZXF1ZXN0NDQ3NzE3ODE1
5,677
[WIP] Added indexes in grouped entity NER
{ "login": "prithvikannan", "id": 46332835, "node_id": "MDQ6VXNlcjQ2MzMyODM1", "avatar_url": "https://avatars.githubusercontent.com/u/46332835?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prithvikannan", "html_url": "https://github.com/prithvikannan", "followers_url": "https://api.githu...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "I think this would be a nice addition as well. Most of the tests are failing because they were not adapted to your addition. Do you mind adapting them?\r\n\r\nPS: would you mind changing `indexes` to `indices`? That's what we try to use in the repository for the plural of index :)", "# [Codecov](https://codecov....
1,594
1,601
1,601
NONE
null
Based on [issue #5676](https://github.com/huggingface/transformers/issues/5676) Any application that requires users to locate grouped named entities would require some sort of index. This feature is present in the standard NER pipeline and should also exist in the grouped entity NER pipeline as well. This is a very ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5677/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5677/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5677", "html_url": "https://github.com/huggingface/transformers/pull/5677", "diff_url": "https://github.com/huggingface/transformers/pull/5677.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5677.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5676
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5676/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5676/comments
https://api.github.com/repos/huggingface/transformers/issues/5676/events
https://github.com/huggingface/transformers/issues/5676
655,127,271
MDU6SXNzdWU2NTUxMjcyNzE=
5,676
Add indexes to grouped entity NER pipeline
{ "login": "prithvikannan", "id": 46332835, "node_id": "MDQ6VXNlcjQ2MzMyODM1", "avatar_url": "https://avatars.githubusercontent.com/u/46332835?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prithvikannan", "html_url": "https://github.com/prithvikannan", "followers_url": "https://api.githu...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
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 am facing the same issue, Does this issue got fixed", "This issue has been automatically marked as stale because it has not had rec...
1,594
1,607
1,606
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. --> **There should be indexes in the output of the grouped entity NER pipeline** The standard NER pipeline from transformers outputs entities that contain the w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5676/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/5676/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5675
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5675/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5675/comments
https://api.github.com/repos/huggingface/transformers/issues/5675/events
https://github.com/huggingface/transformers/issues/5675
655,090,893
MDU6SXNzdWU2NTUwOTA4OTM=
5,675
Deepset model not loading using default code
{ "login": "gbanerjee01", "id": 17485108, "node_id": "MDQ6VXNlcjE3NDg1MTA4", "avatar_url": "https://avatars.githubusercontent.com/u/17485108?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbanerjee01", "html_url": "https://github.com/gbanerjee01", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Looks like the inference on the model hub works if it helps: https://huggingface.co/deepset/bert-large-uncased-whole-word-masking-squad2?text=Where+do+I+live%3F&context=My+name+is+Wolfgang+and+I+live+in+Berlin" ]
1,594
1,594
1,594
NONE
null
# 🐛 Bug ## Information Model I am using (Bert): Bert Language I am using the model on (English): English The problem arises when using: * [x] the official example scripts: (give details below) * [ ] my own modified scripts: (give details below) The tasks I am working on is: * [ ] an official GLUE/SQU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5675/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5675/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5674
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5674/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5674/comments
https://api.github.com/repos/huggingface/transformers/issues/5674/events
https://github.com/huggingface/transformers/issues/5674
655,050,714
MDU6SXNzdWU2NTUwNTA3MTQ=
5,674
Can't get BART to generate EOS token.
{ "login": "marcotcr", "id": 698010, "node_id": "MDQ6VXNlcjY5ODAxMA==", "avatar_url": "https://avatars.githubusercontent.com/u/698010?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marcotcr", "html_url": "https://github.com/marcotcr", "followers_url": "https://api.github.com/users/marcotc...
[]
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...
[ "Hmm, as far as I know the pretrained BART models do produce the EOS token and can actually generate pretty short summaries. For example if you look into the test `test_cnn_summarization_same_as_fairseq` you can see that the summaries are actually quite small (some are much smaller than `max_length`)\r\n\r\nAlso yo...
1,594
1,597
1,595
NONE
null
# 🐛 Bug I finetuned Bart on a few seq2seq tasks. It seems to learn the right thing, but it never seems to stop generating text unless I set `max_length`, i.e. it never generates the EOS token on its own. This seems to be the case for the pretrained model as well: if I run the example [here](https://huggingface.co/tra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5674/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5674/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5673
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5673/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5673/comments
https://api.github.com/repos/huggingface/transformers/issues/5673/events
https://github.com/huggingface/transformers/pull/5673
655,038,116
MDExOlB1bGxSZXF1ZXN0NDQ3NjQ1Njc0
5,673
Document model outputs
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5673?src=pr&el=h1) Report\n> Merging [#5673](https://codecov.io/gh/huggingface/transformers/pull/5673?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/201d23f2854c7a13d3c32df4947af9fd7365c2cd&el=desc) will **decrease...
1,594
1,594
1,594
COLLABORATOR
null
This PR adds proper documentation for all model outputs introduced in #5226. There are a few fixes to some docstrings for proper sphinx formatting, and a tiny change in the function that generates docstring to reference to `ModelOutput` types by their full names (since they are not in the init).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5673/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5673/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5673", "html_url": "https://github.com/huggingface/transformers/pull/5673", "diff_url": "https://github.com/huggingface/transformers/pull/5673.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5673.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5672
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5672/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5672/comments
https://api.github.com/repos/huggingface/transformers/issues/5672/events
https://github.com/huggingface/transformers/pull/5672
654,967,961
MDExOlB1bGxSZXF1ZXN0NDQ3NTg5Mzg0
5,672
Added first description of the model
{ "login": "onepointconsulting", "id": 35300398, "node_id": "MDQ6VXNlcjM1MzAwMzk4", "avatar_url": "https://avatars.githubusercontent.com/u/35300398?v=4", "gravatar_id": "", "url": "https://api.github.com/users/onepointconsulting", "html_url": "https://github.com/onepointconsulting", "followers_url": "ht...
[ { "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/5672?src=pr&el=h1) Report\n> Merging [#5672](https://codecov.io/gh/huggingface/transformers/pull/5672?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/201d23f2854c7a13d3c32df4947af9fd7365c2cd&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
Added general description, information about the tags and also some example usage code.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5672/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5672/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5672", "html_url": "https://github.com/huggingface/transformers/pull/5672", "diff_url": "https://github.com/huggingface/transformers/pull/5672.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5672.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5671
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5671/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5671/comments
https://api.github.com/repos/huggingface/transformers/issues/5671/events
https://github.com/huggingface/transformers/pull/5671
654,947,771
MDExOlB1bGxSZXF1ZXN0NDQ3NTcyOTU1
5,671
Deprecate old past arguments
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5671?src=pr&el=h1) Report\n> Merging [#5671](https://codecov.io/gh/huggingface/transformers/pull/5671?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/201d23f2854c7a13d3c32df4947af9fd7365c2cd&el=desc) will **decrease...
1,594
1,594
1,594
COLLABORATOR
null
As discussed internally, previous arguments `past`, `decoder_cached_states` and `decoder_past_key_value_states` are deprecated and replaced by either `past_key_values` or `decoder_past_key_values`. This also fixes the mentions to those arguments in the input docstrings, the output docstrings already refer to the corr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5671/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5671/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5671", "html_url": "https://github.com/huggingface/transformers/pull/5671", "diff_url": "https://github.com/huggingface/transformers/pull/5671.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5671.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5670
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5670/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5670/comments
https://api.github.com/repos/huggingface/transformers/issues/5670/events
https://github.com/huggingface/transformers/pull/5670
654,942,191
MDExOlB1bGxSZXF1ZXN0NDQ3NTY4NjI0
5,670
[WIP] add DeFormer (ACL 2020) example
{ "login": "csarron", "id": 8440740, "node_id": "MDQ6VXNlcjg0NDA3NDA=", "avatar_url": "https://avatars.githubusercontent.com/u/8440740?v=4", "gravatar_id": "", "url": "https://api.github.com/users/csarron", "html_url": "https://github.com/csarron", "followers_url": "https://api.github.com/users/csarron/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi Qingqing, good to see you here! Yeah, I checked your official code repo and found it isn't based on 🤗's Transformers. It'll be nice if you can reimplement it and add Deformer in our library! \r\n\r\n~~@thomwolf Re. `🤗nlp`, should we use `🤗nlp` in `transformers` right away? Since it would make `🤗nlp` a depe...
1,594
1,600
1,600
CONTRIBUTOR
null
Hi there, I'm one of the authors of the [DeFormer paper](https://www.aclweb.org/anthology/2020.acl-main.411/), and I'd like to adapt the [DeFormer codebase](https://github.com/StonyBrookNLP/deformer) to this awesome transformers library. To get the adaptation done, I put a few high-level todos in the README (also here)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5670/reactions", "total_count": 6, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 6, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5670/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5670", "html_url": "https://github.com/huggingface/transformers/pull/5670", "diff_url": "https://github.com/huggingface/transformers/pull/5670.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5670.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5669
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5669/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5669/comments
https://api.github.com/repos/huggingface/transformers/issues/5669/events
https://github.com/huggingface/transformers/pull/5669
654,933,180
MDExOlB1bGxSZXF1ZXN0NDQ3NTYxNDU1
5,669
[squad] add version tag to squad cache
{ "login": "lazovich", "id": 678679, "node_id": "MDQ6VXNlcjY3ODY3OQ==", "avatar_url": "https://avatars.githubusercontent.com/u/678679?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lazovich", "html_url": "https://github.com/lazovich", "followers_url": "https://api.github.com/users/lazovic...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5669?src=pr&el=h1) Report\n> Merging [#5669](https://codecov.io/gh/huggingface/transformers/pull/5669?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0267668c3d648c6e41afda97f5df8671ee880ac3&el=desc) will **increase...
1,594
1,594
1,594
CONTRIBUTOR
null
This diff is to add a version number to the SQuAD cache file so that cached SQuADv1.1 features are not mistakenly read when you request SQuADv2. Addresses #5668
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5669/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5669/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5669", "html_url": "https://github.com/huggingface/transformers/pull/5669", "diff_url": "https://github.com/huggingface/transformers/pull/5669.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5669.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5668
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5668/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5668/comments
https://api.github.com/repos/huggingface/transformers/issues/5668/events
https://github.com/huggingface/transformers/issues/5668
654,929,579
MDU6SXNzdWU2NTQ5Mjk1Nzk=
5,668
SquadDataset should use version number in cache file name
{ "login": "lazovich", "id": 678679, "node_id": "MDQ6VXNlcjY3ODY3OQ==", "avatar_url": "https://avatars.githubusercontent.com/u/678679?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lazovich", "html_url": "https://github.com/lazovich", "followers_url": "https://api.github.com/users/lazovic...
[]
closed
false
null
[]
[ "closes by your own #5669 Thanks for your contribution :)" ]
1,594
1,594
1,594
CONTRIBUTOR
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): N/A Language I am using the model on (English, Chinese ...): English The problem arises when using: * [ ] the official example scripts: * [x] my own modified scripts: simple example code given below The tasks I am working on is: * [x] an offi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5668/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5668/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5667
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5667/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5667/comments
https://api.github.com/repos/huggingface/transformers/issues/5667/events
https://github.com/huggingface/transformers/issues/5667
654,928,851
MDU6SXNzdWU2NTQ5Mjg4NTE=
5,667
pytorch_model.bin file is different after uploading to HuggingFace Models
{ "login": "JohnGiorgi", "id": 8917831, "node_id": "MDQ6VXNlcjg5MTc4MzE=", "avatar_url": "https://avatars.githubusercontent.com/u/8917831?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JohnGiorgi", "html_url": "https://github.com/JohnGiorgi", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Very strange, I just tried the code and it returns `0.8289950489997864`. Maybe you try to re-download the model with:\r\n\r\n```python\r\n# Load the model\r\ntokenizer = AutoTokenizer.from_pretrained(\"johngiorgi/declutr-small\", force_download=True)\r\nmodel = AutoModel.from_pretrained(\"johngiorgi/declutr-small\...
1,594
1,596
1,596
CONTRIBUTOR
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): `distilroberta-base` 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 wo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5667/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5667/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5666
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5666/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5666/comments
https://api.github.com/repos/huggingface/transformers/issues/5666/events
https://github.com/huggingface/transformers/issues/5666
654,920,260
MDU6SXNzdWU2NTQ5MjAyNjA=
5,666
How do you connect Convolutional layers to Transformers?
{ "login": "leersaam", "id": 5494037, "node_id": "MDQ6VXNlcjU0OTQwMzc=", "avatar_url": "https://avatars.githubusercontent.com/u/5494037?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leersaam", "html_url": "https://github.com/leersaam", "followers_url": "https://api.github.com/users/leers...
[ { "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,594
1,600
1,600
NONE
null
# ❓ Questions & Help Hi everyone! Where can I find code example that makes clear how to connect Convolutional layers to Transformers and how it needs to be shaped in order to make such a connection? I have a bit of a hard time figuring it out. Thank you for your support.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5666/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5666/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5665
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5665/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5665/comments
https://api.github.com/repos/huggingface/transformers/issues/5665/events
https://github.com/huggingface/transformers/pull/5665
654,871,191
MDExOlB1bGxSZXF1ZXN0NDQ3NTEyNTEz
5,665
[AutoModels] Fix config params handling of all PT and TF AutoModels
{ "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
[]
[ "Isn't the canonical way:\r\n```\r\nconfig, kwargs = AutoConfig.from_pretrained(pretrained_model_name_or_path, return_unused_kwargs=True, **kwargs)\r\n```\r\nin the test?", "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5665?src=pr&el=h1) Report\n> Merging [#5665](https://codecov.io/gh/huggingfa...
1,594
1,594
1,594
MEMBER
null
As shown in #5474, currently, a command like: ```python from transformers import AutoModelForCausalLM] model = AutoModelForCausalLM.from_pretrained('bert-base-uncased', is_decoder=True) ``` fails because `is_decoder` is carried on as a model init argument even though it should *only* be used as a config init a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5665/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5665/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5665", "html_url": "https://github.com/huggingface/transformers/pull/5665", "diff_url": "https://github.com/huggingface/transformers/pull/5665.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5665.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5664
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5664/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5664/comments
https://api.github.com/repos/huggingface/transformers/issues/5664/events
https://github.com/huggingface/transformers/issues/5664
654,865,134
MDU6SXNzdWU2NTQ4NjUxMzQ=
5,664
[PyTorch] Load and run a model CPU which was traced and saved on GPU
{ "login": "vdantu", "id": 36211508, "node_id": "MDQ6VXNlcjM2MjExNTA4", "avatar_url": "https://avatars.githubusercontent.com/u/36211508?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vdantu", "html_url": "https://github.com/vdantu", "followers_url": "https://api.github.com/users/vdantu/fo...
[]
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://...
[ "@vdantu Thanks for reporting the issue. \r\n\r\nThe problem arises in `modeling_openai.py`when the user do not provide the `position_ids` function argument thus leading to the inner `position_ids` being created during the forward call. This is fine in classic PyTorch because `forward` is actually evaluated at each...
1,594
1,618
1,618
NONE
null
# ❓ Questions & Help ## Details I am trying to trace/save openai_gpt on GPU and use that model on a CPU and facing issues. Is this possible to do? I have attached the link to the question posted on the discuss forum as well. ### Sample Script ```python from transformers import OpenAIGPTTokenizer, OpenAIGPTMode...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5664/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5664/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5663
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5663/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5663/comments
https://api.github.com/repos/huggingface/transformers/issues/5663/events
https://github.com/huggingface/transformers/issues/5663
654,864,544
MDU6SXNzdWU2NTQ4NjQ1NDQ=
5,663
Request for Support to Adapt a Model (Human Dignity Observatory: Non-Profit Project)
{ "login": "KnowmadInstitut", "id": 67144701, "node_id": "MDQ6VXNlcjY3MTQ0NzAx", "avatar_url": "https://avatars.githubusercontent.com/u/67144701?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KnowmadInstitut", "html_url": "https://github.com/KnowmadInstitut", "followers_url": "https://api...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @KnowmadInstitut you should post this on the forum as well at https://discuss.huggingface.co/", "> Hi @KnowmadInstitut you should post this on the forum as well at https://discuss.huggingface.co/\r\n\r\nThank you so much for the guidance, I'll get right on it. :)\r\n", "This issue has been automatically ma...
1,594
1,600
1,600
NONE
null
Dear @huggingface community from the Knowmad Institut we need your contribution and support for the Observatory of Human Dignity that we have developed. You can access to the observatory here: (https://bit.ly/MQHHRRES) We need your support to adapt the hugging face tools. We need to get the sentiments out of the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5663/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5663/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5662
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5662/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5662/comments
https://api.github.com/repos/huggingface/transformers/issues/5662/events
https://github.com/huggingface/transformers/pull/5662
654,854,465
MDExOlB1bGxSZXF1ZXN0NDQ3NDk5MDUx
5,662
[WIP - don't merge][TF generate] Make tf generate compatible with tf.function
{ "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
null
[]
[ "is this still being worked on?", "I won't be able to take a look in the next ~2 weeks. Feel free to continue the PR :-) ", "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", "@patric...
1,594
1,622
1,605
MEMBER
null
The tf generate function shoud be cleaned up so that it can be used with tf.function.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5662/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5662/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5662", "html_url": "https://github.com/huggingface/transformers/pull/5662", "diff_url": "https://github.com/huggingface/transformers/pull/5662.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5662.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5661
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5661/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5661/comments
https://api.github.com/repos/huggingface/transformers/issues/5661/events
https://github.com/huggingface/transformers/pull/5661
654,814,986
MDExOlB1bGxSZXF1ZXN0NDQ3NDY2Njc3
5,661
Create Model card for RoBERTa-hindi-guj-san
{ "login": "parmarsuraj99", "id": 9317265, "node_id": "MDQ6VXNlcjkzMTcyNjU=", "avatar_url": "https://avatars.githubusercontent.com/u/9317265?v=4", "gravatar_id": "", "url": "https://api.github.com/users/parmarsuraj99", "html_url": "https://github.com/parmarsuraj99", "followers_url": "https://api.github....
[ { "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,594
1,594
1,594
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5661/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5661/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5661", "html_url": "https://github.com/huggingface/transformers/pull/5661", "diff_url": "https://github.com/huggingface/transformers/pull/5661.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5661.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5660
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5660/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5660/comments
https://api.github.com/repos/huggingface/transformers/issues/5660/events
https://github.com/huggingface/transformers/issues/5660
654,796,844
MDU6SXNzdWU2NTQ3OTY4NDQ=
5,660
"How to train a new language model from scratch" colab stuck at training
{ "login": "iggygeek", "id": 24476737, "node_id": "MDQ6VXNlcjI0NDc2NzM3", "avatar_url": "https://avatars.githubusercontent.com/u/24476737?v=4", "gravatar_id": "", "url": "https://api.github.com/users/iggygeek", "html_url": "https://github.com/iggygeek", "followers_url": "https://api.github.com/users/igg...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @iggygeek not sure what the exact problem is, can you provide exact details, env info, transformers and torch version and probably your code (script or colab).", "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 y...
1,594
1,600
1,600
NONE
null
Hello, I am following the tutorial : https://huggingface.co/blog/how-to-train At command : trainer.train() It gets stuck (Nothing displayed except "Using deprecated `--per_gpu_train_batch_size` argument"). Any idea ?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5660/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5660/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5659
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5659/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5659/comments
https://api.github.com/repos/huggingface/transformers/issues/5659/events
https://github.com/huggingface/transformers/pull/5659
654,785,305
MDExOlB1bGxSZXF1ZXN0NDQ3NDQyMzEx
5,659
[Longformer] fix longformer global attention output
{ "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/5659?src=pr&el=h1) Report\n> Merging [#5659](https://codecov.io/gh/huggingface/transformers/pull/5659?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0267668c3d648c6e41afda97f5df8671ee880ac3&el=desc) will **decrease...
1,594
1,594
1,594
MEMBER
null
This PR fixes the attention probs that are outputted when longformer uses global attention and sets `output_attention=True`. Thanks a million to @k141303 for very clean issue + perfect proposed solution in https://github.com/huggingface/transformers/issues/5646 .
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5659/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5659/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5659", "html_url": "https://github.com/huggingface/transformers/pull/5659", "diff_url": "https://github.com/huggingface/transformers/pull/5659.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5659.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5658
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5658/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5658/comments
https://api.github.com/repos/huggingface/transformers/issues/5658/events
https://github.com/huggingface/transformers/pull/5658
654,725,797
MDExOlB1bGxSZXF1ZXN0NDQ3Mzk1Njg0
5,658
Create README.md - Model card
{ "login": "nreimers", "id": 10706961, "node_id": "MDQ6VXNlcjEwNzA2OTYx", "avatar_url": "https://avatars.githubusercontent.com/u/10706961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nreimers", "html_url": "https://github.com/nreimers", "followers_url": "https://api.github.com/users/nre...
[ { "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/5658?src=pr&el=h1) Report\n> Merging [#5658](https://codecov.io/gh/huggingface/transformers/pull/5658?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2e6bb0e9c37655a03adaa3238dd6d4645fba8dc1&el=desc) will **not chan...
1,594
1,594
1,594
CONTRIBUTOR
null
Model card for sentence-transformers/bert-base-nli-max-tokens
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5658/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5658/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5658", "html_url": "https://github.com/huggingface/transformers/pull/5658", "diff_url": "https://github.com/huggingface/transformers/pull/5658.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5658.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5657
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5657/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5657/comments
https://api.github.com/repos/huggingface/transformers/issues/5657/events
https://github.com/huggingface/transformers/pull/5657
654,719,030
MDExOlB1bGxSZXF1ZXN0NDQ3MzkwMzQx
5,657
Create README.md - Model card
{ "login": "nreimers", "id": 10706961, "node_id": "MDQ6VXNlcjEwNzA2OTYx", "avatar_url": "https://avatars.githubusercontent.com/u/10706961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nreimers", "html_url": "https://github.com/nreimers", "followers_url": "https://api.github.com/users/nre...
[ { "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/5657?src=pr&el=h1) Report\n> Merging [#5657](https://codecov.io/gh/huggingface/transformers/pull/5657?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2e6bb0e9c37655a03adaa3238dd6d4645fba8dc1&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
Model card for sentence-transformers/bert-base-nli-cls-token
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5657/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5657/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5657", "html_url": "https://github.com/huggingface/transformers/pull/5657", "diff_url": "https://github.com/huggingface/transformers/pull/5657.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5657.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5656
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5656/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5656/comments
https://api.github.com/repos/huggingface/transformers/issues/5656/events
https://github.com/huggingface/transformers/issues/5656
654,694,591
MDU6SXNzdWU2NTQ2OTQ1OTE=
5,656
Truncated Outputs by t5 fine-tuned models
{ "login": "manojpreveen", "id": 64023526, "node_id": "MDQ6VXNlcjY0MDIzNTI2", "avatar_url": "https://avatars.githubusercontent.com/u/64023526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/manojpreveen", "html_url": "https://github.com/manojpreveen", "followers_url": "https://api.github.c...
[ { "id": 2197722692, "node_id": "MDU6TGFiZWwyMTk3NzIyNjky", "url": "https://api.github.com/repos/huggingface/transformers/labels/t5", "name": "t5", "color": "509fc4", "default": false, "description": "" } ]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "Hi, what are the arguments for `.generate` method ? you can control the generation length using `max_length` and `min_length` parameter. And if you want to see if there's something wrong with the fine-tuning code, then take the default t5-small model (it's already trained for summerization) and generate summaries...
1,594
1,604
1,598
NONE
null
I fine-tuned t5-small over CNN/DM dataset using the finetune_t5.sh script. The outputs produced by the saved fine-tuned model is okayish but it's getting cut i.e., producing incomplete sentence at the end. Example : Artcile: (CNN)The only thing crazier than a guy in snowbound Massachusetts boxing up the powde...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5656/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5656/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5655
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5655/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5655/comments
https://api.github.com/repos/huggingface/transformers/issues/5655/events
https://github.com/huggingface/transformers/pull/5655
654,686,830
MDExOlB1bGxSZXF1ZXN0NDQ3MzYzNzE0
5,655
Create model card
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5655?src=pr&el=h1) Report\n> Merging [#5655](https://codecov.io/gh/huggingface/transformers/pull/5655?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2e6bb0e9c37655a03adaa3238dd6d4645fba8dc1&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
Create model card for T5-small fine-tuned on SQUAD v2
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5655/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5655/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5655", "html_url": "https://github.com/huggingface/transformers/pull/5655", "diff_url": "https://github.com/huggingface/transformers/pull/5655.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5655.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5654
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5654/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5654/comments
https://api.github.com/repos/huggingface/transformers/issues/5654/events
https://github.com/huggingface/transformers/issues/5654
654,685,451
MDU6SXNzdWU2NTQ2ODU0NTE=
5,654
❓ Difficulties to reproduce BART results on CNN/DM by fine-tuning bart-large
{ "login": "astariul", "id": 43774355, "node_id": "MDQ6VXNlcjQzNzc0MzU1", "avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/astariul", "html_url": "https://github.com/astariul", "followers_url": "https://api.github.com/users/ast...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "Are the outputs produced by your best-checkpoint after fine-tuning producing proper outputs? or are the truncated at the end?\r\nI did fine-tune t5-small on CNN/DM but the best-checkpoint was producing outputs which were truncated in the end(for sample output, I just raised an issue, refer to that) and this was le...
1,594
1,614
1,608
CONTRIBUTOR
null
# ❓ Help I'm trying to fine-tune BART on CNN/DM by myself (so, starting from `facebook/bart-large` checkpoint). However I can't reproduce the results so far... BART authors report a R1 score of `44.16` in their paper, but my best checkpoint so far is only `42.53`. It's not an issue with the eval script, as I c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5654/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5654/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5653
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5653/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5653/comments
https://api.github.com/repos/huggingface/transformers/issues/5653/events
https://github.com/huggingface/transformers/issues/5653
654,673,239
MDU6SXNzdWU2NTQ2NzMyMzk=
5,653
AutoTokenizer.from_pretrained("hfl/chinese-roberta-wwm-ext")
{ "login": "Single430", "id": 7894408, "node_id": "MDQ6VXNlcjc4OTQ0MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/7894408?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Single430", "html_url": "https://github.com/Single430", "followers_url": "https://api.github.com/users/Si...
[]
closed
false
null
[]
[ "I also got the same issue.\r\nMaybe you can try `BertTokenizer.from_pretrained(\"hfl/chinese-roberta-wwm-ext\")`\r\nIt works for me.\r\n", "> I also got the same issue.\r\n> Maybe you can try `BertTokenizer.from_pretrained(\"hfl/chinese-roberta-wwm-ext\")`\r\n> It works for me.\r\n\r\nYes!! I succeeded, thank yo...
1,594
1,594
1,594
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5653/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5653/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5652
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5652/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5652/comments
https://api.github.com/repos/huggingface/transformers/issues/5652/events
https://github.com/huggingface/transformers/pull/5652
654,644,380
MDExOlB1bGxSZXF1ZXN0NDQ3MzI5MDgy
5,652
Create README.md - Model card for sentence-transformers/bert-base-nli-mean-tokens
{ "login": "nreimers", "id": 10706961, "node_id": "MDQ6VXNlcjEwNzA2OTYx", "avatar_url": "https://avatars.githubusercontent.com/u/10706961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nreimers", "html_url": "https://github.com/nreimers", "followers_url": "https://api.github.com/users/nre...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "Thanks for sharing! Note that we don't currently have automated deployment on ExBERT (cc @bhoov)\r\n\r\n➡️ [model page](https://huggingface.co/sentence-transformers/bert-base-nli-mean-tokens)" ]
1,594
1,594
1,594
CONTRIBUTOR
null
Model card for https://huggingface.co/sentence-transformers/bert-base-nli-mean-tokens
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5652/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5652/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5652", "html_url": "https://github.com/huggingface/transformers/pull/5652", "diff_url": "https://github.com/huggingface/transformers/pull/5652.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5652.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5651
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5651/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5651/comments
https://api.github.com/repos/huggingface/transformers/issues/5651/events
https://github.com/huggingface/transformers/issues/5651
654,565,297
MDU6SXNzdWU2NTQ1NjUyOTc=
5,651
T5 fp16 overflow in forward (T5DenseReluDense)
{ "login": "lior1990", "id": 20380399, "node_id": "MDQ6VXNlcjIwMzgwMzk5", "avatar_url": "https://avatars.githubusercontent.com/u/20380399?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lior1990", "html_url": "https://github.com/lior1990", "followers_url": "https://api.github.com/users/lio...
[]
closed
false
null
[]
[ "See: #4586" ]
1,594
1,594
1,594
NONE
null
# 🐛 Bug Using `AutoModelWithLMHead.from_pretrained("t5-base")` for fine-tuning, after 34 iterations I get nan loss from the forward method. After debugging it, I found that the source of the nan is due to an overflow that happens in `T5DenseReluDense`, when running `h = self.wo(h)`. The result of this forward is a ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5651/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/5651/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5650
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5650/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5650/comments
https://api.github.com/repos/huggingface/transformers/issues/5650/events
https://github.com/huggingface/transformers/issues/5650
654,510,012
MDU6SXNzdWU2NTQ1MTAwMTI=
5,650
Wrong answers from Longformer model even on simple questions
{ "login": "danishpruthi", "id": 4627113, "node_id": "MDQ6VXNlcjQ2MjcxMTM=", "avatar_url": "https://avatars.githubusercontent.com/u/4627113?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danishpruthi", "html_url": "https://github.com/danishpruthi", "followers_url": "https://api.github.com...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Yeah this is related to a bug, see: https://github.com/huggingface/transformers/pull/4615\r\n\r\ncc @mfuntowicz @julien-c - we should refactor the squad preprocessing in pipelines to make longformer work.", "Hi @patrickvonplaten: are there are any updates with respect to this?", "We will probably start working...
1,594
1,602
1,602
NONE
null
I am using the pretrained model `allenai/longformer-large-4096-finetuned-triviaqa`, however upon inspecting it on my system and the demo on the huggingface website, the outputs seem off even for very simple examples and samples from the dataset. 1. [Example 1](https://www.dropbox.com/s/9h3dcqpwq0n1b05/download%20%28...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5650/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5650/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5649
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5649/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5649/comments
https://api.github.com/repos/huggingface/transformers/issues/5649/events
https://github.com/huggingface/transformers/issues/5649
654,488,767
MDU6SXNzdWU2NTQ0ODg3Njc=
5,649
Bugs due to design choices in LongformerTokenizer
{ "login": "danishpruthi", "id": 4627113, "node_id": "MDQ6VXNlcjQ2MjcxMTM=", "avatar_url": "https://avatars.githubusercontent.com/u/4627113?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danishpruthi", "html_url": "https://github.com/danishpruthi", "followers_url": "https://api.github.com...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Thanks for this issue. Longformer was trained on trivia_qa by default and not squad, so the model is not by default compatible with `squad` and needs some special post processing as shown in the example of this model, here:\r\nhttps://huggingface.co/transformers/model_doc/longformer.html#longformerforquestionanswe...
1,594
1,600
1,600
NONE
null
I am using the transformers library from source (version: 3.0.2). ```python import transformers from transformers import * longformer_tokenizer = LongformerTokenizer.from_pretrained("allenai/longformer-base-4096") longformer_tokenizer.tokenize("This is a sample sentence for the tokenizer.") ``` The output I g...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5649/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5649/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5648
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5648/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5648/comments
https://api.github.com/repos/huggingface/transformers/issues/5648/events
https://github.com/huggingface/transformers/issues/5648
654,477,198
MDU6SXNzdWU2NTQ0NzcxOTg=
5,648
Classification accuracy on validation set didn't improve while fine-tuning BERT
{ "login": "rxlian", "id": 35382484, "node_id": "MDQ6VXNlcjM1MzgyNDg0", "avatar_url": "https://avatars.githubusercontent.com/u/35382484?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rxlian", "html_url": "https://github.com/rxlian", "followers_url": "https://api.github.com/users/rxlian/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hello! This is an interesting question, but is kind of out of scope for the Github issues. We just opened a forum at [discuss.huggingface.co](https://discuss.huggingface.co). Do you think you could ask your question over there?\r\n\r\nThank you.", "This issue has been automatically marked as stale because it has...
1,594
1,600
1,600
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5648/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5648/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5647
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5647/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5647/comments
https://api.github.com/repos/huggingface/transformers/issues/5647/events
https://github.com/huggingface/transformers/issues/5647
654,476,312
MDU6SXNzdWU2NTQ0NzYzMTI=
5,647
T5 TorchScript (Trace) Conversion
{ "login": "gyin94", "id": 67664443, "node_id": "MDQ6VXNlcjY3NjY0NDQz", "avatar_url": "https://avatars.githubusercontent.com/u/67664443?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gyin94", "html_url": "https://github.com/gyin94", "followers_url": "https://api.github.com/users/gyin94/fo...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hey @gyin-ai - can you specify your version?\r\n\r\nI cannot reproduce the error on master.", "In master, the above example works for me but it doesn't work for T5ForConditionalGeneration\r\n\r\n```\r\nfrom transformers import T5ForConditionalGeneration\r\nimport torch\r\n\r\ntokens_tensor = torch.ones(1, 10, dt...
1,594
1,685
1,601
NONE
null
# ❓ Questions & Help How can we correctly set inputs for t5 TorchScript? ## Details <!-- Description of your issue --> ```python from transformers import T5Model import torch tokens_tensor = torch.ones(1, 10, dtype=torch.long) model = T5Model.from_pretrained("t5-small", torchscript=True) model.eval() ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5647/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5647/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5646
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5646/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5646/comments
https://api.github.com/repos/huggingface/transformers/issues/5646/events
https://github.com/huggingface/transformers/issues/5646
654,458,686
MDU6SXNzdWU2NTQ0NTg2ODY=
5,646
Can't get (global) attention probs using Longformer
{ "login": "k141303", "id": 25025195, "node_id": "MDQ6VXNlcjI1MDI1MTk1", "avatar_url": "https://avatars.githubusercontent.com/u/25025195?v=4", "gravatar_id": "", "url": "https://api.github.com/users/k141303", "html_url": "https://github.com/k141303", "followers_url": "https://api.github.com/users/k14130...
[]
closed
false
null
[]
[ "Hey @k141303, \r\n\r\nThanks a lot for the issue - I can reproduce!", "Thanks a lot for your very clean issue + proposed solution. It makes it very easy to find the error and fix it :-) \r\n\r\nBTW, in cases like this issue when you see a clear fix to the bug, Pull Requests are very welcome as well!", "Hi, @pa...
1,594
1,601
1,594
NONE
null
# 🐛 Bug ## Information Model I am using **Longformer**: Language I am using the model on Japanese: The problem arises when using: * [ ] the official example scripts: (give details below) * [x] my own modified scripts: (give details below) The tasks I am working on is: * [ ] an official GLUE/SQUaD tas...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5646/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5646/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5645
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5645/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5645/comments
https://api.github.com/repos/huggingface/transformers/issues/5645/events
https://github.com/huggingface/transformers/pull/5645
654,437,296
MDExOlB1bGxSZXF1ZXN0NDQ3MTY2MjE2
5,645
enable easy checkout switch
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5645?src=pr&el=h1) Report\n> Merging [#5645](https://codecov.io/gh/huggingface/transformers/pull/5645?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/02a0b43014ac333a169e99d76aaba023a316e384&el=desc) will **increase...
1,594
1,596
1,596
CONTRIBUTOR
null
allow having multiple repository checkouts and not needing to remember to rerun `pip install -e .[dev]` when switching between checkouts and running tests. This code will automatically do the right thing for the test suite. Note that `python -m pytest` automatically adds `.` to the path, so normally most packages ge...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5645/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5645/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5645", "html_url": "https://github.com/huggingface/transformers/pull/5645", "diff_url": "https://github.com/huggingface/transformers/pull/5645.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5645.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5644
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5644/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5644/comments
https://api.github.com/repos/huggingface/transformers/issues/5644/events
https://github.com/huggingface/transformers/pull/5644
654,423,594
MDExOlB1bGxSZXF1ZXN0NDQ3MTU1NDU3
5,644
FlaubertForTokenClassification
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5644?src=pr&el=h1) Report\n> Merging [#5644](https://codecov.io/gh/huggingface/transformers/pull/5644?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0befb513278f6e42b722be340dbc667e0ba2718e&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
implement FlaubertForTokenClassification as a subclass of XLMForTokenClassification. Based on an item from https://github.com/huggingface/transformers/projects/17
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5644/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5644/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5644", "html_url": "https://github.com/huggingface/transformers/pull/5644", "diff_url": "https://github.com/huggingface/transformers/pull/5644.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5644.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5643
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5643/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5643/comments
https://api.github.com/repos/huggingface/transformers/issues/5643/events
https://github.com/huggingface/transformers/issues/5643
654,406,832
MDU6SXNzdWU2NTQ0MDY4MzI=
5,643
Help with Using TFXLNet on custom embeddings
{ "login": "andrewlee98", "id": 14003549, "node_id": "MDQ6VXNlcjE0MDAzNTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/14003549?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andrewlee98", "html_url": "https://github.com/andrewlee98", "followers_url": "https://api.github.com/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "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,594
1,600
1,600
NONE
null
# 🐛 Bug ## Information Hi, I am working on implementing the multimodal bitransformer: https://arxiv.org/pdf/1909.02950.pdf I have already gotten this working using your implementation of TFBertModel, but I want to try using TFXLNetModel in place of BERT to see if it makes an improvement. What I've done for usin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5643/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5643/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5642
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5642/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5642/comments
https://api.github.com/repos/huggingface/transformers/issues/5642/events
https://github.com/huggingface/transformers/pull/5642
654,377,714
MDExOlB1bGxSZXF1ZXN0NDQ3MTE4MjEy
5,642
Improvements to PretrainedConfig documentation
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5642?src=pr&el=h1) Report\n> Merging [#5642](https://codecov.io/gh/huggingface/transformers/pull/5642?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/760f726e516752d27142346d8552682d3f6f0532&el=desc) will **increase...
1,594
1,594
1,594
COLLABORATOR
null
Preview is [here](https://59194-155220641-gh.circle-artifacts.com/0/docs/_build/html/main_classes/configuration.html)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5642/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5642/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5642", "html_url": "https://github.com/huggingface/transformers/pull/5642", "diff_url": "https://github.com/huggingface/transformers/pull/5642.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5642.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5641
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5641/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5641/comments
https://api.github.com/repos/huggingface/transformers/issues/5641/events
https://github.com/huggingface/transformers/issues/5641
654,365,730
MDU6SXNzdWU2NTQzNjU3MzA=
5,641
Multiple Mask Tokens
{ "login": "zbush548", "id": 61605741, "node_id": "MDQ6VXNlcjYxNjA1NzQx", "avatar_url": "https://avatars.githubusercontent.com/u/61605741?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zbush548", "html_url": "https://github.com/zbush548", "followers_url": "https://api.github.com/users/zbu...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi! This is a very good question. We just opened a forum on [discuss.huggingface.co](https://discuss.huggingface.co/) to discuss those kind of questions exactly. Do you think you could go over there and ask it? Thanks a lot!", "Sure, I'll do that now! @LysandreJik ", "This issue has been automatically marked a...
1,594
1,600
1,600
NONE
null
For those wishing to [MASK] several tokens, here this is. My question, however, relates to the output. I added "top_k" assuming I'd be able to return multiple sentences, but that was not the case. I am not sure how exactly I can achieve this. ``` import torch from transformers import BertTokenizer, BertModel,B...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5641/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5641/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5640
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5640/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5640/comments
https://api.github.com/repos/huggingface/transformers/issues/5640/events
https://github.com/huggingface/transformers/pull/5640
654,353,353
MDExOlB1bGxSZXF1ZXN0NDQ3MDk4MzE5
5,640
Cleanup bart caching logic
{ "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/5640?src=pr&el=h1) Report\n> Merging [#5640](https://codecov.io/gh/huggingface/transformers/pull/5640?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7fad617dc1fc681a7f5da5e0172c8b83f4bf0024&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
Previously, we had a helper function that checked 4 possible cases to determine whether we should: (a) combine a cached attention mask with a new one. (b) just use the cached one (c) just use the new/passed one This consolidates that logic into 3 branches and deletes the helper func, which was only called once....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5640/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/5640/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5640", "html_url": "https://github.com/huggingface/transformers/pull/5640", "diff_url": "https://github.com/huggingface/transformers/pull/5640.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5640.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5639
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5639/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5639/comments
https://api.github.com/repos/huggingface/transformers/issues/5639/events
https://github.com/huggingface/transformers/issues/5639
654,289,701
MDU6SXNzdWU2NTQyODk3MDE=
5,639
test suite fails due to pytorch bug in torch.seed
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "A fix has been just applied here:\r\nhttps://github.com/pytorch/pytorch/commit/5edd9aa95a8a73e940185f8448e7db05394ce6fe\r\nwill re-test with the nightly", "I confirmed that this pytorch bug has been fixed in nightly and the tests don't fail anymore." ]
1,594
1,597
1,597
CONTRIBUTOR
null
# 🐛 Bug ## Information This is on a dual-gpu machine. Almost all tests/test_modeling_reformer.py sub-tests fail with: ``` def cb(): for i in range(device_count()): default_generator = torch.cuda.default_generators[i] > default_generator.manual_seed(seed) E ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5639/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5639/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5638
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5638/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5638/comments
https://api.github.com/repos/huggingface/transformers/issues/5638/events
https://github.com/huggingface/transformers/pull/5638
654,283,153
MDExOlB1bGxSZXF1ZXN0NDQ3MDQwNjA2
5,638
Create README.md
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5638?src=pr&el=h1) Report\n> Merging [#5638](https://codecov.io/gh/huggingface/transformers/pull/5638?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b25f7802de2749a5f8c3430437eceabf9e6384b8&el=desc) will **increase...
1,594
1,594
1,594
CONTRIBUTOR
null
Create model card for T5-small fine-tuned on SQUAD v1.1
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5638/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5638/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5638", "html_url": "https://github.com/huggingface/transformers/pull/5638", "diff_url": "https://github.com/huggingface/transformers/pull/5638.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5638.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5637
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5637/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5637/comments
https://api.github.com/repos/huggingface/transformers/issues/5637/events
https://github.com/huggingface/transformers/pull/5637
654,281,904
MDExOlB1bGxSZXF1ZXN0NDQ3MDM5NTU5
5,637
Add forum link in the docs
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5637?src=pr&el=h1) Report\n> Merging [#5637](https://codecov.io/gh/huggingface/transformers/pull/5637?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b25f7802de2749a5f8c3430437eceabf9e6384b8&el=desc) will **decrease...
1,594
1,594
1,594
COLLABORATOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5637/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5637/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5637", "html_url": "https://github.com/huggingface/transformers/pull/5637", "diff_url": "https://github.com/huggingface/transformers/pull/5637.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5637.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5636
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5636/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5636/comments
https://api.github.com/repos/huggingface/transformers/issues/5636/events
https://github.com/huggingface/transformers/pull/5636
654,237,272
MDExOlB1bGxSZXF1ZXN0NDQ3MDAzMTE3
5,636
Should check that torch TPU is available
{ "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/5636?src=pr&el=h1) Report\n> Merging [#5636](https://codecov.io/gh/huggingface/transformers/pull/5636?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b9d8af07e66764bbf4213e1ce443fcdfa927ca46&el=desc) will **not chan...
1,594
1,594
1,594
MEMBER
null
fix #5634
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5636/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5636/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5636", "html_url": "https://github.com/huggingface/transformers/pull/5636", "diff_url": "https://github.com/huggingface/transformers/pull/5636.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5636.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5635
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5635/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5635/comments
https://api.github.com/repos/huggingface/transformers/issues/5635/events
https://github.com/huggingface/transformers/pull/5635
654,204,951
MDExOlB1bGxSZXF1ZXN0NDQ2OTc2NzYw
5,635
[WIP][Examples] Adding more examples and more introductory tutorials
{ "login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomw...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5635?src=pr&el=h1) Report\n> Merging [#5635](https://codecov.io/gh/huggingface/transformers/pull/5635?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8edfaaa81b9995cedea2f8805e4c18c2b6cb5bfc&el=desc) will **decrease...
1,594
1,597
1,597
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5635/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5635/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5635", "html_url": "https://github.com/huggingface/transformers/pull/5635", "diff_url": "https://github.com/huggingface/transformers/pull/5635.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5635.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/5634
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5634/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5634/comments
https://api.github.com/repos/huggingface/transformers/issues/5634/events
https://github.com/huggingface/transformers/issues/5634
654,196,438
MDU6SXNzdWU2NTQxOTY0Mzg=
5,634
T5 has no module ```torch_xla``` when using T5 fine-tuned on 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/...
[]
closed
false
null
[]
[ "Indeed, it seems this model was once trained or initialized on TPU. Thanks for letting us know, I'm patching it in #5636.", "Yes, it was trained on TPU", "It should be fixed on master now, can you try pulling from master and running your code?", "I already did it and it works!!!\r\nThank you!!" ]
1,594
1,594
1,594
CONTRIBUTOR
null
# 🐛 Bug ## Information I get this error: ``` ModuleNotFoundError: No module named 'torch_xla'``` Full error message: ``` 2 3 tokenizer = AutoTokenizer.from_pretrained("mrm8488/t5-base-finetuned-squadv2") ----> 4 model = AutoModelWithLMHead.from_pretrained("mrm8488/t5-base-finetuned-squadv2")...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5634/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5634/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5633
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5633/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5633/comments
https://api.github.com/repos/huggingface/transformers/issues/5633/events
https://github.com/huggingface/transformers/pull/5633
654,193,749
MDExOlB1bGxSZXF1ZXN0NDQ2OTY3NDkz
5,633
More explicit error when failing to tensorize overflowing tokens
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,594
1,594
1,594
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5633/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5633/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5633", "html_url": "https://github.com/huggingface/transformers/pull/5633", "diff_url": "https://github.com/huggingface/transformers/pull/5633.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5633.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5632
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5632/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5632/comments
https://api.github.com/repos/huggingface/transformers/issues/5632/events
https://github.com/huggingface/transformers/pull/5632
654,174,664
MDExOlB1bGxSZXF1ZXN0NDQ2OTUyNjA2
5,632
Fixed use of memories in XLNet (caching for language generation + warning when loading improper memoryless model)
{ "login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5632?src=pr&el=h1) Report\n> Merging [#5632](https://codecov.io/gh/huggingface/transformers/pull/5632?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/fa5423b1695cd24856bcff47214172e0f540d924&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
The default XLNet model is loaded with 0 memory length, which is an issue both at training time (improper performance) and inference time (as there's no caching speed-up since it doesn't return former attentions). As discussed with @LysandreJik , this PR introduces a warning that in the future, the default XLNet model ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5632/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5632/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5632", "html_url": "https://github.com/huggingface/transformers/pull/5632", "diff_url": "https://github.com/huggingface/transformers/pull/5632.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5632.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5631
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5631/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5631/comments
https://api.github.com/repos/huggingface/transformers/issues/5631/events
https://github.com/huggingface/transformers/pull/5631
654,122,295
MDExOlB1bGxSZXF1ZXN0NDQ2OTEwNzM5
5,631
Correct extension for model summary links
{ "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/5631?src=pr&el=h1) Report\n> Merging [#5631](https://codecov.io/gh/huggingface/transformers/pull/5631?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5c82bf6831b49e1e6029d09488081d5d98a272e9&el=desc) will **decrease...
1,594
1,594
1,594
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5631/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5631/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5631", "html_url": "https://github.com/huggingface/transformers/pull/5631", "diff_url": "https://github.com/huggingface/transformers/pull/5631.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5631.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5630
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5630/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5630/comments
https://api.github.com/repos/huggingface/transformers/issues/5630/events
https://github.com/huggingface/transformers/issues/5630
654,104,340
MDU6SXNzdWU2NTQxMDQzNDA=
5,630
How can I fine-tune on custom model
{ "login": "pinedbean", "id": 9152586, "node_id": "MDQ6VXNlcjkxNTI1ODY=", "avatar_url": "https://avatars.githubusercontent.com/u/9152586?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pinedbean", "html_url": "https://github.com/pinedbean", "followers_url": "https://api.github.com/users/pi...
[ { "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 try this:\r\nhttps://github.com/huggingface/transformers/pull/3009/commits/489dd7608c5b3d4acaf997a2b4fbccc3d7144cf3\r\n\r\nbut there is no bilstm layer. You can add it by yourself", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further ...
1,594
1,604
1,604
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5630/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5630/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5629
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5629/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5629/comments
https://api.github.com/repos/huggingface/transformers/issues/5629/events
https://github.com/huggingface/transformers/pull/5629
654,075,788
MDExOlB1bGxSZXF1ZXN0NDQ2ODcyNzEy
5,629
Fixed TextGenerationPipeline on torch + GPU
{ "login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5629?src=pr&el=h1) Report\n> Merging [#5629](https://codecov.io/gh/huggingface/transformers/pull/5629?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/fa5423b1695cd24856bcff47214172e0f540d924&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
Fixes #5622 .
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5629/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5629/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5629", "html_url": "https://github.com/huggingface/transformers/pull/5629", "diff_url": "https://github.com/huggingface/transformers/pull/5629.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5629.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5628
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5628/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5628/comments
https://api.github.com/repos/huggingface/transformers/issues/5628/events
https://github.com/huggingface/transformers/issues/5628
654,059,585
MDU6SXNzdWU2NTQwNTk1ODU=
5,628
Support for Polyencoder and other retriever based models
{ "login": "prakhar6sharma", "id": 37648724, "node_id": "MDQ6VXNlcjM3NjQ4NzI0", "avatar_url": "https://avatars.githubusercontent.com/u/37648724?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prakhar6sharma", "html_url": "https://github.com/prakhar6sharma", "followers_url": "https://api.gi...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,594
1,600
1,600
NONE
null
# ❓ Questions & Help Is there any way I can load Polyencoder and other retriever based models from ParlAI in huggingface/transformers because as of now, there seems no support of loading huggingface/transformers models in ParlAI other than GPT. Polyencoder: https://arxiv.org/abs/1905.01969 ParlAI Implementation ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5628/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5628/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5627
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5627/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5627/comments
https://api.github.com/repos/huggingface/transformers/issues/5627/events
https://github.com/huggingface/transformers/issues/5627
654,053,334
MDU6SXNzdWU2NTQwNTMzMzQ=
5,627
Model doc failed
{ "login": "zheyuye", "id": 37728728, "node_id": "MDQ6VXNlcjM3NzI4NzI4", "avatar_url": "https://avatars.githubusercontent.com/u/37728728?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zheyuye", "html_url": "https://github.com/zheyuye", "followers_url": "https://api.github.com/users/zheyuy...
[]
closed
false
null
[]
[ "This has been fixed in master, https://huggingface.co/transformers/master/model_summary.html will have the proper links.", "This has now been fixed for the stable version as well!" ]
1,594
1,594
1,594
NONE
null
As title, model doc failed in page https://huggingface.co/transformers/model_summary.html, e.g. https://huggingface.co/model_doc/distilbert
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5627/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5627/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5626
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5626/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5626/comments
https://api.github.com/repos/huggingface/transformers/issues/5626/events
https://github.com/huggingface/transformers/pull/5626
654,047,683
MDExOlB1bGxSZXF1ZXN0NDQ2ODQ5OTE1
5,626
doc: fix apparent copy-paste error in docstring
{ "login": "gthb", "id": 153580, "node_id": "MDQ6VXNlcjE1MzU4MA==", "avatar_url": "https://avatars.githubusercontent.com/u/153580?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gthb", "html_url": "https://github.com/gthb", "followers_url": "https://api.github.com/users/gthb/followers", ...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5626?src=pr&el=h1) Report\n> Merging [#5626](https://codecov.io/gh/huggingface/transformers/pull/5626?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/fa5423b1695cd24856bcff47214172e0f540d924&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5626/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5626/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5626", "html_url": "https://github.com/huggingface/transformers/pull/5626", "diff_url": "https://github.com/huggingface/transformers/pull/5626.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5626.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/5625
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5625/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5625/comments
https://api.github.com/repos/huggingface/transformers/issues/5625/events
https://github.com/huggingface/transformers/issues/5625
654,047,157
MDU6SXNzdWU2NTQwNDcxNTc=
5,625
Cannot reproduce roberta-large on SQuAD
{ "login": "zheyuye", "id": 37728728, "node_id": "MDQ6VXNlcjM3NzI4NzI4", "avatar_url": "https://avatars.githubusercontent.com/u/37728728?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zheyuye", "html_url": "https://github.com/zheyuye", "followers_url": "https://api.github.com/users/zheyuy...
[]
closed
false
null
[]
[ "And also, it seems that the glue results showcased in https://huggingface.co/roberta-large refers to the paper instead of fine-tuning from your own script.", "@ZheyuYe\r\n\r\nIs this hyperparameter ` --adam_betas '(0.9, 0.98)' \\` available in a modified Transformers v3.0.2 `run_squad.py`, or earlier version?...
1,594
1,594
1,594
NONE
null
## Information Using the same hyper-paramters as [paper](https://arxiv.org/abs/1907.11692), I fine-tund roberta-large on SQuAD1.1 resulting disappointing results as below. I am wondering that the reason of it might be the gradient noralization is different from the [official implementation](), although it hasn't been ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5625/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5625/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5624
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5624/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5624/comments
https://api.github.com/repos/huggingface/transformers/issues/5624/events
https://github.com/huggingface/transformers/issues/5624
654,010,117
MDU6SXNzdWU2NTQwMTAxMTc=
5,624
Inference widgets for self-hosted models?
{ "login": "cceyda", "id": 15624271, "node_id": "MDQ6VXNlcjE1NjI0Mjcx", "avatar_url": "https://avatars.githubusercontent.com/u/15624271?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cceyda", "html_url": "https://github.com/cceyda", "followers_url": "https://api.github.com/users/cceyda/fo...
[]
closed
false
null
[]
[ "do you mind sending an email to clement [at] huggingface [dot] co explaining your usecase?", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n", "I have created a simple package that de...
1,594
1,602
1,602
CONTRIBUTOR
null
# 🚀 Feature request I'm loving the new [huggingface](https://huggingface.co/bert-base-uncased?) dataset browsing & hosted model interfaces 🤯 So firstly a huge thank you to everyone <3 This is a question/feature request ~ - Can we use inference widgets for self-hosted models? I see that there is a [serving...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5624/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5624/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5623
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5623/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5623/comments
https://api.github.com/repos/huggingface/transformers/issues/5623/events
https://github.com/huggingface/transformers/issues/5623
654,003,305
MDU6SXNzdWU2NTQwMDMzMDU=
5,623
Predictor in Streamlit Docker eating all memory and OOM
{ "login": "Aklmenrah", "id": 62019846, "node_id": "MDQ6VXNlcjYyMDE5ODQ2", "avatar_url": "https://avatars.githubusercontent.com/u/62019846?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Aklmenrah", "html_url": "https://github.com/Aklmenrah", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,594
1,600
1,600
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): DistilBert Language I am using the model on (English, Chinese ...): English The problem arises when using: * [x] the official example scripts: (give details below) * [ ] my own modified scripts: (give details below) The tasks I am working on i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5623/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5623/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5622
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5622/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5622/comments
https://api.github.com/repos/huggingface/transformers/issues/5622/events
https://github.com/huggingface/transformers/issues/5622
653,923,436
MDU6SXNzdWU2NTM5MjM0MzY=
5,622
TextGenerationPipeline breaks when used with device=0
{ "login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/...
[]
closed
false
{ "login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/...
[ { "login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "htt...
[ "If that's not the case, we should make sure that the pipelines run on GPU in the GPU CI. (fast and slow), to catch things like this." ]
1,594
1,594
1,594
CONTRIBUTOR
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): model-agnostic (breaks with GPT2 and XLNet) Language I am using the model on (English, Chinese ...): English The problem arises when using: [x] my own modified scripts: (give details below) The tasks I am working on is: [x] my own task or data...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5622/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5622/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/5621
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/5621/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/5621/comments
https://api.github.com/repos/huggingface/transformers/issues/5621/events
https://github.com/huggingface/transformers/pull/5621
653,840,915
MDExOlB1bGxSZXF1ZXN0NDQ2NjgwMzEx
5,621
Add freshly trained `codegram/calbert-base-uncased`
{ "login": "txus", "id": 83234, "node_id": "MDQ6VXNlcjgzMjM0", "avatar_url": "https://avatars.githubusercontent.com/u/83234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/txus", "html_url": "https://github.com/txus", "followers_url": "https://api.github.com/users/txus/followers", "follo...
[ { "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/5621?src=pr&el=h1) Report\n> Merging [#5621](https://codecov.io/gh/huggingface/transformers/pull/5621?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/fa5423b1695cd24856bcff47214172e0f540d924&el=desc) will **decrease...
1,594
1,594
1,594
CONTRIBUTOR
null
Trained from the rewrite mentioned in #5599, just finished training last night. The model card now reflects both models, with tested code examples and links to Exbert.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/5621/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/5621/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/5621", "html_url": "https://github.com/huggingface/transformers/pull/5621", "diff_url": "https://github.com/huggingface/transformers/pull/5621.diff", "patch_url": "https://github.com/huggingface/transformers/pull/5621.patch", "merged_at": 1...