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/8021
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8021/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8021/comments
https://api.github.com/repos/huggingface/transformers/issues/8021/events
https://github.com/huggingface/transformers/issues/8021
728,822,358
MDU6SXNzdWU3Mjg4MjIzNTg=
8,021
[bart] SinusoidalPositionalEmbedding breaks under pytorch-nightly
{ "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
[]
[]
1,603
1,604
1,604
CONTRIBUTOR
null
pytorch-nightly breaks these: ``` FAILED tests/test_modeling_bart.py::TestSinusoidalPositionalEmbeddings::test_odd_embed_dim - RuntimeError: a view of a leaf Variable that requires... FAILED tests/test_modeling_bart.py::TestSinusoidalPositionalEmbeddings::test_positional_emb_cache_logic - RuntimeError: a view of a l...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8021/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8021/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8020
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8020/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8020/comments
https://api.github.com/repos/huggingface/transformers/issues/8020/events
https://github.com/huggingface/transformers/issues/8020
728,814,000
MDU6SXNzdWU3Mjg4MTQwMDA=
8,020
sentencepiece 0.1.94 causing segmentation fault
{ "login": "mejran", "id": 823108, "node_id": "MDQ6VXNlcjgyMzEwOA==", "avatar_url": "https://avatars.githubusercontent.com/u/823108?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mejran", "html_url": "https://github.com/mejran", "followers_url": "https://api.github.com/users/mejran/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 can be worked around, for anyone hitting this issue, by setting `sentencepiece==0.1.91` explicitly.", "Maybe we could set `sentencepiece==0.1.91` in the setup.py to prevent this from happening, as we already had the issue with the 0.1.92.\r\n\r\nDo you want to open a PR for that?", "This should also be fi...
1,603
1,610
1,610
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.4.0 and 3.3.1 - Platform: Linux/Sagemaker - Python version: 3.7 - PyTorch version (GPU?): 1.4 - Tens...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8020/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/8020/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8019
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8019/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8019/comments
https://api.github.com/repos/huggingface/transformers/issues/8019/events
https://github.com/huggingface/transformers/issues/8019
728,813,612
MDU6SXNzdWU3Mjg4MTM2MTI=
8,019
Colab can't import trim_batch for T5, anything changed in transformers.tokenization_utils?
{ "login": "yxu1168", "id": 50936877, "node_id": "MDQ6VXNlcjUwOTM2ODc3", "avatar_url": "https://avatars.githubusercontent.com/u/50936877?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yxu1168", "html_url": "https://github.com/yxu1168", "followers_url": "https://api.github.com/users/yxu116...
[ { "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", "Had the same issue. Found a trim_batch implementation on the transformers repo, used it, didn't face any issues so far.\r\n\r\n[Link to...
1,603
1,613
1,609
NONE
null
from transformers.tokenization_utils import trim_batch ImportError: cannot import name 'trim_batch' Any solutions? Thanks a lot.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8019/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8019/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8018
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8018/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8018/comments
https://api.github.com/repos/huggingface/transformers/issues/8018/events
https://github.com/huggingface/transformers/issues/8018
728,798,403
MDU6SXNzdWU3Mjg3OTg0MDM=
8,018
tutorial document
{ "login": "jc-hou", "id": 30210529, "node_id": "MDQ6VXNlcjMwMjEwNTI5", "avatar_url": "https://avatars.githubusercontent.com/u/30210529?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jc-hou", "html_url": "https://github.com/jc-hou", "followers_url": "https://api.github.com/users/jc-hou/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
{ "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...
[ "You're correct! @patrickvonplaten, git blame shows you as the author, want to fix?", "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,603
1,609
1,609
NONE
null
In the Translation section in https://huggingface.co/transformers/task_summary.html " Here is an example of doing translation using a model and a tokenizer. The process is the following: 1.Instantiate a tokenizer and a model from the checkpoint name. Summarization is usually done using an encoder-decoder model, such...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8018/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8018/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8017
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8017/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8017/comments
https://api.github.com/repos/huggingface/transformers/issues/8017/events
https://github.com/huggingface/transformers/pull/8017
728,779,312
MDExOlB1bGxSZXF1ZXN0NTA5NDI0Mzg5
8,017
Create README.md
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8017/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8017/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8017", "html_url": "https://github.com/huggingface/transformers/pull/8017", "diff_url": "https://github.com/huggingface/transformers/pull/8017.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8017.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8016
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8016/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8016/comments
https://api.github.com/repos/huggingface/transformers/issues/8016/events
https://github.com/huggingface/transformers/pull/8016
728,777,651
MDExOlB1bGxSZXF1ZXN0NTA5NDIzMTY2
8,016
Mlflow integration callback
{ "login": "noise-field", "id": 14188757, "node_id": "MDQ6VXNlcjE0MTg4NzU3", "avatar_url": "https://avatars.githubusercontent.com/u/14188757?v=4", "gravatar_id": "", "url": "https://api.github.com/users/noise-field", "html_url": "https://github.com/noise-field", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? This PR adds Trainer integration with [MLflow](https://mlflow.org/). It is implemented in roughly the same way as other integration callbacks (CometML, wandb) and gets added to the list of Trainer callbacks automatically when mlflow is installed. All the mlflow parameters are configured w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8016/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/8016/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8016", "html_url": "https://github.com/huggingface/transformers/pull/8016", "diff_url": "https://github.com/huggingface/transformers/pull/8016.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8016.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8015
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8015/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8015/comments
https://api.github.com/repos/huggingface/transformers/issues/8015/events
https://github.com/huggingface/transformers/pull/8015
728,777,467
MDExOlB1bGxSZXF1ZXN0NTA5NDIzMDI2
8,015
Create README.md
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8015/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8015/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8015", "html_url": "https://github.com/huggingface/transformers/pull/8015", "diff_url": "https://github.com/huggingface/transformers/pull/8015.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8015.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8014
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8014/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8014/comments
https://api.github.com/repos/huggingface/transformers/issues/8014/events
https://github.com/huggingface/transformers/issues/8014
728,776,918
MDU6SXNzdWU3Mjg3NzY5MTg=
8,014
weird output shape when fine-tuning TFDistilBertForSequenceClassification
{ "login": "rbroc", "id": 32483140, "node_id": "MDQ6VXNlcjMyNDgzMTQw", "avatar_url": "https://avatars.githubusercontent.com/u/32483140?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rbroc", "html_url": "https://github.com/rbroc", "followers_url": "https://api.github.com/users/rbroc/follow...
[]
closed
false
null
[]
[ "One probably related issue is that if I try to use `model.evaluate` I get an error with the following traceback:\r\n```\r\n\r\n---------------------------------------------------------------------------\r\nValueError Traceback (most recent call last)\r\n<ipython-input-125-3f03cbe29a6...
1,603
1,603
1,603
NONE
null
I'm trying to fine-tune `TFDistilBertForSequenceClassification` for multi-class classification (100 classes) on a custom dataset following the tutorial at https://huggingface.co/transformers/custom_datasets.html. I'm following the workflow for fine-tuning in native tensorflow, i.e.: ``` from transformers import...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8014/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8014/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8013
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8013/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8013/comments
https://api.github.com/repos/huggingface/transformers/issues/8013/events
https://github.com/huggingface/transformers/pull/8013
728,729,536
MDExOlB1bGxSZXF1ZXN0NTA5Mzg5NDE1
8,013
[doc prepare_seq2seq_batch] fix docs
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
MEMBER
null
The `prepare_seq2seq_batch` batch returns `[input_ids, attention_mask, labels]` and not `[input_ids, attention_mask, decoder_input_ids]`. This PR fixes the docs accordingly. @sshleifer
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8013/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8013/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8013", "html_url": "https://github.com/huggingface/transformers/pull/8013", "diff_url": "https://github.com/huggingface/transformers/pull/8013.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8013.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8012
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8012/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8012/comments
https://api.github.com/repos/huggingface/transformers/issues/8012/events
https://github.com/huggingface/transformers/pull/8012
728,726,879
MDExOlB1bGxSZXF1ZXN0NTA5Mzg3NTgz
8,012
Add model_cards for DynaBERT
{ "login": "mazicwong", "id": 17029801, "node_id": "MDQ6VXNlcjE3MDI5ODAx", "avatar_url": "https://avatars.githubusercontent.com/u/17029801?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mazicwong", "html_url": "https://github.com/mazicwong", "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
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
Add model_cards for DynaBERT_MNLI and DynaBERT_SST-2.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8012/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8012/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8012", "html_url": "https://github.com/huggingface/transformers/pull/8012", "diff_url": "https://github.com/huggingface/transformers/pull/8012.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8012.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8011
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8011/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8011/comments
https://api.github.com/repos/huggingface/transformers/issues/8011/events
https://github.com/huggingface/transformers/issues/8011
728,701,912
MDU6SXNzdWU3Mjg3MDE5MTI=
8,011
AttributeError: module 'tensorflow.python.keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects'
{ "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
[]
[ "### Solution\r\n\r\nIf you encounter the same, here is how to fix it:\r\n\r\n```\r\npip uninstall -y tensorflow-gpu tensorflow\r\npip install tensorflow-gpu -U \r\n```\r\n(I assume you want the gpu version - adjust if not)\r\n", "I think that for the last few versions, when installing `tensorflow` you get a `ten...
1,603
1,668
1,603
CONTRIBUTOR
null
Problem and solution: This happened several times as of recent. Some env gets messed up and I end up with most tests failing with: ```____________________________________________________ ERROR collecting tests/test_benchmark_tf.py ____________________________________________________ tests/test_benchmark_tf.py:6: i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8011/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/8011/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8010
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8010/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8010/comments
https://api.github.com/repos/huggingface/transformers/issues/8010/events
https://github.com/huggingface/transformers/issues/8010
728,636,859
MDU6SXNzdWU3Mjg2MzY4NTk=
8,010
src->transformers->generation_tf_util.py ->_generate_beam_search->outputs = self(**model_inputs) why self ?There is not a function?
{ "login": "RyanPeking", "id": 46998598, "node_id": "MDQ6VXNlcjQ2OTk4NTk4", "avatar_url": "https://avatars.githubusercontent.com/u/46998598?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RyanPeking", "html_url": "https://github.com/RyanPeking", "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
[]
[ "is self.generate?", "Hello! Could you provide all the information relative to your environment as asked in the template, as well as the code that generates the error? Thanks!", "Thanks for your replying!\r\n\r\noutputs = self(**model_inputs)\r\nThis code appear in function _generate_beam_search and _generate_...
1,603
1,609
1,609
NONE
null
Traceback (most recent call last): File "D:\Program Files\JetBrains\PyCharm 2018.3.2\helpers\pydev\pydevd.py", line 1741, in <module> main() File "D:\Program Files\JetBrains\PyCharm 2018.3.2\helpers\pydev\pydevd.py", line 1735, in main globals = debugger.run(setup['file'], None, None, is_module) File...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8010/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/8010/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8009
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8009/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8009/comments
https://api.github.com/repos/huggingface/transformers/issues/8009/events
https://github.com/huggingface/transformers/pull/8009
728,527,694
MDExOlB1bGxSZXF1ZXN0NTA5MjIwMjQ2
8,009
Doc styling
{ "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
[]
[]
1,603
1,605
1,603
COLLABORATOR
null
# What does this PR do? Add a script that does some styling on the doc files and docstrings.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8009/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8009/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8009", "html_url": "https://github.com/huggingface/transformers/pull/8009", "diff_url": "https://github.com/huggingface/transformers/pull/8009.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8009.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/8008
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8008/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8008/comments
https://api.github.com/repos/huggingface/transformers/issues/8008/events
https://github.com/huggingface/transformers/issues/8008
728,510,836
MDU6SXNzdWU3Mjg1MTA4MzY=
8,008
TextDataset bug with big files
{ "login": "paulomann", "id": 7051554, "node_id": "MDQ6VXNlcjcwNTE1NTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/7051554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/paulomann", "html_url": "https://github.com/paulomann", "followers_url": "https://api.github.com/users/pa...
[ { "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! Could you put the whole stack trace here? I fear it might be an internal sentencepiece error, for which we'll be unable to help and you would have more luck opening an issue on the sentencepiece repo directly.", "This issue has been automatically marked as stale because it has not had recent activity. It wil...
1,603
1,609
1,609
NONE
null
- `transformers` version: 3.0.2 - Platform: Linux-4.4.0-137-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GPU?): 1.6.0 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No ### Who can help @mfuntow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8008/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8008/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8007
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8007/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8007/comments
https://api.github.com/repos/huggingface/transformers/issues/8007/events
https://github.com/huggingface/transformers/pull/8007
728,497,162
MDExOlB1bGxSZXF1ZXN0NTA5MTk1MzEw
8,007
Ci test tf super slow
{ "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
[]
[ "`tests/test_tokenization_fsmt.py::FSMTTokenizationTest::test_match_encode_decode` fixed in https://github.com/huggingface/transformers/pull/8031\r\n\r\nI checked it off in your list.", "@patrickvonplaten can you take a look at the failing TF-Longformer and TF-T5 tests?", "> @patrickvonplaten can you take a loo...
1,603
1,604
1,604
MEMBER
null
Enable the slow TF suite on GPU. Below are the current failing tests. Investigating whether they're actually failing or if it's for some other reason. - [x] ~FAILED tests/test_modeling_marian.py::ModelManagementTests::test_model_names~ - [x] ~FAILED tests/test_modeling_prophetnet.py::ProphetNetModelIntegrationT...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8007/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8007/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8007", "html_url": "https://github.com/huggingface/transformers/pull/8007", "diff_url": "https://github.com/huggingface/transformers/pull/8007.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8007.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8006
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8006/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8006/comments
https://api.github.com/repos/huggingface/transformers/issues/8006/events
https://github.com/huggingface/transformers/pull/8006
728,328,758
MDExOlB1bGxSZXF1ZXN0NTA5MDU1ODM2
8,006
[tokenizers] Fixing #8001 - Adding tests on tokenizers serialization
{ "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
[]
[]
1,603
1,603
1,603
MEMBER
null
# What does this PR do? Fixes #8001 Now the tokenizers classes have to send all the keyword arguments of the `__init__` up to the base class of the tokenizer (by `super().__init__`) were they are stored in `init_kwargs` for serialized saving/reloading with `save_pretrained/from_pretrained`. Adding a test on to...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8006/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8006/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8006", "html_url": "https://github.com/huggingface/transformers/pull/8006", "diff_url": "https://github.com/huggingface/transformers/pull/8006.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8006.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8005
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8005/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8005/comments
https://api.github.com/repos/huggingface/transformers/issues/8005/events
https://github.com/huggingface/transformers/issues/8005
728,312,850
MDU6SXNzdWU3MjgzMTI4NTA=
8,005
Differences between facebook/bart-base and facebook/bart-large?
{ "login": "leoribeiro", "id": 839917, "node_id": "MDQ6VXNlcjgzOTkxNw==", "avatar_url": "https://avatars.githubusercontent.com/u/839917?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leoribeiro", "html_url": "https://github.com/leoribeiro", "followers_url": "https://api.github.com/users/l...
[ { "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...
[ "If you look at\r\n\r\nhttps://s3.amazonaws.com/models.huggingface.co/bert/facebook/bart-large/config.json\r\nand \r\nhttps://s3.amazonaws.com/models.huggingface.co/bert/facebook/bart-base/config.json\r\n(how to do this for any model: go to [model hub](https://s3.amazonaws.com/models.huggingface.co/) and click see ...
1,603
1,641
1,610
NONE
null
# ❓ Questions & Help Is there some more difference between `facebook/bart-base` and `facebook/bart-large` (other than dimensions, heads and layers)? ## Who can help @sshleifer @WiseDoge ## Environment info - transformers version: 3.3.1 - Python version: 3.6.12 - PyTorch version (GPU?): 1.4.0 GPU-versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8005/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8005/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8004
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8004/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8004/comments
https://api.github.com/repos/huggingface/transformers/issues/8004/events
https://github.com/huggingface/transformers/pull/8004
728,221,526
MDExOlB1bGxSZXF1ZXN0NTA4OTY4NzQ3
8,004
german medbert readme
{ "login": "smanjil", "id": 11598535, "node_id": "MDQ6VXNlcjExNTk4NTM1", "avatar_url": "https://avatars.githubusercontent.com/u/11598535?v=4", "gravatar_id": "", "url": "https://api.github.com/users/smanjil", "html_url": "https://github.com/smanjil", "followers_url": "https://api.github.com/users/smanji...
[ { "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
[]
[ "Closed in favor of #8002 " ]
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8004/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8004/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8004", "html_url": "https://github.com/huggingface/transformers/pull/8004", "diff_url": "https://github.com/huggingface/transformers/pull/8004.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8004.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/8003
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8003/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8003/comments
https://api.github.com/repos/huggingface/transformers/issues/8003/events
https://github.com/huggingface/transformers/pull/8003
728,176,353
MDExOlB1bGxSZXF1ZXN0NTA4OTMxMzkw
8,003
Create model card for bert-italian-cased-finetuned-pos
{ "login": "sachaarbonel", "id": 18029834, "node_id": "MDQ6VXNlcjE4MDI5ODM0", "avatar_url": "https://avatars.githubusercontent.com/u/18029834?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachaarbonel", "html_url": "https://github.com/sachaarbonel", "followers_url": "https://api.github.c...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8003/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8003/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8003", "html_url": "https://github.com/huggingface/transformers/pull/8003", "diff_url": "https://github.com/huggingface/transformers/pull/8003.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8003.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/8002
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8002/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8002/comments
https://api.github.com/repos/huggingface/transformers/issues/8002/events
https://github.com/huggingface/transformers/pull/8002
728,092,275
MDExOlB1bGxSZXF1ZXN0NTA4ODYyNzE4
8,002
Create README.md
{ "login": "smanjil", "id": 11598535, "node_id": "MDQ6VXNlcjExNTk4NTM1", "avatar_url": "https://avatars.githubusercontent.com/u/11598535?v=4", "gravatar_id": "", "url": "https://api.github.com/users/smanjil", "html_url": "https://github.com/smanjil", "followers_url": "https://api.github.com/users/smanji...
[ { "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,603
1,607
1,607
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8002/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8002/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/8002", "html_url": "https://github.com/huggingface/transformers/pull/8002", "diff_url": "https://github.com/huggingface/transformers/pull/8002.diff", "patch_url": "https://github.com/huggingface/transformers/pull/8002.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/8001
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8001/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8001/comments
https://api.github.com/repos/huggingface/transformers/issues/8001/events
https://github.com/huggingface/transformers/issues/8001
728,086,757
MDU6SXNzdWU3MjgwODY3NTc=
8,001
do_lower_case not saved/loaded correctly for Tokenizers
{ "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
null
[]
[ "Oh! I'll take a look, thanks for the report @tholor ", "Thanks for the fast fix @thomwolf ! Very much appreciated!" ]
1,603
1,603
1,603
CONTRIBUTOR
null
## Environment info - `transformers` version: 3.4.0 - Platform: Linux-5.4.0-52-generic-x86_64-with-debian-buster-sid - Python version: 3.7.6 - PyTorch version (GPU?): 1.5.1 (False) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: No - Using distributed or parallel set-up in script?: No ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/8001/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/8001/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/8000
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/8000/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/8000/comments
https://api.github.com/repos/huggingface/transformers/issues/8000/events
https://github.com/huggingface/transformers/issues/8000
728,031,905
MDU6SXNzdWU3MjgwMzE5MDU=
8,000
How to load tokenizer for models without vocab.txt?
{ "login": "havetry", "id": 49902228, "node_id": "MDQ6VXNlcjQ5OTAyMjI4", "avatar_url": "https://avatars.githubusercontent.com/u/49902228?v=4", "gravatar_id": "", "url": "https://api.github.com/users/havetry", "html_url": "https://github.com/havetry", "followers_url": "https://api.github.com/users/havetr...
[ { "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! In order to use the xlm-roberta-large model, why don't you use the `from_pretrained` method?\r\n\r\n```py\r\nfrom transformers import XLMRobertaModel\r\n\r\nmodel = XLMRobertaModel.from_pretrained(\"xlm-roberta-large\")\r\n```", "> Hello! In order to use the xlm-roberta-large model, why don't you use the ...
1,603
1,609
1,609
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/8000/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/8000/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7999
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7999/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7999/comments
https://api.github.com/repos/huggingface/transformers/issues/7999/events
https://github.com/huggingface/transformers/pull/7999
727,957,464
MDExOlB1bGxSZXF1ZXN0NTA4NzU0Njkx
7,999
Add model cards for DynaBERT
{ "login": "mazicwong", "id": 17029801, "node_id": "MDQ6VXNlcjE3MDI5ODAx", "avatar_url": "https://avatars.githubusercontent.com/u/17029801?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mazicwong", "html_url": "https://github.com/mazicwong", "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
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? Add model cards for DynaBERT.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7999/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7999/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7999", "html_url": "https://github.com/huggingface/transformers/pull/7999", "diff_url": "https://github.com/huggingface/transformers/pull/7999.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7999.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7998
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7998/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7998/comments
https://api.github.com/repos/huggingface/transformers/issues/7998/events
https://github.com/huggingface/transformers/pull/7998
727,916,290
MDExOlB1bGxSZXF1ZXN0NTA4NzIwMzA1
7,998
update version for scipy
{ "login": "suliuzh", "id": 27858725, "node_id": "MDQ6VXNlcjI3ODU4NzI1", "avatar_url": "https://avatars.githubusercontent.com/u/27858725?v=4", "gravatar_id": "", "url": "https://api.github.com/users/suliuzh", "html_url": "https://github.com/suliuzh", "followers_url": "https://api.github.com/users/suliuz...
[]
closed
false
null
[]
[ "Let's wait for Victor to answer on that issue before merging.", "looks good!" ]
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? updating version requirement for scipy in 'examples\\distillation\\requirements.txt'. fix [https://github.com/huggingface/transformers/issues/7967](url)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7998/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7998/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7998", "html_url": "https://github.com/huggingface/transformers/pull/7998", "diff_url": "https://github.com/huggingface/transformers/pull/7998.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7998.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7997
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7997/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7997/comments
https://api.github.com/repos/huggingface/transformers/issues/7997/events
https://github.com/huggingface/transformers/pull/7997
727,861,065
MDExOlB1bGxSZXF1ZXN0NTA4NjcyMTEw
7,997
Create README.md
{ "login": "mazicwong", "id": 17029801, "node_id": "MDQ6VXNlcjE3MDI5ODAx", "avatar_url": "https://avatars.githubusercontent.com/u/17029801?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mazicwong", "html_url": "https://github.com/mazicwong", "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
[]
[]
1,603
1,604
1,603
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7997/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7997/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7997", "html_url": "https://github.com/huggingface/transformers/pull/7997", "diff_url": "https://github.com/huggingface/transformers/pull/7997.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7997.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7996
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7996/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7996/comments
https://api.github.com/repos/huggingface/transformers/issues/7996/events
https://github.com/huggingface/transformers/pull/7996
727,840,507
MDExOlB1bGxSZXF1ZXN0NTA4NjU2MTY1
7,996
Added model cards for Tagalog ELECTRA models
{ "login": "jcblaisecruz02", "id": 24757547, "node_id": "MDQ6VXNlcjI0NzU3NTQ3", "avatar_url": "https://avatars.githubusercontent.com/u/24757547?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jcblaisecruz02", "html_url": "https://github.com/jcblaisecruz02", "followers_url": "https://api.gi...
[ { "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
[]
[ "@jcblaisecruz02 looks like your config.json files do not contain a `architectures` field nor a `model_type`, so your models might be incorrectly categorized – any way you could add those? Thank you!", "> @jcblaisecruz02 looks like your config.json files do not contain a `architectures` field nor a `model_type`, ...
1,603
1,603
1,603
NONE
null
# What does this PR do? Added model cards for eight ELECTRA Tagalog models (four generators and four discriminators).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7996/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7996/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7996", "html_url": "https://github.com/huggingface/transformers/pull/7996", "diff_url": "https://github.com/huggingface/transformers/pull/7996.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7996.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7995
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7995/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7995/comments
https://api.github.com/repos/huggingface/transformers/issues/7995/events
https://github.com/huggingface/transformers/pull/7995
727,838,660
MDExOlB1bGxSZXF1ZXN0NTA4NjU0NzQ5
7,995
[CI] generate separate report files as artifacts
{ "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
[]
[ "This looks good but I only see `test_output.txt` in the artifacts, for some reason?", "you must be looking at the wrong job? As I said I only did it for one job at the moment - this one:\r\nhttps://app.circleci.com/pipelines/github/huggingface/transformers/14359/workflows/b38c8e8c-2867-4366-a907-a202da9bc9ee/job...
1,603
1,603
1,603
CONTRIBUTOR
null
This PR solves https://github.com/huggingface/transformers/issues/7887 to produce easier to use reports on CIs. * [x] adds an optional `--make_reports=id` to `pytest`- e.g. `--make_reports=examples`. It then uses that id to generate `report_{id}_{reports}.txt` - this was needed since some jobs like on scheduled jobs...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7995/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7995/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7995", "html_url": "https://github.com/huggingface/transformers/pull/7995", "diff_url": "https://github.com/huggingface/transformers/pull/7995.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7995.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7994
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7994/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7994/comments
https://api.github.com/repos/huggingface/transformers/issues/7994/events
https://github.com/huggingface/transformers/issues/7994
727,804,903
MDU6SXNzdWU3Mjc4MDQ5MDM=
7,994
BertTokenizer's add_token won't add token
{ "login": "HenryPaik1", "id": 42961175, "node_id": "MDQ6VXNlcjQyOTYxMTc1", "avatar_url": "https://avatars.githubusercontent.com/u/42961175?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HenryPaik1", "html_url": "https://github.com/HenryPaik1", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "It seems not work until I save the new tokenizer. I close the issue.\r\n```\r\ntokenizer.save_pretrained('/path/to/tokenizer')\r\ntokenizer = BertTokenizer.from_pretrained('/path/to/tokenizer')\r\n```", "looks like tokenizer.vocab_size does not update after add tokens. but len(tokenizer) shows correct number ", ...
1,603
1,603
1,603
NONE
null
`add_token` actually won't add token. Please refer to the code below: ``` from transformers import BertTokenizer tokenizer = BertTokenizer.from_pretrained('bert-base-uncased', do_lower_case=True) tokenizer.vocab_size >>30522 tokenizer.add_tokens(new_tokens=['[SUBJ]', '[OBJ]'], special_tokens=True) >>2 token...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7994/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7994/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7993
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7993/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7993/comments
https://api.github.com/repos/huggingface/transformers/issues/7993/events
https://github.com/huggingface/transformers/pull/7993
727,731,547
MDExOlB1bGxSZXF1ZXN0NTA4NTY3NjQ1
7,993
[docs] [testing] distributed training
{ "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
[]
[ "One followup is to update the `test_trainer_distributed` to work with pytest. Then ideally, if we could have one command to run all those tests, that would be awesome (maybe we can use a pytest marker to mark all distributed-specific tests so it's easy to select them all?)", "I will port `test_trainer_distribute...
1,603
1,603
1,603
CONTRIBUTOR
null
We figured out how to support distributed training with `pytest`, this is a preliminary doc snippet to help those in need to find the current implementation. I'm sure it will evolve as we have more tests with varying needs, but for now that's all we have. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7993/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7993/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7993", "html_url": "https://github.com/huggingface/transformers/pull/7993", "diff_url": "https://github.com/huggingface/transformers/pull/7993.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7993.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7992
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7992/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7992/comments
https://api.github.com/repos/huggingface/transformers/issues/7992/events
https://github.com/huggingface/transformers/pull/7992
727,728,185
MDExOlB1bGxSZXF1ZXN0NTA4NTY0ODMz
7,992
update zero shot default widget example
{ "login": "joeddav", "id": 9353833, "node_id": "MDQ6VXNlcjkzNTM4MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joeddav", "html_url": "https://github.com/joeddav", "followers_url": "https://api.github.com/users/joeddav/...
[ { "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,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? Just changing bart's zero shot widget example.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7992/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7992/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7992", "html_url": "https://github.com/huggingface/transformers/pull/7992", "diff_url": "https://github.com/huggingface/transformers/pull/7992.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7992.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7991
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7991/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7991/comments
https://api.github.com/repos/huggingface/transformers/issues/7991/events
https://github.com/huggingface/transformers/pull/7991
727,717,308
MDExOlB1bGxSZXF1ZXN0NTA4NTU1Nzc5
7,991
[Reformer] remove reformer pad_token_id
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
MEMBER
null
# What does this PR do? The `crime-and-punishment` tokenizer actually does not have a `pad_token_id` - check with this [notebook](https://colab.research.google.com/github/google/trax/blob/master/trax/models/reformer/text_generation.ipynb#scrollTo=iDgvKNa_DDIq). Since this is our only tokenizer for Reformer, we shoul...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7991/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/7991/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7991", "html_url": "https://github.com/huggingface/transformers/pull/7991", "diff_url": "https://github.com/huggingface/transformers/pull/7991.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7991.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7990
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7990/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7990/comments
https://api.github.com/repos/huggingface/transformers/issues/7990/events
https://github.com/huggingface/transformers/pull/7990
727,693,335
MDExOlB1bGxSZXF1ZXN0NTA4NTM1OTIw
7,990
Handling longformer model_type
{ "login": "ethanjperez", "id": 6402205, "node_id": "MDQ6VXNlcjY0MDIyMDU=", "avatar_url": "https://avatars.githubusercontent.com/u/6402205?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ethanjperez", "html_url": "https://github.com/ethanjperez", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "cc @patil-suraj @patrickvonplaten @xixiaoyao" ]
1,603
1,603
1,603
CONTRIBUTOR
null
Updating the run_squad training script to handle the "longformer" `model_type`. The longformer is trained in the same was as RoBERTa, so I've added the "longformer" `model_type` (that's the right hugginface name for the LongFormer model, right?) everywhere there was a "roberta" `model_type` reference. The longformer (l...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7990/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7990/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7990", "html_url": "https://github.com/huggingface/transformers/pull/7990", "diff_url": "https://github.com/huggingface/transformers/pull/7990.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7990.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7989
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7989/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7989/comments
https://api.github.com/repos/huggingface/transformers/issues/7989/events
https://github.com/huggingface/transformers/pull/7989
727,681,964
MDExOlB1bGxSZXF1ZXN0NTA4NTI2NTMy
7,989
[gh ci] less output ( --durations=50)
{ "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
[]
[ "Thank you for the heads up - I will be working on all these related issues shortly - too much data indeed, but not just that.", "I'd say remove them complete for now and also -rA - I need to experiment and see how to make this data available w/o making logs unusable. ", "More context on github actions:\r\n\r\n...
1,603
1,603
1,603
CONTRIBUTOR
null
Way too much output in [this](https://github.com/huggingface/transformers/pull/7989) This will make it slightly better. cc @stas00
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7989/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7989/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7989", "html_url": "https://github.com/huggingface/transformers/pull/7989", "diff_url": "https://github.com/huggingface/transformers/pull/7989.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7989.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7988
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7988/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7988/comments
https://api.github.com/repos/huggingface/transformers/issues/7988/events
https://github.com/huggingface/transformers/issues/7988
727,668,194
MDU6SXNzdWU3Mjc2NjgxOTQ=
7,988
[Good first issue] Documentation links in older docs versions
{ "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/...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" }, { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwO...
closed
false
null
[]
[ "Hi, has anyone picked this up? I can give it a go in the coming week or two when I have some let off from releases at work if no-one is doing this. ", "Nobody has picked this up yet, would love to see such a contribution!", "Awesome, have our last release till year end freeze this week at work. I'll get in th...
1,603
1,609
1,609
MEMBER
null
# 🚀 Feature request This is a documentation request in order to make it easier to find corresponding examples in the documentation. Good first issue if you want to get acquainted with the docs and how to build docs using Sphinx! ## Current issue Here's the issue: currently, if one goes to an older documen...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7988/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7988/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7987
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7987/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7987/comments
https://api.github.com/repos/huggingface/transformers/issues/7987/events
https://github.com/huggingface/transformers/pull/7987
727,661,796
MDExOlB1bGxSZXF1ZXN0NTA4NTA5OTI5
7,987
TFMarian, TFMbart, TFPegasus, TFBlenderbot
{ "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
[]
[ "@patrickvonplaten \r\n+ I deleted the `_force_token_id` function, replaced with faster `tf.where` one-liner. (+ added regression test). \r\n+ Replaced unneeded `TFSharedEmbedding` with `tf.keras.layers.Embedding`\r\n+ switched all `.shape` to `shape_list`\r\n\r\nWDYT?" ]
1,603
1,604
1,604
CONTRIBUTOR
null
### Notes: - add `TFSinusoidalPositionalEmbeddings`. - Code structure identical to the corresponding pytorch code -- same classes, implementations differ only slightly. - Integration tests and common tests, rst updates, for all 4 children. All 4 children run the same common tests as TFBart and at least 1 integration...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7987/reactions", "total_count": 4, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7987/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7987", "html_url": "https://github.com/huggingface/transformers/pull/7987", "diff_url": "https://github.com/huggingface/transformers/pull/7987.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7987.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7986
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7986/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7986/comments
https://api.github.com/repos/huggingface/transformers/issues/7986/events
https://github.com/huggingface/transformers/issues/7986
727,656,041
MDU6SXNzdWU3Mjc2NTYwNDE=
7,986
T5 Decoder Inputs
{ "login": "alexorona", "id": 11825654, "node_id": "MDQ6VXNlcjExODI1NjU0", "avatar_url": "https://avatars.githubusercontent.com/u/11825654?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alexorona", "html_url": "https://github.com/alexorona", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "your 2nd option is correct here: \r\n\r\n```python\r\n# pad_token prepended, eos_token unmasked in attention\r\ndecoder_input_ids: tensor([[0, 2018, 55, 1, 0, 0, 0]])\r\ndecoder_attention_mask: tensor([[1, 1, 1, 1, 0, 0, 0]])\r\n```\r\n\r\n1) You have to start with `decoder_start_token_id = pad_token_id` in T5 and...
1,603
1,603
1,603
CONTRIBUTOR
null
# ❓ Questions & Help Just confirming that my data preprocessing is perfect for T5. I added a print statement in `T5ConditionalGeneration` for the `decoder_input_ids` and `decoder_attention_mask` just before they're passed to the decoder. Which of these is right? ``` # pad_token prepended, eos_token is not in the s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7986/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/7986/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7985
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7985/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7985/comments
https://api.github.com/repos/huggingface/transformers/issues/7985/events
https://github.com/huggingface/transformers/pull/7985
727,642,768
MDExOlB1bGxSZXF1ZXN0NTA4NDk0Njgz
7,985
[setup] require torch>=1.4
{ "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...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
closed
false
null
[]
[ "@patrickvonplaten @sshleifer @sgugger Could we solve the errors here to have `torch>=1.3` instead?", "May be it's simpler to set it to 1.4+ and only if someone asks for it to bother with 1.3?", "After discussion with the team, we'll take a look at supporting v1.3+ in the coming days, and if it requires too man...
1,603
1,622
1,622
CONTRIBUTOR
null
I run the non-slow test suite on lower torch versions: * torch-1.2 and below is definitely a no go - a gazillion of errors in the test suite. * torch-1.3+ is mostly OK, but: ``` FAILED tests/test_modeling_bart.py::BartHeadTests::test_generate_fp16 - RuntimeError: "argmax_cuda" not implemented for 'Half' FAILED...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7985/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7985/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7985", "html_url": "https://github.com/huggingface/transformers/pull/7985", "diff_url": "https://github.com/huggingface/transformers/pull/7985.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7985.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7984
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7984/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7984/comments
https://api.github.com/repos/huggingface/transformers/issues/7984/events
https://github.com/huggingface/transformers/pull/7984
727,637,901
MDExOlB1bGxSZXF1ZXN0NTA4NDkwODQ5
7,984
Reload checkpoint
{ "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
[]
[]
1,603
1,603
1,603
COLLABORATOR
null
# What does this PR do? This PR fixes a few bugs linked to resuming training from a checkpoint, mainly: - the progress was not properly displayed (beginning at 0 instead of the step from the checkpoint) - reloading the optimizer state and scheduler state on TPU was causing an error Tested on TPU, single-GPU and...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7984/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7984/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7984", "html_url": "https://github.com/huggingface/transformers/pull/7984", "diff_url": "https://github.com/huggingface/transformers/pull/7984.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7984.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7983
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7983/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7983/comments
https://api.github.com/repos/huggingface/transformers/issues/7983/events
https://github.com/huggingface/transformers/pull/7983
727,604,487
MDExOlB1bGxSZXF1ZXN0NTA4NDY0MjU3
7,983
add zero shot pipeline tags & examples
{ "login": "joeddav", "id": 9353833, "node_id": "MDQ6VXNlcjkzNTM4MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joeddav", "html_url": "https://github.com/joeddav", "followers_url": "https://api.github.com/users/joeddav/...
[ { "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,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? Adds the zero shot pipeline tag as well as default examples for a selection of pre-trained MNLI models. cc @patil-suraj
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7983/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/7983/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7983", "html_url": "https://github.com/huggingface/transformers/pull/7983", "diff_url": "https://github.com/huggingface/transformers/pull/7983.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7983.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7982
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7982/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7982/comments
https://api.github.com/repos/huggingface/transformers/issues/7982/events
https://github.com/huggingface/transformers/issues/7982
727,575,895
MDU6SXNzdWU3Mjc1NzU4OTU=
7,982
[s2s test] examples/seq2seq/test_finetune_trainer.py::TestFinetuneTrainer::test_finetune_trainer_slow fails on GPU
{ "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
[]
[ "I would fix this by training on much more data (like 1000 obs) and getting the loss down much further.", "I used more iterations - 6 was enough for 1 gpu, 10 for 2, so I went with 10.\r\n\r\nThis issue will be resolved by https://github.com/huggingface/transformers/pull/7965" ]
1,603
1,603
1,603
CONTRIBUTOR
null
This works (cpu / any pytorch): ``` CUDA_VISIBLE_DEVICES="" RUN_SLOW=1 pytest -sv examples/seq2seq/test_finetune_trainer.py::TestFinetuneTrainer::test_finetune_trainer_slow ``` This fails torch-1.5/gpu or 1.6, or nightly: ``` CUDA_VISIBLE_DEVICES="0" RUN_SLOW=1 pytest -sv examples/seq2seq/test_finetune_trainer.py...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7982/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7982/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7981
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7981/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7981/comments
https://api.github.com/repos/huggingface/transformers/issues/7981/events
https://github.com/huggingface/transformers/pull/7981
727,512,728
MDExOlB1bGxSZXF1ZXN0NTA4MzkyMTY4
7,981
Only log total_flos at the end of training
{ "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
[]
[]
1,603
1,603
1,603
COLLABORATOR
null
# What does this PR do? This PR removes the addition of `total_flos` at each (and every) log, since this kind of pollutes them, and only logs it once and for all at the end of training. Users can still define their own callbacks and do more with that value if they really want to, but from what I understood. @TevenLe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7981/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7981/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7981", "html_url": "https://github.com/huggingface/transformers/pull/7981", "diff_url": "https://github.com/huggingface/transformers/pull/7981.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7981.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7980
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7980/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7980/comments
https://api.github.com/repos/huggingface/transformers/issues/7980/events
https://github.com/huggingface/transformers/issues/7980
727,489,142
MDU6SXNzdWU3Mjc0ODkxNDI=
7,980
'DistributedDataParallel' object has no attribute 'save_pretrained'
{ "login": "AI678", "id": 63541083, "node_id": "MDQ6VXNlcjYzNTQxMDgz", "avatar_url": "https://avatars.githubusercontent.com/u/63541083?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AI678", "html_url": "https://github.com/AI678", "followers_url": "https://api.github.com/users/AI678/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
[]
[ "Could you provide the information related to your environment, as well as the code that outputs this error, like it is asked in the issue template?", "I am facing same issue as the given issu 'DistributedDataParallel' is custom class created by coder that is having base model available in Transformer repo\r\n\r\...
1,603
1,667
1,609
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/7980/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7980/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7979
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7979/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7979/comments
https://api.github.com/repos/huggingface/transformers/issues/7979/events
https://github.com/huggingface/transformers/issues/7979
727,406,992
MDU6SXNzdWU3Mjc0MDY5OTI=
7,979
How to make some structural changes to the EncoderDecoderModel ?
{ "login": "yhznb", "id": 50665515, "node_id": "MDQ6VXNlcjUwNjY1NTE1", "avatar_url": "https://avatars.githubusercontent.com/u/50665515?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yhznb", "html_url": "https://github.com/yhznb", "followers_url": "https://api.github.com/users/yhznb/follow...
[]
closed
false
null
[]
[ "Hey @yhznb, \r\n\r\nWe try to mainly use the github issues for bugs in the library. For more customized questions it would be great if you could use https://discuss.huggingface.co/ instead.\r\n\r\nRegarding your question I would just add a layer to `BertLMHeadModel` wherever you want to and then build your `Encode...
1,603
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/7979/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/7979/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7978
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7978/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7978/comments
https://api.github.com/repos/huggingface/transformers/issues/7978/events
https://github.com/huggingface/transformers/pull/7978
727,351,714
MDExOlB1bGxSZXF1ZXN0NTA4MjU5OTY5
7,978
Disable inference API for t5-11b
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[ { "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,603
1,603
1,603
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7978/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7978/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7978", "html_url": "https://github.com/huggingface/transformers/pull/7978", "diff_url": "https://github.com/huggingface/transformers/pull/7978.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7978.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7977
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7977/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7977/comments
https://api.github.com/repos/huggingface/transformers/issues/7977/events
https://github.com/huggingface/transformers/pull/7977
727,349,039
MDExOlB1bGxSZXF1ZXN0NTA4MjU3Nzgy
7,977
GPT2 - Remove else branch adding 0 to the hidden state if token_type_embeds is None.
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
MEMBER
null
Currently, when `token_type_embeds` is `None` we set its value to `0` and add it to the triplet `inputs_embeds + position_embeds + token_type_embeds`. This can be simplified to: - avoid summing 0 over many elements - avoid using raw Python scalar value which cannot be traced by TorchScript / ONNX when exporting. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7977/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7977/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7977", "html_url": "https://github.com/huggingface/transformers/pull/7977", "diff_url": "https://github.com/huggingface/transformers/pull/7977.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7977.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7976
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7976/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7976/comments
https://api.github.com/repos/huggingface/transformers/issues/7976/events
https://github.com/huggingface/transformers/issues/7976
727,334,859
MDU6SXNzdWU3MjczMzQ4NTk=
7,976
[XLA] Cannot restore from checkpoint on TPU
{ "login": "ksjae", "id": 17930170, "node_id": "MDQ6VXNlcjE3OTMwMTcw", "avatar_url": "https://avatars.githubusercontent.com/u/17930170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ksjae", "html_url": "https://github.com/ksjae", "followers_url": "https://api.github.com/users/ksjae/follow...
[]
closed
false
null
[]
[ "Pinging @sgugger " ]
1,603
1,603
1,603
NONE
null
## Environment info - `transformers` version: 3.4.0 - Platform: Linux-4.9.0-13-amd64-x86_64-with-debian-9.13 - Python version: 3.6.10 - PyTorch version (GPU?): 1.8.0a0+e5ed037 (False) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: No (but using TPU) - Using distributed or parallel set-up...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7976/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7976/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7975
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7975/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7975/comments
https://api.github.com/repos/huggingface/transformers/issues/7975/events
https://github.com/huggingface/transformers/pull/7975
727,308,847
MDExOlB1bGxSZXF1ZXN0NTA4MjI0OTAz
7,975
Fixing the "translation", "translation_XX_to_YY" pipelines.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "But If 1 models implies 1 task, how should we cope with models that are able to do multiple things (like `t5-base`) ? \r\n\r\nI think `datasets` does it correctly in that it does not make any choice on your behalf, but instead raises an Exception with your available choices.", "> But If 1 models implies 1 task, ...
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do Actually make the "translation", "translation_XX_to_YY" task behave correctly. Background: - Currently "translation_cn_to_ar" does not work. (only 3 pairs are supported) - Some models, contain in their config the correct values for the (src, tgt) pair they can translate. It's usually ju...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7975/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7975/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7975", "html_url": "https://github.com/huggingface/transformers/pull/7975", "diff_url": "https://github.com/huggingface/transformers/pull/7975.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7975.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7974
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7974/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7974/comments
https://api.github.com/repos/huggingface/transformers/issues/7974/events
https://github.com/huggingface/transformers/issues/7974
727,303,677
MDU6SXNzdWU3MjczMDM2Nzc=
7,974
TrainingArguments error : TypeError: __init__() got an unexpected keyword argument 'evaluation_strategy'
{ "login": "Fourha", "id": 49142670, "node_id": "MDQ6VXNlcjQ5MTQyNjcw", "avatar_url": "https://avatars.githubusercontent.com/u/49142670?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Fourha", "html_url": "https://github.com/Fourha", "followers_url": "https://api.github.com/users/Fourha/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
[]
[ "It was recently added, so you may need to upgrade your version of transformers.", "> It was recently added, so you may need to upgrade your version of transformers.\r\n\r\nThanks,it works!\r\nI use transformers in \r\n\r\n> kaggle notebook\r\n\r\n , maybe there is some bug in such online applications. I once tri...
1,603
1,656
1,609
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/7974/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/7974/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7973
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7973/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7973/comments
https://api.github.com/repos/huggingface/transformers/issues/7973/events
https://github.com/huggingface/transformers/pull/7973
727,289,812
MDExOlB1bGxSZXF1ZXN0NTA4MjA5Nzk5
7,973
support relative path for best_model_checkpoint
{ "login": "HaebinShin", "id": 6428529, "node_id": "MDQ6VXNlcjY0Mjg1Mjk=", "avatar_url": "https://avatars.githubusercontent.com/u/6428529?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HaebinShin", "html_url": "https://github.com/HaebinShin", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7973/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/7973/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7973", "html_url": "https://github.com/huggingface/transformers/pull/7973", "diff_url": "https://github.com/huggingface/transformers/pull/7973.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7973.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7972
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7972/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7972/comments
https://api.github.com/repos/huggingface/transformers/issues/7972/events
https://github.com/huggingface/transformers/issues/7972
727,261,885
MDU6SXNzdWU3MjcyNjE4ODU=
7,972
Unable to load UnifiedQA models, tf throws DataLossError
{ "login": "tshrjn", "id": 8372098, "node_id": "MDQ6VXNlcjgzNzIwOTg=", "avatar_url": "https://avatars.githubusercontent.com/u/8372098?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tshrjn", "html_url": "https://github.com/tshrjn", "followers_url": "https://api.github.com/users/tshrjn/foll...
[]
closed
false
null
[]
[ "As far as I can see, the model you are trying load doesn't have a compliant format. We cannot help more without the full error stack.", "Edit, added the full error stack.\r\nAlso, this is fairly easy to reproduce." ]
1,603
1,603
1,603
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.4.0 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7972/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7972/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7971
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7971/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7971/comments
https://api.github.com/repos/huggingface/transformers/issues/7971/events
https://github.com/huggingface/transformers/pull/7971
727,255,674
MDExOlB1bGxSZXF1ZXN0NTA4MTgxNzcz
7,971
FillMaskPipeline: support passing top_k on __call__
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[ "Ok so should be ready to merge after a quick review @LysandreJik @sgugger!" ]
1,603
1,603
1,603
MEMBER
null
Also change name from topk to top_k for more consistency with the TextGenerationPipeline
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7971/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7971/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7971", "html_url": "https://github.com/huggingface/transformers/pull/7971", "diff_url": "https://github.com/huggingface/transformers/pull/7971.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7971.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7970
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7970/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7970/comments
https://api.github.com/repos/huggingface/transformers/issues/7970/events
https://github.com/huggingface/transformers/pull/7970
727,243,776
MDExOlB1bGxSZXF1ZXN0NTA4MTcxOTMz
7,970
[tests|tokenizers] Refactoring pipelines test backbone - Small tokenizers improvements - General tests speedups
{ "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
[]
[ "Tagging a few people working on the pipelines and @sshleifer because I've added additional imports of TF Bart in `modeling_tf_auto` to make the pipelines happy.", "Ok. great, thanks @sgugger and @sshleifer.\r\n\r\nI took the occasion to speed up the CI test suite (cc @stas00) by:\r\n- spinning out the pipeline t...
1,603
1,603
1,603
MEMBER
null
# What does this PR do? This PR refactor the pipeline tests to split them in smaller parts more easy to iterate on. There is now: - one common backbone for testing pipelines in `test_pipeline_common.py` with two Mixin that can be used depending on the test: `CustomInputPipelineCommonMixin` and `MonoInputPipeline...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7970/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7970/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7970", "html_url": "https://github.com/huggingface/transformers/pull/7970", "diff_url": "https://github.com/huggingface/transformers/pull/7970.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7970.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7969
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7969/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7969/comments
https://api.github.com/repos/huggingface/transformers/issues/7969/events
https://github.com/huggingface/transformers/pull/7969
727,239,526
MDExOlB1bGxSZXF1ZXN0NTA4MTY4NDcx
7,969
Add model_cards
{ "login": "brandenchan", "id": 33759007, "node_id": "MDQ6VXNlcjMzNzU5MDA3", "avatar_url": "https://avatars.githubusercontent.com/u/33759007?v=4", "gravatar_id": "", "url": "https://api.github.com/users/brandenchan", "html_url": "https://github.com/brandenchan", "followers_url": "https://api.github.com/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "I think we should also add some meta-information (see [here](https://github.com/huggingface/model_card)) to the models:\r\n\r\n```\r\n---\r\nlanguage: de\r\nlicense: mit\r\ndatasets:\r\n- wikipedia\r\n---\r\n```\r\n\r\nAnd maybe we need to add `masked-lm` to the `tags` array, so that we can use the inference widge...
1,603
1,603
1,603
CONTRIBUTOR
null
Add model cards for new German language models. Paper [here](https://arxiv.org/abs/2010.10906)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7969/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7969/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7969", "html_url": "https://github.com/huggingface/transformers/pull/7969", "diff_url": "https://github.com/huggingface/transformers/pull/7969.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7969.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7968
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7968/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7968/comments
https://api.github.com/repos/huggingface/transformers/issues/7968/events
https://github.com/huggingface/transformers/pull/7968
727,219,499
MDExOlB1bGxSZXF1ZXN0NTA4MTUyMjUw
7,968
Herbert tokenizer auto load
{ "login": "rmroczkowski", "id": 64909124, "node_id": "MDQ6VXNlcjY0OTA5MTI0", "avatar_url": "https://avatars.githubusercontent.com/u/64909124?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rmroczkowski", "html_url": "https://github.com/rmroczkowski", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
Adding HerbertTokenizer imports for autoloading proper tokenizer. Fixes # (issue) ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7968/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7968/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7968", "html_url": "https://github.com/huggingface/transformers/pull/7968", "diff_url": "https://github.com/huggingface/transformers/pull/7968.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7968.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7967
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7967/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7967/comments
https://api.github.com/repos/huggingface/transformers/issues/7967/events
https://github.com/huggingface/transformers/issues/7967
727,169,267
MDU6SXNzdWU3MjcxNjkyNjc=
7,967
Should update version requirement for scipy in 'examples\\distillation\\requirements.txt'?
{ "login": "suliuzh", "id": 27858725, "node_id": "MDQ6VXNlcjI3ODU4NzI1", "avatar_url": "https://avatars.githubusercontent.com/u/27858725?v=4", "gravatar_id": "", "url": "https://api.github.com/users/suliuzh", "html_url": "https://github.com/suliuzh", "followers_url": "https://api.github.com/users/suliuz...
[]
closed
false
null
[]
[ "@VictorSanh what do you think?" ]
1,603
1,603
1,603
CONTRIBUTOR
null
There are inconsistent version requirements for scipy in 'examples\\distillation\\requirements.txt' and 'examples\\movement-pruning\\requirements.txt'. Fixed version **1.3.1** in 'examples\\distillation\\requirements.txt' is not in the version range in **'>=1.4.1'** in 'examples\\movement-pruning\\requirements.txt'. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7967/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7967/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7966
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7966/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7966/comments
https://api.github.com/repos/huggingface/transformers/issues/7966/events
https://github.com/huggingface/transformers/issues/7966
727,090,997
MDU6SXNzdWU3MjcwOTA5OTc=
7,966
T5 with allowing model changes
{ "login": "rabeehk", "id": 6278280, "node_id": "MDQ6VXNlcjYyNzgyODA=", "avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rabeehk", "html_url": "https://github.com/rabeehk", "followers_url": "https://api.github.com/users/rabeehk/...
[]
closed
false
null
[]
[ "Hey @rabeehk - for more specific cases we recommend that you fork master and tweak the model however you would like to so that it fits your purpose. \r\nI didn't understand 100% what kind of script you are looking for, but here you can browse some of the T5 scripts, we have collected: https://github.com/huggingfac...
1,603
1,608
1,608
NONE
null
Hi I would like to be able to change the model of T5, in addition to training on multiple tasks, I think currently the script can work for summarization only. Do you know possible other scripts allowing training on multiple tasks? One more question that in T5 in tensorflow repo, they have a small example for using y...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7966/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7966/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7965
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7965/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7965/comments
https://api.github.com/repos/huggingface/transformers/issues/7965/events
https://github.com/huggingface/transformers/pull/7965
727,068,000
MDExOlB1bGxSZXF1ZXN0NTA4MDMwOTk2
7,965
[s2s trainer] tests to use distributed on multi-gpu machine
{ "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
[]
[ "@sshleifer, the slow test isn't working for me prior to this PR with 0 or 1 gpu:\r\n\r\n```\r\nCUDA_VISIBLE_DEVICES=\"\" RUN_SLOW=1 pytest -sv examples/seq2seq/test_finetune_trainer.py::TestFinetuneTrainer::test_finetune_trainer_slow \r\n[...]\r\n\r\nself = <seq2seq.test_finetune_trainer.TestFinetuneTrainer test...
1,603
1,603
1,603
CONTRIBUTOR
null
This PR: * [x] abstracts the async forking io into local `utils.py` * [x] deploys distributed training with special async io forking for `examples/seq2seq/test_finetune_trainer.py` So now this works (2 gpus): ``` CUDA_VISIBLE_DEVICES="0,1" RUN_SLOW=1 pytest -sv examples/seq2seq/test_finetune_trainer.py ``` a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7965/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7965/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7965", "html_url": "https://github.com/huggingface/transformers/pull/7965", "diff_url": "https://github.com/huggingface/transformers/pull/7965.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7965.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7964
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7964/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7964/comments
https://api.github.com/repos/huggingface/transformers/issues/7964/events
https://github.com/huggingface/transformers/pull/7964
727,058,304
MDExOlB1bGxSZXF1ZXN0NTA4MDIyNjk0
7,964
adding beginner-friendly notebook on text classification with DistilBERT/TF
{ "login": "peterbayerle", "id": 33770187, "node_id": "MDQ6VXNlcjMzNzcwMTg3", "avatar_url": "https://avatars.githubusercontent.com/u/33770187?v=4", "gravatar_id": "", "url": "https://api.github.com/users/peterbayerle", "html_url": "https://github.com/peterbayerle", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? Looking at the current community notebooks, it seems that few are targeted for absolute beginners and even fewer are written with TensorFlow. This notebook describes absolutely everything a beginner would need to know, including how to save/load their model and use it for new predictions (this ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7964/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/7964/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7964", "html_url": "https://github.com/huggingface/transformers/pull/7964", "diff_url": "https://github.com/huggingface/transformers/pull/7964.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7964.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7963
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7963/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7963/comments
https://api.github.com/repos/huggingface/transformers/issues/7963/events
https://github.com/huggingface/transformers/issues/7963
727,002,341
MDU6SXNzdWU3MjcwMDIzNDE=
7,963
Load tuned model without downloading from huggingface
{ "login": "sachinruk", "id": 1410927, "node_id": "MDQ6VXNlcjE0MTA5Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/1410927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinruk", "html_url": "https://github.com/sachinruk", "followers_url": "https://api.github.com/users/sa...
[]
closed
false
null
[]
[ " Instead of doing `self.base = DistilBertModel(DistilBertConfig())` you can do `self.base = DistilBertModel(DistilBertConfig(vocab_size=119547))`.\r\n" ]
1,603
1,603
1,603
CONTRIBUTOR
null
I have the following model which I have tuned for a classification task. ```python BASE_MODEL = "distilbert-base-multilingual-cased" class Model(nn.Module): def __init__(self, nc, p=0.1): super().__init__() self.base = AutoModel.from_pretrained(BASE_MODEL) in_features = 768 # self.b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7963/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7963/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7962
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7962/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7962/comments
https://api.github.com/repos/huggingface/transformers/issues/7962/events
https://github.com/huggingface/transformers/issues/7962
726,988,544
MDU6SXNzdWU3MjY5ODg1NDQ=
7,962
xla_spawn and run_language_modeling slow on TPUs
{ "login": "ksjae", "id": 17930170, "node_id": "MDQ6VXNlcjE3OTMwMTcw", "avatar_url": "https://avatars.githubusercontent.com/u/17930170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ksjae", "html_url": "https://github.com/ksjae", "followers_url": "https://api.github.com/users/ksjae/follow...
[]
closed
false
null
[]
[ "The only difference I'm seeing between our script and yours is the data loading, here using `datasets`. Are we aware of TPU slowdown when using `datasets` @lhoestq, @thomwolf?", "I haven't tested `datasets` with TPU yet. I know @sgugger tried once, did you notice slowdowns ?", "Not for the new run_glue script ...
1,603
1,604
1,604
NONE
null
## Environment info - `transformers` version: 3.4.0 - Platform: Linux-4.9.0-13-amd64-x86_64-with-debian-9.13 - Python version: 3.6.10 - PyTorch version (GPU?): 1.8.0a0+e5ed037 (False) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: No (but using TPU) - Using distributed or parallel set-...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7962/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7962/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7961
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7961/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7961/comments
https://api.github.com/repos/huggingface/transformers/issues/7961/events
https://github.com/huggingface/transformers/issues/7961
726,986,169
MDU6SXNzdWU3MjY5ODYxNjk=
7,961
A question about shift_tokens_right in BART model
{ "login": "liuslnlp", "id": 17002231, "node_id": "MDQ6VXNlcjE3MDAyMjMx", "avatar_url": "https://avatars.githubusercontent.com/u/17002231?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liuslnlp", "html_url": "https://github.com/liuslnlp", "followers_url": "https://api.github.com/users/liu...
[]
closed
false
null
[]
[ "It's correct, copied from fairseq (authors code).\r\nyou can think of `shift_tokens_right` as `shift_tokens_right_and_wrap_eos_to_position0`.\r\nIf you have empirical evidence that there is a change that improves fine-tuning, I'd be happy to incorporate it.\r\n", "After I updated my version for this one, I'm als...
1,603
1,603
1,603
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.10 - Platform: Ubuntu 16.04 - Python version: 3.7.3 - PyTorch version (GPU?): 1.6 GPU-version ### ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7961/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7961/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7960
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7960/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7960/comments
https://api.github.com/repos/huggingface/transformers/issues/7960/events
https://github.com/huggingface/transformers/pull/7960
726,962,855
MDExOlB1bGxSZXF1ZXN0NTA3OTQ2OTEx
7,960
RoBERTa convert-script modified to support mapping of bpe tokens
{ "login": "vesteinn", "id": 353884, "node_id": "MDQ6VXNlcjM1Mzg4NA==", "avatar_url": "https://avatars.githubusercontent.com/u/353884?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vesteinn", "html_url": "https://github.com/vesteinn", "followers_url": "https://api.github.com/users/vestein...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,603
1,619
1,619
NONE
null
# Reordering of embeddings possible when converting roberta with dict file When RoBERTa is trained using fairseq the preprocessing pipeline bpe encodes tokens and stores a mapping of token ids to bpe-token ids in a dict.txt file. This is mostly just a re-ordering of the tokens (potentially with a few missing ones if...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7960/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7960/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7960", "html_url": "https://github.com/huggingface/transformers/pull/7960", "diff_url": "https://github.com/huggingface/transformers/pull/7960.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7960.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7959
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7959/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7959/comments
https://api.github.com/repos/huggingface/transformers/issues/7959/events
https://github.com/huggingface/transformers/issues/7959
726,958,493
MDU6SXNzdWU3MjY5NTg0OTM=
7,959
T5-large on multiple gpus.
{ "login": "Palipoor", "id": 16380397, "node_id": "MDQ6VXNlcjE2MzgwMzk3", "avatar_url": "https://avatars.githubusercontent.com/u/16380397?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Palipoor", "html_url": "https://github.com/Palipoor", "followers_url": "https://api.github.com/users/Pal...
[ { "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
[]
[ "For OOM errors, I guess you need to reduce batch_size or parallelize over more GPUs.", "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,603
1,609
1,609
NONE
null
Hi! I'm trying to fine-tune a T5-large on multiple gpus, so I basically use `torch.nn.DataParallel`, but when I get the output of the model which contains the loss and I do `loss.mean().backward()` I run into `cuda out of memory` as I think the loss is just on the first gpu and that's taken. What should I do?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7959/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7959/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7958
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7958/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7958/comments
https://api.github.com/repos/huggingface/transformers/issues/7958/events
https://github.com/huggingface/transformers/pull/7958
726,954,715
MDExOlB1bGxSZXF1ZXN0NTA3OTQwMjMx
7,958
added qg evaluation notebook
{ "login": "zolekode", "id": 25635679, "node_id": "MDQ6VXNlcjI1NjM1Njc5", "avatar_url": "https://avatars.githubusercontent.com/u/25635679?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zolekode", "html_url": "https://github.com/zolekode", "followers_url": "https://api.github.com/users/zol...
[]
closed
false
null
[]
[ "Thanks Patrick :)\r\n\r\nThank you for sharing this @zolekode !", "@patrickvonplaten thanks for the correction" ]
1,603
1,603
1,603
CONTRIBUTOR
null
@patrickvonplaten, @TevenLeScao I added a notebook to evaluate question generation models. Could you please take a look ?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7958/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7958/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7958", "html_url": "https://github.com/huggingface/transformers/pull/7958", "diff_url": "https://github.com/huggingface/transformers/pull/7958.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7958.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7957
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7957/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7957/comments
https://api.github.com/repos/huggingface/transformers/issues/7957/events
https://github.com/huggingface/transformers/issues/7957
726,924,716
MDU6SXNzdWU3MjY5MjQ3MTY=
7,957
dropping "," in date because of Tokenization
{ "login": "vkaul11", "id": 4062891, "node_id": "MDQ6VXNlcjQwNjI4OTE=", "avatar_url": "https://avatars.githubusercontent.com/u/4062891?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vkaul11", "html_url": "https://github.com/vkaul11", "followers_url": "https://api.github.com/users/vkaul11/...
[ { "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, I'm sorry but I really don't understand what the issue is. Could you clarify?", "I think this comes from the original Albert tokenization, maybe you want to ask on google repository about this?\r\nhttps://github.com/google-research/albert/blob/master/tokenization.py#L67", "This issue has been automatically...
1,603
1,609
1,609
NONE
null
I had my model where "May 7, 2020" is split like this `['▁may', b'\xe2\x96\x818', ',', '▁2017']` I saw that this is a problem here. Any reason why this code was thrown in for bytes string insertion where we have a comma in the token of len > 1? ``` for piece in pieces: if len(piece) > 1 and piece[-1]...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7957/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7957/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7956
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7956/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7956/comments
https://api.github.com/repos/huggingface/transformers/issues/7956/events
https://github.com/huggingface/transformers/issues/7956
726,904,077
MDU6SXNzdWU3MjY5MDQwNzc=
7,956
T5 on multiple datasets
{ "login": "rabeehk", "id": 6278280, "node_id": "MDQ6VXNlcjYyNzgyODA=", "avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rabeehk", "html_url": "https://github.com/rabeehk", "followers_url": "https://api.github.com/users/rabeehk/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "pinging the T5 master @patrickvonplaten ", "Hey @rabeehk - not sure about that. You can check the T5 notebooks we provide or `https://discuss.huggingface.co/`.", "Hi\nI could not find notebooks in the link you said.\nI am looking for a way to train multiple tasks at once in T5, similar to\nthis script:\nhttps:...
1,603
1,609
1,609
NONE
null
Hi Everyone, Is there an example showing how to run T5 on multiple datasets? Greatly appreciated. thanks. Best Rabeeh
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7956/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7956/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7955
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7955/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7955/comments
https://api.github.com/repos/huggingface/transformers/issues/7955/events
https://github.com/huggingface/transformers/pull/7955
726,891,608
MDExOlB1bGxSZXF1ZXN0NTA3ODg3MzQ2
7,955
[pip/setup.py] target management and updates
{ "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
[]
[ "Also what does `extras[\"all\"]` stand for? Is it a vestige of something?\r\nhttps://github.com/huggingface/transformers/blob/master/setup.py#L94\r\n\r\nI'd put it last and really put everything into `all` unless I'm missing a special purpose here.", "Does `transformers` really work `torch==1.0` or would we rea...
1,603
1,603
1,603
CONTRIBUTOR
null
This PR * [x] does a major revamp to how targets are specified and merged into groups. it lists all the dependencies vertically and allows you to write comments next to them, if needed - or completely comment them out * [x] adds `docs` to `dev`, since we need to have the tools to run `make docs` * [x] adds `flax`...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7955/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7955/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7955", "html_url": "https://github.com/huggingface/transformers/pull/7955", "diff_url": "https://github.com/huggingface/transformers/pull/7955.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7955.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7954
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7954/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7954/comments
https://api.github.com/repos/huggingface/transformers/issues/7954/events
https://github.com/huggingface/transformers/issues/7954
726,833,255
MDU6SXNzdWU3MjY4MzMyNTU=
7,954
TF: Faster to way to set one column/all but one column of a tensor to -inf
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "id": 1834054694, "node_id": "MDU6TGFiZWwxODM0MDU0Njk0", "url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow", "name": "TensorFlow", "color": "FF6F00", "default": false, "description": "Anything TensorFlow" } ]
closed
false
{ "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...
[ "Solution: https://stackoverflow.com/questions/64575346/tensorflow-set-column-of-tensor-to-infinity" ]
1,603
1,604
1,604
CONTRIBUTOR
null
in `_force_token_id_to_be_generated` we have much simpler torch code: ```python scores[:, [x for if x != token_id]] = -float("inf") ``` Is it possible to make the TF Code simpler? TF doesn't support assignment, but maybe to and from `numpy` could be faster. Would definitely be simpler. ```python @staticmeth...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7954/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7954/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7953
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7953/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7953/comments
https://api.github.com/repos/huggingface/transformers/issues/7953/events
https://github.com/huggingface/transformers/issues/7953
726,825,608
MDU6SXNzdWU3MjY4MjU2MDg=
7,953
'EncoderDecoderModel' object has no attribute '_init_weights' after `model.resize_token_embeddings(len(tokenizer))`
{ "login": "XinXia2019", "id": 46977022, "node_id": "MDQ6VXNlcjQ2OTc3MDIy", "avatar_url": "https://avatars.githubusercontent.com/u/46977022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/XinXia2019", "html_url": "https://github.com/XinXia2019", "followers_url": "https://api.github.com/use...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hello @XinXia2019, sadly `resize_token_embeddings` is not supported yet for `EncoderDecoderModel`. Instead you could just manually instantiate the encoder and decoder and apply `resize_token_embeddings` on each part before wrapping them into the `EncoderDecoderModel` framework.", "Thanks!", "(for anyone that m...
1,603
1,623
1,603
NONE
null
## Details Version transformers==3.4.0 torch==1.6.0 torchvision==0.7.0 >>> tokenizer = BertTokenizer.from_pretrained('bert-base-uncased') >>>tokenizer.add_special_tokens({"additional_special_tokens": ['extra1', 'extra2']}) 1 >>> model = EncoderDecoderModel.from_encoder_decoder_pretrained('bert-base-uncased', '...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7953/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7953/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7952
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7952/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7952/comments
https://api.github.com/repos/huggingface/transformers/issues/7952/events
https://github.com/huggingface/transformers/pull/7952
726,823,092
MDExOlB1bGxSZXF1ZXN0NTA3ODI5NzQ3
7,952
model card for German Sentence Embeddings V2
{ "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...
[ { "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
[]
[ "Heya - Are there any concerns to merge this PR? Please let me know.\r\n\r\nMany thanks, Philip" ]
1,603
1,603
1,603
CONTRIBUTOR
null
- new model card for "German RoBERTa for Sentence Embeddings V2" - marked old model as outdated
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7952/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7952/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7952", "html_url": "https://github.com/huggingface/transformers/pull/7952", "diff_url": "https://github.com/huggingface/transformers/pull/7952.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7952.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7951
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7951/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7951/comments
https://api.github.com/repos/huggingface/transformers/issues/7951/events
https://github.com/huggingface/transformers/issues/7951
726,810,832
MDU6SXNzdWU3MjY4MTA4MzI=
7,951
Unexpected/wrong handling of added special tokens in special_tokens_mask (GPT1, BERT, possibly others)
{ "login": "matejklemen", "id": 17293960, "node_id": "MDQ6VXNlcjE3MjkzOTYw", "avatar_url": "https://avatars.githubusercontent.com/u/17293960?v=4", "gravatar_id": "", "url": "https://api.github.com/users/matejklemen", "html_url": "https://github.com/matejklemen", "followers_url": "https://api.github.com/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
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", "> This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity oc...
1,603
1,621
null
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.1.0 - Platform: Linux-5.4.0-52-generic-x86_64-with-glibc2.29 - Python version: 3.8.5 - PyTorch versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7951/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/7951/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/7950
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7950/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7950/comments
https://api.github.com/repos/huggingface/transformers/issues/7950/events
https://github.com/huggingface/transformers/issues/7950
726,755,907
MDU6SXNzdWU3MjY3NTU5MDc=
7,950
Code bug in tokenization_utils.py?
{ "login": "liwei-cpp", "id": 38450168, "node_id": "MDQ6VXNlcjM4NDUwMTY4", "avatar_url": "https://avatars.githubusercontent.com/u/38450168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liwei-cpp", "html_url": "https://github.com/liwei-cpp", "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
[]
[ "Pinging @mfuntowicz, @n1t0 for their opinions", "I think we should delegate to the underlying tokenization algorithm and never strip like we do here. This what is done in `tokenizers` and thus one of the source of discrepancies between fast and slow tokenizers.\n\nFor most tokenizers this is not a problem since ...
1,603
1,609
1,609
NONE
null
In the function split_on_tokens in tokenization_utils.py, it contains the following logic: if not text.strip(): return [] if not tok_list: return self._tokenize(text) So if the text contains just white space, '[]' will be returned. However, if the text contains white space and visible characters, the w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7950/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/7950/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7949
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7949/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7949/comments
https://api.github.com/repos/huggingface/transformers/issues/7949/events
https://github.com/huggingface/transformers/pull/7949
726,735,385
MDExOlB1bGxSZXF1ZXN0NTA3NzU1Mjg1
7,949
fix 'encode_plus' docstring for 'special_tokens_mask' (0s and 1s were reversed)
{ "login": "epwalsh", "id": 8812459, "node_id": "MDQ6VXNlcjg4MTI0NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/8812459?v=4", "gravatar_id": "", "url": "https://api.github.com/users/epwalsh", "html_url": "https://github.com/epwalsh", "followers_url": "https://api.github.com/users/epwalsh/...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? Fixes the docstring for `encode_plus`. <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7949/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7949/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7949", "html_url": "https://github.com/huggingface/transformers/pull/7949", "diff_url": "https://github.com/huggingface/transformers/pull/7949.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7949.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7948
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7948/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7948/comments
https://api.github.com/repos/huggingface/transformers/issues/7948/events
https://github.com/huggingface/transformers/issues/7948
726,685,551
MDU6SXNzdWU3MjY2ODU1NTE=
7,948
Error: should have a 'get_encoder' function defined when running model.generate()
{ "login": "toomtobias", "id": 73246285, "node_id": "MDQ6VXNlcjczMjQ2Mjg1", "avatar_url": "https://avatars.githubusercontent.com/u/73246285?v=4", "gravatar_id": "", "url": "https://api.github.com/users/toomtobias", "html_url": "https://github.com/toomtobias", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Don't see that in the docs.\r\nthe docs use `BartForConditionalGeneration`.\r\nYou could also use `AutoModelForSeq2SeqLM`.\r\n![image](https://user-images.githubusercontent.com/6045025/96788298-44463600-13c1-11eb-8191-e55089ab996f.png)\r\n" ]
1,603
1,603
1,603
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.4.0 - Platform: Windows-10-10.0.17134-SP0 - Python version: 3.8.4 - PyTorch version (GPU?): 1.5.1+cpu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7948/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7948/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7947
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7947/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7947/comments
https://api.github.com/repos/huggingface/transformers/issues/7947/events
https://github.com/huggingface/transformers/pull/7947
726,685,358
MDExOlB1bGxSZXF1ZXN0NTA3NzExNzIx
7,947
[GPT2 batch generation] Make test clearer. `do_sample=True` is not deterministic.
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7947/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7947/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7947", "html_url": "https://github.com/huggingface/transformers/pull/7947", "diff_url": "https://github.com/huggingface/transformers/pull/7947.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7947.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7946
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7946/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7946/comments
https://api.github.com/repos/huggingface/transformers/issues/7946/events
https://github.com/huggingface/transformers/issues/7946
726,643,549
MDU6SXNzdWU3MjY2NDM1NDk=
7,946
EncoderDecoderModel loss function
{ "login": "AI678", "id": 63541083, "node_id": "MDQ6VXNlcjYzNTQxMDgz", "avatar_url": "https://avatars.githubusercontent.com/u/63541083?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AI678", "html_url": "https://github.com/AI678", "followers_url": "https://api.github.com/users/AI678/follow...
[]
closed
false
null
[]
[ "Hello, this depends on the decoder you use to initialize the encoder-decoder model. What decoder do you use?", "I use 'bert-base-uncased'. just like this \r\nmodel = EncoderDecoderModel.from_encoder_decoder_pretrained('bert-base-uncased', 'bert-base-uncased')", "I'm not sure this is the recommended way to load...
1,603
1,603
1,603
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/7946/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7946/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7945
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7945/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7945/comments
https://api.github.com/repos/huggingface/transformers/issues/7945/events
https://github.com/huggingface/transformers/pull/7945
726,582,386
MDExOlB1bGxSZXF1ZXN0NTA3NjIyODg0
7,945
Move NoLayerEmbedTokens
{ "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
[]
[ "`TFWrappedEmbeddings` is definitely way better, but as a user, I still don't understand what this means. Do you think we could add a comment where it's used? Maybe something along the lines of:\r\n\r\n```\r\n# Wraps layer to avoid problems with weight restoring and ensuring we're in the correct TF scope.\r\n```", ...
1,603
1,603
1,603
CONTRIBUTOR
null
As agreed upon with @patrickvonplaten , this moves the very useful, very model agnostic, `NoLayerEmbedTokens` to `modeling_tf_utils.py`, where it can be used by `TFBart` and `TFT5`. `TFProphetNet` and other seq2seq may also eventually need.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7945/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7945/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7945", "html_url": "https://github.com/huggingface/transformers/pull/7945", "diff_url": "https://github.com/huggingface/transformers/pull/7945.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7945.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7944
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7944/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7944/comments
https://api.github.com/repos/huggingface/transformers/issues/7944/events
https://github.com/huggingface/transformers/pull/7944
726,522,230
MDExOlB1bGxSZXF1ZXN0NTA3NTc0MDcz
7,944
[ProphetNet] Correct Doc string example
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "Can we have the examples take less than 119 chars (i'd even settle for 200 honestly)?\r\n\r\n![](https://data.whicdn.com/images/163415829/original.jpg)", "> Can we have the examples take less than 119 chars (i'd even settle for 200 honestly)?\r\n\r\nCan I break lines while using `>>>` ? Or just use a smaller inp...
1,603
1,603
1,603
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7944/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7944/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7944", "html_url": "https://github.com/huggingface/transformers/pull/7944", "diff_url": "https://github.com/huggingface/transformers/pull/7944.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7944.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7943
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7943/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7943/comments
https://api.github.com/repos/huggingface/transformers/issues/7943/events
https://github.com/huggingface/transformers/pull/7943
726,384,868
MDExOlB1bGxSZXF1ZXN0NTA3NDU3MjQy
7,943
[PretrainedConfig] Fix save pretrained config for edge case
{ "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
[]
[ "Any reason not to look at just the config class? At a first glance, I'd say we want to compare the defaults to the class we instantiated, not to the superclass `PretrainedConfig`.", "> Any reason not to look at just the config class? At a first glance, I'd say we want to compare the defaults to the class we inst...
1,603
1,603
1,603
MEMBER
null
# What does this PR do? There is an edge case for which the "diff" save method for `PretrainedConfig` fails. We decided a while ago in this PR: https://github.com/huggingface/transformers/pull/3797 that we wanted to have more readable configs and thus tweaked the `save_pretrained()` method so that only parameters th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7943/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7943/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7943", "html_url": "https://github.com/huggingface/transformers/pull/7943", "diff_url": "https://github.com/huggingface/transformers/pull/7943.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7943.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7942
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7942/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7942/comments
https://api.github.com/repos/huggingface/transformers/issues/7942/events
https://github.com/huggingface/transformers/pull/7942
726,294,063
MDExOlB1bGxSZXF1ZXN0NTA3MzgyMjUz
7,942
[ProphetNet] Add Question Generation Model + Test
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
MEMBER
null
Thanks a lot for provided the model @qiweizhen !
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7942/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7942/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7942", "html_url": "https://github.com/huggingface/transformers/pull/7942", "diff_url": "https://github.com/huggingface/transformers/pull/7942.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7942.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7941
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7941/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7941/comments
https://api.github.com/repos/huggingface/transformers/issues/7941/events
https://github.com/huggingface/transformers/pull/7941
726,281,029
MDExOlB1bGxSZXF1ZXN0NTA3MzcxNzAw
7,941
[RAG] Handle the case when title is None while loading own datasets
{ "login": "lalitpagaria", "id": 19303690, "node_id": "MDQ6VXNlcjE5MzAzNjkw", "avatar_url": "https://avatars.githubusercontent.com/u/19303690?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lalitpagaria", "html_url": "https://github.com/lalitpagaria", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "@lhoestq Can you please check" ]
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7941/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7941/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7941", "html_url": "https://github.com/huggingface/transformers/pull/7941", "diff_url": "https://github.com/huggingface/transformers/pull/7941.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7941.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7940
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7940/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7940/comments
https://api.github.com/repos/huggingface/transformers/issues/7940/events
https://github.com/huggingface/transformers/issues/7940
726,161,843
MDU6SXNzdWU3MjYxNjE4NDM=
7,940
Access bert output with output_hidden_states=True of TFBertForSequenceClassification fails
{ "login": "datistiquo", "id": 47474379, "node_id": "MDQ6VXNlcjQ3NDc0Mzc5", "avatar_url": "https://avatars.githubusercontent.com/u/47474379?v=4", "gravatar_id": "", "url": "https://api.github.com/users/datistiquo", "html_url": "https://github.com/datistiquo", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hello! Could you provide your software versions so that I may investigate?\r\n\r\nI get an error earlier: `print(bert_model.get_layer(\"bert\").output)`:\r\n```\r\nTraceback (most recent call last):\r\n File \"<input>\", line 4, in <module>\r\n File \"/home/lysandre/Workspaces/Python/transformers/.env/lib/python...
1,603
1,603
1,603
NONE
null
Hey, I want to access the output of the main bert model inside the TFBertForSequenceClassification model with output_hidden_states : `bert_model = TFBertForSequenceClassification.from_pretrained('bert-base-german-cased', output_hidden_states=True) ` then ``` print(bert_model.summary()) print(bert_model.ge...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7940/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7940/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7939
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7939/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7939/comments
https://api.github.com/repos/huggingface/transformers/issues/7939/events
https://github.com/huggingface/transformers/pull/7939
725,980,243
MDExOlB1bGxSZXF1ZXN0NTA3MTI2MTA1
7,939
Fix BatchEncoding.word_to_tokens for removed tokens
{ "login": "n1t0", "id": 1217986, "node_id": "MDQ6VXNlcjEyMTc5ODY=", "avatar_url": "https://avatars.githubusercontent.com/u/1217986?v=4", "gravatar_id": "", "url": "https://api.github.com/users/n1t0", "html_url": "https://github.com/n1t0", "followers_url": "https://api.github.com/users/n1t0/followers", ...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
MEMBER
null
Fixes https://github.com/huggingface/tokenizers/issues/343 Copied from issue on `tokenizers` repo: > I'm working with pre-tokenized data (UD-Treebanks) for a sequence-tagging task, since I don't want to inflate the importance of a training example based on the number of word-pieces the token gets split into, I ne...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7939/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7939/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7939", "html_url": "https://github.com/huggingface/transformers/pull/7939", "diff_url": "https://github.com/huggingface/transformers/pull/7939.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7939.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7938
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7938/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7938/comments
https://api.github.com/repos/huggingface/transformers/issues/7938/events
https://github.com/huggingface/transformers/pull/7938
725,978,079
MDExOlB1bGxSZXF1ZXN0NTA3MTI0MzUz
7,938
PPL guide code snippet minor fix
{ "login": "joeddav", "id": 9353833, "node_id": "MDQ6VXNlcjkzNTM4MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joeddav", "html_url": "https://github.com/joeddav", "followers_url": "https://api.github.com/users/joeddav/...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? Minor fix to the code snippet in the [perplexity guide](https://huggingface.co/transformers/perplexity.html), as discussed in [this thread](https://discuss.huggingface.co/t/guide-the-best-way-to-calculate-the-perplexity-of-fixed-length-models/193). Previously the snippet didn't take into a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7938/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7938/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7938", "html_url": "https://github.com/huggingface/transformers/pull/7938", "diff_url": "https://github.com/huggingface/transformers/pull/7938.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7938.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7937
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7937/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7937/comments
https://api.github.com/repos/huggingface/transformers/issues/7937/events
https://github.com/huggingface/transformers/issues/7937
725,912,113
MDU6SXNzdWU3MjU5MTIxMTM=
7,937
Your example code for WNUT NER produces array indexing ValueError
{ "login": "githubrandomuser2017", "id": 25097908, "node_id": "MDQ6VXNlcjI1MDk3OTA4", "avatar_url": "https://avatars.githubusercontent.com/u/25097908?v=4", "gravatar_id": "", "url": "https://api.github.com/users/githubrandomuser2017", "html_url": "https://github.com/githubrandomuser2017", "followers_url...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi,\r\nnot a HuggingFace developer but I came across the same problem. I think this is this is due to the fact that the Tokenizer is truncating sequences longer than 64 so there is a mismatch in length between `tags` and `encodings`. This is also why it's fixed when you increase the max_lenght. Another reason may ...
1,603
1,636
1,636
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.4 - Platform: Google Colab - Python version: 3.6.9 - PyTorch version (GPU?): 1.6.0 - Tensorflow vers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7937/reactions", "total_count": 15, "+1": 12, "-1": 0, "laugh": 0, "hooray": 0, "confused": 1, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/7937/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7936
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7936/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7936/comments
https://api.github.com/repos/huggingface/transformers/issues/7936/events
https://github.com/huggingface/transformers/issues/7936
725,827,360
MDU6SXNzdWU3MjU4MjczNjA=
7,936
cannot load customized tokenizer with modified vocabulary
{ "login": "CharizardAcademy", "id": 20318555, "node_id": "MDQ6VXNlcjIwMzE4NTU1", "avatar_url": "https://avatars.githubusercontent.com/u/20318555?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CharizardAcademy", "html_url": "https://github.com/CharizardAcademy", "followers_url": "https://...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,603
1,609
1,609
NONE
null
I have customized a tokenizer saved as tokenization_new.py and modified the vocab.txt from s3 server. I tried `from transformers import NewBertTokenizer` `tokenizer = NewBertTokenizer.from_pretrained('bert-base-uncased', do_lower_case=True)` where I modified `PRETRAINED_VOCAB_FILES_MAP = {"vocab_file":{"bert-base-un...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7936/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7936/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7935
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7935/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7935/comments
https://api.github.com/repos/huggingface/transformers/issues/7935/events
https://github.com/huggingface/transformers/pull/7935
725,800,379
MDExOlB1bGxSZXF1ZXN0NTA2OTc3NDY2
7,935
TensorBoard/Wandb/optuna/raytune integration improvements.
{ "login": "madlag", "id": 272253, "node_id": "MDQ6VXNlcjI3MjI1Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/272253?v=4", "gravatar_id": "", "url": "https://api.github.com/users/madlag", "html_url": "https://github.com/madlag", "followers_url": "https://api.github.com/users/madlag/follow...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
Improves TensorBoard logging by grouping train / eval metrics as it is usually done in TensorBoard. Improves TensorBoard/optuna model hyper-parameters logging. Improves optuna and Ray/tune integration, and provides model hyper-parameter naming. Test (and sample code) is provided in test_trainer.TrainerHyperParamet...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7935/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7935/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7935", "html_url": "https://github.com/huggingface/transformers/pull/7935", "diff_url": "https://github.com/huggingface/transformers/pull/7935.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7935.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7934
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7934/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7934/comments
https://api.github.com/repos/huggingface/transformers/issues/7934/events
https://github.com/huggingface/transformers/pull/7934
725,782,061
MDExOlB1bGxSZXF1ZXN0NTA2OTYyMzcx
7,934
[s2s] create doc for pegasus/fsmt replication
{ "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
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
This PR: * created a dedicated doc for getting eval data * move the existing entries to the new doc * add FSMT * add pegasus @sshleifer
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7934/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7934/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7934", "html_url": "https://github.com/huggingface/transformers/pull/7934", "diff_url": "https://github.com/huggingface/transformers/pull/7934.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7934.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7933
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7933/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7933/comments
https://api.github.com/repos/huggingface/transformers/issues/7933/events
https://github.com/huggingface/transformers/pull/7933
725,779,991
MDExOlB1bGxSZXF1ZXN0NTA2OTYwNzAw
7,933
Fix comet_ml import and add ensure availability
{ "login": "dsblank", "id": 168568, "node_id": "MDQ6VXNlcjE2ODU2OA==", "avatar_url": "https://avatars.githubusercontent.com/u/168568?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dsblank", "html_url": "https://github.com/dsblank", "followers_url": "https://api.github.com/users/dsblank/fo...
[]
closed
false
null
[]
[ "FYI: @stas00 ", "> but I agree with @stas00: I wouldn't want to see warnings about cometml or wandb if I don't have the libraries installed.\r\n\r\nThis is not the case already. We were talking about the odd case where some other package installed one of these as its auto-dependencies. So the user now unwittingl...
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? 1. Adds a better check to make sure comet_ml is ready to use 2. Moves the integration imports above the ML imports. This is required to use comet_ml The current version 3.4.0 is broken, and can not be used with comet_ml without a workaround. This PR fixes that. ## Before submitting - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7933/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7933/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7933", "html_url": "https://github.com/huggingface/transformers/pull/7933", "diff_url": "https://github.com/huggingface/transformers/pull/7933.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7933.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7932
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7932/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7932/comments
https://api.github.com/repos/huggingface/transformers/issues/7932/events
https://github.com/huggingface/transformers/issues/7932
725,775,417
MDU6SXNzdWU3MjU3NzU0MTc=
7,932
Addition of MMI-antiLM decoding
{ "login": "AADeLucia", "id": 13154289, "node_id": "MDQ6VXNlcjEzMTU0Mjg5", "avatar_url": "https://avatars.githubusercontent.com/u/13154289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AADeLucia", "html_url": "https://github.com/AADeLucia", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "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,603
1,610
1,610
NONE
null
# 🚀 Feature request Hugging Face does a great job of including popular decoding strategies such as nucleus sampling, top-k, and temperature. There are also other really interesting decoding strategies for chatbots to fix the response "blandness" or "I don't know" problem, such as using the **Maximum Mutual Informat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7932/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/7932/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7931
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7931/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7931/comments
https://api.github.com/repos/huggingface/transformers/issues/7931/events
https://github.com/huggingface/transformers/pull/7931
725,774,350
MDExOlB1bGxSZXF1ZXN0NTA2OTU2MTI5
7,931
MMI-antiLM decoding
{ "login": "AADeLucia", "id": 13154289, "node_id": "MDQ6VXNlcjEzMTU0Mjg5", "avatar_url": "https://avatars.githubusercontent.com/u/13154289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AADeLucia", "html_url": "https://github.com/AADeLucia", "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 technique looks really cool! Unfortunately running `generate` with two models will break lots of our assumptions, so maybe you could write a standalone:\r\n\r\n```python\r\ndef generate_anti_lm(model, lm_model, **kwargs):\r\n\t... logic ...\r\n return generated_ids\r\n```\r\n\r\n,put it in `examples/anti_m...
1,603
1,614
1,614
NONE
null
# What does this PR do? Implements **Maximum Mutual Information anti-Language Model objective (MMI anti-LM)** decoding from [A Diversity-Promoting Objective Function for Neural Conversation Models](https://www.aclweb.org/anthology/N16-1014.pdf).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7931/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7931/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7931", "html_url": "https://github.com/huggingface/transformers/pull/7931", "diff_url": "https://github.com/huggingface/transformers/pull/7931.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7931.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7930
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7930/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7930/comments
https://api.github.com/repos/huggingface/transformers/issues/7930/events
https://github.com/huggingface/transformers/pull/7930
725,748,820
MDExOlB1bGxSZXF1ZXN0NTA2OTM1MzUx
7,930
update model cards of Illuin models
{ "login": "quentinheinrich", "id": 58738145, "node_id": "MDQ6VXNlcjU4NzM4MTQ1", "avatar_url": "https://avatars.githubusercontent.com/u/58738145?v=4", "gravatar_id": "", "url": "https://api.github.com/users/quentinheinrich", "html_url": "https://github.com/quentinheinrich", "followers_url": "https://api...
[ { "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,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? Updates models cards of Illuin uploaded models to provide various informations. <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that ful...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7930/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7930/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7930", "html_url": "https://github.com/huggingface/transformers/pull/7930", "diff_url": "https://github.com/huggingface/transformers/pull/7930.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7930.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7929
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7929/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7929/comments
https://api.github.com/repos/huggingface/transformers/issues/7929/events
https://github.com/huggingface/transformers/issues/7929
725,694,307
MDU6SXNzdWU3MjU2OTQzMDc=
7,929
Reformer model does not work with padded sequences
{ "login": "FabianBell", "id": 33394443, "node_id": "MDQ6VXNlcjMzMzk0NDQz", "avatar_url": "https://avatars.githubusercontent.com/u/33394443?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FabianBell", "html_url": "https://github.com/FabianBell", "followers_url": "https://api.github.com/use...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "The only Reformer tokenizer we have actually doesn't have a PAD Token which is why this leads to problems. The PR attached below removes the PAD token. Before padding one should set \r\n\r\n```python\r\ntokenizer.pad_token = tokenizer.eos_token\r\n```\r\n\r\nSimilar to GPT2 this won't cause any problems thanks to ...
1,603
1,603
1,603
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.4.0 - Platform: Linux - Python version: 3.8.5 - PyTorch version (GPU?): 1.6.0 (No) - Tensorflow vers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7929/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7929/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7928
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7928/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7928/comments
https://api.github.com/repos/huggingface/transformers/issues/7928/events
https://github.com/huggingface/transformers/pull/7928
725,675,948
MDExOlB1bGxSZXF1ZXN0NTA2ODc0MDU0
7,928
Respect the 119 line chars
{ "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,603
1,603
1,603
MEMBER
null
Respect the 119 lien chars limit in the model summary
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7928/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7928/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7928", "html_url": "https://github.com/huggingface/transformers/pull/7928", "diff_url": "https://github.com/huggingface/transformers/pull/7928.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7928.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7927
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7927/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7927/comments
https://api.github.com/repos/huggingface/transformers/issues/7927/events
https://github.com/huggingface/transformers/pull/7927
725,626,141
MDExOlB1bGxSZXF1ZXN0NTA2ODMyNjE0
7,927
[ProphetNet] add model summary
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7927/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7927/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7927", "html_url": "https://github.com/huggingface/transformers/pull/7927", "diff_url": "https://github.com/huggingface/transformers/pull/7927.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7927.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7926
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7926/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7926/comments
https://api.github.com/repos/huggingface/transformers/issues/7926/events
https://github.com/huggingface/transformers/issues/7926
725,558,658
MDU6SXNzdWU3MjU1NTg2NTg=
7,926
Validation loop gives OOM when finetuning T5
{ "login": "laibamehnaz", "id": 36405283, "node_id": "MDQ6VXNlcjM2NDA1Mjgz", "avatar_url": "https://avatars.githubusercontent.com/u/36405283?v=4", "gravatar_id": "", "url": "https://api.github.com/users/laibamehnaz", "html_url": "https://github.com/laibamehnaz", "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
[]
[ "Maybe @sshleifer or @patil-suraj can help here? :-) ", "We can't help without:\r\n\r\n1) a command that used to work and now OOMs.\r\n2) Some notion of when it worked. (Ideally version numbers but a guess is fine.)\r\n3) current `transformers-cli env` and `pip freeze | grep torch` outputs.", "Maybe colab alloc...
1,603
1,614
1,614
NONE
null
While finetuning T5-base on summarization task, using `--sortish_sampler` it gives an OOM error starting from a particular index during the validation loop. After removing those indices and training again, I still get the OOM error, but in the second validation loop, whereas the validation loop worked well the first ti...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7926/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7926/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7925
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7925/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7925/comments
https://api.github.com/repos/huggingface/transformers/issues/7925/events
https://github.com/huggingface/transformers/pull/7925
725,438,040
MDExOlB1bGxSZXF1ZXN0NTA2NjcwODIw
7,925
# Add whole word mask support for lm fine-tune
{ "login": "wlhgtc", "id": 16603773, "node_id": "MDQ6VXNlcjE2NjAzNzcz", "avatar_url": "https://avatars.githubusercontent.com/u/16603773?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wlhgtc", "html_url": "https://github.com/wlhgtc", "followers_url": "https://api.github.com/users/wlhgtc/fo...
[]
closed
false
null
[]
[ "Seem all test passed( expect the format problem), @sgugger @stas00 Could you help me review these PR ? ", "And I wonder which version of black you use in **check_code_quality**.\r\nI got errors as follows:\r\n```\r\nwould reformat /home/circleci/transformers/examples/language-modeling/run_language_modeling.py\...
1,603
1,603
1,603
CONTRIBUTOR
null
This PR add support for **wwm** (whole word mask) proxy when fine-tune BERT like model. And it can be divided into two part : English Model Support and Chinese Model Support For English, it's simple. The original tokenizer res contains symbols like '##ing'. I just use the same mask proxy in [data_collator.py](http...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7925/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7925/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7925", "html_url": "https://github.com/huggingface/transformers/pull/7925", "diff_url": "https://github.com/huggingface/transformers/pull/7925.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7925.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7924
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7924/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7924/comments
https://api.github.com/repos/huggingface/transformers/issues/7924/events
https://github.com/huggingface/transformers/issues/7924
725,266,119
MDU6SXNzdWU3MjUyNjYxMTk=
7,924
EncoderDecoderModel not working with DDP
{ "login": "ayubSubhaniya", "id": 20911334, "node_id": "MDQ6VXNlcjIwOTExMzM0", "avatar_url": "https://avatars.githubusercontent.com/u/20911334?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ayubSubhaniya", "html_url": "https://github.com/ayubSubhaniya", "followers_url": "https://api.githu...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "@sgugger @patrickvonplaten Can someone please help me?", "I tried running @patrickvonplaten `bert-bert` Encoder-Decoder summarization script using DDP but got same error. \r\nBelow is the script. Have modified script a bit to skip some download for fast experimentation.\r\n\r\n``` patrick_script.py\r\n#!/usr/bi...
1,603
1,619
1,619
CONTRIBUTOR
null
## Environment info - `transformers` version: 3.3.1 - Platform: Linux-3.10.0-1127.19.1.el7.x86_64-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.8 - PyTorch version (GPU?): 1.6.0 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: Yes - Using distributed or parallel set-up in sc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7924/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7924/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7923
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7923/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7923/comments
https://api.github.com/repos/huggingface/transformers/issues/7923/events
https://github.com/huggingface/transformers/issues/7923
725,236,623
MDU6SXNzdWU3MjUyMzY2MjM=
7,923
Loading a pytorch quantized model
{ "login": "amanpreet692", "id": 42522643, "node_id": "MDQ6VXNlcjQyNTIyNjQz", "avatar_url": "https://avatars.githubusercontent.com/u/42522643?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amanpreet692", "html_url": "https://github.com/amanpreet692", "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
[]
[ "Hello @amanpreet692 \r\nAre you making sure you are reloading the saved (quantized) weights into a quantized model?\r\nA dense checkpoint and its quantized counterpart have two different state dicts and I suspect you are re-initializing random matrices because when loading into from_pretrained it doesn't find the ...
1,603
1,609
1,609
CONTRIBUTOR
null
Hi, I quantized a pre-trained model via **torch.quantization.quantize_dynamic** and saved it using **save_pretrained**. based on https://colab.research.google.com/github/pytorch/tutorials/blob/gh-pages/_downloads/dynamic_quantization_bert_tutorial.ipynb#scrollTo=foe-dVxHIgOC . On reloading it using **from_pretrained...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7923/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7923/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7922
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7922/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7922/comments
https://api.github.com/repos/huggingface/transformers/issues/7922/events
https://github.com/huggingface/transformers/issues/7922
725,229,649
MDU6SXNzdWU3MjUyMjk2NDk=
7,922
Is it possible to recommend the deployment method for implementing trained mode
{ "login": "aixuedegege", "id": 19356707, "node_id": "MDQ6VXNlcjE5MzU2NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/19356707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aixuedegege", "html_url": "https://github.com/aixuedegege", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "I find this https://pytorch.org/blog/model-serving-in-pyorch . It is very useful! " ]
1,603
1,603
1,603
NONE
null
# ❓ Questions & Help I trained a model the Class Trainer. Could you recommend some high performance deployment proposal ?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7922/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7922/timeline
completed
null
null