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/15363
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15363/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15363/comments
https://api.github.com/repos/huggingface/transformers/issues/15363/events
https://github.com/huggingface/transformers/pull/15363
1,115,971,873
PR_kwDOCUB6oc4xqcyX
15,363
fix bug in run_clm.py
{ "login": "dataaug", "id": 38125327, "node_id": "MDQ6VXNlcjM4MTI1MzI3", "avatar_url": "https://avatars.githubusercontent.com/u/38125327?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dataaug", "html_url": "https://github.com/dataaug", "followers_url": "https://api.github.com/users/dataau...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15363). All of your documentation changes will be reflected on that endpoint.", "May cause errors \"ValueError: expected sequence of length 1024 at dim 1 (got 79)\". This pull request can solve this problem", "This is n...
1,643
1,646
1,646
NONE
null
Sorry I don't have time to follow contributor guideline. group_texts function in transformers/examples/pytorch/language-modeling/run_clm.py will lead to training failure. This is because the possibility that the length of a batch is too small is not considered. I hope this can help some people.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15363/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15363/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15363", "html_url": "https://github.com/huggingface/transformers/pull/15363", "diff_url": "https://github.com/huggingface/transformers/pull/15363.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15363.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15362
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15362/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15362/comments
https://api.github.com/repos/huggingface/transformers/issues/15362/events
https://github.com/huggingface/transformers/issues/15362
1,115,783,903
I_kwDOCUB6oc5CgYLf
15,362
Unexpected shape of "past_key_values" of ProphetNetDecoder.forward()
{ "login": "meguruin", "id": 48850161, "node_id": "MDQ6VXNlcjQ4ODUwMTYx", "avatar_url": "https://avatars.githubusercontent.com/u/48850161?v=4", "gravatar_id": "", "url": "https://api.github.com/users/meguruin", "html_url": "https://github.com/meguruin", "followers_url": "https://api.github.com/users/meg...
[]
closed
false
null
[]
[ "For ONNX related issues, gently pinging @lewtun here", "@patrickvonplaten, thanks.\r\nI think that this issue relates not only using ONNX because it is contradiction between document and actual outputs. ", "Ok, I see so the problem is the documentation here? There might very well be a bug in the documentation....
1,643
1,646
1,646
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.15.0 - Platform: colab - Python version: 3.7.12 - PyTorch version (GPU?): 1.10.0+cu111 - Tensorflow versi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15362/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15362/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15361
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15361/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15361/comments
https://api.github.com/repos/huggingface/transformers/issues/15361/events
https://github.com/huggingface/transformers/pull/15361
1,115,714,437
PR_kwDOCUB6oc4xpnRH
15,361
Set syncfree AdamW as the default optimizer for xla:gpu device in amp mode
{ "login": "ymwangg", "id": 19481308, "node_id": "MDQ6VXNlcjE5NDgxMzA4", "avatar_url": "https://avatars.githubusercontent.com/u/19481308?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ymwangg", "html_url": "https://github.com/ymwangg", "followers_url": "https://api.github.com/users/ymwang...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks a lot for your PR! I think it would be better to be less magical and offer the option of using this optimizer through a new choice (for instance named adamw_syncfree) in the `--optim` parameter instead of changing the default....
1,643
1,643
1,643
CONTRIBUTOR
null
This PR sets the syncfree AdamW ([#3294](https://github.com/pytorch/xla/pull/3294)) as the default optimizer for xla:gpu device in amp mode. The syncfree AdamW optimizer shows 20%+ throughput speedup in the run_mlm test case. Tested with the following script: ```sh GPU_NUM_DEVICES=1 python run_mlm.py \ --mode...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15361/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15361/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15361", "html_url": "https://github.com/huggingface/transformers/pull/15361", "diff_url": "https://github.com/huggingface/transformers/pull/15361.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15361.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15360
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15360/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15360/comments
https://api.github.com/repos/huggingface/transformers/issues/15360/events
https://github.com/huggingface/transformers/pull/15360
1,115,610,309
PR_kwDOCUB6oc4xpR-5
15,360
Add tensor parallelism related mappings
{ "login": "hyunwoongko", "id": 38183241, "node_id": "MDQ6VXNlcjM4MTgzMjQx", "avatar_url": "https://avatars.githubusercontent.com/u/38183241?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hyunwoongko", "html_url": "https://github.com/hyunwoongko", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "In my opinion, this mapping + module replacement is the easiest and the most extensible way to implement tensor parallelism now. That's why we need this mapping. However, I've found there were three models (ProphetNet, BigBird, Squee...
1,643
1,644
1,644
CONTRIBUTOR
null
Discussed in https://github.com/huggingface/transformers/issues/13690 In addition, I also created some helper functions. cc @RezaYazdaniAminabadi @lucasleesw ## Reviewers @stas00 @jaketae @siddk
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15360/reactions", "total_count": 5, "+1": 2, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15360/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15360", "html_url": "https://github.com/huggingface/transformers/pull/15360", "diff_url": "https://github.com/huggingface/transformers/pull/15360.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15360.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15359
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15359/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15359/comments
https://api.github.com/repos/huggingface/transformers/issues/15359/events
https://github.com/huggingface/transformers/issues/15359
1,115,474,662
I_kwDOCUB6oc5CfMrm
15,359
Error when running the T5 pre-training script
{ "login": "hugoabonizio", "id": 1206395, "node_id": "MDQ6VXNlcjEyMDYzOTU=", "avatar_url": "https://avatars.githubusercontent.com/u/1206395?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hugoabonizio", "html_url": "https://github.com/hugoabonizio", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "Hey @hugoabonizio , could you please have a look at:\r\n\r\nhttps://github.com/huggingface/transformers/issues/12755\r\n\r\nI've seen the same issue, my current workaround is to try-catch `data_collator` calls:\r\n\r\n```diff\r\n@@ -813,13 +818,17 @@ def main():\r\n \r\n # Gather the indexes for creating t...
1,643
1,649
1,649
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.15.0 - Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15359/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15359/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15358
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15358/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15358/comments
https://api.github.com/repos/huggingface/transformers/issues/15358/events
https://github.com/huggingface/transformers/issues/15358
1,115,412,313
I_kwDOCUB6oc5Ce9dZ
15,358
Ignored unknown kwarg option direction, while running run_mlm.py (pytorch)
{ "login": "saahiluppal", "id": 47444392, "node_id": "MDQ6VXNlcjQ3NDQ0Mzky", "avatar_url": "https://avatars.githubusercontent.com/u/47444392?v=4", "gravatar_id": "", "url": "https://api.github.com/users/saahiluppal", "html_url": "https://github.com/saahiluppal", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "cc @sgugger ", "Looks like a problem in the tokenizers. What's your version of the Tokenizers library?", "@sgugger\r\ntokenizers version = '0.9.4'", "I think you might need to upgrade it.", "Okay, upgraded tokenizers to 0.11.0.\r\ni can confirm that running run_mlm.py script doesn't throw that error anymor...
1,643
1,652
1,643
NONE
null
transformers_version == '4.16.0.dev0' using script ```run_mlm.py``` (pytorch) with following parameters ``` !python run_mlm.py \ --output_dir "./test-roberta-base" \ --model_type "roberta" \ --config_name "./test-roberta-base" \ --tokenizer_name "./test-roberta-base" \ --train_file "./tra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15358/reactions", "total_count": 5, "+1": 5, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15358/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15357
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15357/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15357/comments
https://api.github.com/repos/huggingface/transformers/issues/15357/events
https://github.com/huggingface/transformers/pull/15357
1,115,379,594
PR_kwDOCUB6oc4xoku4
15,357
WIP Create test_speech_recognition_deepspeed.py
{ "login": "flozi00", "id": 47894090, "node_id": "MDQ6VXNlcjQ3ODk0MDkw", "avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4", "gravatar_id": "", "url": "https://api.github.com/users/flozi00", "html_url": "https://github.com/flozi00", "followers_url": "https://api.github.com/users/flozi0...
[ { "id": 2659267025, "node_id": "MDU6TGFiZWwyNjU5MjY3MDI1", "url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed", "name": "DeepSpeed", "color": "4D34F7", "default": false, "description": "" } ]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15357). All of your documentation changes will be reflected on that endpoint.", "regarding to https://github.com/huggingface/transformers/issues/15330#issuecomment-1021930267", "locally the tests are just getting skipped,...
1,643
1,644
1,644
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/15357/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15357/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15357", "html_url": "https://github.com/huggingface/transformers/pull/15357", "diff_url": "https://github.com/huggingface/transformers/pull/15357.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15357.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15356
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15356/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15356/comments
https://api.github.com/repos/huggingface/transformers/issues/15356/events
https://github.com/huggingface/transformers/pull/15356
1,115,372,109
PR_kwDOCUB6oc4xojJw
15,356
Fix TFLEDModel
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@patrickvonplaten was very involved in those two models, but @Rocketknight1 and @gante may also take a look", "> It looks good to me, as it recovers a pattern lost in the transition and lowers the error. I'm assuming this PR is als...
1,643
1,651
1,643
COLLABORATOR
null
# What does this PR do? The computation of `diagonal_mask` in `TFLEDEncoderSelfAttention`, and `inputs["attention_mask"]` in `TFLEDEncoder` differ from `LEDEncoderSelfAttention` and `LEDEncoder`. This cause the `logits` and `decoder hidden states` differs in the range `1e-5 ~ 5e-5`, and `encoder hidden states` di...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15356/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15356/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15356", "html_url": "https://github.com/huggingface/transformers/pull/15356", "diff_url": "https://github.com/huggingface/transformers/pull/15356.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15356.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15355
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15355/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15355/comments
https://api.github.com/repos/huggingface/transformers/issues/15355/events
https://github.com/huggingface/transformers/pull/15355
1,115,367,393
PR_kwDOCUB6oc4xoiKv
15,355
[docs] post-PR merge fix
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "And thanks again for the proposed improvements, @ngoquanghuy99!" ]
1,643
1,643
1,643
CONTRIBUTOR
null
Reverts incorrect changes merged in https://github.com/huggingface/transformers/pull/15346
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15355/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15355/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15355", "html_url": "https://github.com/huggingface/transformers/pull/15355", "diff_url": "https://github.com/huggingface/transformers/pull/15355.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15355.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15354
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15354/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15354/comments
https://api.github.com/repos/huggingface/transformers/issues/15354/events
https://github.com/huggingface/transformers/issues/15354
1,115,366,508
I_kwDOCUB6oc5CeyRs
15,354
GeneratorExp aren't supported by torch.jit.script when I try to export a previously trained model 'google/vit-base-patch16-224-in21k'.
{ "login": "ssriram1978", "id": 12517415, "node_id": "MDQ6VXNlcjEyNTE3NDE1", "avatar_url": "https://avatars.githubusercontent.com/u/12517415?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ssriram1978", "html_url": "https://github.com/ssriram1978", "followers_url": "https://api.github.com/...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" } ]
open
false
null
[]
[ "Hi,\r\n\r\nThe Vision Transformer currently isn't supported to work with TorchScript (test is disabled [here](https://github.com/huggingface/transformers/blob/c4d1fd77fa52d72b66207c6002d3ec13cc36dca8/tests/test_modeling_vit.py#L157)).\r\n\r\ncc'ing @lewtun who can perhaps assist here to add support for it.", "Th...
1,643
1,696
null
NONE
null
## Environment info - `transformers` version: 4.15.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version (GPU?): 1.10.0+cu111 (True) - Tensorflow version (GPU?): 2.7.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxL...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15354/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15354/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/15353
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15353/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15353/comments
https://api.github.com/repos/huggingface/transformers/issues/15353/events
https://github.com/huggingface/transformers/pull/15353
1,115,355,217
PR_kwDOCUB6oc4xofob
15,353
Fix YosoConfig doc
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? Fixes to the Yoso config documentation.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15353/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15353/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15353", "html_url": "https://github.com/huggingface/transformers/pull/15353", "diff_url": "https://github.com/huggingface/transformers/pull/15353.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15353.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15352
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15352/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15352/comments
https://api.github.com/repos/huggingface/transformers/issues/15352/events
https://github.com/huggingface/transformers/pull/15352
1,115,324,375
PR_kwDOCUB6oc4xoZNm
15,352
Allow relative imports in dynamic code
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? This PR ensures one can use relative imports when defining a module.py (or other kinds of file) living on the Hub. Without this, writing a custom configuration and wanting to use it in a custom model fails, line this [repo](https://huggingface.co/hf-internal-testing/test_dynamic_model). To...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15352/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15352/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15352", "html_url": "https://github.com/huggingface/transformers/pull/15352", "diff_url": "https://github.com/huggingface/transformers/pull/15352.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15352.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15351
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15351/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15351/comments
https://api.github.com/repos/huggingface/transformers/issues/15351/events
https://github.com/huggingface/transformers/pull/15351
1,115,305,834
PR_kwDOCUB6oc4xoVtb
15,351
Fix KerasMetricCallback prediction with generate() and inference of column names
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
MEMBER
null
A number of fixes to the Keras metric callback based on testing with the notebooks. I think I've caught all the implementation differences, and in most cases we can now pass exactly the same `compute_metrics` function to this callback as to `Trainer`. I'm still in the process of overhauling the notebooks, so I might...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15351/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15351/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15351", "html_url": "https://github.com/huggingface/transformers/pull/15351", "diff_url": "https://github.com/huggingface/transformers/pull/15351.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15351.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15350
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15350/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15350/comments
https://api.github.com/repos/huggingface/transformers/issues/15350/events
https://github.com/huggingface/transformers/pull/15350
1,115,300,742
PR_kwDOCUB6oc4xoVFO
15,350
Update doc writing guide
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? This updates the guide for writing documentation to the latest changes.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15350/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15350/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15350", "html_url": "https://github.com/huggingface/transformers/pull/15350", "diff_url": "https://github.com/huggingface/transformers/pull/15350.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15350.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15349
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15349/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15349/comments
https://api.github.com/repos/huggingface/transformers/issues/15349/events
https://github.com/huggingface/transformers/issues/15349
1,115,178,316
I_kwDOCUB6oc5CeEVM
15,349
-
{ "login": "wikman", "id": 14140424, "node_id": "MDQ6VXNlcjE0MTQwNDI0", "avatar_url": "https://avatars.githubusercontent.com/u/14140424?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wikman", "html_url": "https://github.com/wikman", "followers_url": "https://api.github.com/users/wikman/fo...
[]
closed
false
null
[]
[]
1,643
1,643
1,643
NONE
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15349/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15349/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15348
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15348/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15348/comments
https://api.github.com/repos/huggingface/transformers/issues/15348/events
https://github.com/huggingface/transformers/pull/15348
1,115,080,821
PR_kwDOCUB6oc4xnpfk
15,348
Fix 'eval_split_name' described as defaulting to 'train'
{ "login": "FremyCompany", "id": 364405, "node_id": "MDQ6VXNlcjM2NDQwNQ==", "avatar_url": "https://avatars.githubusercontent.com/u/364405?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FremyCompany", "html_url": "https://github.com/FremyCompany", "followers_url": "https://api.github.com/u...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? The default is correct (`test`) but the description is not. ## Before submitting - [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). Cc: @sgugger, @patil-suraj
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15348/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15348/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15348", "html_url": "https://github.com/huggingface/transformers/pull/15348", "diff_url": "https://github.com/huggingface/transformers/pull/15348.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15348.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15347
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15347/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15347/comments
https://api.github.com/repos/huggingface/transformers/issues/15347/events
https://github.com/huggingface/transformers/issues/15347
1,114,989,470
I_kwDOCUB6oc5CdWOe
15,347
A few minor questions regarding run_summarization.py in examples
{ "login": "JJumSSu", "id": 39372342, "node_id": "MDQ6VXNlcjM5MzcyMzQy", "avatar_url": "https://avatars.githubusercontent.com/u/39372342?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JJumSSu", "html_url": "https://github.com/JJumSSu", "followers_url": "https://api.github.com/users/JJumSS...
[]
closed
false
null
[]
[ "Also, what does `task_specific_params `do during running the script `run_summarization.py`?\r\nWhen I am initializing the T5-model, the model configuration includes such parameters.\r\n```\r\n \"task_specific_params\": {\r\n \"summarization\": {\r\n \"early_stopping\": true,\r\n \"length_penalty\": 2....
1,643
1,646
1,646
NONE
null
Hi, thank you for the amazing repo. I'm currently using the script `run_summarization.py` from examples (I'm using ver 4.15.0). When I run the code below, it seems that my trained model is not using beam search during generation. Am I correct? ``` python examples/pytorch/summarization/run_summarization.py \ ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15347/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15347/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15346
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15346/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15346/comments
https://api.github.com/repos/huggingface/transformers/issues/15346/events
https://github.com/huggingface/transformers/pull/15346
1,114,858,665
PR_kwDOCUB6oc4xm6h2
15,346
Fix deepspeed docs
{ "login": "ngoquanghuy99", "id": 36761076, "node_id": "MDQ6VXNlcjM2NzYxMDc2", "avatar_url": "https://avatars.githubusercontent.com/u/36761076?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ngoquanghuy99", "html_url": "https://github.com/ngoquanghuy99", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I'm sorry I overlooked mistakes in those two sentences. It's true those are not fixes, though the first one is not gramatically correct anyway.\r\n\r\nDo as you wish to fix those, I'll make sure to stay very far away form the deepspe...
1,643
1,643
1,643
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/15346/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15346/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15346", "html_url": "https://github.com/huggingface/transformers/pull/15346", "diff_url": "https://github.com/huggingface/transformers/pull/15346.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15346.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15345
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15345/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15345/comments
https://api.github.com/repos/huggingface/transformers/issues/15345/events
https://github.com/huggingface/transformers/issues/15345
1,114,845,918
I_kwDOCUB6oc5CczLe
15,345
DebertaV2 For run_qa.py
{ "login": "yinzhangyue", "id": 40982202, "node_id": "MDQ6VXNlcjQwOTgyMjAy", "avatar_url": "https://avatars.githubusercontent.com/u/40982202?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yinzhangyue", "html_url": "https://github.com/yinzhangyue", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "DebertaV2TokenizerFast is close to being merged. If you look at the code in the PR, you can use it now. https://github.com/huggingface/transformers/pull/14928", "OK! thank you~" ]
1,643
1,643
1,643
NONE
null
## Environment info - `transformers` version: 4.15.0 - Platform: Linux-4.4.0-142-generic-x86_64-with-debian-buster-sid - Python version: 3.7.9 - PyTorch version (GPU?): 1.10.1 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): 0.3.5 (cpu) - Jax version: 0.2.22 - JaxLib versi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15345/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15345/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15344
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15344/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15344/comments
https://api.github.com/repos/huggingface/transformers/issues/15344/events
https://github.com/huggingface/transformers/issues/15344
1,114,844,357
I_kwDOCUB6oc5CcyzF
15,344
wav2vec with LM leads to CPU OOM
{ "login": "olafthiele", "id": 30040326, "node_id": "MDQ6VXNlcjMwMDQwMzI2", "avatar_url": "https://avatars.githubusercontent.com/u/30040326?v=4", "gravatar_id": "", "url": "https://api.github.com/users/olafthiele", "html_url": "https://github.com/olafthiele", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "https://github.com/huggingface/transformers/blob/v4.15.0/src/transformers/models/wav2vec2_with_lm/processing_wav2vec2_with_lm.py#L307\r\n\r\nI believe closing the pool process here should solve the issue !\r\n(`pool.close()`).\r\n\r\nFor maintainer info, I also ran into this issue and it seems a few memory leaks w...
1,643
1,643
1,643
NONE
null
## Environment info I used the code described in the blog post for [wav2vec with LMs](https://huggingface.co/blog/wav2vec2-with-ngram). Also posted this [on the forum](https://discuss.huggingface.co/t/wav2vec-with-new-lm-causing-cpu-oom/14069) and will update both. ### Who can help @patrickvonplaten, @anton-l and ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15344/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15344/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15343
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15343/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15343/comments
https://api.github.com/repos/huggingface/transformers/issues/15343/events
https://github.com/huggingface/transformers/pull/15343
1,114,843,941
PR_kwDOCUB6oc4xm3dg
15,343
Fix `bad_words_ids` not working with sentencepiece-based tokenizers
{ "login": "ngoquanghuy99", "id": 36761076, "node_id": "MDQ6VXNlcjM2NzYxMDc2", "avatar_url": "https://avatars.githubusercontent.com/u/36761076?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ngoquanghuy99", "html_url": "https://github.com/ngoquanghuy99", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hey @ngoquanghuy99, \r\n\r\nThat's a great fix - thanks a lot for diving into this :-) \r\nCould you run `make style` once so that the `check_code_quality` test goes green? " ]
1,643
1,644
1,643
CONTRIBUTOR
null
# What does this PR do? This fixes the problem models using sentencepiece-based tokenizers can not prevent bad words when decoding. For sentencepiece-based tokenizers like T5Tokenizer, when creating `bad_words_ids` from `bad_words`, `add_special_tokens` must be set to False. ## Code to reproduce ```python from ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15343/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15343/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15343", "html_url": "https://github.com/huggingface/transformers/pull/15343", "diff_url": "https://github.com/huggingface/transformers/pull/15343.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15343.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15342
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15342/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15342/comments
https://api.github.com/repos/huggingface/transformers/issues/15342/events
https://github.com/huggingface/transformers/issues/15342
1,114,723,499
I_kwDOCUB6oc5CcVSr
15,342
random word masking index shouble be great than 0
{ "login": "Dicer-Zz", "id": 36105288, "node_id": "MDQ6VXNlcjM2MTA1Mjg4", "avatar_url": "https://avatars.githubusercontent.com/u/36105288?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Dicer-Zz", "html_url": "https://github.com/Dicer-Zz", "followers_url": "https://api.github.com/users/Dic...
[]
closed
false
null
[]
[ "cc @sgugger ", "I don't think there is anything in the research article or the original pretraining code that excludes the pad token from the random words, so I would leave this as is. You can use your own data collator with any modification you want :-)", "This issue has been automatically marked as stale bec...
1,643
1,646
1,646
NONE
null
## Information https://github.com/huggingface/transformers/blob/05fa1a7ac17bb7aa07b9e0c1e138ecb31a28bbfe/src/transformers/data/data_collator.py#L771 This line should be: ```python random_words = torch.randint(1, len(self.tokenizer), labels.shape, dtype=torch.long) ``` because random word masking index should ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15342/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15342/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15341
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15341/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15341/comments
https://api.github.com/repos/huggingface/transformers/issues/15341/events
https://github.com/huggingface/transformers/issues/15341
1,114,664,750
I_kwDOCUB6oc5CcG8u
15,341
ValueError: No valid checkpoint found in output directory
{ "login": "xiaolang01", "id": 44439592, "node_id": "MDQ6VXNlcjQ0NDM5NTky", "avatar_url": "https://avatars.githubusercontent.com/u/44439592?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xiaolang01", "html_url": "https://github.com/xiaolang01", "followers_url": "https://api.github.com/use...
[]
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,643
1,649
1,649
NONE
null
import sys sys.path.append("./NeZha_Chinese_PyTorch-main/") from transformers import BertTokenizer, WEIGHTS_NAME,TrainingArguments from model.modeling_nezha import NeZhaForMaskedLM from model.configuration_nezha import NeZhaConfig from transformers import ( DataCollatorForLanguageModeling, Trainer, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15341/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15341/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15340
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15340/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15340/comments
https://api.github.com/repos/huggingface/transformers/issues/15340/events
https://github.com/huggingface/transformers/issues/15340
1,114,643,788
I_kwDOCUB6oc5CcB1M
15,340
CPU OOM when using IterableDataset with dataloader_num_workers > 0
{ "login": "nghuyong", "id": 16462374, "node_id": "MDQ6VXNlcjE2NDYyMzc0", "avatar_url": "https://avatars.githubusercontent.com/u/16462374?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nghuyong", "html_url": "https://github.com/nghuyong", "followers_url": "https://api.github.com/users/ngh...
[]
closed
false
null
[]
[ "DO NOT USE `from itertools import cycle`", "@Ethan-yt It works👍\r\n\r\n```\r\nclass DemoTrainDataset(IterableDataset):\r\n\r\n def __init__(self, data_file):\r\n super().__init__()\r\n self.data_file = data_file\r\n\r\n def __iter__(self):\r\n while True:\r\n with open(sel...
1,643
1,646
1,646
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.15.0 - Platform: Linux-3.10.107-1-tlinux2_kvm_guest-0049-x86_64-with-glibc2.10 - Python version: 3.8.8 - PyTorch version (GPU?): 1.8.1 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not ins...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15340/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15340/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15339
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15339/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15339/comments
https://api.github.com/repos/huggingface/transformers/issues/15339/events
https://github.com/huggingface/transformers/issues/15339
1,114,595,634
I_kwDOCUB6oc5Cb2Ey
15,339
how can i write tensorboard when i train model with the script "run_speech_recognition_ctc.py"
{ "login": "JucyCherry", "id": 39002675, "node_id": "MDQ6VXNlcjM5MDAyNjc1", "avatar_url": "https://avatars.githubusercontent.com/u/39002675?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JucyCherry", "html_url": "https://github.com/JucyCherry", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hey @JucyCherry,\r\n\r\nThanks for the issue! I think all you need to do is the following:\r\n\r\n1. Install `tensorboard`: https://pypi.org/project/tensorboard/\r\n2. Run training. The Trainer in the `run_speech_recognition_ctc.py` script automatically correctly uses the `tensorboard`.\r\n\r\nYou could try out th...
1,643
1,645
1,645
NONE
null
I found that there was no "outputdir/runs/" directory created during training ,is there any params to write tensorboard? @sgugger @patrickvonplaten @anton-l ## Environment info transformers 4.16.0.dev0
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15339/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15339/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15338
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15338/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15338/comments
https://api.github.com/repos/huggingface/transformers/issues/15338/events
https://github.com/huggingface/transformers/issues/15338
1,114,538,983
I_kwDOCUB6oc5CboPn
15,338
preprocessing_num_workers missing in run_summarization_no_trainer
{ "login": "yananchen1989", "id": 26405281, "node_id": "MDQ6VXNlcjI2NDA1Mjgx", "avatar_url": "https://avatars.githubusercontent.com/u/26405281?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yananchen1989", "html_url": "https://github.com/yananchen1989", "followers_url": "https://api.githu...
[]
closed
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...
[ { "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.git...
[ "Seems like an oversight. Do you want to make a PR to fix this?", "> Seems like an oversight. Do you want to make a PR to fix this?\r\n\r\nSorry, I don't know how to make a PR." ]
1,643
1,643
1,643
NONE
null
Hello, I find that in script: https://github.com/huggingface/transformers/blob/master/examples/pytorch/summarization/run_summarization_no_trainer.py The `preprocessing_num_workers` does not exist. It just appears in the arguments, but does not take effect in dataset map operations. So is it intentionally missing ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15338/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15338/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15337
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15337/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15337/comments
https://api.github.com/repos/huggingface/transformers/issues/15337/events
https://github.com/huggingface/transformers/pull/15337
1,114,538,544
PR_kwDOCUB6oc4xl5I3
15,337
Fix table formatting in SegFormer docs
{ "login": "deppen8", "id": 28818837, "node_id": "MDQ6VXNlcjI4ODE4ODM3", "avatar_url": "https://avatars.githubusercontent.com/u/28818837?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deppen8", "html_url": "https://github.com/deppen8", "followers_url": "https://api.github.com/users/deppen...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? This PR fixes the Markdown table on the main SegFormer doc page. It was missing the line below the header that makes it a valid Markdown table. Fixes #15334 ## Before submitting - [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15337/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15337/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15337", "html_url": "https://github.com/huggingface/transformers/pull/15337", "diff_url": "https://github.com/huggingface/transformers/pull/15337.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15337.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15336
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15336/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15336/comments
https://api.github.com/repos/huggingface/transformers/issues/15336/events
https://github.com/huggingface/transformers/issues/15336
1,114,507,491
I_kwDOCUB6oc5Cbgjj
15,336
Perplexity VERY high but generated text coherent
{ "login": "aqred1", "id": 50919790, "node_id": "MDQ6VXNlcjUwOTE5Nzkw", "avatar_url": "https://avatars.githubusercontent.com/u/50919790?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aqred1", "html_url": "https://github.com/aqred1", "followers_url": "https://api.github.com/users/aqred1/fo...
[]
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://discuss.huggingface.co) instead?\r\n\r\nThanks!", "This issue has been automatically marked as stale because it has not had recent activity. If you think this stil...
1,643
1,646
1,646
NONE
null
I have trained GPT2 from scratch on a minority language which I tokenized with BPE. When I finished training, the perplexity on the eval set was `678.80`, so I thought the model was really bad. I however tried to sample from the model using very different sampling procedures, and finally got very coherent texts ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15336/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15336/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15335
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15335/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15335/comments
https://api.github.com/repos/huggingface/transformers/issues/15335/events
https://github.com/huggingface/transformers/pull/15335
1,114,461,328
PR_kwDOCUB6oc4xlpWc
15,335
Fix code format for Accelerate doc
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
MEMBER
null
This PR fixes the format of externally linked code objects so they don't render like this: ![Screen Shot 2022-01-25 at 1 30 26 PM](https://user-images.githubusercontent.com/59462357/151076016-482c4d6e-473a-44f8-a504-b7ab3e0dacd4.png) Also replaces the side-by-side image with a code block because the image isn't e...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15335/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15335/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15335", "html_url": "https://github.com/huggingface/transformers/pull/15335", "diff_url": "https://github.com/huggingface/transformers/pull/15335.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15335.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15334
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15334/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15334/comments
https://api.github.com/repos/huggingface/transformers/issues/15334/events
https://github.com/huggingface/transformers/issues/15334
1,114,355,384
I_kwDOCUB6oc5Ca7a4
15,334
Documentation for SegFormer includes improperly-formatted table
{ "login": "deppen8", "id": 28818837, "node_id": "MDQ6VXNlcjI4ODE4ODM3", "avatar_url": "https://avatars.githubusercontent.com/u/28818837?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deppen8", "html_url": "https://github.com/deppen8", "followers_url": "https://api.github.com/users/deppen...
[]
closed
false
null
[]
[ "cc @NielsRogge What do you think?", "Hi, I indeed saw that the table needs an update as we updated all docs from rst to markdown.\n\nWould be great if you could open a PR for this! Thanks." ]
1,643
1,643
1,643
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.13.0 - present (4.15.0) @sgugger , this is a documentation issue ## Information The [SegFormer doc page](https://huggingface.co/docs/transformers/model_doc/segformer) has an improperly-formatted table for the different model variants. I think the fix should...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15334/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15334/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15333
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15333/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15333/comments
https://api.github.com/repos/huggingface/transformers/issues/15333/events
https://github.com/huggingface/transformers/issues/15333
1,114,325,179
I_kwDOCUB6oc5Ca0C7
15,333
Fine-tune wave2vec trained checkpoint
{ "login": "Omarnabk", "id": 72882909, "node_id": "MDQ6VXNlcjcyODgyOTA5", "avatar_url": "https://avatars.githubusercontent.com/u/72882909?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Omarnabk", "html_url": "https://github.com/Omarnabk", "followers_url": "https://api.github.com/users/Oma...
[]
closed
false
null
[]
[ "cc @anton-l ", "Hi @Omarnabk! The model is actually pretrained with an unsupervised objective (it never saw the target transcriptions) which is why there are no official pretrained LM heads available :slightly_smiling_face: \r\n\r\nAs far as I can see, you're doing everything correctly, but the audio clips in yo...
1,643
1,646
1,646
NONE
null
The tutorial of wav2vec says that the encoder model was originally trained on the common voice dataset. but all the fine-tuning tasks were trained on datasets from common voice. When fine-tuning wav2vec2 model, we fine-tuning the final linear classification layer only, right? If this is the case, why don't you rele...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15333/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15333/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15332
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15332/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15332/comments
https://api.github.com/repos/huggingface/transformers/issues/15332/events
https://github.com/huggingface/transformers/pull/15332
1,114,302,920
PR_kwDOCUB6oc4xlIL1
15,332
Fix missing eps arg for LayerNorm in ElectraGeneratorPredictions
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thank you for checking all these issues @ydshieh 💯 \r\n\r\nI've seen a few examples where the TF LayerNorm eps is specified and the PT eps is not, merely because PT's default value is assumed (e.g. in BART: [PT example](https://gith...
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? `ElectraGeneratorPredictions` doesn't specify `eps` https://github.com/huggingface/transformers/blob/0501beb84601651bf6a44c5a16ab0e5b98948f78/src/transformers/models/electra/modeling_electra.py#L650 but`TFElectraGeneratorPredictions` does https://github.com/huggingface/transformers/bl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15332/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15332/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15332", "html_url": "https://github.com/huggingface/transformers/pull/15332", "diff_url": "https://github.com/huggingface/transformers/pull/15332.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15332.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15331
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15331/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15331/comments
https://api.github.com/repos/huggingface/transformers/issues/15331/events
https://github.com/huggingface/transformers/issues/15331
1,114,219,961
I_kwDOCUB6oc5CaaW5
15,331
Using HuggingFace Models for Text Translation of sensitive data
{ "login": "prateekralhan", "id": 29462447, "node_id": "MDQ6VXNlcjI5NDYyNDQ3", "avatar_url": "https://avatars.githubusercontent.com/u/29462447?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prateekralhan", "html_url": "https://github.com/prateekralhan", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "You're using the inference API, right? cc @Narsil ", "Hi @prateekralhan ,\r\n\r\nYour demo code doesn't use the API but seems to be using Streamlit, so I guess you envision using Spaces ?\r\n\r\nIf that's the case, I suggest you look a bit more into the API https://api-inference.huggingface.co/docs/python/html/i...
1,643
1,643
1,643
NONE
null
Hello folks, Wish you all a belated happy new year! 🎉 First of all, thanks a ton for creating such transformers which have "transformed" the entire NLP landscape. 🤗 ### Objective 🎯 I am working on developing a web application for performing multilingual translation using mBart and transformers of textual i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15331/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15331/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15330
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15330/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15330/comments
https://api.github.com/repos/huggingface/transformers/issues/15330/events
https://github.com/huggingface/transformers/issues/15330
1,114,192,469
I_kwDOCUB6oc5CaTpV
15,330
Deepspeed Wav2vec xlsr bug
{ "login": "flozi00", "id": 47894090, "node_id": "MDQ6VXNlcjQ3ODk0MDkw", "avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4", "gravatar_id": "", "url": "https://api.github.com/users/flozi00", "html_url": "https://github.com/flozi00", "followers_url": "https://api.github.com/users/flozi0...
[]
closed
false
null
[]
[ "It's very possible the problem is not related to deepspeed as it fails inside `modeling_wav2vec2.py`, but it could be related just as well.\r\n\r\nI don't think any of these newly added scripts were ever tested with Deepspeed, so I have no idea whether it's supposed to work or not. I don't know why the tests weren...
1,643
1,647
1,647
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: master - Platform: ubuntu - Python version: 3.9 - PyTorch version (GPU?): yes - Tensorflow version (GPU?): ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15330/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15330/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15329
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15329/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15329/comments
https://api.github.com/repos/huggingface/transformers/issues/15329/events
https://github.com/huggingface/transformers/pull/15329
1,114,104,234
PR_kwDOCUB6oc4xkeai
15,329
[WIP][Doctests] Fix rst -> mdx
{ "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15329). All of your documentation changes will be reflected on that endpoint.", "@LysandreJik @sgugger, It'd be great if you could take a first look here.\r\n\r\nThere are essentially two things that I'd like to verify/disc...
1,643
1,643
1,643
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/15329/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15329/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15329", "html_url": "https://github.com/huggingface/transformers/pull/15329", "diff_url": "https://github.com/huggingface/transformers/pull/15329.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15329.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15328
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15328/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15328/comments
https://api.github.com/repos/huggingface/transformers/issues/15328/events
https://github.com/huggingface/transformers/pull/15328
1,114,044,873
PR_kwDOCUB6oc4xkR0Q
15,328
improve saving strategy of sentencepiece tokenizer
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? The slow tokenizer based on sentencepiece until now needed to access the original files (like `xxx/spiece.model`) that had been used to initialize them when we wanted to save them. Since the version `0.1.91` of sentencepiece, there is a new method `serialized_model_proto` available which ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15328/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15328/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15328", "html_url": "https://github.com/huggingface/transformers/pull/15328", "diff_url": "https://github.com/huggingface/transformers/pull/15328.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15328.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15327
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15327/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15327/comments
https://api.github.com/repos/huggingface/transformers/issues/15327/events
https://github.com/huggingface/transformers/pull/15327
1,113,999,411
PR_kwDOCUB6oc4xkILJ
15,327
Push to hub save
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I think you're missing the fact that, apart from a push asked explicitly with `trainer.push_to_hub()` (or now `trainer.save_model()`) all other pushes are only done if the previous one is completely finished (see [here](https://githu...
1,643
1,643
1,643
COLLABORATOR
null
# What does this PR do? This PR changes the documentation of the `push_to_hub` training argument to be in sync with the actual behavior, and also makes sure that when `push_to_hub=True`, a push is done every time the model is saved. Fixes #15313
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15327/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/15327/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15327", "html_url": "https://github.com/huggingface/transformers/pull/15327", "diff_url": "https://github.com/huggingface/transformers/pull/15327.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15327.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15326
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15326/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15326/comments
https://api.github.com/repos/huggingface/transformers/issues/15326/events
https://github.com/huggingface/transformers/pull/15326
1,113,998,073
PR_kwDOCUB6oc4xkH5O
15,326
Improve DistilBert attn mask
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15326). All of your documentation changes will be reflected on that endpoint.", "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...
1,643
1,650
1,650
COLLABORATOR
null
# What does this PR do? Current (PT) `DistilBert ` use `-float("inf")` in self attention layer: ``` scores = scores.masked_fill(mask, -float("inf")) # (bs, n_heads, q_length, k_length)` ``` When a sequence contains all 0s as attention mask, this will gives `-inf` and `nan` for `scores` and `weights` respectiv...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15326/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/15326/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15326", "html_url": "https://github.com/huggingface/transformers/pull/15326", "diff_url": "https://github.com/huggingface/transformers/pull/15326.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15326.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15325
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15325/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15325/comments
https://api.github.com/repos/huggingface/transformers/issues/15325/events
https://github.com/huggingface/transformers/issues/15325
1,113,924,649
I_kwDOCUB6oc5CZSQp
15,325
OSError: You seem to have cloned a repository without having git-lfs installed. Please install git-lfs and run `git lfs install` followed by `git lfs pull` in the folder you cloned.
{ "login": "danielbellhv", "id": 84714841, "node_id": "MDQ6VXNlcjg0NzE0ODQx", "avatar_url": "https://avatars.githubusercontent.com/u/84714841?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danielbellhv", "html_url": "https://github.com/danielbellhv", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "I've now **installed and initialised GIT LFS in cloned folder**.\r\n\r\nTerminal:\r\n```\r\nsh-4.2$ git lfs install\r\nGit LFS initialized.\r\nsh-4.2$ git clone https://huggingface.co/textattack/albert-base-v2-MRPC\r\nCloning into 'albert-base-v2-MRPC'...\r\nremote: Enumerating objects: 27, done.\r\nremote: Counti...
1,643
1,643
1,643
NONE
null
Based on [SO post](https://stackoverflow.com/q/70850015/17840900). I'm using Jupyter Labs on AWS SageMaker. Kernel: `conda_pytorch_p36` and did Restart & Run All. I `git cloned` this [repo](https://huggingface.co/textattack/albert-base-v2-MRPC/tree/main). Attempt at installing `git-lfs`: ``` !curl -s http...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15325/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15325/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15324
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15324/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15324/comments
https://api.github.com/repos/huggingface/transformers/issues/15324/events
https://github.com/huggingface/transformers/pull/15324
1,113,912,264
PR_kwDOCUB6oc4xj1xe
15,324
[Tests] Fix test
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? This PR fixes the failing SwinModelIntegrationTest.test_inference_image_classification_head. It also makes sure the appropriate device is used in one of ViLT's integration tests, although this test still fails due to the non-deterministic behaviour of the model. Setting torch.manual_seed(2...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15324/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15324/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15324", "html_url": "https://github.com/huggingface/transformers/pull/15324", "diff_url": "https://github.com/huggingface/transformers/pull/15324.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15324.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15323
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15323/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15323/comments
https://api.github.com/repos/huggingface/transformers/issues/15323/events
https://github.com/huggingface/transformers/issues/15323
1,113,793,418
I_kwDOCUB6oc5CYyOK
15,323
MarianMT models translating valid Chinese sentences to empty string
{ "login": "erip", "id": 2348806, "node_id": "MDQ6VXNlcjIzNDg4MDY=", "avatar_url": "https://avatars.githubusercontent.com/u/2348806?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erip", "html_url": "https://github.com/erip", "followers_url": "https://api.github.com/users/erip/followers", ...
[]
closed
false
null
[]
[ "Hey @erip,\r\n\r\nI can reproduce the problem! To me it seems to be a modeling issue. I've adapted the code snippet a bit so that we can see the actual tokens that are generated well:\r\n\r\n```python\r\nfrom transformers import AutoTokenizer, AutoModelForSeq2SeqLM\r\n\r\nfrom tqdm import tqdm\r\n\r\ndef chunk(it,...
1,643
1,668
1,646
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.15.0 - Platform: Linux-3.10.0-1160.53.1.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.8.12 - PyTorc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15323/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15323/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15322
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15322/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15322/comments
https://api.github.com/repos/huggingface/transformers/issues/15322/events
https://github.com/huggingface/transformers/issues/15322
1,113,639,935
I_kwDOCUB6oc5CYMv_
15,322
modeling_visual_bert in case of self.bypass_transformer=True
{ "login": "osamanatouf2", "id": 70172406, "node_id": "MDQ6VXNlcjcwMTcyNDA2", "avatar_url": "https://avatars.githubusercontent.com/u/70172406?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osamanatouf2", "html_url": "https://github.com/osamanatouf2", "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,643
1,646
1,646
NONE
null
https://github.com/huggingface/transformers/blob/05fa1a7ac17bb7aa07b9e0c1e138ecb31a28bbfe/src/transformers/models/visual_bert/modeling_visual_bert.py#L830 The previous line should be changed from encoded_output --> encoder_outputs so that the return statement on line 861 works. Also, the following line https://github.c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15322/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15322/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15321
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15321/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15321/comments
https://api.github.com/repos/huggingface/transformers/issues/15321/events
https://github.com/huggingface/transformers/pull/15321
1,113,626,341
PR_kwDOCUB6oc4xi6rn
15,321
[Do not merge] Chase more pt tf inconsistency
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15321). All of your documentation changes will be reflected on that endpoint.", "In terms of running time\r\n\r\n- Circle CI\r\n - current : [56.11s](https://circleci.com/api/v1.1/project/github/huggingface/transformers/38...
1,643
1,651
1,650
COLLABORATOR
null
# What does this PR do?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15321/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15321/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15321", "html_url": "https://github.com/huggingface/transformers/pull/15321", "diff_url": "https://github.com/huggingface/transformers/pull/15321.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15321.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15320
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15320/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15320/comments
https://api.github.com/repos/huggingface/transformers/issues/15320/events
https://github.com/huggingface/transformers/pull/15320
1,113,566,894
PR_kwDOCUB6oc4xivNw
15,320
Fix `bad_word_ids` not working with sentencepiece-based tokenizers
{ "login": "ngoquanghuy99", "id": 36761076, "node_id": "MDQ6VXNlcjM2NzYxMDc2", "avatar_url": "https://avatars.githubusercontent.com/u/36761076?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ngoquanghuy99", "html_url": "https://github.com/ngoquanghuy99", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15320). All of your documentation changes will be reflected on that endpoint." ]
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? This fixes the problem models using sentencepiece-based tokenizers can not prevent bad words when decoding. For sentencepiece-based tokenizers like T5Tokenizer, when creating `bad_words_ids` from `bad_words`, `add_special_tokens` must be set to False. ## Code to reproduce ```python from ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15320/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15320/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15320", "html_url": "https://github.com/huggingface/transformers/pull/15320", "diff_url": "https://github.com/huggingface/transformers/pull/15320.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15320.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15319
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15319/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15319/comments
https://api.github.com/repos/huggingface/transformers/issues/15319/events
https://github.com/huggingface/transformers/pull/15319
1,113,004,301
PR_kwDOCUB6oc4xg6Bv
15,319
fix the `tokenizer_config.json` file for the slow tokenizer when a fast version is available
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thank you so much for your review @sgugger !\r\n\r\nCould you tell me more about why \"I'm not entirely sure we should remove the filed from the global variables XXX_VOCAB_FILES_MAP as it would be breaking\", I'm afraid I'm missing s...
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? Following the diagnosis discussed and validated in the issue #15283, this PR proposes to modify `PreTrainedTokenizerBase` so that the `tokenizer_file` is no longer retrieved if the calling tokenizer class is of a slow type. This PR also contains different changes: - remove the key `"token...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15319/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15319/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15319", "html_url": "https://github.com/huggingface/transformers/pull/15319", "diff_url": "https://github.com/huggingface/transformers/pull/15319.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15319.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15318
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15318/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15318/comments
https://api.github.com/repos/huggingface/transformers/issues/15318/events
https://github.com/huggingface/transformers/pull/15318
1,112,996,429
PR_kwDOCUB6oc4xg4ZR
15,318
Fixing support `batch_size` and `num_return_Sequences` in `text-generation` pipeline
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Friendly ping @LysandreJik " ]
1,643
1,698
1,643
CONTRIBUTOR
null
# What does this PR do? And `text2text-generation` too. The bug was caused by the batch_size containing both the incoming batch **and** the generated `num_sequences`. The fix simply consists into splitting both of these again into different dimensions. <!-- Congratulations! You've made it this far! You'r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15318/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15318/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15318", "html_url": "https://github.com/huggingface/transformers/pull/15318", "diff_url": "https://github.com/huggingface/transformers/pull/15318.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15318.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15316
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15316/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15316/comments
https://api.github.com/repos/huggingface/transformers/issues/15316/events
https://github.com/huggingface/transformers/issues/15316
1,112,788,317
I_kwDOCUB6oc5CU81d
15,316
GPT-Neo batch inferencing with sampling results unexpected output
{ "login": "callzhang", "id": 5102827, "node_id": "MDQ6VXNlcjUxMDI4Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/5102827?v=4", "gravatar_id": "", "url": "https://api.github.com/users/callzhang", "html_url": "https://github.com/callzhang", "followers_url": "https://api.github.com/users/ca...
[]
closed
false
null
[]
[ "Hi @callzhang you are perfectly correct.\r\n\r\nThis issue is related to both arguments not working nice with each other, I created a PR to add 2 tests for both `text-generation` and `text2text-generation` pipelines (both were affected).\r\n\r\nThanks for reporting this ! ", "@Narsil Thanks for the prompt reply ...
1,643
1,645
1,643
NONE
null
## Environment info - `transformers` version: 4.13.0 - Platform: Linux-5.4.0-96-generic-x86_64-with-glibc2.17 - Python version: 3.8.11 - PyTorch version (GPU?): 1.9.0+cu111 (True) - Tensorflow version (GPU?): 2.7.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15316/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15316/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15315
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15315/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15315/comments
https://api.github.com/repos/huggingface/transformers/issues/15315/events
https://github.com/huggingface/transformers/pull/15315
1,112,741,386
PR_kwDOCUB6oc4xgCtK
15,315
[WIP] Add Maskformer to the library
{ "login": "FrancescoSaverioZuppichini", "id": 15908060, "node_id": "MDQ6VXNlcjE1OTA4MDYw", "avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FrancescoSaverioZuppichini", "html_url": "https://github.com/FrancescoSaverioZuppichini"...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,645
1,645
CONTRIBUTOR
null
This WIP PR adds [MaskFormer](https://arxiv.org/abs/2107.06278) a new model for any segmentation task. This model ranks [on the top 10 of almost every task](https://paperswithcode.com/paper/per-pixel-classification-is-not-all-you-need) A total of 8 pre-trained checkpoints will be available, which are the checkpoin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15315/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/15315/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15315", "html_url": "https://github.com/huggingface/transformers/pull/15315", "diff_url": "https://github.com/huggingface/transformers/pull/15315.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15315.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15314
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15314/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15314/comments
https://api.github.com/repos/huggingface/transformers/issues/15314/events
https://github.com/huggingface/transformers/pull/15314
1,112,702,031
PR_kwDOCUB6oc4xf6XA
15,314
[LayoutLMV2 Tests] Make sure input is on GPU
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
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/15314/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15314/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15314", "html_url": "https://github.com/huggingface/transformers/pull/15314", "diff_url": "https://github.com/huggingface/transformers/pull/15314.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15314.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15313
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15313/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15313/comments
https://api.github.com/repos/huggingface/transformers/issues/15313/events
https://github.com/huggingface/transformers/issues/15313
1,112,674,157
I_kwDOCUB6oc5CUg9t
15,313
Push to hub training argument not pushing
{ "login": "osanseviero", "id": 7246357, "node_id": "MDQ6VXNlcjcyNDYzNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osanseviero", "html_url": "https://github.com/osanseviero", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "That's not the API that was decided. `push_to_hub=True` pushes to the Hub at every save, and you did not pick a `saving_strategy` that triggered a save (it defaults to `\"steps\"` and there were not enough steps in your training), but it does not push to the Hub at the end of training unless you explicitly asks fo...
1,643
1,662
1,643
MEMBER
null
## Environment info - `transformers` version: 4.15.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version (GPU?): 1.10.0+cu111 (True) - Tensorflow version (GPU?): 2.7.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - Ja...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15313/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15313/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15312
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15312/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15312/comments
https://api.github.com/repos/huggingface/transformers/issues/15312/events
https://github.com/huggingface/transformers/pull/15312
1,112,616,414
PR_kwDOCUB6oc4xfoFi
15,312
Replace NystromformerTokenizer with AutoTokenizer
{ "login": "novice03", "id": 44259234, "node_id": "MDQ6VXNlcjQ0MjU5MjM0", "avatar_url": "https://avatars.githubusercontent.com/u/44259234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/novice03", "html_url": "https://github.com/novice03", "followers_url": "https://api.github.com/users/nov...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? This PR replaces `NystromformerTokenizer` with `AutoTokenizer` in `modeling_nystromformer.py` since `NystromformerTokenizer` does not exist. ## Who can review? @NielsRogge
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15312/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15312/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15312", "html_url": "https://github.com/huggingface/transformers/pull/15312", "diff_url": "https://github.com/huggingface/transformers/pull/15312.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15312.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15311
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15311/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15311/comments
https://api.github.com/repos/huggingface/transformers/issues/15311/events
https://github.com/huggingface/transformers/issues/15311
1,112,515,249
I_kwDOCUB6oc5CT6Kx
15,311
Decoding with Wav2Vec2 with Language Model
{ "login": "ypirkani", "id": 42676982, "node_id": "MDQ6VXNlcjQyNjc2OTgy", "avatar_url": "https://avatars.githubusercontent.com/u/42676982?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ypirkani", "html_url": "https://github.com/ypirkani", "followers_url": "https://api.github.com/users/ypi...
[]
closed
false
null
[]
[ "Have you checked that you are using the same vocabulary for both and what code are you using for inference?", "> Have you checked that you are using the same vocabulary for both and what code are you using for inference?\r\n\r\nHi olafthiele,\r\n\r\nI am making my arpa file from the same text I am using for trai...
1,643
1,643
1,643
NONE
null
Dear All, I am trying to decode a model with a Language Model: I made a LM using KenLM from the method provided at : https://huggingface.co/blog/wav2vec2-with-ngram When decoding, I am getting the following error: ValueError: Input logits of size 586, but vocabulary is size 44 An brief Introduction: I ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15311/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15311/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15310
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15310/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15310/comments
https://api.github.com/repos/huggingface/transformers/issues/15310/events
https://github.com/huggingface/transformers/pull/15310
1,112,464,847
PR_kwDOCUB6oc4xfHx2
15,310
Update eval.py
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
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/15310/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15310/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15310", "html_url": "https://github.com/huggingface/transformers/pull/15310", "diff_url": "https://github.com/huggingface/transformers/pull/15310.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15310.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15309
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15309/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15309/comments
https://api.github.com/repos/huggingface/transformers/issues/15309/events
https://github.com/huggingface/transformers/pull/15309
1,112,440,237
PR_kwDOCUB6oc4xfCg-
15,309
Add ASR CTC streaming example
{ "login": "anton-l", "id": 26864830, "node_id": "MDQ6VXNlcjI2ODY0ODMw", "avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anton-l", "html_url": "https://github.com/anton-l", "followers_url": "https://api.github.com/users/anton-...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "One thing left to add: support for infinite streaming if we reach the end of the dataset, so that `Trainer` doesn't stop until `max_steps` is reached.\r\nReference: https://github.com/huggingface/transformers/blob/48bf7e47a01f310ca8e...
1,643
1,644
1,644
MEMBER
null
# What does this PR do? This enables the use of streamable datasets to fine-tune CTC models. Example args: ``` --dataset_name="common_voice" --model_name_or_path="ntu-spml/distilhubert" --tokenizer_name_or_path="infinitejoy/wav2vec2-large-xls-r-300m-abkhaz" --dataset_config_name="ab" --output_dir="./dummy_ctc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15309/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/15309/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15309", "html_url": "https://github.com/huggingface/transformers/pull/15309", "diff_url": "https://github.com/huggingface/transformers/pull/15309.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15309.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15308
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15308/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15308/comments
https://api.github.com/repos/huggingface/transformers/issues/15308/events
https://github.com/huggingface/transformers/issues/15308
1,112,414,381
I_kwDOCUB6oc5CThit
15,308
Minimal model for writing tests.
{ "login": "pafi-code", "id": 69895152, "node_id": "MDQ6VXNlcjY5ODk1MTUy", "avatar_url": "https://avatars.githubusercontent.com/u/69895152?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pafi-code", "html_url": "https://github.com/pafi-code", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Do the models available on https://huggingface.co/hf-internal-testing fit your use-case? That's what we use internally for our testing with dummy models.\r\n\r\nThese are randomly instantiated, however. They should only be used for mock testing.", "Thanks, this is exactly what I was looking for! Are these not me...
1,643
1,698
1,643
NONE
null
# 🚀 Feature request Add minimal models that satisfy different transformers interfaces. ## Motivation I'd like to write some tests for a project that uses the transformers package in the background. To test my functionality I somehow need to use a transformers model (or a mock). However typically the models th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15308/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15308/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15307
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15307/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15307/comments
https://api.github.com/repos/huggingface/transformers/issues/15307/events
https://github.com/huggingface/transformers/issues/15307
1,112,412,573
I_kwDOCUB6oc5CThGd
15,307
Robust Speech Challenge Evaluation File does not use entire dataset for metric calculation
{ "login": "anuragshas", "id": 17764207, "node_id": "MDQ6VXNlcjE3NzY0MjA3", "avatar_url": "https://avatars.githubusercontent.com/u/17764207?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anuragshas", "html_url": "https://github.com/anuragshas", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Thanks a lot for opening this issue @anuragshas! Indeed one should comment out this line when evaluating the model actually on the full dataset! I've left it here so that one can easily test the script. Will comment it out on master now :-)" ]
1,643
1,643
1,643
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.15.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15307/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15307/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15306
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15306/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15306/comments
https://api.github.com/repos/huggingface/transformers/issues/15306/events
https://github.com/huggingface/transformers/pull/15306
1,112,381,789
PR_kwDOCUB6oc4xe2WB
15,306
Remove old debug code leftover.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,643
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? Remove old debug code leftover. <!-- 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. Th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15306/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15306/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15306", "html_url": "https://github.com/huggingface/transformers/pull/15306", "diff_url": "https://github.com/huggingface/transformers/pull/15306.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15306.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15303
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15303/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15303/comments
https://api.github.com/repos/huggingface/transformers/issues/15303/events
https://github.com/huggingface/transformers/issues/15303
1,111,961,511
I_kwDOCUB6oc5CRy-n
15,303
Nan when training LayoutLM_V2 Model
{ "login": "Asocsar", "id": 44205390, "node_id": "MDQ6VXNlcjQ0MjA1Mzkw", "avatar_url": "https://avatars.githubusercontent.com/u/44205390?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Asocsar", "html_url": "https://github.com/Asocsar", "followers_url": "https://api.github.com/users/Asocsa...
[]
closed
false
null
[]
[ "Hi @Asocsar,\r\n\r\nFor training-related questions, can you use the [forum](https://discuss.huggingface.co/)?\r\n\r\nI'm suspecting this has to do with the custom loss function being defined, rather than the model itself.\r\n\r\nThanks!", "This issue has been automatically marked as stale because it has not had ...
1,642
1,646
1,646
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.13.0 - Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15303/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15303/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15302
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15302/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15302/comments
https://api.github.com/repos/huggingface/transformers/issues/15302/events
https://github.com/huggingface/transformers/issues/15302
1,111,936,829
I_kwDOCUB6oc5CRs89
15,302
RuntimeError: Expected tensor for argument #1 'indices' to have one of the following scalar types: Long, Int; but got torch.cuda.FloatTensor instead (while checking arguments for embedding)
{ "login": "neeraj1909", "id": 20766288, "node_id": "MDQ6VXNlcjIwNzY2Mjg4", "avatar_url": "https://avatars.githubusercontent.com/u/20766288?v=4", "gravatar_id": "", "url": "https://api.github.com/users/neeraj1909", "html_url": "https://github.com/neeraj1909", "followers_url": "https://api.github.com/use...
[]
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,642
1,659
1,646
NONE
null
## Environment info - `transformers` version: 4.12.5 - Platform: Linux-5.10.90+-x86_64-with-debian-bullseye-sid - Python version: 3.7.12 - PyTorch version (GPU?): 1.9.1 (True) - Tensorflow version (GPU?): 2.6.2 (True) - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No ### Who ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15302/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/15302/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15301
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15301/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15301/comments
https://api.github.com/repos/huggingface/transformers/issues/15301/events
https://github.com/huggingface/transformers/issues/15301
1,111,932,881
I_kwDOCUB6oc5CRr_R
15,301
Getting error while saving model
{ "login": "avmodi", "id": 30557528, "node_id": "MDQ6VXNlcjMwNTU3NTI4", "avatar_url": "https://avatars.githubusercontent.com/u/30557528?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avmodi", "html_url": "https://github.com/avmodi", "followers_url": "https://api.github.com/users/avmodi/fo...
[]
closed
false
null
[]
[ "The error comes from the value you have in `args.sharded_ddp` where `args` is your `MultiModalTrainingArguments` object. Since you did not share the code of that class, there is little we can do to help fix the issue.\r\n\r\nAlso, please use the [forums](https://discuss.huggingface.co/) to debug your code as we ke...
1,642
1,646
1,646
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 - Python version : 3.6 - PyTorch version (GPU?): gpu - Tensorflow version (GPU?): ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15301/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15301/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15300
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15300/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15300/comments
https://api.github.com/repos/huggingface/transformers/issues/15300/events
https://github.com/huggingface/transformers/pull/15300
1,111,923,451
PR_kwDOCUB6oc4xdZGk
15,300
Added missing code in exemplary notebook - custom datasets fine-tuning
{ "login": "Pawloch247", "id": 56093010, "node_id": "MDQ6VXNlcjU2MDkzMDEw", "avatar_url": "https://avatars.githubusercontent.com/u/56093010?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Pawloch247", "html_url": "https://github.com/Pawloch247", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I don't understand what you mean, the notebook has the same code as the example: they are automatically synced at each merge in the Transformers repo.", "You're right. I pasted the wrong link so the comparison made no sense. The li...
1,642
1,643
1,643
CONTRIBUTOR
null
# What does this PR do? Added missing code in tokenize_and_align_labels function in the exemplary notebook on custom datasets - token classification. The missing code concerns adding labels for all but the first token in a single word. The added code was taken directly from huggingface official example - this [col...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15300/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15300/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15300", "html_url": "https://github.com/huggingface/transformers/pull/15300", "diff_url": "https://github.com/huggingface/transformers/pull/15300.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15300.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15299
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15299/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15299/comments
https://api.github.com/repos/huggingface/transformers/issues/15299/events
https://github.com/huggingface/transformers/pull/15299
1,111,847,711
PR_kwDOCUB6oc4xdK_5
15,299
[WIP] Positive Constraint Decoding PR #1
{ "login": "cwkeam", "id": 8522953, "node_id": "MDQ6VXNlcjg1MjI5NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/8522953?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cwkeam", "html_url": "https://github.com/cwkeam", "followers_url": "https://api.github.com/users/cwkeam/foll...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@patrickvonplaten Sorry for the confusion but I've closed this one and opened a new PR from a new branch with a lot more updates here #15416. Safe to leave this closed." ]
1,642
1,643
1,643
CONTRIBUTOR
null
# Disjunctive Positive Constraint Decoding @patrickvonplaten @LysandreJik @sgugger @patil-suraj @yjernite @thomwolf Fixes #14081. I apologize if this isn't a proper way to deal with feature contributions, but this is an **incomplete PR request**. I simply thought this was a good place to check-in and checkpo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15299/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15299/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15299", "html_url": "https://github.com/huggingface/transformers/pull/15299", "diff_url": "https://github.com/huggingface/transformers/pull/15299.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15299.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15298
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15298/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15298/comments
https://api.github.com/repos/huggingface/transformers/issues/15298/events
https://github.com/huggingface/transformers/pull/15298
1,111,831,034
PR_kwDOCUB6oc4xdH5f
15,298
Fix the inconsistency of loss calculation between PT/TF XLNetLMHeadModel
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Could @Rocketknight1 or @gante give this a quick look?", "This looks good! Should it be folded into PR #15256 though, or do you think it's better separate?", "> This looks good! Should it be folded into PR #15256 though, or do yo...
1,642
1,651
1,643
COLLABORATOR
null
# What does this PR do? The loss calculation in `XLNetLMHeadModel` doesn't cut the logits/labels (unlike other models say `BertLMHeadModel`). However, `TFXLNetLMHeadModel` works as other TF Causal LM models, and cut the logits. This causes the loss difference higher than `4e-2` sometimes. I believe `XLNet` work...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15298/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15298/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15298", "html_url": "https://github.com/huggingface/transformers/pull/15298", "diff_url": "https://github.com/huggingface/transformers/pull/15298.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15298.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15297
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15297/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15297/comments
https://api.github.com/repos/huggingface/transformers/issues/15297/events
https://github.com/huggingface/transformers/pull/15297
1,111,824,123
PR_kwDOCUB6oc4xdGn3
15,297
Fix and improve REALM fine-tuning
{ "login": "qqaatw", "id": 24835382, "node_id": "MDQ6VXNlcjI0ODM1Mzgy", "avatar_url": "https://avatars.githubusercontent.com/u/24835382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qqaatw", "html_url": "https://github.com/qqaatw", "followers_url": "https://api.github.com/users/qqaatw/fo...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15297). All of your documentation changes will be reflected on that endpoint.", "@patrickvonplaten - The inference time of NQ evaluation dataset is `8:25` when `block_emb` is on GPU, while the inference time is `21:07` when...
1,642
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? This PR 1. adds `block_embedding_to` function to `RealmForOpenQA`, which allows users to send `block_emb` variable to a specific device. 3. adds an input argument `block_mask` for reader that replaces previous used `token_type_ids` as the candidate mask. As a result, the reader logits at ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15297/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15297/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15297", "html_url": "https://github.com/huggingface/transformers/pull/15297", "diff_url": "https://github.com/huggingface/transformers/pull/15297.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15297.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15296
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15296/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15296/comments
https://api.github.com/repos/huggingface/transformers/issues/15296/events
https://github.com/huggingface/transformers/issues/15296
1,111,816,893
I_kwDOCUB6oc5CRPq9
15,296
Question: how to evaluate word similarity with context?
{ "login": "JanSawicki", "id": 29917202, "node_id": "MDQ6VXNlcjI5OTE3MjAy", "avatar_url": "https://avatars.githubusercontent.com/u/29917202?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JanSawicki", "html_url": "https://github.com/JanSawicki", "followers_url": "https://api.github.com/use...
[]
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://discuss.huggingface.co) as well?\r\n\r\nThanks!", "This issue has been automatically marked as stale because it has not had recent activity. If you think this stil...
1,642
1,646
1,646
NONE
null
## ❓ Questions & Help Hello, I am trying to evaluate **word similarity** (particularly named entities). Example: `I flew to Paris last month.` `I met a famous celebrity, Paris Hilton.` Most named entity recognition models (e.g. the default `pipeline('ner')`) will return `Paris` and `Paris Hilton` as named...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15296/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15296/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15295
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15295/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15295/comments
https://api.github.com/repos/huggingface/transformers/issues/15295/events
https://github.com/huggingface/transformers/pull/15295
1,111,745,841
PR_kwDOCUB6oc4xc4OS
15,295
feat(flax): leave restored weights on CPU
{ "login": "borisdayma", "id": 715491, "node_id": "MDQ6VXNlcjcxNTQ5MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/borisdayma", "html_url": "https://github.com/borisdayma", "followers_url": "https://api.github.com/users/b...
[ { "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15295). All of your documentation changes will be reflected on that endpoint.", "Thanks @borisdayma,\r\n\r\nThis looks good to me! @patil-suraj - could you take a look? :-)", "Yeah maybe we can have a `load_on_cpu` argume...
1,642
1,648
null
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/15295/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15295/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15295", "html_url": "https://github.com/huggingface/transformers/pull/15295", "diff_url": "https://github.com/huggingface/transformers/pull/15295.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15295.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15294
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15294/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15294/comments
https://api.github.com/repos/huggingface/transformers/issues/15294/events
https://github.com/huggingface/transformers/pull/15294
1,111,600,134
PR_kwDOCUB6oc4xcbj5
15,294
Fix loss calculation in TFXXXForTokenClassification models
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> I think in this instance it's the PyTorch model that is incorrect, and it should use the -100s in the labels instead of the attention mask to determine the logits/labels to ignore.\r\n\r\nI have the same thought on the role/respons...
1,642
1,651
1,643
COLLABORATOR
null
# What does this PR do? The current loss calculation in `TFFunnelForTokenClassification` (and other TF token classification models) don't align with the loss in `FunnelForTokenClassification` TF https://github.com/huggingface/transformers/blob/6ac77534bfe97c00e0127bb4fc846ae0faf1c9c5/src/transformers/models/funn...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15294/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15294/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15294", "html_url": "https://github.com/huggingface/transformers/pull/15294", "diff_url": "https://github.com/huggingface/transformers/pull/15294.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15294.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15293
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15293/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15293/comments
https://api.github.com/repos/huggingface/transformers/issues/15293/events
https://github.com/huggingface/transformers/pull/15293
1,111,578,052
PR_kwDOCUB6oc4xcXSl
15,293
remove references to PDF reading via PIL
{ "login": "garfieldnate", "id": 778453, "node_id": "MDQ6VXNlcjc3ODQ1Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/778453?v=4", "gravatar_id": "", "url": "https://api.github.com/users/garfieldnate", "html_url": "https://github.com/garfieldnate", "followers_url": "https://api.github.com/u...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15293). All of your documentation changes will be reflected on that endpoint.", "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...
1,642
1,648
1,648
CONTRIBUTOR
null
As stated in the PIL documentation [here](https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html?highlight=pdf#write-only-formats), it can only write PDF's, not read them. Remove references to reading PDF's via PIL from this page to avoid confusion. ## Before submitting - [X] This PR fixes a ty...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15293/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15293/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15293", "html_url": "https://github.com/huggingface/transformers/pull/15293", "diff_url": "https://github.com/huggingface/transformers/pull/15293.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15293.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15292
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15292/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15292/comments
https://api.github.com/repos/huggingface/transformers/issues/15292/events
https://github.com/huggingface/transformers/issues/15292
1,111,352,821
I_kwDOCUB6oc5CPeX1
15,292
Padding idx in modeling RoBERTa
{ "login": "AlexUmnov", "id": 17798528, "node_id": "MDQ6VXNlcjE3Nzk4NTI4", "avatar_url": "https://avatars.githubusercontent.com/u/17798528?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AlexUmnov", "html_url": "https://github.com/AlexUmnov", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nNot sure what you mean. If we provide a sentence like \"hello world\" to RoBERTa that we pad up to a certain length:\r\n\r\n```\r\nfrom transformers import AutoTokenizer\r\n\r\ntokenizer = AutoTokenizer.from_pretrained(\"roberta-base\")\r\n\r\ntext = \"hello world\"\r\n\r\nencoding = tokenizer(text, pad...
1,642
1,702
1,643
NONE
null
There's a padding_idx for positional embeddings in RoBERTa https://github.com/huggingface/transformers/blob/master/src/transformers/models/roberta/modeling_roberta.py#L98 ``` self.position_embeddings = nn.Embedding( config.max_position_embeddings, config.hidden_size, padding_idx=self.padding_id...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15292/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15292/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15291
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15291/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15291/comments
https://api.github.com/repos/huggingface/transformers/issues/15291/events
https://github.com/huggingface/transformers/pull/15291
1,111,313,451
PR_kwDOCUB6oc4xbb1U
15,291
[Fix doc example] fix missing import jnp
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,651
1,643
COLLABORATOR
null
# What does this PR do? Some doc examples in Flax models miss `import jax.numpy as jnp` (including the flax template). This PR fixes it.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15291/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15291/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15291", "html_url": "https://github.com/huggingface/transformers/pull/15291", "diff_url": "https://github.com/huggingface/transformers/pull/15291.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15291.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15290
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15290/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15290/comments
https://api.github.com/repos/huggingface/transformers/issues/15290/events
https://github.com/huggingface/transformers/pull/15290
1,111,297,379
PR_kwDOCUB6oc4xbYY9
15,290
Update CONTRIBUTING.md
{ "login": "kamalkraj", "id": 17096858, "node_id": "MDQ6VXNlcjE3MDk2ODU4", "avatar_url": "https://avatars.githubusercontent.com/u/17096858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kamalkraj", "html_url": "https://github.com/kamalkraj", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,643
1,643
CONTRIBUTOR
null
Fix typo in doc # 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, pl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15290/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15290/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15290", "html_url": "https://github.com/huggingface/transformers/pull/15290", "diff_url": "https://github.com/huggingface/transformers/pull/15290.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15290.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15289
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15289/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15289/comments
https://api.github.com/repos/huggingface/transformers/issues/15289/events
https://github.com/huggingface/transformers/issues/15289
1,111,016,859
I_kwDOCUB6oc5COMWb
15,289
TrOCR small processors are all broken
{ "login": "samwarren", "id": 8602174, "node_id": "MDQ6VXNlcjg2MDIxNzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/8602174?v=4", "gravatar_id": "", "url": "https://api.github.com/users/samwarren", "html_url": "https://github.com/samwarren", "followers_url": "https://api.github.com/users/sa...
[]
closed
false
null
[]
[ "See Issue #14893. You'll have to pip install from the GitHub source: `pip install transformers git+https://github.com/huggingface/transformers.git` to get working small trocr transformers. ", "working now, thank you!", "Closing, since this has been fixed (the small TrOCR models are only supported since the PR ...
1,642
1,643
1,643
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.15.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.9.7 - PyTorch version (GPU?): 1.10.0 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15289/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15289/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15288
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15288/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15288/comments
https://api.github.com/repos/huggingface/transformers/issues/15288/events
https://github.com/huggingface/transformers/pull/15288
1,110,988,577
PR_kwDOCUB6oc4xaTn3
15,288
Update model share tutorial
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "yes i would advocate to include using the web interface to share models" ]
1,642
1,643
1,643
MEMBER
null
First draft of the updated model sharing tutorial. Main updates include: - Suggest converting a model to other frameworks before uploading it to the Hub. - Advocate for `push_to_hub` as best practice for uploading files to the Hub. Most notably, the `transformers-cli` method has been removed. Would love your though...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15288/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15288/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15288", "html_url": "https://github.com/huggingface/transformers/pull/15288", "diff_url": "https://github.com/huggingface/transformers/pull/15288.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15288.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15287
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15287/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15287/comments
https://api.github.com/repos/huggingface/transformers/issues/15287/events
https://github.com/huggingface/transformers/pull/15287
1,110,950,250
PR_kwDOCUB6oc4xaLxb
15,287
Avoid using get_list_of_files
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "We can definitely port it in a PR to `huggingface_hub`. I would leave it in this PR for now and wait for a release on `huggingface_hub` to replace it by the one there." ]
1,642
1,643
1,643
COLLABORATOR
null
# What does this PR do? This PR removes all uses of `get_list_of_files` which uses a non-optimized call on the Hub, to only rely on the API to get files (which is better optimized). It should make the general `from_pretrained` APIs much more stable (cc @julien-c ). To refactor some of the code we often get to jus...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15287/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15287/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15287", "html_url": "https://github.com/huggingface/transformers/pull/15287", "diff_url": "https://github.com/huggingface/transformers/pull/15287.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15287.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15286
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15286/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15286/comments
https://api.github.com/repos/huggingface/transformers/issues/15286/events
https://github.com/huggingface/transformers/pull/15286
1,110,841,676
PR_kwDOCUB6oc4xZzWa
15,286
Fix a typo in tag addition
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,643
1,643
COLLABORATOR
null
# What does this PR do? This PR fixes a typo in the tag addition for the Keras Callback.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15286/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/15286/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15286", "html_url": "https://github.com/huggingface/transformers/pull/15286", "diff_url": "https://github.com/huggingface/transformers/pull/15286.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15286.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15285
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15285/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15285/comments
https://api.github.com/repos/huggingface/transformers/issues/15285/events
https://github.com/huggingface/transformers/pull/15285
1,110,823,977
PR_kwDOCUB6oc4xZvcA
15,285
fix: Vocabulary build issue in run_speech_recognition.py
{ "login": "shivamm7", "id": 64258696, "node_id": "MDQ6VXNlcjY0MjU4Njk2", "avatar_url": "https://avatars.githubusercontent.com/u/64258696?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shivamm7", "html_url": "https://github.com/shivamm7", "followers_url": "https://api.github.com/users/shi...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15285). All of your documentation changes will be reflected on that endpoint.", "Hey @shivamm7,\r\n\r\nThanks for your issue - I can see the problem. However, instead of deleting `\"|\"` could you maybe just overwrite:\r\n\...
1,642
1,646
1,646
NONE
null
# What does this PR do? This PR fixes the issue of vocabulary building in run_speech_recognition_ctc.py (https://github.com/huggingface/transformers/blob/master/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py#L332). While building vocabulary we replace the blank token " " by pipe symbol as delimi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15285/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15285/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15285", "html_url": "https://github.com/huggingface/transformers/pull/15285", "diff_url": "https://github.com/huggingface/transformers/pull/15285.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15285.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15284
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15284/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15284/comments
https://api.github.com/repos/huggingface/transformers/issues/15284/events
https://github.com/huggingface/transformers/issues/15284
1,110,791,359
I_kwDOCUB6oc5CNVS_
15,284
RagSequenceForGeneration without retriever
{ "login": "raphaelsty", "id": 24591024, "node_id": "MDQ6VXNlcjI0NTkxMDI0", "avatar_url": "https://avatars.githubusercontent.com/u/24591024?v=4", "gravatar_id": "", "url": "https://api.github.com/users/raphaelsty", "html_url": "https://github.com/raphaelsty", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @raphaelsty I am definitely not familiar with Rag.\r\n\r\nLooking briefly at the stack, there is indeed no `context_input_ids` passed to (line 1024), I tried to manually add them just to see, and other errors pop up (linked to tensor dimensions).\r\nSince I am not super familiar I can't say if we shouldn't end...
1,642
1,643
1,643
NONE
null
Hi Hugging Face Team. First of all thank you for your work, I am a fan of Transformers. 😉 I'm opening this issue because I'm having trouble using the RagSequenceForGeneration, model that I'm particularly interested in. I do not want to use the default retriever but rather apply the generator on an input list of...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15284/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15284/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15283
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15283/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15283/comments
https://api.github.com/repos/huggingface/transformers/issues/15283/events
https://github.com/huggingface/transformers/issues/15283
1,110,790,146
I_kwDOCUB6oc5CNVAC
15,283
Saved slow tokenizers cannot be loaded in `AutoTokenizer` after environment change
{ "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
[]
[ "Intriguing behavior indeed! :male_detective: \r\n\r\nBy digging a little, I personally think that the problem comes from the fact that the slow version of the tokenizer can save a `\"tokenizer_file\"` key in the `tokenizer_config.json` file. Indeed, if the tokenizer is of a fast type then in this case, the key can...
1,642
1,678
1,643
MEMBER
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.16.0.dev0 - Platform: Linux-5.16.1-arch1-1-x86_64-with-arch - Python version: 3.6.15 - PyTorch version (GP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15283/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15283/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15282
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15282/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15282/comments
https://api.github.com/repos/huggingface/transformers/issues/15282/events
https://github.com/huggingface/transformers/issues/15282
1,110,691,140
I_kwDOCUB6oc5CM81E
15,282
Self-Attention Layers for Perceiver Decoder
{ "login": "VitorGuizilini-TRI", "id": 58576956, "node_id": "MDQ6VXNlcjU4NTc2OTU2", "avatar_url": "https://avatars.githubusercontent.com/u/58576956?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VitorGuizilini-TRI", "html_url": "https://github.com/VitorGuizilini-TRI", "followers_url": "ht...
[]
closed
false
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[ { "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https:...
[ "Hi,\r\n\r\n> It seems like there are no self-attention layers, only a single cross-attention layer. Is that by design?\r\n\r\nYes, the authors used only a single cross-attention layer. \r\n\r\nIf you want, you can fork the library and tweak `modeling_perceiver.py` to include additional self-attention layers in the...
1,642
1,645
1,645
NONE
null
This feature request is about the PerceiverIO codebase, specifically about the implemented decoders. It seems like there are no self-attention layers, only a single cross-attention layer. Is that by design? Several current published methods mention cross- and self-attention layers as part of the decoding process, wou...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15282/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15282/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15281
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15281/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15281/comments
https://api.github.com/repos/huggingface/transformers/issues/15281/events
https://github.com/huggingface/transformers/issues/15281
1,110,629,540
I_kwDOCUB6oc5CMtyk
15,281
pytorch NER example dataset deleted
{ "login": "KentonMurray", "id": 795301, "node_id": "MDQ6VXNlcjc5NTMwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/795301?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KentonMurray", "html_url": "https://github.com/KentonMurray", "followers_url": "https://api.github.com/u...
[]
closed
false
null
[]
[ "Closing this, as datasets has updated the URL (see https://github.com/huggingface/datasets/issues/3582)." ]
1,642
1,643
1,643
NONE
null
The file examples/pytorch/token-classification/run_ner.py is looking for a hardcoded conll2003 dataset. In the hardcoded link, the following change removed the dataset: https://github.com/davidsbatista/NER-datasets/commit/9d8f45cc7331569af8eb3422bbe1c97cbebd5690 To fix, the hardcoded link needs to be changed to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15281/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15281/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15280
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15280/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15280/comments
https://api.github.com/repos/huggingface/transformers/issues/15280/events
https://github.com/huggingface/transformers/pull/15280
1,110,576,719
PR_kwDOCUB6oc4xY7Y8
15,280
Fix processors
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15280). All of your documentation changes will be reflected on that endpoint.", "A much better fix was provided in #15549. Therefore, closing." ]
1,642
1,644
1,644
CONTRIBUTOR
null
# What does this PR do? This PR aims to fix import checks for processors of multi-modal models, like those of LayoutLMv2, TrOCR and ViLT. The bare minimum for a processor is PIL (assuming one creates a processor by combining a feature extractor and a slow tokenizer). If one combines a feature extractor and a fast...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15280/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15280/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15280", "html_url": "https://github.com/huggingface/transformers/pull/15280", "diff_url": "https://github.com/huggingface/transformers/pull/15280.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15280.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15279
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15279/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15279/comments
https://api.github.com/repos/huggingface/transformers/issues/15279/events
https://github.com/huggingface/transformers/issues/15279
1,110,566,072
I_kwDOCUB6oc5CMeS4
15,279
run_tests_pipelines_torch is not deterministic
{ "login": "kevinpl07", "id": 18429675, "node_id": "MDQ6VXNlcjE4NDI5Njc1", "avatar_url": "https://avatars.githubusercontent.com/u/18429675?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kevinpl07", "html_url": "https://github.com/kevinpl07", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Pinging @Narsil ", "Hi @kevinpl07 This PR should have fixed the issue. You test ran later, but were you rebased after this PR https://github.com/huggingface/transformers/pull/15154 ?\r\n\r\nI ran many tests on a local box without any issue on master just to be sure.", "This issue has been automatically marked...
1,642
1,645
1,645
CONTRIBUTOR
null
I am currently working on a PR and while making sure we pass all tests and checks, i ran into a pipeline test that failed in one run but succeeded afterwards with the same codebase (only a docstring has been changed). I think this nondeterministic test-behaviour should be avoided in an automatic build pipeline. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15279/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15279/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15278
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15278/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15278/comments
https://api.github.com/repos/huggingface/transformers/issues/15278/events
https://github.com/huggingface/transformers/pull/15278
1,110,553,452
PR_kwDOCUB6oc4xY2fD
15,278
Fixes Benchmark example link
{ "login": "evandrosks", "id": 72512620, "node_id": "MDQ6VXNlcjcyNTEyNjIw", "avatar_url": "https://avatars.githubusercontent.com/u/72512620?v=4", "gravatar_id": "", "url": "https://api.github.com/users/evandrosks", "html_url": "https://github.com/evandrosks", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,642
1,642
CONTRIBUTOR
null
Fixes [#15267](https://github.com/huggingface/transformers/issues/15267) * Fixed broken link in notebooks/README.md Documentation: @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15278/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15278/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15278", "html_url": "https://github.com/huggingface/transformers/pull/15278", "diff_url": "https://github.com/huggingface/transformers/pull/15278.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15278.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15277
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15277/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15277/comments
https://api.github.com/repos/huggingface/transformers/issues/15277/events
https://github.com/huggingface/transformers/pull/15277
1,110,491,872
PR_kwDOCUB6oc4xYpqh
15,277
Add ConvNeXT
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,644
1,644
CONTRIBUTOR
null
# What does this PR do? This PR adds [ConvNeXT](https://github.com/facebookresearch/ConvNeXt) to the library, a convnet inspired by Transformers. To do: - [x] rename nielsr to facebook to fix tests - [x] remove inference.py script - [x] remove PushToHubMixin hack from feature extractor - [x] fix "gamma" in ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15277/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15277/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15277", "html_url": "https://github.com/huggingface/transformers/pull/15277", "diff_url": "https://github.com/huggingface/transformers/pull/15277.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15277.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15276
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15276/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15276/comments
https://api.github.com/repos/huggingface/transformers/issues/15276/events
https://github.com/huggingface/transformers/pull/15276
1,110,440,608
PR_kwDOCUB6oc4xYexc
15,276
Fix
{ "login": "novice03", "id": 44259234, "node_id": "MDQ6VXNlcjQ0MjU5MjM0", "avatar_url": "https://avatars.githubusercontent.com/u/44259234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/novice03", "html_url": "https://github.com/novice03", "followers_url": "https://api.github.com/users/nov...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hello, the `check_code_quality` fails now. Running `make style` will revert all the changes I made to the modeling file, so some parts of the code will not stay in the same line. ", "In the previous commit, I removed trailing comma...
1,642
1,642
1,642
CONTRIBUTOR
null
# What does this PR do? Fixes some suggestions not addressed in [this](https://github.com/huggingface/transformers/pull/15085/) pull request. I've fixed the typo and unnecessary imports, but running `make style` may not allow some parts of the code to stay in the same line. ## Who can review? @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15276/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15276/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15276", "html_url": "https://github.com/huggingface/transformers/pull/15276", "diff_url": "https://github.com/huggingface/transformers/pull/15276.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15276.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15275
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15275/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15275/comments
https://api.github.com/repos/huggingface/transformers/issues/15275/events
https://github.com/huggingface/transformers/issues/15275
1,110,396,801
I_kwDOCUB6oc5CL0-B
15,275
Inference of finetuned wav2vec2-xls-r-300m model using the ASR pipeline does not remove special tokens.
{ "login": "shivamm7", "id": 64258696, "node_id": "MDQ6VXNlcjY0MjU4Njk2", "avatar_url": "https://avatars.githubusercontent.com/u/64258696?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shivamm7", "html_url": "https://github.com/shivamm7", "followers_url": "https://api.github.com/users/shi...
[]
closed
false
null
[]
[ "We need to not skip special tokens for CTC (wav2vec2 in particular) because of the [PAD] token.\r\n\r\nHELLO can only be transcribed because the CTC tokens are H, E, L, PAD, L, L, L, O, O for instance.\r\n\r\nIt seems here that maybe `<s>` got confused with `<pad>` and hence is not properly skipped during decoding...
1,642
1,688
1,648
NONE
null
## Environment info - `transformers` version: 4.15.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version (GPU?): 1.10.0+cu111 (True) - Tensorflow version (GPU?): 2.7.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxL...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15275/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/15275/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15274
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15274/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15274/comments
https://api.github.com/repos/huggingface/transformers/issues/15274/events
https://github.com/huggingface/transformers/pull/15274
1,110,380,818
PR_kwDOCUB6oc4xYSGQ
15,274
[Robust Speech Challenge] Add timeline
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,642
1,642
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/15274/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15274/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15274", "html_url": "https://github.com/huggingface/transformers/pull/15274", "diff_url": "https://github.com/huggingface/transformers/pull/15274.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15274.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15273
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15273/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15273/comments
https://api.github.com/repos/huggingface/transformers/issues/15273/events
https://github.com/huggingface/transformers/pull/15273
1,110,362,394
PR_kwDOCUB6oc4xYOM9
15,273
Remove Longformers from ONNX-supported models
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,644
1,644
MEMBER
null
# What does this PR do? This PR removes Longformer from the list of ONNX-supported models due to a current limitation in the supported ops in JIT - see issue #15217 This slipped through our unit tests because we didn't include `longformer` in the list of models to be tested. Long term, we'll either need to w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15273/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15273/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15273", "html_url": "https://github.com/huggingface/transformers/pull/15273", "diff_url": "https://github.com/huggingface/transformers/pull/15273.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15273.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15272
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15272/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15272/comments
https://api.github.com/repos/huggingface/transformers/issues/15272/events
https://github.com/huggingface/transformers/pull/15272
1,110,348,628
PR_kwDOCUB6oc4xYLRr
15,272
[PyTorch-nightly-test] Fix Wav2Vec2 LM & Phoneme tests
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hey @patrickvonplaten, could you write a description in the PR on why the change is needed?", "Thanks for the careful review @stas00 !" ]
1,642
1,643
1,643
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/15272/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15272/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15272", "html_url": "https://github.com/huggingface/transformers/pull/15272", "diff_url": "https://github.com/huggingface/transformers/pull/15272.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15272.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15271
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15271/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15271/comments
https://api.github.com/repos/huggingface/transformers/issues/15271/events
https://github.com/huggingface/transformers/pull/15271
1,110,323,255
PR_kwDOCUB6oc4xYF9H
15,271
Move BART + ONNX example to research_projects
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,642
1,642
MEMBER
null
# What does this PR do? This PR moves the BART + ONNX example contributed in #14310 under the `examples/research_projects` folder to indicate that it is not actively maintained by the `transformers` team. cc @fatcat-z
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15271/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15271/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15271", "html_url": "https://github.com/huggingface/transformers/pull/15271", "diff_url": "https://github.com/huggingface/transformers/pull/15271.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15271.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15270
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15270/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15270/comments
https://api.github.com/repos/huggingface/transformers/issues/15270/events
https://github.com/huggingface/transformers/pull/15270
1,110,289,462
PR_kwDOCUB6oc4xX-21
15,270
Prepare ONNX export for torch v1.11
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,642
1,642
MEMBER
null
# What does this PR do? This PR prepares the ONNX export for `torch` v1.11, where the following arguments from the [`torch.onnx.export()` ](https://pytorch.org/docs/stable/onnx.html#torch.onnx.export)function will be removed: * `use_external_data_format` * `enable_onnx_checker` A simple check on the `torch` v...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15270/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15270/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15270", "html_url": "https://github.com/huggingface/transformers/pull/15270", "diff_url": "https://github.com/huggingface/transformers/pull/15270.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15270.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15269
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15269/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15269/comments
https://api.github.com/repos/huggingface/transformers/issues/15269/events
https://github.com/huggingface/transformers/issues/15269
1,110,195,754
I_kwDOCUB6oc5CLD4q
15,269
Whether instantiation is premature?
{ "login": "Fei-Wang", "id": 11441526, "node_id": "MDQ6VXNlcjExNDQxNTI2", "avatar_url": "https://avatars.githubusercontent.com/u/11441526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Fei-Wang", "html_url": "https://github.com/Fei-Wang", "followers_url": "https://api.github.com/users/Fei...
[]
closed
false
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[ { "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https:...
[ "@NielsRogge any suggestions?", "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/transfo...
1,642
1,646
1,646
CONTRIBUTOR
null
https://github.com/huggingface/transformers/blob/515ed3ad2a11a6b0cd9800b2ad4d3b313fdaea8c/src/transformers/feature_extraction_utils.py#L429 For example my code is: ```python3 processor = LayoutXLMProcessor.from_pretrained('microsoft/layoutxlm-base', apply_ocr=False) ``` I don't need to use OCR, but pytesseract ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15269/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15269/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15268
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15268/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15268/comments
https://api.github.com/repos/huggingface/transformers/issues/15268/events
https://github.com/huggingface/transformers/pull/15268
1,110,170,931
PR_kwDOCUB6oc4xXmR4
15,268
[Fix doc example] TFLayoutLMForTokenClassification: missing import tf
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,642
1,642
COLLABORATOR
null
# What does this PR do? The following line in the doc requires `>>> import tensorflow as tf` ``` >>> bbox = tf.convert_to_tensor([token_boxes]) ```
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15268/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15268/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15268", "html_url": "https://github.com/huggingface/transformers/pull/15268", "diff_url": "https://github.com/huggingface/transformers/pull/15268.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15268.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15267
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15267/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15267/comments
https://api.github.com/repos/huggingface/transformers/issues/15267/events
https://github.com/huggingface/transformers/issues/15267
1,110,073,504
I_kwDOCUB6oc5CKmCg
15,267
Benchmark link in transformers/notebooks/README.md is broken
{ "login": "evandrosks", "id": 72512620, "node_id": "MDQ6VXNlcjcyNTEyNjIw", "avatar_url": "https://avatars.githubusercontent.com/u/72512620?v=4", "gravatar_id": "", "url": "https://api.github.com/users/evandrosks", "html_url": "https://github.com/evandrosks", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Thanks for flagging this! Do you want to a make a PR to fix it?", "Sure, I'll send one shortly" ]
1,642
1,642
1,642
CONTRIBUTOR
null
Hi @sgugger, I noticed the link in the transformers/notebooks/README.md (https://github.com/huggingface/transformers/tree/master/notebooks) for the Benchmarks notebook is broken. I believe the correct link should be: https://github.com/huggingface/notebooks/blob/master/examples/benchmark.ipynb
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15267/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15267/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15266
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15266/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15266/comments
https://api.github.com/repos/huggingface/transformers/issues/15266/events
https://github.com/huggingface/transformers/pull/15266
1,110,052,337
PR_kwDOCUB6oc4xXONE
15,266
Require `tokenizers>=0.11.1`
{ "login": "aphedges", "id": 14283972, "node_id": "MDQ6VXNlcjE0MjgzOTcy", "avatar_url": "https://avatars.githubusercontent.com/u/14283972?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aphedges", "html_url": "https://github.com/aphedges", "followers_url": "https://api.github.com/users/aph...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@LysandreJik, should the reviewer list in [`.github/PULL_REQUEST_TEMPLATE.md`](https://github.com/huggingface/transformers/blob/38a10c6b52242b1244b510358820603f8a2be3d9/.github/PULL_REQUEST_TEMPLATE.md) be updated with the list in [`...
1,642
1,644
1,644
CONTRIBUTOR
null
# What does this PR do? I discovered this bug by running on `master` (specifically <https://github.com/huggingface/transformers/commit/515ed3ad2a11a6b0cd9800b2ad4d3b313fdaea8c>). When running the following code, I get the error `Ignored unknown kwarg option direction`: ```python from transformers import AutoToke...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15266/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15266/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15266", "html_url": "https://github.com/huggingface/transformers/pull/15266", "diff_url": "https://github.com/huggingface/transformers/pull/15266.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15266.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15265
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15265/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15265/comments
https://api.github.com/repos/huggingface/transformers/issues/15265/events
https://github.com/huggingface/transformers/issues/15265
1,110,031,864
I_kwDOCUB6oc5CKb34
15,265
Movement Prune
{ "login": "JackqqWang", "id": 64749583, "node_id": "MDQ6VXNlcjY0NzQ5NTgz", "avatar_url": "https://avatars.githubusercontent.com/u/64749583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JackqqWang", "html_url": "https://github.com/JackqqWang", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @JackqqWang these kind of questions are best suited for our [forums](https://discuss.huggingface.co/) since we use issue to triage bug reports or feature requests.\r\n\r\nIn any case, my suggestion would be to use our `nn_pruning` [library](https://github.com/huggingface/nn_pruning) instead of the `movement-pru...
1,642
1,646
1,646
NONE
null
Hi everyone. I expect to use the movement prune approach to get a pruned bert on a downstream task with this link [https://github.com/huggingface/transformers/tree/master/examples/research_projects/movement-pruning](url) Basically speaking, we have a bert, and downstream task( AG news/ Yahoo answers, classificati...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15265/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15265/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15264
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15264/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15264/comments
https://api.github.com/repos/huggingface/transformers/issues/15264/events
https://github.com/huggingface/transformers/pull/15264
1,109,992,383
PR_kwDOCUB6oc4xXCPz
15,264
[Kernel Fusion] training benchmarks of AOTAutograd (multiple models)
{ "login": "Chillee", "id": 6355099, "node_id": "MDQ6VXNlcjYzNTUwOTk=", "avatar_url": "https://avatars.githubusercontent.com/u/6355099?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Chillee", "html_url": "https://github.com/Chillee", "followers_url": "https://api.github.com/users/Chillee/...
[ { "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
{ "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...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15264). All of your documentation changes will be reflected on that endpoint.", "At least for now we should probably not assert on failure, since the rest of the benchmark then doesn't run and requires re-running the whole ...
1,642
1,648
null
NONE
null
Note to maintainers: We are using this PR to collaborate and there is no intention yet to merge anything, so please ignore unless you want to experiment with the latest auto-speedups. We are experimenting with the latest https://github.com/pytorch/functorch against pytorch nightly to automatically speed up the execu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15264/reactions", "total_count": 6, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 6, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15264/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15264", "html_url": "https://github.com/huggingface/transformers/pull/15264", "diff_url": "https://github.com/huggingface/transformers/pull/15264.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15264.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15263
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15263/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15263/comments
https://api.github.com/repos/huggingface/transformers/issues/15263/events
https://github.com/huggingface/transformers/pull/15263
1,109,881,777
PR_kwDOCUB6oc4xWqpx
15,263
Add 🤗 Accelerate tutorial
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,643
1,643
MEMBER
null
First draft of the Accelerate tutorial for distributed training!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15263/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15263/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15263", "html_url": "https://github.com/huggingface/transformers/pull/15263", "diff_url": "https://github.com/huggingface/transformers/pull/15263.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15263.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15262
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15262/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15262/comments
https://api.github.com/repos/huggingface/transformers/issues/15262/events
https://github.com/huggingface/transformers/pull/15262
1,109,766,351
PR_kwDOCUB6oc4xWSm-
15,262
Remove "inputs" in tf common test script (no longer required)
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Thank you @ydshieh !\r\n> \r\n> To double-check, before merging -- can you confirm that this particular test is successful for a few models? (e.g. `RUN_PT_TF_CROSS_TESTS=1 py.test tests/test_modeling_tf_bert.py)`\r\n\r\nHi, @gante ...
1,642
1,651
1,643
COLLABORATOR
null
# What does this PR do? The blocks appeared in `test_modeling_tf_common.py` ``` # need to rename encoder-decoder "inputs" for PyTorch if "inputs" in pt_inputs_dict and self.is_encoder_decoder: pt_inputs_dict["input_ids"] = pt_inputs_dict.pop("inputs") ``` was introduce...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15262/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15262/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15262", "html_url": "https://github.com/huggingface/transformers/pull/15262", "diff_url": "https://github.com/huggingface/transformers/pull/15262.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15262.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15261
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15261/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15261/comments
https://api.github.com/repos/huggingface/transformers/issues/15261/events
https://github.com/huggingface/transformers/pull/15261
1,109,734,591
PR_kwDOCUB6oc4xWL_D
15,261
Refine errors for pretrained objects
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,642
1,642
1,642
COLLABORATOR
null
# What does this PR do? This PR breaks refines the error returned for pretrained objects using the error codes now returned by hf.co to clearly indicate to the user if: - there is a problem in the repo name - there is a problem in the revision - there is a problem with a specific file - there is a general connec...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15261/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/15261/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15261", "html_url": "https://github.com/huggingface/transformers/pull/15261", "diff_url": "https://github.com/huggingface/transformers/pull/15261.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15261.patch", "merged_at...