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/11438
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11438/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11438/comments
https://api.github.com/repos/huggingface/transformers/issues/11438/events
https://github.com/huggingface/transformers/pull/11438
867,255,476
MDExOlB1bGxSZXF1ZXN0NjIyOTUzMTIz
11,438
[docs] fix invalid class name
{ "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,619
1,619
1,619
CONTRIBUTOR
null
This PR fixes misnamed `TrainerArgument` The CI failures are unrelated - this can be safely merged. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11438/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11438/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11438", "html_url": "https://github.com/huggingface/transformers/pull/11438", "diff_url": "https://github.com/huggingface/transformers/pull/11438.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11438.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11437
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11437/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11437/comments
https://api.github.com/repos/huggingface/transformers/issues/11437/events
https://github.com/huggingface/transformers/pull/11437
867,255,238
MDExOlB1bGxSZXF1ZXN0NjIyOTUyOTI2
11,437
[Makefile] make sure to test against the local checkout
{ "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,619
1,619
1,619
CONTRIBUTOR
null
Currently some scripts in `Makefile` run against the pre-installed `transformers` rather than the checkout it's supposed to test. This PR fixes that by setting ` PYTHONPATH="src"`. I had to fix that as I was getting at the end of `make fixup`: ``` python utils/check_repo.py 2021-04-25 21:54:53.850434: I tensorflo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11437/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11437/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11437", "html_url": "https://github.com/huggingface/transformers/pull/11437", "diff_url": "https://github.com/huggingface/transformers/pull/11437.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11437.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11436
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11436/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11436/comments
https://api.github.com/repos/huggingface/transformers/issues/11436/events
https://github.com/huggingface/transformers/issues/11436
867,168,368
MDU6SXNzdWU4NjcxNjgzNjg=
11,436
梯度爆炸问题
{ "login": "JiTingyu", "id": 67445472, "node_id": "MDQ6VXNlcjY3NDQ1NDcy", "avatar_url": "https://avatars.githubusercontent.com/u/67445472?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JiTingyu", "html_url": "https://github.com/JiTingyu", "followers_url": "https://api.github.com/users/JiT...
[]
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,619
1,622
1,622
NONE
null
我在运行使用apex后用bert进行微调训练,最后报错提示"No module named 'amp_C'",并且还会梯度爆炸,请问是什么原因,该如何解决呢? 错误如下: Selected optimization level O1: Insert automatic casts around Pytorch functions and Tensor methods. Defaults for this optimization level are: enabled : True opt_level : O1 cast_model_type : None patch_torch_functions : True ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11436/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11436/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11435
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11435/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11435/comments
https://api.github.com/repos/huggingface/transformers/issues/11435/events
https://github.com/huggingface/transformers/issues/11435
867,136,132
MDU6SXNzdWU4NjcxMzYxMzI=
11,435
convert gpt2 from tensorflow to pytorch
{ "login": "7AM7", "id": 24973739, "node_id": "MDQ6VXNlcjI0OTczNzM5", "avatar_url": "https://avatars.githubusercontent.com/u/24973739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/7AM7", "html_url": "https://github.com/7AM7", "followers_url": "https://api.github.com/users/7AM7/followers"...
[]
closed
false
null
[]
[ "Hi @7AM7 \r\n\r\nI think this is because there is `_step` in TF checkpoint, which should be ignored when loading the weights.\r\n\r\nfor this you should write your own conversion script. You could take and modify this function\r\nhttps://github.com/huggingface/transformers/blob/30f065890e77f2917895b175b9a1df503b89...
1,619
1,622
1,622
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` = 4.5.1 - PyTorch version (GPU?) = = 1.8.1+cu101 command : !python3 /content/transformers/src/transformers/models/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11435/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11435/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11434
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11434/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11434/comments
https://api.github.com/repos/huggingface/transformers/issues/11434/events
https://github.com/huggingface/transformers/pull/11434
867,118,239
MDExOlB1bGxSZXF1ZXN0NjIyODQzMTky
11,434
Updating checkpoint for GPT2ForSequenceClassification #11334
{ "login": "abiolaTresor", "id": 48957493, "node_id": "MDQ6VXNlcjQ4OTU3NDkz", "avatar_url": "https://avatars.githubusercontent.com/u/48957493?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abiolaTresor", "html_url": "https://github.com/abiolaTresor", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[]
1,619
1,619
1,619
CONTRIBUTOR
null
# What does this PR do? This PR fixes the checkpoint for GPT2ForSequenceClassification. It sets it from `microsoft/dialogrpt` to `microsoft/DialogRPT-updown` Fixes # (issue) The identifier `microsoft/dialogrpt` is incorrect. When used, the weights of the linear layer at top are differently initialized at ea...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11434/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11434/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11434", "html_url": "https://github.com/huggingface/transformers/pull/11434", "diff_url": "https://github.com/huggingface/transformers/pull/11434.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11434.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11433
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11433/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11433/comments
https://api.github.com/repos/huggingface/transformers/issues/11433/events
https://github.com/huggingface/transformers/issues/11433
867,075,662
MDU6SXNzdWU4NjcwNzU2NjI=
11,433
tensorflow version is not able to pick the trained model from local directory in an air gapped system
{ "login": "hiteshkum123", "id": 77171610, "node_id": "MDQ6VXNlcjc3MTcxNjEw", "avatar_url": "https://avatars.githubusercontent.com/u/77171610?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hiteshkum123", "html_url": "https://github.com/hiteshkum123", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Did you install TensorFlow in your environment? You might need a more recent TensorFlow version if so.", "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 f...
1,619
1,622
1,622
NONE
null
hi , i have trained the TFBertForSequenceClassification model and i have to deploy the trained model in an air gapped server. code - from transformers import BertTokenizer, TFBertForSequenceClassification from transformers import InputExample, InputFeatures model1=TFBertForSequenceClassification.from_pretrain...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11433/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11433/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11432
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11432/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11432/comments
https://api.github.com/repos/huggingface/transformers/issues/11432/events
https://github.com/huggingface/transformers/pull/11432
867,068,910
MDExOlB1bGxSZXF1ZXN0NjIyODA3MTUz
11,432
Typo fixes
{ "login": "LSinev", "id": 12072891, "node_id": "MDQ6VXNlcjEyMDcyODkx", "avatar_url": "https://avatars.githubusercontent.com/u/12072891?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LSinev", "html_url": "https://github.com/LSinev", "followers_url": "https://api.github.com/users/LSinev/fo...
[]
closed
false
null
[]
[]
1,619
1,619
1,619
CONTRIBUTOR
null
# What does this PR do? Fix some typos in docs, comments, logging/errors ## Before submitting - [x] 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/CONTRIBUTING...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11432/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11432/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11432", "html_url": "https://github.com/huggingface/transformers/pull/11432", "diff_url": "https://github.com/huggingface/transformers/pull/11432.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11432.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11431
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11431/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11431/comments
https://api.github.com/repos/huggingface/transformers/issues/11431/events
https://github.com/huggingface/transformers/pull/11431
867,012,943
MDExOlB1bGxSZXF1ZXN0NjIyNzY3MDA0
11,431
Accepts BatchEncoding in LengthGroupedSampler
{ "login": "tma15", "id": 481227, "node_id": "MDQ6VXNlcjQ4MTIyNw==", "avatar_url": "https://avatars.githubusercontent.com/u/481227?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tma15", "html_url": "https://github.com/tma15", "followers_url": "https://api.github.com/users/tma15/followers"...
[]
closed
false
null
[]
[]
1,619
1,619
1,619
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/11431/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11431/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11431", "html_url": "https://github.com/huggingface/transformers/pull/11431", "diff_url": "https://github.com/huggingface/transformers/pull/11431.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11431.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11430
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11430/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11430/comments
https://api.github.com/repos/huggingface/transformers/issues/11430/events
https://github.com/huggingface/transformers/pull/11430
867,008,712
MDExOlB1bGxSZXF1ZXN0NjIyNzY0MTMy
11,430
Fix `sp_model_kwargs` param missing at unpickle in `XLMRobertaTokenizer`
{ "login": "PhilipMay", "id": 229382, "node_id": "MDQ6VXNlcjIyOTM4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhilipMay", "html_url": "https://github.com/PhilipMay", "followers_url": "https://api.github.com/users/Phil...
[]
closed
false
null
[]
[ "This PR ist ready for merging from my point of view." ]
1,619
1,619
1,619
CONTRIBUTOR
null
fix for #11429
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11430/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11430/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11430", "html_url": "https://github.com/huggingface/transformers/pull/11430", "diff_url": "https://github.com/huggingface/transformers/pull/11430.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11430.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11429
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11429/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11429/comments
https://api.github.com/repos/huggingface/transformers/issues/11429/events
https://github.com/huggingface/transformers/issues/11429
867,007,451
MDU6SXNzdWU4NjcwMDc0NTE=
11,429
`sp_model_kwargs` param missing at unpickle in `XLMRobertaTokenizer`
{ "login": "PhilipMay", "id": 229382, "node_id": "MDQ6VXNlcjIyOTM4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhilipMay", "html_url": "https://github.com/PhilipMay", "followers_url": "https://api.github.com/users/Phil...
[]
closed
false
null
[]
[ "fix pr at #11430", "Closed by #11430, thanks @PhilipMay!" ]
1,619
1,619
1,619
CONTRIBUTOR
null
When `XLMRobertaTokenizer` is unpickled the `sp_model_kwargs` is not set. See: https://github.com/huggingface/transformers/blob/35cd8eed887891bee60194a95adc35b884f68f55/src/transformers/models/xlm_roberta/tokenization_xlm_roberta.py#L178 PS: I will provide a fix.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11429/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11429/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11428
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11428/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11428/comments
https://api.github.com/repos/huggingface/transformers/issues/11428/events
https://github.com/huggingface/transformers/issues/11428
866,994,628
MDU6SXNzdWU4NjY5OTQ2Mjg=
11,428
RoBERTa: ValueError: The two structures don't have the same sequence length. Input structure has length 5, while shallow structure has length 4.
{ "login": "PremalMatalia", "id": 42915124, "node_id": "MDQ6VXNlcjQyOTE1MTI0", "avatar_url": "https://avatars.githubusercontent.com/u/42915124?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PremalMatalia", "html_url": "https://github.com/PremalMatalia", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Can someone look into it? as I am passing the same data structure as mentioned in above error i n trainer.train(). PFB.\r\n\r\n<_AssertCardinalityDataset shapes: ({input_ids: (None,), attention_mask: (None,), feature_index: (), qas_id: ()}, {start_positions: (), end_positions: (), cls_index: (), p_mask: (None,), i...
1,619
1,622
1,622
NONE
null
## Environment info `transformers` version: 4.5.1 Platform: Google Colab Python version: 3.7 PyTorch version (GPU?): NA Tensorflow version (GPU?): 2.4.1 Using GPU in script?: Yes Using distributed or parallel set-up in script?: No ### Who can help: @LysandreJik for Roberta issue @sgugger for trainer (tf_tra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11428/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11428/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11427
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11427/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11427/comments
https://api.github.com/repos/huggingface/transformers/issues/11427/events
https://github.com/huggingface/transformers/pull/11427
866,983,604
MDExOlB1bGxSZXF1ZXN0NjIyNzQ2MDkx
11,427
Fix link to the TPU launcher script in the pytorch examples
{ "login": "amineabdaoui", "id": 17952908, "node_id": "MDQ6VXNlcjE3OTUyOTA4", "avatar_url": "https://avatars.githubusercontent.com/u/17952908?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amineabdaoui", "html_url": "https://github.com/amineabdaoui", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[]
1,619
1,619
1,619
NONE
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/11427/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11427/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11427", "html_url": "https://github.com/huggingface/transformers/pull/11427", "diff_url": "https://github.com/huggingface/transformers/pull/11427.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11427.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11426
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11426/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11426/comments
https://api.github.com/repos/huggingface/transformers/issues/11426/events
https://github.com/huggingface/transformers/pull/11426
866,978,723
MDExOlB1bGxSZXF1ZXN0NjIyNzQyNTU3
11,426
[Flax] Add Electra models
{ "login": "CoderPat", "id": 11250483, "node_id": "MDQ6VXNlcjExMjUwNDgz", "avatar_url": "https://avatars.githubusercontent.com/u/11250483?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CoderPat", "html_url": "https://github.com/CoderPat", "followers_url": "https://api.github.com/users/Cod...
[]
closed
false
null
[]
[ "I think I address most comments (the only thing missing is removing the `from_pt` when the flax checkpoint gets upload)! Thanks for the swift feedback", "Hey @CoderPat,\r\n\r\nWe've merged a last design extension for the Flax design today, [here](https://github.com/huggingface/transformers/commit/f748bd424213ca8...
1,619
1,620
1,620
CONTRIBUTOR
null
# What does this PR do? - Implement Flax version of Electra model and classes for different downstream tasks: - `FlaxElectraModel` - `FlaxElectraForMaskedLM` - `FlaxElectraForPreTraining` - `FlaxElectraForMultipleChoice` - `FlaxElectraForQuestionAnswering` - `FlaxElectraForSequenceClassification` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11426/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11426/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11426", "html_url": "https://github.com/huggingface/transformers/pull/11426", "diff_url": "https://github.com/huggingface/transformers/pull/11426.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11426.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11425
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11425/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11425/comments
https://api.github.com/repos/huggingface/transformers/issues/11425/events
https://github.com/huggingface/transformers/issues/11425
866,946,095
MDU6SXNzdWU4NjY5NDYwOTU=
11,425
ALBERT: The following keyword arguments are not supported by this model: ['cls_index', 'p_mask', 'is_impossible'].
{ "login": "PremalMatalia", "id": 42915124, "node_id": "MDQ6VXNlcjQyOTE1MTI0", "avatar_url": "https://avatars.githubusercontent.com/u/42915124?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PremalMatalia", "html_url": "https://github.com/PremalMatalia", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The function prepares the dataset for the standard models as well the XLNet model that requires more arguments. You will need to drop those columns for an Albert models.\r\n\r\nWe are in the process of reworking the TensorFlow examples, so there should be one clearer example for QA soon!", "Thanks @sgugger ...\r...
1,619
1,622
1,622
NONE
null
## Environment info - `transformers` version: 4.5.1 - Platform: Google Colab - Python version: 3.7 - PyTorch version (GPU?): NA - Tensorflow version (GPU?): 2.4.1 - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No ### Who can help: @LysandreJik for albert issue @sgugger for ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11425/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11425/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11424
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11424/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11424/comments
https://api.github.com/repos/huggingface/transformers/issues/11424/events
https://github.com/huggingface/transformers/issues/11424
866,946,073
MDU6SXNzdWU4NjY5NDYwNzM=
11,424
Simple questions about EncoderDecoderModel
{ "login": "qute012", "id": 33983084, "node_id": "MDQ6VXNlcjMzOTgzMDg0", "avatar_url": "https://avatars.githubusercontent.com/u/33983084?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qute012", "html_url": "https://github.com/qute012", "followers_url": "https://api.github.com/users/qute01...
[]
closed
false
null
[]
[ "Hi @qute012 \r\n\r\nThe `tie_weights` method ties all the weights of the encoder and decoder including the embedding. For this to work, the encoder and decoder need to be the same model (same class) i.e either BERT2BERT or ROBERTA2ROBERTA2 and with same size.\r\n\r\n> If i want to use different tokenizer between e...
1,619
1,622
1,622
NONE
null
First, thank you for great works! 1. Does that tie function work for sharing pretrained weight of encoder's embedding with weight of decoder's embedding?https://github.com/huggingface/transformers/blob/52166f672ed337934d90cc525c226d93209e0923/src/transformers/models/encoder_decoder/modeling_encoder_decoder.py#L185 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11424/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11424/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11423
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11423/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11423/comments
https://api.github.com/repos/huggingface/transformers/issues/11423/events
https://github.com/huggingface/transformers/issues/11423
866,913,366
MDU6SXNzdWU4NjY5MTMzNjY=
11,423
IBert: What would be the possible reason `IntLayerNorm` does not decrease the loss?
{ "login": "kyoungrok0517", "id": 1051900, "node_id": "MDQ6VXNlcjEwNTE5MDA=", "avatar_url": "https://avatars.githubusercontent.com/u/1051900?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kyoungrok0517", "html_url": "https://github.com/kyoungrok0517", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "It is likely that the IntLayerNorm layers are not warmed up. IntLayerNorm layer has to adjust its internal parameter (`self.shift`) during the quantization-aware training process. It is the one that prevents overflow (i.e. keeps the internal activation values to be less than 2**32) and is initialized with zero. He...
1,619
1,619
1,619
NONE
null
### Who can help @kssteven418 ## Information IBert The problem arises when using: * [ ] the official example scripts: (give details below) * [x] my own modified scripts: (give details below) The tasks I am working on is: * [ ] an official GLUE/SQUaD task: (give the name) * [x] my own task or dataset: (g...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11423/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11423/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11422
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11422/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11422/comments
https://api.github.com/repos/huggingface/transformers/issues/11422/events
https://github.com/huggingface/transformers/issues/11422
866,904,892
MDU6SXNzdWU4NjY5MDQ4OTI=
11,422
Transformers 4.1.1 & Tensorflow 2.0, AttributeError: module'tensorflow_core.keras.activations' has no attribute'swish'
{ "login": "kangzhiheng", "id": 30773002, "node_id": "MDQ6VXNlcjMwNzczMDAy", "avatar_url": "https://avatars.githubusercontent.com/u/30773002?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kangzhiheng", "html_url": "https://github.com/kangzhiheng", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The setup was updated super late: we already required tensorflow >= 2.3 for a while when we finally went to it. I don't know which version of Transformers supports tensorflow 2.0 but I would guess it's 3.0 or even below.", "Okay, hope the document can be clearer. Every time I read `README.md`, it says `This repo...
1,619
1,619
1,619
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: 4.1.1 - Platform: Mac - Python version: 3.6 - PyTorch version (GPU?): No - Tensorflow version (GPU?): 2.0.0...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11422/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11422/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11421
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11421/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11421/comments
https://api.github.com/repos/huggingface/transformers/issues/11421/events
https://github.com/huggingface/transformers/issues/11421
866,868,752
MDU6SXNzdWU4NjY4Njg3NTI=
11,421
Race condition when using --save_total_limit, --load_best_model_at_end and deepspeed zero2+cpu_offload
{ "login": "chitkwan", "id": 22551285, "node_id": "MDQ6VXNlcjIyNTUxMjg1", "avatar_url": "https://avatars.githubusercontent.com/u/22551285?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chitkwan", "html_url": "https://github.com/chitkwan", "followers_url": "https://api.github.com/users/chi...
[]
closed
false
null
[]
[ "I believe that is a correct workaround. Would you like to make a PR with it?", "Sure, happy to.", "@chitkwan, are you still inspired to make a PR to fix this? Thank you!", "Oh this has been fixed in #11748 I believe. Sorry I did not reference it in this issue.", "ah yes! \r\n\r\n@chitkwan, could you please...
1,619
1,624
1,624
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: 4.5.1 - Platform: Linux-5.4.0-1045-aws-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11421/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11421/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11420
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11420/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11420/comments
https://api.github.com/repos/huggingface/transformers/issues/11420/events
https://github.com/huggingface/transformers/issues/11420
866,845,185
MDU6SXNzdWU4NjY4NDUxODU=
11,420
[Question] Implementing character based tokenizer
{ "login": "ethen8181", "id": 12273134, "node_id": "MDQ6VXNlcjEyMjczMTM0", "avatar_url": "https://avatars.githubusercontent.com/u/12273134?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ethen8181", "html_url": "https://github.com/ethen8181", "followers_url": "https://api.github.com/users/...
[]
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,619
1,622
1,622
NONE
null
Hi team, what's the recommended approach for implementing a character based tokenizer? Thanks
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11420/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11420/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11419
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11419/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11419/comments
https://api.github.com/repos/huggingface/transformers/issues/11419/events
https://github.com/huggingface/transformers/issues/11419
866,842,340
MDU6SXNzdWU4NjY4NDIzNDA=
11,419
Parameter in `DebertaV2Tokenizer.__init__()` without documentation: `split_by_punct`
{ "login": "PhilipMay", "id": 229382, "node_id": "MDQ6VXNlcjIyOTM4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhilipMay", "html_url": "https://github.com/PhilipMay", "followers_url": "https://api.github.com/users/Phil...
[]
closed
false
null
[]
[ "@BigBird01 : could you please help with this?", "I believe this parameter additionally splits the text on the punctuation, as it can be seen from the method it's calling:\r\n\r\nhttps://github.com/huggingface/transformers/blob/afe479adb5474250215438fe27db9dc9dbbbde09/src/transformers/models/deberta_v2/tokenizati...
1,619
1,624
1,624
CONTRIBUTOR
null
The `split_by_punct` parameter in `DebertaV2Tokenizer.__init__()` should be documented: https://github.com/huggingface/transformers/blob/52166f672ed337934d90cc525c226d93209e0923/src/transformers/models/deberta_v2/tokenization_deberta_v2.py#L89 @BigBird01 : could you please check this?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11419/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11419/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11418
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11418/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11418/comments
https://api.github.com/repos/huggingface/transformers/issues/11418/events
https://github.com/huggingface/transformers/pull/11418
866,838,034
MDExOlB1bGxSZXF1ZXN0NjIyNjQ5MzY5
11,418
[Deepspeed] ZeRO-Infinity integration plus config revamp
{ "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": 2659267025, "node_id": "MDU6TGFiZWwyNjU5MjY3MDI1", "url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed", "name": "DeepSpeed", "color": "4D34F7", "default": false, "description": "" } ]
closed
false
{ "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...
[ { "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...
[ "> Great job @stas00! I like the solution you picked to be able to start initializing part of deepspeed inside the training arguments. Does it fully solve the chicken and egg problem you add?\r\n\r\nThank you!\r\n\r\nFor the current needs of `zero.Init()`, yes! As long as the user separates creating `TrainingArgume...
1,619
1,619
1,619
CONTRIBUTOR
null
This PR: - [x] integrates ZeRO-Infinity - [x] revamps the configuration process, instead of the confusing to users sometimes-we-override-values, sometimes-we-don't - all values are now explicit unless they are set to `auto`, then and only then the Trainer will set them to the correct or recommended values. - [x] ma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11418/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11418/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11418", "html_url": "https://github.com/huggingface/transformers/pull/11418", "diff_url": "https://github.com/huggingface/transformers/pull/11418.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11418.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11417
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11417/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11417/comments
https://api.github.com/repos/huggingface/transformers/issues/11417/events
https://github.com/huggingface/transformers/pull/11417
866,823,012
MDExOlB1bGxSZXF1ZXN0NjIyNjM4NTU1
11,417
Enable option for subword regularization in more tokenizers.
{ "login": "PhilipMay", "id": 229382, "node_id": "MDQ6VXNlcjIyOTM4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhilipMay", "html_url": "https://github.com/PhilipMay", "followers_url": "https://api.github.com/users/Phil...
[]
closed
false
null
[]
[ "I found this somehow obscure function argument called `sample` at `AlbertTokenizer`:\r\n\r\nhttps://github.com/huggingface/transformers/blob/52166f672ed337934d90cc525c226d93209e0923/src/transformers/models/albert/tokenization_albert.py#L189\r\n\r\nIt seems to enable subword regularization but with fixed parameters...
1,619
1,622
1,620
CONTRIBUTOR
null
see https://github.com/huggingface/transformers/pull/11149#pullrequestreview-643686428 ## To-do ### `AlbertTokenizer` - [x] add `sp_model_kwargs` param with test - [x] add pickle support with test - [x] remove obscure function argument called `sample` - [x] check - [x] refactor test to follow DRY ### `Barthez...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11417/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11417/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11417", "html_url": "https://github.com/huggingface/transformers/pull/11417", "diff_url": "https://github.com/huggingface/transformers/pull/11417.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11417.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11416
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11416/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11416/comments
https://api.github.com/repos/huggingface/transformers/issues/11416/events
https://github.com/huggingface/transformers/issues/11416
866,806,712
MDU6SXNzdWU4NjY4MDY3MTI=
11,416
Transformers Pegasus - how do I fine tune another language?
{ "login": "seregadgl20-oss", "id": 80334862, "node_id": "MDQ6VXNlcjgwMzM0ODYy", "avatar_url": "https://avatars.githubusercontent.com/u/80334862?v=4", "gravatar_id": "", "url": "https://api.github.com/users/seregadgl20-oss", "html_url": "https://github.com/seregadgl20-oss", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hi @seregadgl20-oss \r\n\r\nIt would be nice if you use the forum (https://discuss.huggingface.co/) to ask such general questions. Issues are for bugs and feature requests. Thank you!", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be ...
1,619
1,622
1,622
NONE
null
How do I fine tune another language? Who will tell you?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11416/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11416/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11415
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11415/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11415/comments
https://api.github.com/repos/huggingface/transformers/issues/11415/events
https://github.com/huggingface/transformers/issues/11415
866,783,083
MDU6SXNzdWU4NjY3ODMwODM=
11,415
Roberta Tokenizer cannot handle inputs with `<mask>` token
{ "login": "liyucheng09", "id": 27999909, "node_id": "MDQ6VXNlcjI3OTk5OTA5", "avatar_url": "https://avatars.githubusercontent.com/u/27999909?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liyucheng09", "html_url": "https://github.com/liyucheng09", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi, the tokenizer of RoBERTa is a byte-level BPE tokenizer. It is a subword tokenizer.\r\n\r\nIn your example with `app ` it completes the word, but there also exists full words within it's dictionary, as you can see when the input sequence is appropriate:\r\n\r\n```py\r\n>>> nlp('Hello, how are you <mask> sir?')\...
1,619
1,622
1,622
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: 4.5.1 - Platform: macOS-11.1-arm64-arm-64bit - Python version: 3.9.1 - PyTorch version (GPU?): 1.8.0 (False)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11415/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11415/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11414
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11414/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11414/comments
https://api.github.com/repos/huggingface/transformers/issues/11414/events
https://github.com/huggingface/transformers/issues/11414
866,766,765
MDU6SXNzdWU4NjY3NjY3NjU=
11,414
checkpointing is not still covering all cases
{ "login": "dorost1234", "id": 79165106, "node_id": "MDQ6VXNlcjc5MTY1MTA2", "avatar_url": "https://avatars.githubusercontent.com/u/79165106?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dorost1234", "html_url": "https://github.com/dorost1234", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,619
1,619
1,619
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: 4.5.0 - Platform: linux - Python version: 3.8 - PyTorch version (GPU?): 1.8 - Tensorflow version (GPU?): ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11414/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11414/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11413
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11413/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11413/comments
https://api.github.com/repos/huggingface/transformers/issues/11413/events
https://github.com/huggingface/transformers/issues/11413
866,731,325
MDU6SXNzdWU4NjY3MzEzMjU=
11,413
Allow adding custom logits processors in the `generate` method
{ "login": "wadimiusz", "id": 22571281, "node_id": "MDQ6VXNlcjIyNTcxMjgx", "avatar_url": "https://avatars.githubusercontent.com/u/22571281?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wadimiusz", "html_url": "https://github.com/wadimiusz", "followers_url": "https://api.github.com/users/...
[]
closed
false
{ "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...
[ { "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...
[ "I think I could submit a pull request to this, if I had \r\n1) feedback on the idea (do you think it makes sense to do that?)\r\n2) a little help changing existing tests and/or implementing new tests to reflect the change.\r\n\r\nAlso, maybe one would need the new argument to be `Optional[LogitsProcessor]` instead...
1,619
1,637
1,623
NONE
null
# 🚀 Feature request Hello, I'd like to request a new feature in the `generate` method of the `GenerationMixin` class from `generation_utils`. Specifically, I'd like a feature that allows a user to pass custom LogitsProcessors by adding a new argument `logit_processors: Optional[LogitsProcessorList] = None` to the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11413/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11413/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11412
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11412/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11412/comments
https://api.github.com/repos/huggingface/transformers/issues/11412/events
https://github.com/huggingface/transformers/issues/11412
866,680,047
MDU6SXNzdWU4NjY2ODAwNDc=
11,412
Small bug while converting wav2vec2 model trained using fairseq to huggingface
{ "login": "harveenchadha", "id": 30959215, "node_id": "MDQ6VXNlcjMwOTU5MjE1", "avatar_url": "https://avatars.githubusercontent.com/u/30959215?v=4", "gravatar_id": "", "url": "https://api.github.com/users/harveenchadha", "html_url": "https://github.com/harveenchadha", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi @harveenchadha \r\n\r\nif you pass `skip_special_tokens=True` to `decode` method, it will skip all the special tokens. ", "Hi Suraj,\r\n\r\nThanks! That works. But in the inference service that is deployed to test in browser, how will this change?", "This issue has been automatically marked as stale because...
1,619
1,623
1,623
NONE
null
Hi, I was trying to convert a wav2vec2 model trained using fairseq to have support with HuggingFace but there is a small error in inference. When I use the code below: ``` import soundfile as sf import torch from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor # load pretrained model processor =...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11412/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11412/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11411
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11411/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11411/comments
https://api.github.com/repos/huggingface/transformers/issues/11411/events
https://github.com/huggingface/transformers/issues/11411
866,668,503
MDU6SXNzdWU4NjY2Njg1MDM=
11,411
What do these model parameters mean?
{ "login": "roshan-k-patel", "id": 48667731, "node_id": "MDQ6VXNlcjQ4NjY3NzMx", "avatar_url": "https://avatars.githubusercontent.com/u/48667731?v=4", "gravatar_id": "", "url": "https://api.github.com/users/roshan-k-patel", "html_url": "https://github.com/roshan-k-patel", "followers_url": "https://api.gi...
[]
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,619
1,622
1,622
NONE
null
"params_classifier.dense.weight" "params_classifier.dense.bias" "params_classifier.out_proj.weight" "params_classifier.out_proj.bias" Could someone please briefly explain these parameters to me? Using the DeBERTa model
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11411/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11411/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11410
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11410/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11410/comments
https://api.github.com/repos/huggingface/transformers/issues/11410/events
https://github.com/huggingface/transformers/pull/11410
866,498,614
MDExOlB1bGxSZXF1ZXN0NjIyMzg0NDMy
11,410
wrong parentclass in documentation
{ "login": "cronoik", "id": 18630848, "node_id": "MDQ6VXNlcjE4NjMwODQ4", "avatar_url": "https://avatars.githubusercontent.com/u/18630848?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cronoik", "html_url": "https://github.com/cronoik", "followers_url": "https://api.github.com/users/cronoi...
[]
closed
false
null
[]
[ "unsubscribe<https://github.com/notifications/unsubscribe-auth/ATPBJ2FNGKBXXXSN6ZH6POLTKIDLZANCNFSM43PQRSGA>.\r\n‏/\r\n0Merged #11410<https://github.com/huggingface/transformers/pull/11410> into master.\r\n\r\n—\r\nYou are receiving this because you are subscribed to this thread.\r\nReply to this email directly, vi...
1,619
1,619
1,619
CONTRIBUTOR
null
# What does this PR do? The documentation linked to the parent class PreTrainedTokenizerFast but it should be the slow tokenizer class ## Before submitting - [X] 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](http...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11410/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11410/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11410", "html_url": "https://github.com/huggingface/transformers/pull/11410", "diff_url": "https://github.com/huggingface/transformers/pull/11410.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11410.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11409
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11409/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11409/comments
https://api.github.com/repos/huggingface/transformers/issues/11409/events
https://github.com/huggingface/transformers/issues/11409
866,495,729
MDU6SXNzdWU4NjY0OTU3Mjk=
11,409
How to use GPU when running run_summarization.py
{ "login": "xuyeliu", "id": 31730733, "node_id": "MDQ6VXNlcjMxNzMwNzMz", "avatar_url": "https://avatars.githubusercontent.com/u/31730733?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xuyeliu", "html_url": "https://github.com/xuyeliu", "followers_url": "https://api.github.com/users/xuyeli...
[]
closed
false
null
[]
[ "Hi @liubest \r\n\r\nPlease make sure that your torch installation can detect the GPU. All scripts will run on GPU if it's available.\r\nIf you want to run on multiple GPUs, follow the docs [here](https://github.com/huggingface/transformers/tree/master/examples/pytorch#distributed-training-and-mixed-precision).\r\n...
1,619
1,622
1,622
NONE
null
When I run run_summarization.py on my computer and my computer has 2 GPUs. But the code didn't run with gpu cuda and is very very slow. Can anyone tell me how to use transformers with GPU? Thank you very much!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11409/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11409/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11408
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11408/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11408/comments
https://api.github.com/repos/huggingface/transformers/issues/11408/events
https://github.com/huggingface/transformers/issues/11408
866,469,888
MDU6SXNzdWU4NjY0Njk4ODg=
11,408
[CI] solving the pytest crashing and hanging CI job
{ "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...
open
false
{ "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...
[ { "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...
[ "`/usr/bin/time -v`'s output for `-n3`:\r\n```\r\n Command being timed: \"python -m pytest -n 3 --dist=loadfile -s --make-reports=tests_torch ./tests/\"\r\n User time (seconds): 1507.88\r\n System time (seconds): 56.49\r\n Percent of CPU this job got: 261%\r\n Elapsed (wall clock)...
1,619
1,622
null
CONTRIBUTOR
null
So as of recent we have the `run_tests_torch` CI job randomly and frequently failing. We couldn't find any fault with any tests because there is never a traceback, just hanging `pytest` that sends no output. This usually is a symptom that the process used more resources than it was allowed and it was killed - of ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11408/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11408/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/11407
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11407/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11407/comments
https://api.github.com/repos/huggingface/transformers/issues/11407/events
https://github.com/huggingface/transformers/pull/11407
866,450,130
MDExOlB1bGxSZXF1ZXN0NjIyMzQ0Mzg4
11,407
Add basic support for FP16 in SageMaker model parallelism
{ "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,619
1,619
1,619
COLLABORATOR
null
# What does this PR do? **Note:** This is not full support yet as SageMaker Model Parallelism does not support gradient clipping, so a user has to change the default of `max_grad_norm` to 0 if they want to use it. Otherwise, this adds support for mixed precision training in SageMaker Model Parallelism mode. The s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11407/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11407/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11407", "html_url": "https://github.com/huggingface/transformers/pull/11407", "diff_url": "https://github.com/huggingface/transformers/pull/11407.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11407.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11406
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11406/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11406/comments
https://api.github.com/repos/huggingface/transformers/issues/11406/events
https://github.com/huggingface/transformers/pull/11406
866,445,997
MDExOlB1bGxSZXF1ZXN0NjIyMzQxMDUz
11,406
Pass along seed to DistributedSampler
{ "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
[]
[ "Should also be passed to the constructor for `DistributedLengthGroupedSampler`?", "Good point, added it!" ]
1,619
1,619
1,619
COLLABORATOR
null
# What does this PR do? This PR passes along the seed to `DistributedSampler` otherwise it always uses 0 for setting its RNG. See #11389 for more context. Fixes #11389
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11406/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11406/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11406", "html_url": "https://github.com/huggingface/transformers/pull/11406", "diff_url": "https://github.com/huggingface/transformers/pull/11406.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11406.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11405
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11405/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11405/comments
https://api.github.com/repos/huggingface/transformers/issues/11405/events
https://github.com/huggingface/transformers/pull/11405
866,320,654
MDExOlB1bGxSZXF1ZXN0NjIyMjM3NTA3
11,405
Default to accuracy metric in run_glue_no_trainer
{ "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,619
1,619
1,619
COLLABORATOR
null
# What does this PR do? In `run_glue_no_trainer`, the metric is not properly initialized when no task name is passed, this PR fixes that. Fixes #11403
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11405/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/11405/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11405", "html_url": "https://github.com/huggingface/transformers/pull/11405", "diff_url": "https://github.com/huggingface/transformers/pull/11405.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11405.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11404
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11404/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11404/comments
https://api.github.com/repos/huggingface/transformers/issues/11404/events
https://github.com/huggingface/transformers/issues/11404
866,314,907
MDU6SXNzdWU4NjYzMTQ5MDc=
11,404
Documentation 404 error
{ "login": "gwc4github", "id": 3164663, "node_id": "MDQ6VXNlcjMxNjQ2NjM=", "avatar_url": "https://avatars.githubusercontent.com/u/3164663?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gwc4github", "html_url": "https://github.com/gwc4github", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "thanks alot ", "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/maste...
1,619
1,659
1,622
NONE
null
For this page: https://huggingface.co/transformers/examples.html several (all?) of the links in the "The Big Table of Tasks" section are getting a 404 error. Ex: https://github.com/huggingface/transformers/tree/master/examples/token-classification
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11404/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/11404/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11403
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11403/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11403/comments
https://api.github.com/repos/huggingface/transformers/issues/11403/events
https://github.com/huggingface/transformers/issues/11403
866,290,221
MDU6SXNzdWU4NjYyOTAyMjE=
11,403
metric is uninitialized when csv data is supplied to example/pytorch/text-classification/run_glue_no_trainer.py
{ "login": "daraghhartnett", "id": 31020255, "node_id": "MDQ6VXNlcjMxMDIwMjU1", "avatar_url": "https://avatars.githubusercontent.com/u/31020255?v=4", "gravatar_id": "", "url": "https://api.github.com/users/daraghhartnett", "html_url": "https://github.com/daraghhartnett", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Thanks for flagging. The PR mentioned above will make it default to accuracy. Of course, you're free to change it to whatever you need!", "Glad to be of help!\r\nAh, I did not see that - I only looked in the Issues to see if it had already been reported. I will check the PR's as well the next time.\r\nThanks ver...
1,619
1,619
1,619
NONE
null
## Environment info - `transformers` version: 4.5.1 - Platform: Darwin-18.7.0-x86_64-i386-64bit - Python version: 3.7.0 - PyTorch version (GPU?): 1.8.1 (False) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: No - Using distributed or parallel set-up in script?: distributed - OS type an...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11403/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11403/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11402
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11402/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11402/comments
https://api.github.com/repos/huggingface/transformers/issues/11402/events
https://github.com/huggingface/transformers/issues/11402
866,259,186
MDU6SXNzdWU4NjYyNTkxODY=
11,402
Positional embeddings are not applied when input embeddings are passed in for Pytorch DistilBert model
{ "login": "randimah", "id": 56127215, "node_id": "MDQ6VXNlcjU2MTI3MjE1", "avatar_url": "https://avatars.githubusercontent.com/u/56127215?v=4", "gravatar_id": "", "url": "https://api.github.com/users/randimah", "html_url": "https://github.com/randimah", "followers_url": "https://api.github.com/users/ran...
[]
closed
false
null
[]
[ "That's correct indeed, and seems like a bug to me. Would you like to open a PR to fix the issue?", "Thanks for the confirmation. Yes, I should be able to do that.", "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 co...
1,619
1,622
1,622
NONE
null
## Environment info - `transformers` version: 4.1.1 - Platform: Windows-10-10.0.18362-SP0 - Python version: 3.6.6 - PyTorch version (GPU?): 1.8.0+cpu (False) - Tensorflow version (GPU?): 2.4.0 (False) - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No ### Who can help @julien-c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11402/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11402/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11401
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11401/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11401/comments
https://api.github.com/repos/huggingface/transformers/issues/11401/events
https://github.com/huggingface/transformers/issues/11401
866,220,225
MDU6SXNzdWU4NjYyMjAyMjU=
11,401
Download offile HuggingFace Models in other format than ".bin" Format
{ "login": "deepaksinghtopwal", "id": 15118785, "node_id": "MDQ6VXNlcjE1MTE4Nzg1", "avatar_url": "https://avatars.githubusercontent.com/u/15118785?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepaksinghtopwal", "html_url": "https://github.com/deepaksinghtopwal", "followers_url": "https...
[]
closed
false
null
[]
[ "Not sure how to help here... can you download the files from another machine and sync them to the restricted env?", "No, that's the only problem that all the devices within organization are same network and have same policies(as mentioned above).. :)\r\nI see huggingFace has already provided many methods but the...
1,619
1,622
1,622
NONE
null
# 🚀 Feature request ### Hi, ### Just wandering if there is any other way of downloading Huggingface models in a restricted environment? For example : **a.)** we have a network which doesn't allow downloading the model by internet (so the auto download feature in transformer wont work), **b.)** we can't downl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11401/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11401/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11400
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11400/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11400/comments
https://api.github.com/repos/huggingface/transformers/issues/11400/events
https://github.com/huggingface/transformers/pull/11400
866,106,614
MDExOlB1bGxSZXF1ZXN0NjIyMDY1MjE3
11,400
[Wav2Vec2] Correct conversion script
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,619
1,619
1,619
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/11400/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11400/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11400", "html_url": "https://github.com/huggingface/transformers/pull/11400", "diff_url": "https://github.com/huggingface/transformers/pull/11400.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11400.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11399
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11399/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11399/comments
https://api.github.com/repos/huggingface/transformers/issues/11399/events
https://github.com/huggingface/transformers/issues/11399
866,085,603
MDU6SXNzdWU4NjYwODU2MDM=
11,399
unable to import transformers in Python <3.8
{ "login": "cdeepali", "id": 70963368, "node_id": "MDQ6VXNlcjcwOTYzMzY4", "avatar_url": "https://avatars.githubusercontent.com/u/70963368?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cdeepali", "html_url": "https://github.com/cdeepali", "followers_url": "https://api.github.com/users/cde...
[]
closed
false
null
[]
[ "I can add a PR to fix this. " ]
1,619
1,620
1,620
CONTRIBUTOR
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: 4.4.2 - Python version: 3.7 ### Who can help <!-- Your issue will be replied to more quickly if you can...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11399/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11399/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11398
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11398/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11398/comments
https://api.github.com/repos/huggingface/transformers/issues/11398/events
https://github.com/huggingface/transformers/issues/11398
866,066,422
MDU6SXNzdWU4NjYwNjY0MjI=
11,398
RuntimeError: [enforce fail at CPUAllocator.cpp:64] . DefaultCPUAllocator: can't allocate memory: you tried to allocate 237414383616 bytes. Error code 12 (Cannot allocate memory)
{ "login": "keloemma", "id": 40454218, "node_id": "MDQ6VXNlcjQwNDU0MjE4", "avatar_url": "https://avatars.githubusercontent.com/u/40454218?v=4", "gravatar_id": "", "url": "https://api.github.com/users/keloemma", "html_url": "https://github.com/keloemma", "followers_url": "https://api.github.com/users/kel...
[]
closed
false
null
[]
[ "You should pass along small batches to the model to avoid this error: you should create a loop that goes over the I in `range(0, len(padded), batch_size)` and passes along the `padded[i: i+batch_size]` to your model, then concatenates the predictions back together.\r\n\r\nAlso note that this is not a bug in Transf...
1,619
1,685
1,619
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! --> ## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11398/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11398/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11397
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11397/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11397/comments
https://api.github.com/repos/huggingface/transformers/issues/11397/events
https://github.com/huggingface/transformers/issues/11397
866,024,583
MDU6SXNzdWU4NjYwMjQ1ODM=
11,397
PreTrainedTokenizerFast.save_pretrained() ERROR
{ "login": "liyucheng09", "id": 27999909, "node_id": "MDQ6VXNlcjI3OTk5OTA5", "avatar_url": "https://avatars.githubusercontent.com/u/27999909?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liyucheng09", "html_url": "https://github.com/liyucheng09", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "It is because the version of `tokenizers` lib and the version of `transformers` lib do not match." ]
1,619
1,619
1,619
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: 4.1.1 - Platform: macOS-11.1-arm64-arm-64bit - Python version: 3.9.1 - PyTorch version (GPU?): 1.8.0 (False)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11397/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11397/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11396
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11396/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11396/comments
https://api.github.com/repos/huggingface/transformers/issues/11396/events
https://github.com/huggingface/transformers/pull/11396
866,020,830
MDExOlB1bGxSZXF1ZXN0NjIxOTk1NjU5
11,396
Fix small typo in text
{ "login": "MaksymDel", "id": 8141935, "node_id": "MDQ6VXNlcjgxNDE5MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8141935?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MaksymDel", "html_url": "https://github.com/MaksymDel", "followers_url": "https://api.github.com/users/Ma...
[]
closed
false
null
[]
[]
1,619
1,619
1,619
CONTRIBUTOR
null
# What does this PR do? Fixes small typo ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). Documentation + maintained examples: @sgugger -->
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11396/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11396/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11396", "html_url": "https://github.com/huggingface/transformers/pull/11396", "diff_url": "https://github.com/huggingface/transformers/pull/11396.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11396.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11395
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11395/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11395/comments
https://api.github.com/repos/huggingface/transformers/issues/11395/events
https://github.com/huggingface/transformers/pull/11395
865,956,397
MDExOlB1bGxSZXF1ZXN0NjIxOTQzMTc1
11,395
[Blenderbot] Integration Test should be slow
{ "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
[]
[ "Thanks!" ]
1,619
1,619
1,619
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/11395/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11395/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11395", "html_url": "https://github.com/huggingface/transformers/pull/11395", "diff_url": "https://github.com/huggingface/transformers/pull/11395.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11395.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11394
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11394/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11394/comments
https://api.github.com/repos/huggingface/transformers/issues/11394/events
https://github.com/huggingface/transformers/pull/11394
865,926,849
MDExOlB1bGxSZXF1ZXN0NjIxOTE5NDA0
11,394
[Flax] Correct Flax <=> PyTorch conversion
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "id": 2934977194, "node_id": "MDU6TGFiZWwyOTM0OTc3MTk0", "url": "https://api.github.com/repos/huggingface/transformers/labels/Flax", "name": "Flax", "color": "4862AD", "default": false, "description": "" } ]
closed
false
null
[]
[]
1,619
1,619
1,619
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/11394/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11394/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11394", "html_url": "https://github.com/huggingface/transformers/pull/11394", "diff_url": "https://github.com/huggingface/transformers/pull/11394.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11394.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11393
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11393/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11393/comments
https://api.github.com/repos/huggingface/transformers/issues/11393/events
https://github.com/huggingface/transformers/pull/11393
865,924,493
MDExOlB1bGxSZXF1ZXN0NjIxOTE3NTQw
11,393
[Flax] Typo
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "id": 2934977194, "node_id": "MDU6TGFiZWwyOTM0OTc3MTk0", "url": "https://api.github.com/repos/huggingface/transformers/labels/Flax", "name": "Flax", "color": "4862AD", "default": false, "description": "" } ]
closed
false
null
[]
[]
1,619
1,619
1,619
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/11393/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11393/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11393", "html_url": "https://github.com/huggingface/transformers/pull/11393", "diff_url": "https://github.com/huggingface/transformers/pull/11393.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11393.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11392
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11392/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11392/comments
https://api.github.com/repos/huggingface/transformers/issues/11392/events
https://github.com/huggingface/transformers/issues/11392
865,829,964
MDU6SXNzdWU4NjU4Mjk5NjQ=
11,392
MayBe There is a bug with class DebertaV2PredictionHeadTransform
{ "login": "startnew", "id": 15137679, "node_id": "MDQ6VXNlcjE1MTM3Njc5", "avatar_url": "https://avatars.githubusercontent.com/u/15137679?v=4", "gravatar_id": "", "url": "https://api.github.com/users/startnew", "html_url": "https://github.com/startnew", "followers_url": "https://api.github.com/users/sta...
[]
closed
false
null
[]
[ "Hey @startnew,\r\n\r\nSorry could you add some code that we could copy-paste into a terminal to reproduce the error? :-) I don't quite follow here - is it the official code (in `src/transformes`) that doesn't work or specific adapted code?", "Thank you for your reply, @patrickvonplaten , you can reproduce the er...
1,619
1,622
1,622
NONE
null
I got an **error** like this: `RuntimeError: mat1 dim 1 must match mat2 dim` when Use official Debertav2 mlm . ## 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` versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11392/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11392/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11391
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11391/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11391/comments
https://api.github.com/repos/huggingface/transformers/issues/11391/events
https://github.com/huggingface/transformers/pull/11391
865,816,123
MDExOlB1bGxSZXF1ZXN0NjIxODMxNTA2
11,391
Fix typos in README for text-classification
{ "login": "yoshitomo-matsubara", "id": 11156001, "node_id": "MDQ6VXNlcjExMTU2MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/11156001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yoshitomo-matsubara", "html_url": "https://github.com/yoshitomo-matsubara", "followers_url": ...
[]
closed
false
null
[]
[]
1,619
1,619
1,619
CONTRIBUTOR
null
# What does this PR do? `transformers/examples/pytorch/text-classification/run_glue_no_trainer.py` has `max_length` instead of `max_seq_length` while the README uses `--max_seq_length` as example commands for `run_glue_no_trainer.py`. This PR fixes the typos. <!-- Congratulations! You've made it this far! You're n...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11391/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11391/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11391", "html_url": "https://github.com/huggingface/transformers/pull/11391", "diff_url": "https://github.com/huggingface/transformers/pull/11391.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11391.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11390
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11390/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11390/comments
https://api.github.com/repos/huggingface/transformers/issues/11390/events
https://github.com/huggingface/transformers/issues/11390
865,781,214
MDU6SXNzdWU4NjU3ODEyMTQ=
11,390
S3 checkpoints not working with distributed training on sagemaker
{ "login": "laphang", "id": 24724502, "node_id": "MDQ6VXNlcjI0NzI0NTAy", "avatar_url": "https://avatars.githubusercontent.com/u/24724502?v=4", "gravatar_id": "", "url": "https://api.github.com/users/laphang", "html_url": "https://github.com/laphang", "followers_url": "https://api.github.com/users/laphan...
[]
closed
false
null
[]
[ "cc @philschmid ", "Hey @laphang, \r\n\r\nCould you please share your `estimator` configuration? that would help debug and reproduce your problem. Thanks!\r\n", "@laphang I tried to reproduce your error and for me its works using the following `HuggingFace` estimator. \r\n```python\r\n# estimator\r\nhuggingface...
1,619
1,635
1,619
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: 4.5.0 - Platform: AWS Sagemaker - Python version: 3.6 - PyTorch version (GPU?): 1.7.1 - Tensorflow version ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11390/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11390/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11389
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11389/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11389/comments
https://api.github.com/repos/huggingface/transformers/issues/11389/events
https://github.com/huggingface/transformers/issues/11389
865,749,785
MDU6SXNzdWU4NjU3NDk3ODU=
11,389
Distributed DataSampler has fixed data order despite random seeds.
{ "login": "lorr1", "id": 57237365, "node_id": "MDQ6VXNlcjU3MjM3MzY1", "avatar_url": "https://avatars.githubusercontent.com/u/57237365?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lorr1", "html_url": "https://github.com/lorr1", "followers_url": "https://api.github.com/users/lorr1/follow...
[]
closed
false
null
[]
[ "Follow-up note (part of @lorr1's team that encountered this). This is particularly insidious for any sort of code that tries training with multiple random seeds; there's an assumption that across seeds, weight initialization (for pre-training, fine-tuning weights), dropout, AND data order are all different (and al...
1,619
1,619
1,619
NONE
null
When using a distributed data loader with `shuffle = True` in the Hugging Face trainer, it calls the underlying torch data loader. If `shuffle` is set to True, the data loader seeds the generator with `seed + epoch` ([here](https://github.com/pytorch/pytorch/blob/f84a50109f794d4feab922056b77d7c358076776/torch/utils/dat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11389/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11389/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11388
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11388/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11388/comments
https://api.github.com/repos/huggingface/transformers/issues/11388/events
https://github.com/huggingface/transformers/issues/11388
865,717,734
MDU6SXNzdWU4NjU3MTc3MzQ=
11,388
CUDA OOM in the middle of training when the training data is large
{ "login": "ganeshjawahar", "id": 4785960, "node_id": "MDQ6VXNlcjQ3ODU5NjA=", "avatar_url": "https://avatars.githubusercontent.com/u/4785960?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ganeshjawahar", "html_url": "https://github.com/ganeshjawahar", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "Hi\r\nI also have observed the same issue with t5-base model and mt5-small model ", "Could you maybe make use of the `group_by_length` training argument? This will put the largest batch first to make sure OOM are detected in the very beginning (best feature ever by @sgugger )", "This issue has been automatica...
1,619
1,622
1,622
NONE
null
## Environment info - `transformers` version: 4.6.0.dev0 - Platform: Linux-3.10.0-1160.24.1.el7.x86_64-x86_64-with-centos-7.9.2009-Core - Python version: 3.7.9 - PyTorch version (GPU?): 1.8.0 (False) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: Yes - Using distributed or parallel set-u...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11388/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11388/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11387
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11387/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11387/comments
https://api.github.com/repos/huggingface/transformers/issues/11387/events
https://github.com/huggingface/transformers/pull/11387
865,711,993
MDExOlB1bGxSZXF1ZXN0NjIxNzQ4MTA5
11,387
Implement Fast Tokenization for Deberta
{ "login": "ShubhamSanghvi", "id": 26190273, "node_id": "MDQ6VXNlcjI2MTkwMjcz", "avatar_url": "https://avatars.githubusercontent.com/u/26190273?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ShubhamSanghvi", "html_url": "https://github.com/ShubhamSanghvi", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "@LysandreJik , most of it was easy to figure out by looking at other tokenizers. The setup and testing guidelines were very easy to follow, I was up and running very quickly.\r\n\r\nFor the fast tokenizers, few things that might help someone like me who is new to the transformers library:\r\n1. A top-level differe...
1,619
1,620
1,619
CONTRIBUTOR
null
# What does this PR do? Fixes #10498 ## 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/CONTRIBUTING.md#start-contributing-pull-request...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11387/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11387/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11387", "html_url": "https://github.com/huggingface/transformers/pull/11387", "diff_url": "https://github.com/huggingface/transformers/pull/11387.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11387.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11386
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11386/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11386/comments
https://api.github.com/repos/huggingface/transformers/issues/11386/events
https://github.com/huggingface/transformers/pull/11386
865,489,019
MDExOlB1bGxSZXF1ZXN0NjIxNTU4ODgy
11,386
[Seq2seq] Add Support for TensorFlow
{ "login": "jhabr", "id": 25850, "node_id": "MDQ6VXNlcjI1ODUw", "avatar_url": "https://avatars.githubusercontent.com/u/25850?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jhabr", "html_url": "https://github.com/jhabr", "followers_url": "https://api.github.com/users/jhabr/followers", "f...
[]
closed
false
null
[]
[ "Hi! I'm the TF maintainer for 🤗 Transformers right now. Thanks for this, the code quality looks really good! There's one issue, though - we're currently trying to move away from `TFTrainer` and use more native, idiomatic TF code based on Keras. You can see an example of the kind of TFTrainer-free approach we're w...
1,619
1,622
1,622
NONE
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/11386/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11386/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11386", "html_url": "https://github.com/huggingface/transformers/pull/11386", "diff_url": "https://github.com/huggingface/transformers/pull/11386.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11386.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11385
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11385/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11385/comments
https://api.github.com/repos/huggingface/transformers/issues/11385/events
https://github.com/huggingface/transformers/issues/11385
865,453,945
MDU6SXNzdWU4NjU0NTM5NDU=
11,385
[docs]Incorrect way of input encoding for "multiple choice" models in documentation?
{ "login": "Riroaki", "id": 26740837, "node_id": "MDQ6VXNlcjI2NzQwODM3", "avatar_url": "https://avatars.githubusercontent.com/u/26740837?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Riroaki", "html_url": "https://github.com/Riroaki", "followers_url": "https://api.github.com/users/Riroak...
[]
closed
false
null
[]
[ "@Riroaki I agree with you! It should be:\r\n```python\r\ntokenizer([[prompt, choice0], [prompt, choice1]], return_tensors='pt', padding=True)\r\n```", "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 th...
1,619
1,626
1,626
NONE
null
In the documentation about "xxForMultipleChoice" models like BERT, ALBERT, RoBERTa, the examples goes like [this](https://huggingface.co/transformers/model_doc/bert.html#bertformultiplechoice): ``` >>> from transformers import BertTokenizer, BertForMultipleChoice >>> import torch >>> tokenizer = BertTokenizer.fro...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11385/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11385/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11384
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11384/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11384/comments
https://api.github.com/repos/huggingface/transformers/issues/11384/events
https://github.com/huggingface/transformers/issues/11384
865,399,217
MDU6SXNzdWU4NjUzOTkyMTc=
11,384
some issue in loading local txt file as Dataset for run_mlm.py
{ "login": "alighofrani95", "id": 14968123, "node_id": "MDQ6VXNlcjE0OTY4MTIz", "avatar_url": "https://avatars.githubusercontent.com/u/14968123?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alighofrani95", "html_url": "https://github.com/alighofrani95", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_I tried to load 3 .txt files as a dataset_ - bad idea, try to merge them in one, then let's see what you'll get (which error message or result).", "Try this one:\r\n```\r\nfrom pathlib import Path\r\npaths = [str(x) for x in Path(\".\").glob(\"**/*.txt\")]\r\n```\r\n\r\nP.S. Next time just copy-paste code, don'...
1,619
1,622
1,622
NONE
null
![image](https://user-images.githubusercontent.com/14968123/115773877-18cef300-a3c6-11eb-8e58-a9cbfd1001ec.png) first of all, I tried to load 3 .txt files as a dataset (sure that the directory and permission is OK.), I face with the below error. > FileNotFoundError: [Errno 2] No such file or directory: 'c' by ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11384/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11384/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11383
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11383/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11383/comments
https://api.github.com/repos/huggingface/transformers/issues/11383/events
https://github.com/huggingface/transformers/pull/11383
865,106,662
MDExOlB1bGxSZXF1ZXN0NjIxMjIzNjk5
11,383
Fixed trainer total_flos relaoding in distributed mode
{ "login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,619
1,619
1,619
CONTRIBUTOR
null
# What does this PR do? There was a bug on the `total_flos` quantity when loading/reloading trainer states in distributed mode: when reloading a training, every process started from the total amount of floating-point operations. The next time they were aggregated, this caused the sum of the operations of all process...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11383/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11383/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11383", "html_url": "https://github.com/huggingface/transformers/pull/11383", "diff_url": "https://github.com/huggingface/transformers/pull/11383.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11383.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11382
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11382/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11382/comments
https://api.github.com/repos/huggingface/transformers/issues/11382/events
https://github.com/huggingface/transformers/pull/11382
865,035,174
MDExOlB1bGxSZXF1ZXN0NjIxMTY0MTQ0
11,382
Fix Trainer with remove_unused_columns=False
{ "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,619
1,619
1,619
COLLABORATOR
null
# What does this PR do? A bug was introduced by mistake in #11343 when `remove_unused_columns=False`. This PR fixes that. Fixes #11381
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11382/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11382/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11382", "html_url": "https://github.com/huggingface/transformers/pull/11382", "diff_url": "https://github.com/huggingface/transformers/pull/11382.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11382.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11381
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11381/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11381/comments
https://api.github.com/repos/huggingface/transformers/issues/11381/events
https://github.com/huggingface/transformers/issues/11381
865,027,196
MDU6SXNzdWU4NjUwMjcxOTY=
11,381
Trainer._remove_unused_columns() returns None
{ "login": "guyrosin", "id": 1250162, "node_id": "MDQ6VXNlcjEyNTAxNjI=", "avatar_url": "https://avatars.githubusercontent.com/u/1250162?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guyrosin", "html_url": "https://github.com/guyrosin", "followers_url": "https://api.github.com/users/guyro...
[]
closed
false
null
[]
[ "Thank you so much for flagging! This should be fixed by the PR above." ]
1,619
1,619
1,619
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.6.0.dev0 - Platform: Linux-4.15.0-134-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GPU?): 1.8.1 (False) - Tensorflow version (GPU?): 2.4.0 (False) - Using GPU in script?: No - Using distributed or parallel set-up in script?: No ### Wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11381/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11381/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11380
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11380/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11380/comments
https://api.github.com/repos/huggingface/transformers/issues/11380/events
https://github.com/huggingface/transformers/pull/11380
864,886,579
MDExOlB1bGxSZXF1ZXN0NjIxMDQwMzUx
11,380
[Examples] Fixes inconsistency around eval vs val and predict vs test
{ "login": "bhadreshpsavani", "id": 26653468, "node_id": "MDQ6VXNlcjI2NjUzNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhadreshpsavani", "html_url": "https://github.com/bhadreshpsavani", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hi @sgugger and @stas00,\r\nI have made changes in the following way,\r\n| Earlier | Now |\r\n| ---- | ---- |\r\n| test | predict |\r\n| test_examples | predict_examples |\r\n| test_dataset | predict_dataset |\r\n| max_test_samples | max_predict_samples |\r\n| val | eval |\r\n| val_examples | eval_examples |\r\n| ...
1,619
1,619
1,619
CONTRIBUTOR
null
# What does this PR do? Fixes #10165 ## 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/CONTRIBUTING.md#start-contributing-pull-request...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11380/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11380/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11380", "html_url": "https://github.com/huggingface/transformers/pull/11380", "diff_url": "https://github.com/huggingface/transformers/pull/11380.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11380.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11379
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11379/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11379/comments
https://api.github.com/repos/huggingface/transformers/issues/11379/events
https://github.com/huggingface/transformers/pull/11379
864,884,527
MDExOlB1bGxSZXF1ZXN0NjIxMDM4NjMx
11,379
Correctly cast num_train_epochs to int
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[ { "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url"...
[]
1,619
1,619
1,619
MEMBER
null
The num_train_epochs arg in `training_args.py` is actually a float, so we cast it to int before it goes to Keras.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11379/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11379/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11379", "html_url": "https://github.com/huggingface/transformers/pull/11379", "diff_url": "https://github.com/huggingface/transformers/pull/11379.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11379.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11378
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11378/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11378/comments
https://api.github.com/repos/huggingface/transformers/issues/11378/events
https://github.com/huggingface/transformers/pull/11378
864,857,577
MDExOlB1bGxSZXF1ZXN0NjIxMDE2MTky
11,378
Remove max length beam scorer
{ "login": "GeetDsa", "id": 13940397, "node_id": "MDQ6VXNlcjEzOTQwMzk3", "avatar_url": "https://avatars.githubusercontent.com/u/13940397?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GeetDsa", "html_url": "https://github.com/GeetDsa", "followers_url": "https://api.github.com/users/GeetDs...
[]
closed
false
null
[]
[ "Awesome job @GeetDsa - this looks good to me :-) \r\n\r\nAlso pinging @patil-suraj and @Narsil for review.", "@Narsil - do you think we need a test here or should this be fine without?", "Hi @patrickvonplaten , Most of the errors are caused because of \"max_length\" attribute used while creating `beam_scorer` ...
1,619
1,619
1,619
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/11378/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11378/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11378", "html_url": "https://github.com/huggingface/transformers/pull/11378", "diff_url": "https://github.com/huggingface/transformers/pull/11378.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11378.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11377
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11377/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11377/comments
https://api.github.com/repos/huggingface/transformers/issues/11377/events
https://github.com/huggingface/transformers/pull/11377
864,851,796
MDExOlB1bGxSZXF1ZXN0NjIxMDExNDM4
11,377
new call for model addition
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "id": 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
[]
[ "Think we still need to fill out a couple of things before publishing it :-) ", "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 gu...
1,619
1,648
null
MEMBER
null
# What does this PR do? This PR add a "call for model addition" to add [GLM](https://github.com/THUDM/GLM) model into the lib.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11377/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/11377/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11377", "html_url": "https://github.com/huggingface/transformers/pull/11377", "diff_url": "https://github.com/huggingface/transformers/pull/11377.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11377.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11376
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11376/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11376/comments
https://api.github.com/repos/huggingface/transformers/issues/11376/events
https://github.com/huggingface/transformers/issues/11376
864,831,951
MDU6SXNzdWU4NjQ4MzE5NTE=
11,376
Wav2vec2: comparison to original implementation
{ "login": "cceyda", "id": 15624271, "node_id": "MDQ6VXNlcjE1NjI0Mjcx", "avatar_url": "https://avatars.githubusercontent.com/u/15624271?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cceyda", "html_url": "https://github.com/cceyda", "followers_url": "https://api.github.com/users/cceyda/fo...
[]
closed
false
null
[]
[ "Hey @cceyda - thanks for the issue!\r\n\r\nYes, this was an intentional choice since those parameters seemed to be the same in all experiments after studying the paper. If people want to change those params, we could always add them in a later version.", "This issue has been automatically marked as stale because...
1,619
1,621
1,621
CONTRIBUTOR
null
# 🚀 Reproducibility challenge During the fine-tuning week I realized some of the smaller details in the implementation are a bit different than the original fairseq implementation. @patrickvonplaten Original Code: https://github.com/pytorch/fairseq/blob/master/fairseq/models/wav2vec/wav2vec2.py 🤗 Code: https...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11376/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11376/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11375
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11375/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11375/comments
https://api.github.com/repos/huggingface/transformers/issues/11375/events
https://github.com/huggingface/transformers/issues/11375
864,815,372
MDU6SXNzdWU4NjQ4MTUzNzI=
11,375
Output probability from `model.generate` for TF models
{ "login": "gcuder", "id": 60609608, "node_id": "MDQ6VXNlcjYwNjA5NjA4", "avatar_url": "https://avatars.githubusercontent.com/u/60609608?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gcuder", "html_url": "https://github.com/gcuder", "followers_url": "https://api.github.com/users/gcuder/fo...
[]
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,619
1,622
1,622
CONTRIBUTOR
null
# 🚀 Feature request Since pytorch models already have the option to output probablities when using `model.generate(...)`, I wanted to ask if there's any chance if this will also be implemented for TensorFlow models?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11375/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/11375/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11374
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11374/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11374/comments
https://api.github.com/repos/huggingface/transformers/issues/11374/events
https://github.com/huggingface/transformers/pull/11374
864,799,830
MDExOlB1bGxSZXF1ZXN0NjIwOTY5NDUw
11,374
[Flax] Correct typo
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "id": 2934977194, "node_id": "MDU6TGFiZWwyOTM0OTc3MTk0", "url": "https://api.github.com/repos/huggingface/transformers/labels/Flax", "name": "Flax", "color": "4862AD", "default": false, "description": "" } ]
closed
false
null
[]
[]
1,619
1,619
1,619
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/11374/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11374/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11374", "html_url": "https://github.com/huggingface/transformers/pull/11374", "diff_url": "https://github.com/huggingface/transformers/pull/11374.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11374.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11373
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11373/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11373/comments
https://api.github.com/repos/huggingface/transformers/issues/11373/events
https://github.com/huggingface/transformers/pull/11373
864,721,645
MDExOlB1bGxSZXF1ZXN0NjIwOTA2MTY4
11,373
Add space
{ "login": "tma15", "id": 481227, "node_id": "MDQ6VXNlcjQ4MTIyNw==", "avatar_url": "https://avatars.githubusercontent.com/u/481227?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tma15", "html_url": "https://github.com/tma15", "followers_url": "https://api.github.com/users/tma15/followers"...
[]
closed
false
null
[]
[]
1,619
1,619
1,619
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/11373/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11373/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11373", "html_url": "https://github.com/huggingface/transformers/pull/11373", "diff_url": "https://github.com/huggingface/transformers/pull/11373.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11373.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11372
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11372/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11372/comments
https://api.github.com/repos/huggingface/transformers/issues/11372/events
https://github.com/huggingface/transformers/pull/11372
864,669,881
MDExOlB1bGxSZXF1ZXN0NjIwODY0ODcx
11,372
[run_translation.py] fix typo
{ "login": "johnson7788", "id": 6083466, "node_id": "MDQ6VXNlcjYwODM0NjY=", "avatar_url": "https://avatars.githubusercontent.com/u/6083466?v=4", "gravatar_id": "", "url": "https://api.github.com/users/johnson7788", "html_url": "https://github.com/johnson7788", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[]
1,619
1,619
1,619
CONTRIBUTOR
null
line 380: forced less a letter r: model.config.foced_bos_token_id = forced_bos_token_id --> model.config.forced_bos_token_id = forced_bos_token_id # 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11372/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11372/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11372", "html_url": "https://github.com/huggingface/transformers/pull/11372", "diff_url": "https://github.com/huggingface/transformers/pull/11372.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11372.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11371
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11371/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11371/comments
https://api.github.com/repos/huggingface/transformers/issues/11371/events
https://github.com/huggingface/transformers/issues/11371
864,527,519
MDU6SXNzdWU4NjQ1Mjc1MTk=
11,371
[examples] UserWarning: `max_length` is deprecated
{ "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 one also having same warning `examples/pytorch/summarization/run_summarization.py `", "Would you like to tackle this one, @bhadreshpsavani, next? Absolutely no need to say yes ;)", "Sure, I will take this issue,\r\nI don't have any extra issue with me apart from this!", "Hi @stas00,\r\nI am not very sur...
1,619
1,620
1,620
CONTRIBUTOR
null
Not sure how many example scripts are affected by this: ``` src/transformers/generation_utils.py:963: UserWarning: `max_length` is deprecated in this function, use `stopping_criteria=StoppingCriteriaList(MaxLengthCriteria(max_length=max_length))` instead. ``` getting this with at least `examples/pytorch/translati...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11371/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11371/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11370
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11370/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11370/comments
https://api.github.com/repos/huggingface/transformers/issues/11370/events
https://github.com/huggingface/transformers/issues/11370
864,514,340
MDU6SXNzdWU4NjQ1MTQzNDA=
11,370
ERRORS: run_mlm_performer.py
{ "login": "luoda888", "id": 22568420, "node_id": "MDQ6VXNlcjIyNTY4NDIw", "avatar_url": "https://avatars.githubusercontent.com/u/22568420?v=4", "gravatar_id": "", "url": "https://api.github.com/users/luoda888", "html_url": "https://github.com/luoda888", "followers_url": "https://api.github.com/users/luo...
[]
closed
false
null
[]
[ "I tried to use self.config.attention_probs_dropout_prob instead of config.dropout_rate. It seems worked.", "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...
1,619
1,622
1,622
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: tfs4.5.1 - Platform: ubuntu18.04 - Python version: 3.8 - PyTorch version (GPU?): 1.7 - Tensorflow version (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11370/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11370/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11369
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11369/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11369/comments
https://api.github.com/repos/huggingface/transformers/issues/11369/events
https://github.com/huggingface/transformers/pull/11369
864,485,831
MDExOlB1bGxSZXF1ZXN0NjIwNzE0ODA0
11,369
Fix typo
{ "login": "penut85420", "id": 1570332, "node_id": "MDQ6VXNlcjE1NzAzMzI=", "avatar_url": "https://avatars.githubusercontent.com/u/1570332?v=4", "gravatar_id": "", "url": "https://api.github.com/users/penut85420", "html_url": "https://github.com/penut85420", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[]
1,619
1,619
1,619
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/11369/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11369/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11369", "html_url": "https://github.com/huggingface/transformers/pull/11369", "diff_url": "https://github.com/huggingface/transformers/pull/11369.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11369.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11368
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11368/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11368/comments
https://api.github.com/repos/huggingface/transformers/issues/11368/events
https://github.com/huggingface/transformers/issues/11368
864,440,200
MDU6SXNzdWU4NjQ0NDAyMDA=
11,368
Megatron fused CUDA kernels to improve Hugging Face model classes' scalability
{ "login": "g-karthik", "id": 3851993, "node_id": "MDQ6VXNlcjM4NTE5OTM=", "avatar_url": "https://avatars.githubusercontent.com/u/3851993?v=4", "gravatar_id": "", "url": "https://api.github.com/users/g-karthik", "html_url": "https://github.com/g-karthik", "followers_url": "https://api.github.com/users/g-...
[ { "id": 2690307185, "node_id": "MDU6TGFiZWwyNjkwMzA3MTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Performance", "name": "Performance", "color": "207F32", "default": false, "description": "" }, { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4N...
open
false
null
[]
[ "I think the biggest barrier to using custom CUDA kernel is that it'd require `transformers` to move from a python-only package, to a compilation-required type of package (even if JIT), which in my experience is the type of a package that is far from trivial to use and often raises a barrier to entry.\r\n\r\nIf I'm...
1,619
1,621
null
NONE
null
# 🚀 Feature request Support for custom fused CUDA kernels with HF model classes. ## Motivation It appears that Hugging Face model classes do not scale very well as-is unlike Megatron-LM, even when the latter is configured with a degree of model-parallelization = 1 for a "fair" performance comparison. One o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11368/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11368/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/11367
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11367/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11367/comments
https://api.github.com/repos/huggingface/transformers/issues/11367/events
https://github.com/huggingface/transformers/pull/11367
864,338,392
MDExOlB1bGxSZXF1ZXN0NjIwNTkxNTY4
11,367
Replace double occurrences as the last step
{ "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
[]
[ "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,619
1,621
1,621
MEMBER
null
This PR fixes an issue with the SPM converters (ALBERT and XLNet) where it would replace some characters by whitespace - after removing double whitespace occurrences. This meant that if double whitespace were to appear thanks to this replacement, they would be kept until the end of encoding, leading to a mismatch betwe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11367/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11367/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11367", "html_url": "https://github.com/huggingface/transformers/pull/11367", "diff_url": "https://github.com/huggingface/transformers/pull/11367.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11367.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11366
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11366/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11366/comments
https://api.github.com/repos/huggingface/transformers/issues/11366/events
https://github.com/huggingface/transformers/issues/11366
864,255,775
MDU6SXNzdWU4NjQyNTU3NzU=
11,366
RuntimeError: CUDA error: device-side assert triggered
{ "login": "abb4s", "id": 7654832, "node_id": "MDQ6VXNlcjc2NTQ4MzI=", "avatar_url": "https://avatars.githubusercontent.com/u/7654832?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abb4s", "html_url": "https://github.com/abb4s", "followers_url": "https://api.github.com/users/abb4s/follower...
[]
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,619
1,622
1,622
NONE
null
``` if torch.cuda.is_available(): dev = "cuda:0" else: dev = "cpu" device = torch.device(dev) bert = BertForSequenceClassification.from_pretrained(args.model_name_or_path) bert = bert.to(device) ``` raise RuntimeError: CUDA error: device-side assert triggered nvidia-smi: ![image](https://user...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11366/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11366/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11365
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11365/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11365/comments
https://api.github.com/repos/huggingface/transformers/issues/11365/events
https://github.com/huggingface/transformers/issues/11365
864,218,373
MDU6SXNzdWU4NjQyMTgzNzM=
11,365
Index out of range in self with fine-tuned DPR Context Encoder
{ "login": "benscottie", "id": 75142468, "node_id": "MDQ6VXNlcjc1MTQyNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/75142468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/benscottie", "html_url": "https://github.com/benscottie", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "@LysandreJik do you have insight on what could be causing this error? Thanks!", "Hi! I'm trying to reproduce but as I don't have your checkpoint this is proving complicated. Could you provide a reproducible example/colab so I can take a look?\r\n\r\nAlso, it seems you've shared some of the stack trace but not th...
1,619
1,624
1,624
NONE
null
## Environment info - `transformers` version: 4.5.1 - Platform: Linux-5.4.0-72-generic-x86_64-with-glibc2.27 - Python version: 3.8.6 - PyTorch version (GPU?): 1.6.0 (True) - Tensorflow version (GPU?): 2.3.1 (True) - Using GPU in script?: Have tried with and without - Using distributed or parallel set-up in scr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11365/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11365/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11364
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11364/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11364/comments
https://api.github.com/repos/huggingface/transformers/issues/11364/events
https://github.com/huggingface/transformers/pull/11364
864,123,685
MDExOlB1bGxSZXF1ZXN0NjIwNDA3OTg5
11,364
[Flax] Big FlaxBert Refactor
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "id": 2934977194, "node_id": "MDU6TGFiZWwyOTM0OTc3MTk0", "url": "https://api.github.com/repos/huggingface/transformers/labels/Flax", "name": "Flax", "color": "4862AD", "default": false, "description": "" } ]
closed
false
null
[]
[]
1,619
1,619
1,619
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/11364/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11364/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11364", "html_url": "https://github.com/huggingface/transformers/pull/11364", "diff_url": "https://github.com/huggingface/transformers/pull/11364.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11364.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11363
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11363/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11363/comments
https://api.github.com/repos/huggingface/transformers/issues/11363/events
https://github.com/huggingface/transformers/issues/11363
864,100,566
MDU6SXNzdWU4NjQxMDA1NjY=
11,363
torch_xla/csrc/tensor_methods.cpp:880 : Check failed: xla::ShapeUtil::Compatible(shapes.back(), tensor_shape)
{ "login": "mabdullah1994", "id": 18423941, "node_id": "MDQ6VXNlcjE4NDIzOTQx", "avatar_url": "https://avatars.githubusercontent.com/u/18423941?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mabdullah1994", "html_url": "https://github.com/mabdullah1994", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "We didn't check yet whether BigBird works on TPU. We should put it on the roadmap (cc @vasudevgupta7) .", "It should be interesting to check which operation (in bigbird) is causing problem on TPU :)", "@vasudevgupta7 @patrickvonplaten Thanks. Please let us know if there was any update. Thanks!", "Hi @mabdull...
1,619
1,623
1,620
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: 4.5.0 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11363/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11363/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11362
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11362/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11362/comments
https://api.github.com/repos/huggingface/transformers/issues/11362/events
https://github.com/huggingface/transformers/issues/11362
864,066,560
MDU6SXNzdWU4NjQwNjY1NjA=
11,362
Training a TimeSFormer for video classification
{ "login": "slimaneaymen", "id": 24354915, "node_id": "MDQ6VXNlcjI0MzU0OTE1", "avatar_url": "https://avatars.githubusercontent.com/u/24354915?v=4", "gravatar_id": "", "url": "https://api.github.com/users/slimaneaymen", "html_url": "https://github.com/slimaneaymen", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hello! Is this a `transformers` issue? Where does `transformers` come into play?", "> \r\n> \r\n> Hello! Is this a `transformers` issue? Where does `transformers` come into play?\r\nHi !! Actually, here I am showing only the issues I'm getting when training the TimeSFormer model,\r\nyou can find more information...
1,619
1,622
1,622
NONE
null
My input data are the feature maps, instead of raw images. and have the form : (4,50,1,1,256) mini_batch=4 / frames=50 / channels=1 / H=1 / W= 256 The parameters of the TimeSformer are : TimeSformer( dim = 128, image_size = 256, patch_size = 16, num_frames = 50, num_classes = 2, depth ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11362/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11362/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11361
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11361/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11361/comments
https://api.github.com/repos/huggingface/transformers/issues/11361/events
https://github.com/huggingface/transformers/pull/11361
864,053,846
MDExOlB1bGxSZXF1ZXN0NjIwMzUwNjQ5
11,361
Move old TF text classification script to legacy
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,619
1,619
1,619
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11361/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11361/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11361", "html_url": "https://github.com/huggingface/transformers/pull/11361", "diff_url": "https://github.com/huggingface/transformers/pull/11361.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11361.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11360
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11360/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11360/comments
https://api.github.com/repos/huggingface/transformers/issues/11360/events
https://github.com/huggingface/transformers/pull/11360
864,026,740
MDExOlB1bGxSZXF1ZXN0NjIwMzI4ODE1
11,360
Merge new TF example script
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[ { "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url"...
[]
1,619
1,619
1,619
MEMBER
null
New branch for merging the new example because I'm scared of rebasing after that big of a change!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11360/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11360/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11360", "html_url": "https://github.com/huggingface/transformers/pull/11360", "diff_url": "https://github.com/huggingface/transformers/pull/11360.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11360.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11359
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11359/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11359/comments
https://api.github.com/repos/huggingface/transformers/issues/11359/events
https://github.com/huggingface/transformers/pull/11359
864,022,202
MDExOlB1bGxSZXF1ZXN0NjIwMzI1MTQ0
11,359
[testing doc] bring doc up to date
{ "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,619
1,619
1,619
CONTRIBUTOR
null
Following up to https://github.com/huggingface/transformers/pull/11350 edited `testing.rst` to update outdated information. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11359/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11359/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11359", "html_url": "https://github.com/huggingface/transformers/pull/11359", "diff_url": "https://github.com/huggingface/transformers/pull/11359.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11359.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11358
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11358/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11358/comments
https://api.github.com/repos/huggingface/transformers/issues/11358/events
https://github.com/huggingface/transformers/issues/11358
863,948,701
MDU6SXNzdWU4NjM5NDg3MDE=
11,358
Different results between `AlbertTokenizer` and `AlbertTokenizerFast` modules with a new `spiece.model` file
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[]
closed
false
null
[]
[ "Hey @SaulLu, thanks a lot for the detailed issue. I managed to reproduce the issue by using another tokenizer on the hub, `codegram/calbert-tiny-uncased`, which has the same issue.\r\n\r\n@n1t0 helped me identify the issue, and we have a fix in #11367. Would you mind trying it out and let me know if it fixes your ...
1,619
1,621
1,621
CONTRIBUTOR
null
Hello! I would like to ask your opinion about a tokenizer behavior. In a project, I have to train a new tokenizer to re-pretrain an Albert model. I don't know if I did something wrong (and if I did, I'd love to know!) but for the moment a text is not tokenized in the same way with `AlbertTokenizer` and `AlbertTokeni...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11358/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11358/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11357
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11357/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11357/comments
https://api.github.com/repos/huggingface/transformers/issues/11357/events
https://github.com/huggingface/transformers/issues/11357
863,886,453
MDU6SXNzdWU4NjM4ODY0NTM=
11,357
possible mistake in documentation
{ "login": "shyrma", "id": 30350590, "node_id": "MDQ6VXNlcjMwMzUwNTkw", "avatar_url": "https://avatars.githubusercontent.com/u/30350590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shyrma", "html_url": "https://github.com/shyrma", "followers_url": "https://api.github.com/users/shyrma/fo...
[]
closed
false
null
[]
[ "Hey @shyrma,\r\n\r\nyou are right I think - do you mind opening a PR to fix it? :-) ", "I'm not sure how to make a fix in an appropriate way, since both classes (for example) BartModel and BartForConditionalGeneration\r\nuse the same doc string BART_INPUTS_DOCSTRING `@add_start_docstrings_to_model_forward(BART_I...
1,619
1,619
1,619
NONE
null
Looking at description of the parameter "decoder_input_ids" in "forward" method of BartForConditionalGeneration/T5ForConditionalGeneration, I see following: BartForConditionalGeneration: decoder_input_ids - ... For translation and summarization training, decoder_input_ids should be provided. If no decoder_input_ids...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11357/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11357/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11356
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11356/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11356/comments
https://api.github.com/repos/huggingface/transformers/issues/11356/events
https://github.com/huggingface/transformers/issues/11356
863,750,965
MDU6SXNzdWU4NjM3NTA5NjU=
11,356
Whyhttps://github.com/huggingface/transformers/tree/master/examples/pplm
{ "login": "27182812", "id": 33630730, "node_id": "MDQ6VXNlcjMzNjMwNzMw", "avatar_url": "https://avatars.githubusercontent.com/u/33630730?v=4", "gravatar_id": "", "url": "https://api.github.com/users/27182812", "html_url": "https://github.com/27182812", "followers_url": "https://api.github.com/users/271...
[]
closed
false
null
[]
[ "The html doesn‘t work. I can't see \"https://github.com/huggingface/transformers/tree/master/examples/pplm\".", "Did something went wrong? A lot of the scripts are gone like there used to be examples for clm and plm in transformers/examples/language-modeling but now there's only run_mlm_noflax.py", "Soga,haha....
1,619
1,622
1,622
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: - Platform: - Python version: - PyTorch version (GPU?): - Tensorflow version (GPU?): - Using GPU in script...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11356/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11356/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11355
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11355/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11355/comments
https://api.github.com/repos/huggingface/transformers/issues/11355/events
https://github.com/huggingface/transformers/pull/11355
863,749,985
MDExOlB1bGxSZXF1ZXN0NjIwMTAwNjkw
11,355
Fix token_type_ids error for big_bird model.
{ "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
[]
[ "@sgugger ", "I think the BigBird QA model actually uses 16 token type ids (https://huggingface.co/google/bigbird-base-trivia-itc/blob/main/config.json), but this is an exception I think and the default case is 2 token type ids => so this looks good to me.\r\n\r\n @vasudevgupta7 what do you think?", "Yes, both ...
1,619
1,619
1,619
CONTRIBUTOR
null
I run the follow code, but get strange outputs, the `token_type_ids` is shorter than `input_ids`: ```python def demo(): model_name = "./resources/bigbird-roberta-base" tokenizer = AutoTokenizer.from_pretrained(model_name) text = 'With power of science ,' max_length = 10 encoded_tokens = token...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11355/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11355/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11355", "html_url": "https://github.com/huggingface/transformers/pull/11355", "diff_url": "https://github.com/huggingface/transformers/pull/11355.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11355.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11354
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11354/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11354/comments
https://api.github.com/repos/huggingface/transformers/issues/11354/events
https://github.com/huggingface/transformers/issues/11354
863,678,081
MDU6SXNzdWU4NjM2NzgwODE=
11,354
Question-answering pipeline failing with Nonetype exception when selecting spans with tokens outside of the context
{ "login": "psorianom", "id": 1085210, "node_id": "MDQ6VXNlcjEwODUyMTA=", "avatar_url": "https://avatars.githubusercontent.com/u/1085210?v=4", "gravatar_id": "", "url": "https://api.github.com/users/psorianom", "html_url": "https://github.com/psorianom", "followers_url": "https://api.github.com/users/ps...
[]
closed
false
null
[]
[ "Hi, thank you for opening such a detailed issue. I know @Narsil has some experience with the question answering pipeline and has probably been confronted to that issue in the past.\r\n\r\nNicolas, what do you think of the fix proposed above?\r\n\r\nEither way we should work on a clearer error message.", "The pro...
1,618
1,620
1,620
CONTRIBUTOR
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: '4.6.0.dev0' - Platform: Linux Mint 20 - Python version: 3.7.10 - PyTorch version (GPU?): GPU - Tensorflow ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11354/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11354/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11353
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11353/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11353/comments
https://api.github.com/repos/huggingface/transformers/issues/11353/events
https://github.com/huggingface/transformers/pull/11353
863,445,586
MDExOlB1bGxSZXF1ZXN0NjE5ODUyMDA5
11,353
T5 Gradient Checkpointing
{ "login": "ceshine", "id": 674501, "node_id": "MDQ6VXNlcjY3NDUwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/674501?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ceshine", "html_url": "https://github.com/ceshine", "followers_url": "https://api.github.com/users/ceshine/fo...
[]
closed
false
null
[]
[]
1,618
1,619
1,619
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/11353/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11353/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11353", "html_url": "https://github.com/huggingface/transformers/pull/11353", "diff_url": "https://github.com/huggingface/transformers/pull/11353.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11353.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11352
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11352/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11352/comments
https://api.github.com/repos/huggingface/transformers/issues/11352/events
https://github.com/huggingface/transformers/pull/11352
863,423,680
MDExOlB1bGxSZXF1ZXN0NjE5ODM0MjE1
11,352
[deepspeed] fix resume from checkpoint
{ "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
[]
[ "Indeed. I removed it during merge. Thank you for the reminder, @sgugger " ]
1,618
1,619
1,619
CONTRIBUTOR
null
This PR fixes a bug that most likely somehow got exposed (not caused) by https://github.com/huggingface/transformers/pull/11318 - surprisingly the same test worked just fine before that other PR. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11352/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11352/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11352", "html_url": "https://github.com/huggingface/transformers/pull/11352", "diff_url": "https://github.com/huggingface/transformers/pull/11352.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11352.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11351
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11351/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11351/comments
https://api.github.com/repos/huggingface/transformers/issues/11351/events
https://github.com/huggingface/transformers/issues/11351
863,362,363
MDU6SXNzdWU4NjMzNjIzNjM=
11,351
fine tuning encoder decoder for custom language translation
{ "login": "YanSoares", "id": 35378133, "node_id": "MDQ6VXNlcjM1Mzc4MTMz", "avatar_url": "https://avatars.githubusercontent.com/u/35378133?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YanSoares", "html_url": "https://github.com/YanSoares", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\n\r\nYou might also find [this notebook](https://colab.research.google.com/github/patrickvonplaten/notebooks/blob/master/BERT...
1,618
1,622
1,622
NONE
null
Hello everyone, I would like to know if you can train a BERT2GPT model (or other models) for translation of customized languages ​​(from scratch). I need to translate gloss signals from ASL to English. I have already looked for tutorials on the internet, but most of them are for the task of generating text, I canno...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11351/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11351/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11350
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11350/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11350/comments
https://api.github.com/repos/huggingface/transformers/issues/11350/events
https://github.com/huggingface/transformers/pull/11350
863,362,064
MDExOlB1bGxSZXF1ZXN0NjE5Nzg1OTI4
11,350
Examples reorg
{ "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
[]
[ "`tests/deepspeed` and `tests/extended` need to be updated too following the rename. Thank you.\r\n\r\n```\r\npip install fairscale deepspeed\r\nRUN_SLOW=1 pytest tests/deepspeed tests/extended\r\n```", "Which tests are failing for you in `tests/extended`? Everything is passing on my side. For deepspeed I fixed t...
1,618
1,619
1,619
COLLABORATOR
null
# What does this PR do? As discussed internally, this PR reorganizes the `examples` folder to make clean subfolders for PyTorch and TensorFlow. This way, each example can have its own requirements including the proper backend and there is no headache to determine who will be first in the README. It also splits th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11350/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11350/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11350", "html_url": "https://github.com/huggingface/transformers/pull/11350", "diff_url": "https://github.com/huggingface/transformers/pull/11350.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11350.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11349
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11349/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11349/comments
https://api.github.com/repos/huggingface/transformers/issues/11349/events
https://github.com/huggingface/transformers/pull/11349
863,259,255
MDExOlB1bGxSZXF1ZXN0NjE5NzAxMTA3
11,349
[Wav2Vec2] Fix special tokens for Wav2Vec2 tokenizer
{ "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,618
1,619
1,619
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/11349/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11349/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11349", "html_url": "https://github.com/huggingface/transformers/pull/11349", "diff_url": "https://github.com/huggingface/transformers/pull/11349.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11349.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11348
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11348/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11348/comments
https://api.github.com/repos/huggingface/transformers/issues/11348/events
https://github.com/huggingface/transformers/issues/11348
863,241,686
MDU6SXNzdWU4NjMyNDE2ODY=
11,348
'Tensor' object has no attribute 'size'
{ "login": "waqarkaleemkhan", "id": 37707339, "node_id": "MDQ6VXNlcjM3NzA3MzM5", "avatar_url": "https://avatars.githubusercontent.com/u/37707339?v=4", "gravatar_id": "", "url": "https://api.github.com/users/waqarkaleemkhan", "html_url": "https://github.com/waqarkaleemkhan", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hi! You're using `AutoModel`, which is a pytorch model, with TensorFlow instructions. Change to `TFAutoModel`!", "Hi @LysandreJik Thanks for your response when I try to import TFAutoModel from TensorFlow it gives an error that cannot import name 'TFAutomodel' from 'transformers' (unknown location)\r\nmy environm...
1,618
1,622
1,622
NONE
null
I am trying to implement a transformer for language classification using TensorFlow below is the model code I used but it throws an error of tensor object has no attribute size please help for the notebook you can visit the below link https://github.com/waqarkaleemkhan/Transformer_for_Language_classification/blob/ma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11348/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11348/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11347
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11347/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11347/comments
https://api.github.com/repos/huggingface/transformers/issues/11347/events
https://github.com/huggingface/transformers/pull/11347
863,217,793
MDExOlB1bGxSZXF1ZXN0NjE5NjY1NzA2
11,347
Extract metric_key_prefix during NotebookProgressCallback.on_evaluate
{ "login": "lewtun", "id": 26859204, "node_id": "MDQ6VXNlcjI2ODU5MjA0", "avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewtun", "html_url": "https://github.com/lewtun", "followers_url": "https://api.github.com/users/lewtun/fo...
[]
closed
false
null
[]
[ "Mmm, looks like there is a problem in the tests though.", "Yes, part of the problem is coming from `CallbackHandler.on_evaluate` which does not have a `kwargs` in the signature: https://github.com/huggingface/transformers/blob/f1b938fda81d4b9e8ab435cb7f37f71c9b7cbb1e/src/transformers/trainer_callback.py#L361\r\n...
1,618
1,619
1,619
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/11347/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11347/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11347", "html_url": "https://github.com/huggingface/transformers/pull/11347", "diff_url": "https://github.com/huggingface/transformers/pull/11347.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11347.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11346
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11346/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11346/comments
https://api.github.com/repos/huggingface/transformers/issues/11346/events
https://github.com/huggingface/transformers/pull/11346
863,144,483
MDExOlB1bGxSZXF1ZXN0NjE5NjAyNDEz
11,346
[contributing doc] explain/link to good first issue
{ "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,618
1,619
1,619
CONTRIBUTOR
null
This PR expands the contributing doc to helps users find `Good First Issue`/`Good Second Issue` issues. @LysandreJik, @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11346/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11346/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11346", "html_url": "https://github.com/huggingface/transformers/pull/11346", "diff_url": "https://github.com/huggingface/transformers/pull/11346.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11346.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11345
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11345/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11345/comments
https://api.github.com/repos/huggingface/transformers/issues/11345/events
https://github.com/huggingface/transformers/issues/11345
863,134,929
MDU6SXNzdWU4NjMxMzQ5Mjk=
11,345
absolute embeddings in Deberta
{ "login": "ylwangy", "id": 31842494, "node_id": "MDQ6VXNlcjMxODQyNDk0", "avatar_url": "https://avatars.githubusercontent.com/u/31842494?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylwangy", "html_url": "https://github.com/ylwangy", "followers_url": "https://api.github.com/users/ylwang...
[]
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,618
1,625
1,624
NONE
null
The paper says they add absolute position embeddings at the last layer, however, the models is still using the addition of position embeddings and word embeddings. In configuration_deberta.py ------------ position_biased_input (:obj:`bool`, `optional`, defaults to :obj:`True`): Whether add absolute p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11345/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11345/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11344
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11344/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11344/comments
https://api.github.com/repos/huggingface/transformers/issues/11344/events
https://github.com/huggingface/transformers/issues/11344
863,019,153
MDU6SXNzdWU4NjMwMTkxNTM=
11,344
[run_summarization.py] wrong dataset leads to CUDA error:s
{ "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 fails too:\r\n```\r\nCUDA_LAUNCH_BLOCKING=1 python examples/seq2seq/run_summarization.py \\\r\n--model_name_or_path google/pegasus-xsum --do_eval --dataset_name xsum --output_dir output_dir \\\r\n--per_device_eval_batch_size=16 --predict_with_generate --max_val_samples 20\r\n```\r\n\r\n```\r\n***** Running Ev...
1,618
1,631
1,631
CONTRIBUTOR
null
Feeding `--dataset_name cnn_dailymail` to `--model_name_or_path google/pegasus-xsum` leads to lots of errors from pytorch - perhaps there is a way to detect that the dataset is inappropriate and give a nice relevant assert instead? You'd think that `--dataset_name cnn_dailymail` and `--dataset_name xsum` should be i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11344/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11344/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11343
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11343/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11343/comments
https://api.github.com/repos/huggingface/transformers/issues/11343/events
https://github.com/huggingface/transformers/pull/11343
862,967,857
MDExOlB1bGxSZXF1ZXN0NjE5NDUwMTEy
11,343
Update to use datasets remove_cloumns method
{ "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,618
1,618
1,618
COLLABORATOR
null
# What does this PR do? This PR updates the command used in the `Trainer` to drop the columns not used by the model to take advantage of the latest (well not so latest since it landed in datasets 1.4.0) `remove_columns` method. This adds the advantage of not modifying in place the dataset (as was done before) so the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11343/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11343/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11343", "html_url": "https://github.com/huggingface/transformers/pull/11343", "diff_url": "https://github.com/huggingface/transformers/pull/11343.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11343.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11342
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11342/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11342/comments
https://api.github.com/repos/huggingface/transformers/issues/11342/events
https://github.com/huggingface/transformers/issues/11342
862,942,788
MDU6SXNzdWU4NjI5NDI3ODg=
11,342
mlflow parameter overflow when training a language adapter
{ "login": "JackyXiangcheng", "id": 40454951, "node_id": "MDQ6VXNlcjQwNDU0OTUx", "avatar_url": "https://avatars.githubusercontent.com/u/40454951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JackyXiangcheng", "html_url": "https://github.com/JackyXiangcheng", "followers_url": "https://api...
[]
closed
false
null
[]
[]
1,618
1,619
1,619
NONE
null
When I train a german adapter, I met a problem, which has been talked a lot in the issues, but there are not very clear solutions. Traceback (most recent call last): File "/mnt/localdata/cao/run_de_modeling.py", line 512, in <module> main() File "/mnt/localdata/cao/run_de_modeling.py", line 476, in ma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11342/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11342/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11341
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11341/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11341/comments
https://api.github.com/repos/huggingface/transformers/issues/11341/events
https://github.com/huggingface/transformers/issues/11341
862,931,271
MDU6SXNzdWU4NjI5MzEyNzE=
11,341
Warpping model.generate before exporting into tensorflow savedmodel format
{ "login": "techsachinkr", "id": 32604730, "node_id": "MDQ6VXNlcjMyNjA0NzMw", "avatar_url": "https://avatars.githubusercontent.com/u/32604730?v=4", "gravatar_id": "", "url": "https://api.github.com/users/techsachinkr", "html_url": "https://github.com/techsachinkr", "followers_url": "https://api.github.c...
[]
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,618
1,622
1,622
NONE
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> I had been using BART model and there i can use model.generate if i am working with checkpoints. However model.generate is not exported when i export the model...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11341/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11341/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/11340
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11340/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11340/comments
https://api.github.com/repos/huggingface/transformers/issues/11340/events
https://github.com/huggingface/transformers/pull/11340
862,927,762
MDExOlB1bGxSZXF1ZXN0NjE5NDE2MjMw
11,340
Remove boiler plate code
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "id": 2934977194, "node_id": "MDU6TGFiZWwyOTM0OTc3MTk0", "url": "https://api.github.com/repos/huggingface/transformers/labels/Flax", "name": "Flax", "color": "4862AD", "default": false, "description": "" } ]
closed
false
null
[]
[]
1,618
1,619
1,619
MEMBER
null
# What does this PR do? In Flax, the logic of every model has to be built purely on a tree of `flax.linen.Module` classes so that the whole model, *e.g.* `FlaxBertForMaskedLMModule`, can automatically be recast as an explicit function. This allows for easy jitting, data parallelism, and model parallelism. However ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11340/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11340/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/11340", "html_url": "https://github.com/huggingface/transformers/pull/11340", "diff_url": "https://github.com/huggingface/transformers/pull/11340.diff", "patch_url": "https://github.com/huggingface/transformers/pull/11340.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/11339
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/11339/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/11339/comments
https://api.github.com/repos/huggingface/transformers/issues/11339/events
https://github.com/huggingface/transformers/issues/11339
862,854,036
MDU6SXNzdWU4NjI4NTQwMzY=
11,339
Perform max_input_tokens truncation with Summarization Pipeline
{ "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/...
[]
closed
false
null
[]
[ "I think the argument you're looking for is `truncation`! Could you try passing `truncation=True` or `truncation=\"longest_first\"` to your pipeline call?", "Hi @LysandreJik this doesn't seem to be working for me. When I call \r\n```\r\nsummarizer = pipeline(\"summarization\", model=model, tokenizer=tokenizer, de...
1,618
1,626
1,620
CONTRIBUTOR
null
# 🚀 Feature request I'd like to be able to set a `max_input_tokens` and configure a `truncation_strategy` in `SummarizationPipeline`. Please let me know if I am missing something that already allows for this! ## Motivation I initialize and call a summarization pipeline as follows ``` model = AutoModelF...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/11339/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/11339/timeline
completed
null
null