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/16971
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16971/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16971/comments
https://api.github.com/repos/huggingface/transformers/issues/16971/events
https://github.com/huggingface/transformers/issues/16971
1,217,721,631
I_kwDOCUB6oc5IlPUf
16,971
AttributeError: 'DataParallel' object has no attribute 'save_pretrained'
{ "login": "bilalghanem", "id": 47889448, "node_id": "MDQ6VXNlcjQ3ODg5NDQ4", "avatar_url": "https://avatars.githubusercontent.com/u/47889448?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bilalghanem", "html_url": "https://github.com/bilalghanem", "followers_url": "https://api.github.com/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "`DataParallel` wraps the model. To access the underlying module, you can use the `module` attribute:\r\n```py\r\n>>> from torch.nn import DataParallel\r\n>>> model = nn.DataParallel(model)\r\n>>> model.module.save_pretrained(<directory>)\r\n```", "> `DataParallel` wraps the model. To access the underlying module...
1,651
1,651
1,651
NONE
null
### System Info ```shell torch==1.10.2+cu113 transformers==4.18.0 Python 3.6.9 Linux "18.04.6 LTS (Bionic Beaver)" ``` I am training a T5 transformer (T5ForConditionalGeneration.from_pretrained(model_params["MODEL"])) to generate text. The model works well when I train it on a single GPU. But when I want to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16971/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/16971/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16970
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16970/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16970/comments
https://api.github.com/repos/huggingface/transformers/issues/16970/events
https://github.com/huggingface/transformers/pull/16970
1,217,708,582
PR_kwDOCUB6oc425Ki1
16,970
Fix check_all_models_are_tested
{ "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,651
1,651
1,651
COLLABORATOR
null
# What does this PR do? The block from L396 to L398 should be in the `else` block if I understand correctly. https://github.com/huggingface/transformers/blob/8d3f952adb8c98cec2ea1f59bb7acfbc08232381/utils/check_repo.py#L394-L398 Otherwise, when a model has no test file, I get errors like below, and the progra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16970/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16970/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16970", "html_url": "https://github.com/huggingface/transformers/pull/16970", "diff_url": "https://github.com/huggingface/transformers/pull/16970.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16970.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16969
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16969/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16969/comments
https://api.github.com/repos/huggingface/transformers/issues/16969/events
https://github.com/huggingface/transformers/pull/16969
1,217,668,845
PR_kwDOCUB6oc425B_j
16,969
Fix doc notebooks links
{ "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,651
1,651
1,651
COLLABORATOR
null
# What does this PR do? Notebooks for the documentation have moved under the `en` folder, this PR fixes all the links we have.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16969/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16969/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16969", "html_url": "https://github.com/huggingface/transformers/pull/16969", "diff_url": "https://github.com/huggingface/transformers/pull/16969.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16969.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16968
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16968/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16968/comments
https://api.github.com/repos/huggingface/transformers/issues/16968/events
https://github.com/huggingface/transformers/pull/16968
1,217,550,926
PR_kwDOCUB6oc424qN2
16,968
Fixup no_trainer save logic
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "id": 1834053813, "node_id": "MDU6TGFiZWwxODM0MDUzODEz", "url": "https://api.github.com/repos/huggingface/transformers/labels/PyTorch", "name": "PyTorch", "color": "a12bef", "default": false, "description": "Anything PyTorch" }, { "id": 1936351150, "node_id": "MDU6TGFiZWwxO...
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,651
1,651
1,651
CONTRIBUTOR
null
# Fix save logic in all `no_trainer` examples ## What does this add? This PR fixes a bug pointed out in https://github.com/huggingface/accelerate/issues/322, where the save and load logic was wrong in how it skipped over the steps in the training loop. This PR fixes it and changes the internals slightly to let savei...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16968/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16968/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16968", "html_url": "https://github.com/huggingface/transformers/pull/16968", "diff_url": "https://github.com/huggingface/transformers/pull/16968.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16968.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16967
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16967/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16967/comments
https://api.github.com/repos/huggingface/transformers/issues/16967/events
https://github.com/huggingface/transformers/issues/16967
1,217,488,489
I_kwDOCUB6oc5IkWZp
16,967
cannot import name 'RegNetModel' from 'transformers'
{ "login": "MorningStarOvO", "id": 35036784, "node_id": "MDQ6VXNlcjM1MDM2Nzg0", "avatar_url": "https://avatars.githubusercontent.com/u/35036784?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MorningStarOvO", "html_url": "https://github.com/MorningStarOvO", "followers_url": "https://api.gi...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "RegNet is currently only available from the main branch, it will be included it in the next release. You can install it as follows:\r\n\r\n`pip install git+https://github.com/huggingface/transformers.git`\r\n\r\n" ]
1,651
1,652
1,652
NONE
null
### System Info ```shell python 3.8 transformers 4.18.0 ``` ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16967/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16967/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16966
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16966/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16966/comments
https://api.github.com/repos/huggingface/transformers/issues/16966/events
https://github.com/huggingface/transformers/pull/16966
1,217,483,649
PR_kwDOCUB6oc424bze
16,966
Fix add-new-model-like when model doesn't support all frameworks
{ "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,651
1,651
1,651
COLLABORATOR
null
# What does this PR do? This fixes the `transformers-cli add-new-model-like` command when the model used as a model is not implemented in all frameworks.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16966/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16966/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16966", "html_url": "https://github.com/huggingface/transformers/pull/16966", "diff_url": "https://github.com/huggingface/transformers/pull/16966.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16966.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16965
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16965/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16965/comments
https://api.github.com/repos/huggingface/transformers/issues/16965/events
https://github.com/huggingface/transformers/pull/16965
1,217,448,933
PR_kwDOCUB6oc424UX4
16,965
Move test model folders new
{ "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
[]
[]
1,651
1,651
1,651
COLLABORATOR
null
# What does this PR do?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16965/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16965/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16965", "html_url": "https://github.com/huggingface/transformers/pull/16965", "diff_url": "https://github.com/huggingface/transformers/pull/16965.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16965.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16964
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16964/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16964/comments
https://api.github.com/repos/huggingface/transformers/issues/16964/events
https://github.com/huggingface/transformers/pull/16964
1,217,446,178
PR_kwDOCUB6oc424Txu
16,964
Update custom_models.mdx
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,651
1,651
1,651
CONTRIBUTOR
null
BertModelForSequenceClassification -> [BertForSequenceClassification](https://huggingface.co/docs/transformers/main/en/model_doc/bert#transformers.BertForSequenceClassification) # What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is goi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16964/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16964/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16964", "html_url": "https://github.com/huggingface/transformers/pull/16964", "diff_url": "https://github.com/huggingface/transformers/pull/16964.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16964.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16963
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16963/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16963/comments
https://api.github.com/repos/huggingface/transformers/issues/16963/events
https://github.com/huggingface/transformers/pull/16963
1,217,386,742
PR_kwDOCUB6oc424G4R
16,963
Fix `distributed_concat` with scalar tensor
{ "login": "Yard1", "id": 10364161, "node_id": "MDQ6VXNlcjEwMzY0MTYx", "avatar_url": "https://avatars.githubusercontent.com/u/10364161?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Yard1", "html_url": "https://github.com/Yard1", "followers_url": "https://api.github.com/users/Yard1/follow...
[]
closed
false
null
[]
[ "cc @sgugger ", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,651
1,651
1,651
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/16963/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16963/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16963", "html_url": "https://github.com/huggingface/transformers/pull/16963", "diff_url": "https://github.com/huggingface/transformers/pull/16963.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16963.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16962
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16962/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16962/comments
https://api.github.com/repos/huggingface/transformers/issues/16962/events
https://github.com/huggingface/transformers/issues/16962
1,217,329,497
I_kwDOCUB6oc5IjvlZ
16,962
Can't reproduce training of wav2vec2-large from documentation
{ "login": "HLasse", "id": 23191638, "node_id": "MDQ6VXNlcjIzMTkxNjM4", "avatar_url": "https://avatars.githubusercontent.com/u/23191638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HLasse", "html_url": "https://github.com/HLasse", "followers_url": "https://api.github.com/users/HLasse/fo...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hey @HLasse,\r\n\r\nCould you increase this parameter: https://huggingface.co/facebook/wav2vec2-large-lv60/blob/main/config.json#L62 to `0.5` and see if it works then? It seems like given the sequence length you are not sampling enough negative targets.\r\n\r\nAlso it'll be really hard / impossible to do a full pr...
1,651
1,697
1,651
NONE
null
### System Info ```shell - `transformers` version: 4.19.0.dev0 - Platform: Linux-5.4.0-109-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16962/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16962/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16961
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16961/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16961/comments
https://api.github.com/repos/huggingface/transformers/issues/16961/events
https://github.com/huggingface/transformers/pull/16961
1,217,106,874
PR_kwDOCUB6oc423KVb
16,961
Add parameter --config_overrides for run_mlm_wwm.py
{ "login": "conan1024hao", "id": 50416856, "node_id": "MDQ6VXNlcjUwNDE2ODU2", "avatar_url": "https://avatars.githubusercontent.com/u/50416856?v=4", "gravatar_id": "", "url": "https://api.github.com/users/conan1024hao", "html_url": "https://github.com/conan1024hao", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger @wlhgtc @LowinLi Please review this PR if you have time thank you.", "Thanks for your PR. Note that we don't maintain research projects, they are pinned to work with a specific version of Transformers. You will need approv...
1,651
1,651
1,651
CONTRIBUTOR
null
## WHY - I noticed that the parameter `--config_overrides` is only available in `run_clm.py`, `run_plm.py` and `run_mlm.py` in `examples/pytorch/language-modeling`, but not available in `run_mlm_wwm.py` in `examples/research_projects/mlm_wwm/run_mlm_wwm.py`. - However, I want to train a wwm model from scratch too, s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16961/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16961/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16961", "html_url": "https://github.com/huggingface/transformers/pull/16961", "diff_url": "https://github.com/huggingface/transformers/pull/16961.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16961.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16960
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16960/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16960/comments
https://api.github.com/repos/huggingface/transformers/issues/16960/events
https://github.com/huggingface/transformers/issues/16960
1,217,074,446
I_kwDOCUB6oc5IixUO
16,960
Word limit with mBART-50 translation
{ "login": "phayat", "id": 99869100, "node_id": "U_kgDOBfPhrA", "avatar_url": "https://avatars.githubusercontent.com/u/99869100?v=4", "gravatar_id": "", "url": "https://api.github.com/users/phayat", "html_url": "https://github.com/phayat", "followers_url": "https://api.github.com/users/phayat/followers"...
[]
closed
false
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "htt...
[ "Hey @phayat ! Could you please post a code-snippet so we could reproduce the issue ? Thanks!", "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 ...
1,651
1,674
1,655
NONE
null
I'm using facebook/mbart-large-50-many-to-many-mmt model to translate french texts to english, but it seems the translation is limited to the first 110 words of the input text. Do you confirm? and is there a way to fix this? Thanks in advance.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16960/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16960/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16959
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16959/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16959/comments
https://api.github.com/repos/huggingface/transformers/issues/16959/events
https://github.com/huggingface/transformers/pull/16959
1,216,998,923
PR_kwDOCUB6oc422zNW
16,959
Add -e flag to some GH workflow yml files
{ "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._", "The added check will produce something like (if the transformers is not from the expected location)\r\n\r\n<img width=\"777\" alt=\"Screenshot 2022-04-27 131320\" src=\"https://user-images.githubusercontent.com/2521628/165506295-901f...
1,651
1,651
1,651
COLLABORATOR
null
# What does this PR do? Current 2 GitHub actions workflow yml use `pip install [.dev]`. This installs `transformers` in `/home/runner/venv/lib/python3.6/site-packages`, and this is cached. In future job runs, the cache is restored, and that `transformers` version is used - instead of the latest commit, i.e. we want ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16959/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16959/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16959", "html_url": "https://github.com/huggingface/transformers/pull/16959", "diff_url": "https://github.com/huggingface/transformers/pull/16959.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16959.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16958
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16958/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16958/comments
https://api.github.com/repos/huggingface/transformers/issues/16958/events
https://github.com/huggingface/transformers/pull/16958
1,216,979,828
PR_kwDOCUB6oc422vMK
16,958
Misc. fixes for Pytorch QA examples:
{ "login": "searchivarius", "id": 825650, "node_id": "MDQ6VXNlcjgyNTY1MA==", "avatar_url": "https://avatars.githubusercontent.com/u/825650?v=4", "gravatar_id": "", "url": "https://api.github.com/users/searchivarius", "html_url": "https://github.com/searchivarius", "followers_url": "https://api.github.co...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,651
1,651
1,651
CONTRIBUTOR
null
Thank you for the great library! This fixes a number of issues with Pytorch QA examples. All numbers are either the same or went up. However, there are still some issues, which I wasn't able to fix (in one example). Please, see the notes and benchmark results below. # What does this PR do? 1. Fixes evaluation error...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16958/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16958/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16958", "html_url": "https://github.com/huggingface/transformers/pull/16958", "diff_url": "https://github.com/huggingface/transformers/pull/16958.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16958.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16956
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16956/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16956/comments
https://api.github.com/repos/huggingface/transformers/issues/16956/events
https://github.com/huggingface/transformers/issues/16956
1,216,943,599
I_kwDOCUB6oc5IiRXv
16,956
How to train over VERY LARGE dataset?
{ "login": "CaoYiqingT", "id": 45160643, "node_id": "MDQ6VXNlcjQ1MTYwNjQz", "avatar_url": "https://avatars.githubusercontent.com/u/45160643?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CaoYiqingT", "html_url": "https://github.com/CaoYiqingT", "followers_url": "https://api.github.com/use...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[]
1,651
1,651
1,651
NONE
null
### System Info ```shell I am using transformer trainer while meeting the issue. The trainer requests torch.utils.data.Dataset as input, which loads the whole dataset into the memory at once. Therefore, when the dataset is too large to load, there's nothing I can do except using IterDataset, which loads samples of da...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16956/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16956/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16955
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16955/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16955/comments
https://api.github.com/repos/huggingface/transformers/issues/16955/events
https://github.com/huggingface/transformers/issues/16955
1,216,885,736
I_kwDOCUB6oc5IiDPo
16,955
config.json not found!
{ "login": "beyondguo", "id": 37113676, "node_id": "MDQ6VXNlcjM3MTEzNjc2", "avatar_url": "https://avatars.githubusercontent.com/u/37113676?v=4", "gravatar_id": "", "url": "https://api.github.com/users/beyondguo", "html_url": "https://github.com/beyondguo", "followers_url": "https://api.github.com/users/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Sorry to issue here, I have already asked this question in the forum but haven't receive any response.", "This means the folders were not created. Are you sure you point to locations where the Python script can write?", "This issue has been automatically marked as stale because it has not had recent activity. ...
1,651
1,654
1,654
NONE
null
### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.4.0-1063-azure-x86_64-with-glibc2.10 - Python version: 3.8.3 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.7.1+cu110 (True) - Tensorflow version (GPU?): 2.4.1 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16955/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16955/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16954
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16954/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16954/comments
https://api.github.com/repos/huggingface/transformers/issues/16954/events
https://github.com/huggingface/transformers/pull/16954
1,216,719,811
PR_kwDOCUB6oc4213ZQ
16,954
Initialization
{ "login": "apd10", "id": 57877560, "node_id": "MDQ6VXNlcjU3ODc3NTYw", "avatar_url": "https://avatars.githubusercontent.com/u/57877560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/apd10", "html_url": "https://github.com/apd10", "followers_url": "https://api.github.com/users/apd10/follow...
[]
closed
false
null
[]
[]
1,651
1,651
1,651
NONE
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16954/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16954/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16954", "html_url": "https://github.com/huggingface/transformers/pull/16954", "diff_url": "https://github.com/huggingface/transformers/pull/16954.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16954.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16953
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16953/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16953/comments
https://api.github.com/repos/huggingface/transformers/issues/16953/events
https://github.com/huggingface/transformers/pull/16953
1,216,641,236
PR_kwDOCUB6oc421nCk
16,953
Add Information Gain Filtration algorithm
{ "login": "mraunak", "id": 83710963, "node_id": "MDQ6VXNlcjgzNzEwOTYz", "avatar_url": "https://avatars.githubusercontent.com/u/83710963?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mraunak", "html_url": "https://github.com/mraunak", "followers_url": "https://api.github.com/users/mrauna...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Could you just run the code quality tool to ensure that the code quality passes? You can install them with the following, from the root of your clone:\r\n```\r\npip install -e \".[quality]\"\r\n```\r\nAnd then run them with:\r\n```\r...
1,651
1,652
1,652
CONTRIBUTOR
null
# What does this PR do? Adding a new feature for fine-tuning transformer models called Information Gain Filtration 'IGF' ### Motivation The quality of a fine-tuned model depends on the quality of the data samples used for the first few batches. As the process is stochastic, a random seed would influence the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16953/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16953/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16953", "html_url": "https://github.com/huggingface/transformers/pull/16953", "diff_url": "https://github.com/huggingface/transformers/pull/16953.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16953.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16952
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16952/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16952/comments
https://api.github.com/repos/huggingface/transformers/issues/16952/events
https://github.com/huggingface/transformers/issues/16952
1,216,563,414
I_kwDOCUB6oc5Ig0jW
16,952
cannot import name 'Data2VecForCTC' from 'transformers'
{ "login": "Sorrow321", "id": 20703486, "node_id": "MDQ6VXNlcjIwNzAzNDg2", "avatar_url": "https://avatars.githubusercontent.com/u/20703486?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sorrow321", "html_url": "https://github.com/Sorrow321", "followers_url": "https://api.github.com/users/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi,\r\n\r\nData2Vec is only available on the main branch for now: pip install git+https://github.com/huggingface/transformers.git.", "Hi\r\n\r\nI can't find the name **Data2VecForCTC** in https://github.com/huggingface/transformers/blob/main/src/transformers/__init__.py either.", "Here it is: https://github.co...
1,651
1,654
1,654
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.13.0-40-generic-x86_64-with-glibc2.31 - Python version: 3.9.7 - Huggingface_hub version: 0.2.1 - PyTorch version (GPU?): 1.11.0 (True) - Tensorflow version (GPU?): 2.7.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16952/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/16952/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16951
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16951/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16951/comments
https://api.github.com/repos/huggingface/transformers/issues/16951/events
https://github.com/huggingface/transformers/pull/16951
1,216,505,148
PR_kwDOCUB6oc421JSf
16,951
:tada: initial commit of scformer
{ "login": "subercui", "id": 11674033, "node_id": "MDQ6VXNlcjExNjc0MDMz", "avatar_url": "https://avatars.githubusercontent.com/u/11674033?v=4", "gravatar_id": "", "url": "https://api.github.com/users/subercui", "html_url": "https://github.com/subercui", "followers_url": "https://api.github.com/users/sub...
[]
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/main/CONTRIBUTING.md) a...
1,651
1,654
1,654
NONE
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16951/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16951/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16951", "html_url": "https://github.com/huggingface/transformers/pull/16951", "diff_url": "https://github.com/huggingface/transformers/pull/16951.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16951.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16950
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16950/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16950/comments
https://api.github.com/repos/huggingface/transformers/issues/16950/events
https://github.com/huggingface/transformers/pull/16950
1,216,499,769
PR_kwDOCUB6oc421IHv
16,950
Revised partial checkpoint support for Sagemaker Model Parallel
{ "login": "cavdard", "id": 44590949, "node_id": "MDQ6VXNlcjQ0NTkwOTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/44590949?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cavdard", "html_url": "https://github.com/cavdard", "followers_url": "https://api.github.com/users/cavdar...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16950). All of your documentation changes will be reflected on that endpoint.", "> Thanks for your PR. Two comments on it:\r\n> \r\n> 1. This breaks the current behavior of the `Trainer` where each checkpoint can be loaded ...
1,651
1,655
1,655
CONTRIBUTOR
null
# What does this PR do? - Uses `smp.rdp_rank()` instead of `smp.rank()` for partial checkpoint saving in `should_save`. - Uses `local_state_dict()` with partial checkpoint saving. - Uses `smp.save ` for SMP. - Uses` smp.load ` for SMP. Reorders partial checkpoint loading to happen after wrapping of model, since `...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16950/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16950/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16950", "html_url": "https://github.com/huggingface/transformers/pull/16950", "diff_url": "https://github.com/huggingface/transformers/pull/16950.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16950.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16949
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16949/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16949/comments
https://api.github.com/repos/huggingface/transformers/issues/16949/events
https://github.com/huggingface/transformers/issues/16949
1,216,425,978
I_kwDOCUB6oc5IgS_6
16,949
LayoutLMV3
{ "login": "logan-markewich", "id": 22285038, "node_id": "MDQ6VXNlcjIyMjg1MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/22285038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/logan-markewich", "html_url": "https://github.com/logan-markewich", "followers_url": "https://api...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[ "Duplicate of #16914 ", "@[NielsRogge](https://github.com/NielsRogge)\r\nI have one question for layoutlmv3, does layoutlmv3 can support RE and SER task for xfund dataset now?" ]
1,651
1,652
1,651
NONE
null
### Model description LayoutLMv3 is a pre-trained multimodal Transformer for Document AI with unified text and image masking. The simple unified architecture and training objectives make LayoutLMv3 a general-purpose pre-trained model. For example, LayoutLMv3 can be fine-tuned for both text-centric tasks, including for...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16949/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16949/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16948
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16948/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16948/comments
https://api.github.com/repos/huggingface/transformers/issues/16948/events
https://github.com/huggingface/transformers/pull/16948
1,216,073,527
PR_kwDOCUB6oc42ztGZ
16,948
Add ResNet to models exportable with ONNX
{ "login": "chamidullinr", "id": 17027085, "node_id": "MDQ6VXNlcjE3MDI3MDg1", "avatar_url": "https://avatars.githubusercontent.com/u/17027085?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chamidullinr", "html_url": "https://github.com/chamidullinr", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16948). All of your documentation changes will be reflected on that endpoint.", "Thanks for the suggestions. One test fails when running slow tests. The error is:\r\n> ValueError: Outputs values doesn't match between refere...
1,650
1,654
1,654
NONE
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16948/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16948/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16948", "html_url": "https://github.com/huggingface/transformers/pull/16948", "diff_url": "https://github.com/huggingface/transformers/pull/16948.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16948.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16947
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16947/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16947/comments
https://api.github.com/repos/huggingface/transformers/issues/16947/events
https://github.com/huggingface/transformers/pull/16947
1,216,053,482
PR_kwDOCUB6oc42zoy-
16,947
Fix multiple deletions of the same files in save_pretrained
{ "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,650
1,651
1,651
COLLABORATOR
null
# What does this PR do? Checkpoint sharding introduced a bug in `save_pretrained` for distributed setups, where the function is called on every process (TPU training for instance, or the scripts with Accelerate (see [this issue](https://github.com/huggingface/accelerate/issues/325)). This changes the logic to only ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16947/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16947/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16947", "html_url": "https://github.com/huggingface/transformers/pull/16947", "diff_url": "https://github.com/huggingface/transformers/pull/16947.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16947.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16946
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16946/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16946/comments
https://api.github.com/repos/huggingface/transformers/issues/16946/events
https://github.com/huggingface/transformers/pull/16946
1,216,021,744
PR_kwDOCUB6oc42zh-w
16,946
[HF Argparser] Fix parsing of optional boolean arguments
{ "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,650
1,651
1,651
CONTRIBUTOR
null
# What does this PR do? This PR fixes a weird bug that made optional boolean arguments not being recognized properly in my virtual environment. Replacing "is" by "==" fixed the issue.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16946/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16946/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16946", "html_url": "https://github.com/huggingface/transformers/pull/16946", "diff_url": "https://github.com/huggingface/transformers/pull/16946.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16946.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16945
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16945/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16945/comments
https://api.github.com/repos/huggingface/transformers/issues/16945/events
https://github.com/huggingface/transformers/pull/16945
1,215,993,653
PR_kwDOCUB6oc42zb6X
16,945
Move test model folders
{ "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,650
1,651
1,651
COLLABORATOR
null
# What does this PR do? Move test model folders
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16945/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16945/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16945", "html_url": "https://github.com/huggingface/transformers/pull/16945", "diff_url": "https://github.com/huggingface/transformers/pull/16945.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16945.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16944
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16944/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16944/comments
https://api.github.com/repos/huggingface/transformers/issues/16944/events
https://github.com/huggingface/transformers/pull/16944
1,215,834,486
PR_kwDOCUB6oc42y51-
16,944
Update codeparrot data preprocessing
{ "login": "loubnabnl", "id": 44069155, "node_id": "MDQ6VXNlcjQ0MDY5MTU1", "avatar_url": "https://avatars.githubusercontent.com/u/44069155?v=4", "gravatar_id": "", "url": "https://api.github.com/users/loubnabnl", "html_url": "https://github.com/loubnabnl", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,652
1,652
CONTRIBUTOR
null
This PR updates the preprocessing script of CodeParrot data (python files), we add new filters for: - config and test files - uncommon files (those without a mention of Python classic keyworks: `def`, `for`..) - unusual files (don't use the assignement `=` operator often) - files with low ratio between number of...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16944/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16944/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16944", "html_url": "https://github.com/huggingface/transformers/pull/16944", "diff_url": "https://github.com/huggingface/transformers/pull/16944.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16944.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16943
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16943/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16943/comments
https://api.github.com/repos/huggingface/transformers/issues/16943/events
https://github.com/huggingface/transformers/pull/16943
1,215,720,896
PR_kwDOCUB6oc42yhQl
16,943
Fix `HubertRobustTest` PT/TF equivalence test on GPU
{ "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._", "Think it might be a great idea to add a check to avoid such situation occur in the future. Will do it in another PR." ]
1,650
1,651
1,651
COLLABORATOR
null
# What does this PR do? Fix `HubertRobustTest` PT/TF equivalence test on GPU. Note that `HubertRobustModelTest` has ```python def setUp(self): self.model_tester = HubertModelTester( self, conv_stride=(3, 3, 3), feat_extract_norm="layer", do_stable_layer_norm=True ) ``` b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16943/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16943/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16943", "html_url": "https://github.com/huggingface/transformers/pull/16943", "diff_url": "https://github.com/huggingface/transformers/pull/16943.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16943.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16942
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16942/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16942/comments
https://api.github.com/repos/huggingface/transformers/issues/16942/events
https://github.com/huggingface/transformers/issues/16942
1,215,703,405
I_kwDOCUB6oc5Idilt
16,942
Pretraining code of LayoutLMv2
{ "login": "TejasDuseja", "id": 20604911, "node_id": "MDQ6VXNlcjIwNjA0OTEx", "avatar_url": "https://avatars.githubusercontent.com/u/20604911?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TejasDuseja", "html_url": "https://github.com/TejasDuseja", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi, \r\n\r\nMicrosoft hasn't open-sourced any pretraining code, unfortunately. ", "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...
1,650
1,653
1,653
NONE
null
I was wondering is pre-training code of LayoutLMv2 model publicly available. @NielsRogge
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16942/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16942/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16941
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16941/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16941/comments
https://api.github.com/repos/huggingface/transformers/issues/16941/events
https://github.com/huggingface/transformers/pull/16941
1,215,697,430
PR_kwDOCUB6oc42ycU2
16,941
Update tokenization_bertweet.py
{ "login": "datquocnguyen", "id": 2412555, "node_id": "MDQ6VXNlcjI0MTI1NTU=", "avatar_url": "https://avatars.githubusercontent.com/u/2412555?v=4", "gravatar_id": "", "url": "https://api.github.com/users/datquocnguyen", "html_url": "https://github.com/datquocnguyen", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,651
1,651
CONTRIBUTOR
null
The emoji version must be either 0.5.4 or 0.6.0. Newer emoji versions have been updated to newer versions of the Emoji Charts, thus not consistent with the one used for pre-processing the pre-training Tweet corpus (i.e. not consistent with the vocab). # What does this PR do? <!-- Congratulations! You've made it ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16941/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16941/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16941", "html_url": "https://github.com/huggingface/transformers/pull/16941", "diff_url": "https://github.com/huggingface/transformers/pull/16941.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16941.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16940
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16940/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16940/comments
https://api.github.com/repos/huggingface/transformers/issues/16940/events
https://github.com/huggingface/transformers/issues/16940
1,215,608,063
I_kwDOCUB6oc5IdLT_
16,940
Labels shift in seq2seq example
{ "login": "markovalexander", "id": 22663468, "node_id": "MDQ6VXNlcjIyNjYzNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/22663468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/markovalexander", "html_url": "https://github.com/markovalexander", "followers_url": "https://api...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "I should read the documentation carefully..." ]
1,650
1,650
1,650
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.15.0 - Platform: Linux-4.15.0-54-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GPU?): 1.8.1+cu101 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not instal...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16940/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16940/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16939
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16939/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16939/comments
https://api.github.com/repos/huggingface/transformers/issues/16939/events
https://github.com/huggingface/transformers/issues/16939
1,215,435,001
I_kwDOCUB6oc5IchD5
16,939
Segmentation fault whenever trying to load model
{ "login": "faysalhossain2007", "id": 1239654, "node_id": "MDQ6VXNlcjEyMzk2NTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1239654?v=4", "gravatar_id": "", "url": "https://api.github.com/users/faysalhossain2007", "html_url": "https://github.com/faysalhossain2007", "followers_url": "https:/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hey @faysalhossain2007,\r\n\r\nCould you please provide a short and reproducible code snippet? E.g. if only the model loading leads to a segmentation fault, \r\ncould you please just provide a 4-liner:\r\n\r\n```python\r\nfrom transformers import AutoModel\r\nmodel = AutoModel.from_pretrained(\"...\")\r\n```", "...
1,650
1,687
1,654
NONE
null
### System Info ```shell `conda list # packages in environment at /home/faysal/anaconda3/envs/codexglue: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 1_llvm conda...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16939/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16939/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16938
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16938/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16938/comments
https://api.github.com/repos/huggingface/transformers/issues/16938/events
https://github.com/huggingface/transformers/issues/16938
1,215,271,722
I_kwDOCUB6oc5Ib5Mq
16,938
tokenizer return_special_tokens does not work correctly with custom special tokens
{ "login": "armancohan", "id": 6425112, "node_id": "MDQ6VXNlcjY0MjUxMTI=", "avatar_url": "https://avatars.githubusercontent.com/u/6425112?v=4", "gravatar_id": "", "url": "https://api.github.com/users/armancohan", "html_url": "https://github.com/armancohan", "followers_url": "https://api.github.com/users...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "I also found that - even when you add these specialized tokens it does not tokenise correctly.", "I got it working by using the `tokenizer.get_special_tokens_mask` and passing the `already_has_special_tokens=True`, instead of using the `__call__` function of the tokenizer. \r\nIn any case, the interface for `to...
1,650
1,675
1,654
CONTRIBUTOR
null
The tokenizer's returned `special_tokens_mask` does not take into account the newly added `special_tokens`. ### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.4.0-92-generic-x86_64-with-glibc2.31 - Python version: 3.9.12 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16938/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16938/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16937
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16937/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16937/comments
https://api.github.com/repos/huggingface/transformers/issues/16937/events
https://github.com/huggingface/transformers/pull/16937
1,215,149,102
PR_kwDOCUB6oc42wpRG
16,937
Fixed broken link on pipelines.mdx
{ "login": "JovaniTarnowski", "id": 49798215, "node_id": "MDQ6VXNlcjQ5Nzk4MjE1", "avatar_url": "https://avatars.githubusercontent.com/u/49798215?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JovaniTarnowski", "html_url": "https://github.com/JovaniTarnowski", "followers_url": "https://api...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16937). All of your documentation changes will be reflected on that endpoint.", "Clicking on it in chrome links to the correct page. What is your browser/setup?", "Hello @LysandreJik I'm using chrome version 101.0.4951.4...
1,650
1,654
1,654
NONE
null
# What does this PR do? When clicking in task summary the link was redirecting to a 404 not found page. <!-- 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 r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16937/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16937/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16937", "html_url": "https://github.com/huggingface/transformers/pull/16937", "diff_url": "https://github.com/huggingface/transformers/pull/16937.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16937.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16936
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16936/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16936/comments
https://api.github.com/repos/huggingface/transformers/issues/16936/events
https://github.com/huggingface/transformers/issues/16936
1,215,026,066
I_kwDOCUB6oc5Ia9OS
16,936
Adding tokens to `RobertaTokenizer` is fast, but loading the extended tokenizer from disk takes tens of minutes
{ "login": "Witiko", "id": 603082, "node_id": "MDQ6VXNlcjYwMzA4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/603082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Witiko", "html_url": "https://github.com/Witiko", "followers_url": "https://api.github.com/users/Witiko/follow...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi, pretty sure this is because `add_tokens` and therefore the `trie` creation is done N times for all the N tokens, which is indeed excruciatingly slow (and completely uncessary).\r\n\r\nI think we can create the `trie` only once, wdyt @SaulLu ", "Hi @Witiko,\r\n\r\nThanks for sharing this issue!\r\n\r\nI share...
1,650
1,654
1,654
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.10.0-0.bpo.9-amd64-x86_64-with-debian-10.12 - Python version: 3.7.3 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu102 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16936/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16936/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16935
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16935/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16935/comments
https://api.github.com/repos/huggingface/transformers/issues/16935/events
https://github.com/huggingface/transformers/pull/16935
1,214,832,004
PR_kwDOCUB6oc42vk0D
16,935
Limit the use of PreTrainedModel.device
{ "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,650
1,650
1,650
COLLABORATOR
null
# What does this PR do? I'm currently working on solutions to do model parallelism, offload weights to the CPU or the hard drive, and I've encountered some bugs linked to the way we use the `PreTrainedModel.device`: it grabs the first parameter of the model to infer a device for the whole model. This doesn't work wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16935/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16935/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16935", "html_url": "https://github.com/huggingface/transformers/pull/16935", "diff_url": "https://github.com/huggingface/transformers/pull/16935.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16935.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16934
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16934/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16934/comments
https://api.github.com/repos/huggingface/transformers/issues/16934/events
https://github.com/huggingface/transformers/pull/16934
1,214,798,725
PR_kwDOCUB6oc42vdwA
16,934
Fix Iterations for decoder
{ "login": "agemagician", "id": 6087313, "node_id": "MDQ6VXNlcjYwODczMTM=", "avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agemagician", "html_url": "https://github.com/agemagician", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
CONTRIBUTOR
null
The current script works fine if the number of decoder layers = the number of encoder layers. However, it will not work if the number of layers is not equal, like in t5-efficient models. ## Before submitting - [ ] 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/16934/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16934/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16934", "html_url": "https://github.com/huggingface/transformers/pull/16934", "diff_url": "https://github.com/huggingface/transformers/pull/16934.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16934.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16933
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16933/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16933/comments
https://api.github.com/repos/huggingface/transformers/issues/16933/events
https://github.com/huggingface/transformers/pull/16933
1,214,792,058
PR_kwDOCUB6oc42vcVe
16,933
Fix RemBertTokenizerFast
{ "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
[]
[ "I could provide the full code sample to reproduce the issue without this PR if necessary.", "_The documentation is not available anymore as the PR was closed or merged._", "Great to know the test is there (in common) 😄 " ]
1,650
1,650
1,650
COLLABORATOR
null
# What does this PR do? `RemBertTokenizer(Fast)` are similar to `AlbertTokenizer(Fast)`, the slow versions are based on `SentencePiece`. Unlike `AlbertTokenizerFast`, the fast tokenizer `RemBertTokenizerFast` doesn't have ```python self.can_save_slow_tokenizer = False if not self.vocab_file else True ``` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16933/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16933/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16933", "html_url": "https://github.com/huggingface/transformers/pull/16933", "diff_url": "https://github.com/huggingface/transformers/pull/16933.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16933.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16932
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16932/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16932/comments
https://api.github.com/repos/huggingface/transformers/issues/16932/events
https://github.com/huggingface/transformers/pull/16932
1,214,737,880
PR_kwDOCUB6oc42vQvU
16,932
CodeParrot data pretokenization
{ "login": "loubnabnl", "id": 44069155, "node_id": "MDQ6VXNlcjQ0MDY5MTU1", "avatar_url": "https://avatars.githubusercontent.com/u/44069155?v=4", "gravatar_id": "", "url": "https://api.github.com/users/loubnabnl", "html_url": "https://github.com/loubnabnl", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,652
1,652
CONTRIBUTOR
null
This PR adds code for data pretokenization of CodeParrot . In fact it takes long to tokenize the data especially for small models, so having a pretokenized dataset might improve the training speed. We also fix an error in the `README.md` and `scripts/initialize_model.py` inside the codeparrot repo. cc @lvwerra
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16932/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16932/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16932", "html_url": "https://github.com/huggingface/transformers/pull/16932", "diff_url": "https://github.com/huggingface/transformers/pull/16932.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16932.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16931
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16931/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16931/comments
https://api.github.com/repos/huggingface/transformers/issues/16931/events
https://github.com/huggingface/transformers/issues/16931
1,214,700,023
I_kwDOCUB6oc5IZtn3
16,931
ZeroShotClassificationPipeline not using GPU
{ "login": "ierezell", "id": 30974685, "node_id": "MDQ6VXNlcjMwOTc0Njg1", "avatar_url": "https://avatars.githubusercontent.com/u/30974685?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ierezell", "html_url": "https://github.com/ierezell", "followers_url": "https://api.github.com/users/ier...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "@Ierezell ,\r\n\r\npreprocessing will always happen on CPU so it's not entirely surprising. There's no way to make preprocessing happen on GPU (tokenization) afaik.\r\n\r\nHere you're using 3k sentences X 3k labels so we're looking at 9M individual `input_ids` sequences that have to be generated.\r\n\r\nCan you tr...
1,650
1,650
1,650
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.13.0-37-generic-x86_64-with-glibc2.31 - Python version: 3.9.10 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not insta...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16931/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16931/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16930
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16930/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16930/comments
https://api.github.com/repos/huggingface/transformers/issues/16930/events
https://github.com/huggingface/transformers/issues/16930
1,214,565,211
I_kwDOCUB6oc5IZMtb
16,930
[Generation] `length_penalty` means `beam_alpha`
{ "login": "ShaneTian", "id": 42370681, "node_id": "MDQ6VXNlcjQyMzcwNjgx", "avatar_url": "https://avatars.githubusercontent.com/u/42370681?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ShaneTian", "html_url": "https://github.com/ShaneTian", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "See https://github.com/huggingface/transformers/issues/4915 https://github.com/huggingface/transformers/issues/4918#issuecomment-681985118 https://github.com/huggingface/transformers/issues/14768", "cc @patrickvonplaten \r\nhttps://github.com/huggingface/transformers/blame/508baf194313c397345af868202404e285494...
1,650
1,656
1,656
NONE
null
https://github.com/huggingface/transformers/blob/508baf194313c397345af868202404e285494a28/src/transformers/generation_utils.py#L949-L952 https://github.com/huggingface/transformers/blob/508baf194313c397345af868202404e285494a28/src/transformers/generation_beam_search.py#L829 There are two issues about `length_penalt...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16930/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/16930/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16929
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16929/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16929/comments
https://api.github.com/repos/huggingface/transformers/issues/16929/events
https://github.com/huggingface/transformers/pull/16929
1,214,457,990
PR_kwDOCUB6oc42uUgo
16,929
Fix doc test quicktour dataset
{ "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,650
1,650
1,650
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/16929/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16929/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16929", "html_url": "https://github.com/huggingface/transformers/pull/16929", "diff_url": "https://github.com/huggingface/transformers/pull/16929.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16929.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16928
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16928/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16928/comments
https://api.github.com/repos/huggingface/transformers/issues/16928/events
https://github.com/huggingface/transformers/issues/16928
1,214,457,055
I_kwDOCUB6oc5IYyTf
16,928
A bug in modeling_ibert.py
{ "login": "ZhangYunchenY", "id": 55646223, "node_id": "MDQ6VXNlcjU1NjQ2MjIz", "avatar_url": "https://avatars.githubusercontent.com/u/55646223?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZhangYunchenY", "html_url": "https://github.com/ZhangYunchenY", "followers_url": "https://api.githu...
[]
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/main/CONTRIBUTING.md) a...
1,650
1,654
1,654
NONE
null
``` class IBertEmbeddings(nn.Module): def __init__(self, config): super().__init__() self.quant_mode = config.quant_mode self.embedding_bit = 8 self.embedding_act_bit = 16 self.act_bit = 8 self.ln_input_bit = 22 self.ln_output_bit = 32 se...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16928/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16928/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16927
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16927/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16927/comments
https://api.github.com/repos/huggingface/transformers/issues/16927/events
https://github.com/huggingface/transformers/pull/16927
1,214,316,888
PR_kwDOCUB6oc42t23H
16,927
Fix wrong image conditional checking
{ "login": "Charlyo", "id": 7512047, "node_id": "MDQ6VXNlcjc1MTIwNDc=", "avatar_url": "https://avatars.githubusercontent.com/u/7512047?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Charlyo", "html_url": "https://github.com/Charlyo", "followers_url": "https://api.github.com/users/Charlyo/...
[ { "id": 4235521865, "node_id": "LA_kwDOCUB6oc78dO9J", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20extractors", "name": "Feature extractors", "color": "c2e0c6", "default": false, "description": "" } ]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16927). All of your documentation changes will be reflected on that endpoint.", "Hi,\r\n\r\nThanks for your PR. If we go ahead with this, then it should also be fixed for all other feature extractors, like ViT, BEiT, DeiT, ...
1,650
1,656
1,656
NONE
null
Apparently, If an empty batch comes in, it is considered valid. However, then line 138 brakes since it tries to access element 0 of an empty batch.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16927/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16927/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16927", "html_url": "https://github.com/huggingface/transformers/pull/16927", "diff_url": "https://github.com/huggingface/transformers/pull/16927.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16927.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16926
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16926/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16926/comments
https://api.github.com/repos/huggingface/transformers/issues/16926/events
https://github.com/huggingface/transformers/pull/16926
1,214,308,233
PR_kwDOCUB6oc42t1FG
16,926
Pytorch QA examples fix & clean-up (code dedup)
{ "login": "searchivarius", "id": 825650, "node_id": "MDQ6VXNlcjgyNTY1MA==", "avatar_url": "https://avatars.githubusercontent.com/u/825650?v=4", "gravatar_id": "", "url": "https://api.github.com/users/searchivarius", "html_url": "https://github.com/searchivarius", "followers_url": "https://api.github.co...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for your PR! The first point is not something we want, as we would like the user to see all the code in one file for the data preparation/basic postprocessing. The functions put in the `utils` module are a bit different in the...
1,650
1,650
1,650
CONTRIBUTOR
null
Thank you for the great library! I had to clean up QA examples, because of the duplicate pre- and post-processing code. However, while doing so I have encountered a number of issues that I had to fix. Please, see details below. # What does this PR do? 1. refactoring: consolidating duplicate post-processing functi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16926/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16926/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16926", "html_url": "https://github.com/huggingface/transformers/pull/16926", "diff_url": "https://github.com/huggingface/transformers/pull/16926.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16926.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16925
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16925/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16925/comments
https://api.github.com/repos/huggingface/transformers/issues/16925/events
https://github.com/huggingface/transformers/pull/16925
1,214,286,477
PR_kwDOCUB6oc42twmb
16,925
Update build_pr_documentation.yml
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
CONTRIBUTOR
null
Testing https://github.com/huggingface/doc-builder/pull/197 [don't merge]
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16925/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16925/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16925", "html_url": "https://github.com/huggingface/transformers/pull/16925", "diff_url": "https://github.com/huggingface/transformers/pull/16925.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16925.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16924
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16924/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16924/comments
https://api.github.com/repos/huggingface/transformers/issues/16924/events
https://github.com/huggingface/transformers/issues/16924
1,214,265,611
I_kwDOCUB6oc5IYDkL
16,924
[BigScience176B] Model conversion from Megatron-LM to transformers
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "I will start by linking this thread to this PR. A possible next step and improvement could be to get some ideas of the equivalency tests that has been made by this PR bigscience-workshop/Megatron-DeepSpeed#121", "Also I think the big picture is we want to generate ASAP. (perhaps even before checking exactitude o...
1,650
1,653
1,653
CONTRIBUTOR
null
### Feature request Creating here a thread for the model conversion of the BigScience-176B model from Megatron-LM to the transformers library. I will summarize here what I have done so far, the current status of the conversion procedure, as well as a summary of the 'discoveries' that I have made and the small detail...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16924/reactions", "total_count": 3, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16924/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16923
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16923/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16923/comments
https://api.github.com/repos/huggingface/transformers/issues/16923/events
https://github.com/huggingface/transformers/pull/16923
1,214,252,837
PR_kwDOCUB6oc42tpzo
16,923
QA examples fixing & clean-up:
{ "login": "searchivarius", "id": 825650, "node_id": "MDQ6VXNlcjgyNTY1MA==", "avatar_url": "https://avatars.githubusercontent.com/u/825650?v=4", "gravatar_id": "", "url": "https://api.github.com/users/searchivarius", "html_url": "https://github.com/searchivarius", "followers_url": "https://api.github.co...
[]
closed
false
null
[]
[]
1,650
1,650
1,650
CONTRIBUTOR
null
Thank you for the great library! I had to clean up QA examples, because of the duplicate pre- and post-processing code. However, while doing so I have encountered a number of issues that I had to fix. Please, see details below. # What does this PR do? 1. refactoring: consolidating duplicate post-processing functi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16923/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16923/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16923", "html_url": "https://github.com/huggingface/transformers/pull/16923", "diff_url": "https://github.com/huggingface/transformers/pull/16923.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16923.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16922
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16922/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16922/comments
https://api.github.com/repos/huggingface/transformers/issues/16922/events
https://github.com/huggingface/transformers/pull/16922
1,214,236,083
PR_kwDOCUB6oc42tmZ0
16,922
Spanish translation of the file philosophy.mdx
{ "login": "jkmg", "id": 13305243, "node_id": "MDQ6VXNlcjEzMzA1MjQz", "avatar_url": "https://avatars.githubusercontent.com/u/13305243?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jkmg", "html_url": "https://github.com/jkmg", "followers_url": "https://api.github.com/users/jkmg/followers"...
[]
closed
false
null
[]
[ "Spanish translation of the file philosophy.mdx #15947", "Thank you @jkmg! Could you please add `philosophy` to [`transformers/docs/source/es/_toctree.yml`](https://github.com/huggingface/transformers/blob/main/docs/source/es/_toctree.yml)? As a reference, you can use the [new Translation](https://github.com/hugg...
1,650
1,652
1,652
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/16922/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16922/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16922", "html_url": "https://github.com/huggingface/transformers/pull/16922", "diff_url": "https://github.com/huggingface/transformers/pull/16922.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16922.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16921
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16921/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16921/comments
https://api.github.com/repos/huggingface/transformers/issues/16921/events
https://github.com/huggingface/transformers/pull/16921
1,214,209,011
PR_kwDOCUB6oc42tg5t
16,921
QA examples fixing & clean-up:
{ "login": "searchivarius", "id": 825650, "node_id": "MDQ6VXNlcjgyNTY1MA==", "avatar_url": "https://avatars.githubusercontent.com/u/825650?v=4", "gravatar_id": "", "url": "https://api.github.com/users/searchivarius", "html_url": "https://github.com/searchivarius", "followers_url": "https://api.github.co...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
CONTRIBUTOR
null
Thank you for the great library! I had to clean up QA examples, because of the duplicate pre- and post-processing code. However, while doing so I have encountered a number of issues that I had to fix. Please, see details below. # What does this PR do? 1. refactoring: consolidating duplicate post-processing functi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16921/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16921/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16921", "html_url": "https://github.com/huggingface/transformers/pull/16921", "diff_url": "https://github.com/huggingface/transformers/pull/16921.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16921.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16920
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16920/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16920/comments
https://api.github.com/repos/huggingface/transformers/issues/16920/events
https://github.com/huggingface/transformers/pull/16920
1,214,150,782
PR_kwDOCUB6oc42tVRT
16,920
Fix `KeyError` when initialize the model with `ignore_mismatched_sizes=True`
{ "login": "tricktreat", "id": 25740077, "node_id": "MDQ6VXNlcjI1NzQwMDc3", "avatar_url": "https://avatars.githubusercontent.com/u/25740077?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tricktreat", "html_url": "https://github.com/tricktreat", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,651
1,651
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/16920/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16920/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16920", "html_url": "https://github.com/huggingface/transformers/pull/16920", "diff_url": "https://github.com/huggingface/transformers/pull/16920.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16920.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16919
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16919/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16919/comments
https://api.github.com/repos/huggingface/transformers/issues/16919/events
https://github.com/huggingface/transformers/pull/16919
1,214,124,042
PR_kwDOCUB6oc42tPxV
16,919
[TESTING] Update build_pr_documentation.yml
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
CONTRIBUTOR
null
Important: not to be merged Testing https://github.com/huggingface/doc-builder/pull/197
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16919/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16919/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16919", "html_url": "https://github.com/huggingface/transformers/pull/16919", "diff_url": "https://github.com/huggingface/transformers/pull/16919.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16919.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16918
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16918/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16918/comments
https://api.github.com/repos/huggingface/transformers/issues/16918/events
https://github.com/huggingface/transformers/pull/16918
1,214,005,204
PR_kwDOCUB6oc42s3jk
16,918
refactoring & fixing Pytorch QA examples
{ "login": "searchivarius", "id": 825650, "node_id": "MDQ6VXNlcjgyNTY1MA==", "avatar_url": "https://avatars.githubusercontent.com/u/825650?v=4", "gravatar_id": "", "url": "https://api.github.com/users/searchivarius", "html_url": "https://github.com/searchivarius", "followers_url": "https://api.github.co...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
CONTRIBUTOR
null
# What does this PR do? This PR improves/fixes Pytorch QA examples in several ways: 1. extracted duplicating post-processing functions (now shared between regular and no-trainer version) 2. fixed squad v2-eval error in utils_qa.py (one was newly encountered and one that was previously reported. 3. added forgotte...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16918/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16918/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16918", "html_url": "https://github.com/huggingface/transformers/pull/16918", "diff_url": "https://github.com/huggingface/transformers/pull/16918.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16918.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16917
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16917/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16917/comments
https://api.github.com/repos/huggingface/transformers/issues/16917/events
https://github.com/huggingface/transformers/pull/16917
1,213,975,757
PR_kwDOCUB6oc42sxWi
16,917
refactoring & fixing Pytorch QA examples
{ "login": "searchivarius", "id": 825650, "node_id": "MDQ6VXNlcjgyNTY1MA==", "avatar_url": "https://avatars.githubusercontent.com/u/825650?v=4", "gravatar_id": "", "url": "https://api.github.com/users/searchivarius", "html_url": "https://github.com/searchivarius", "followers_url": "https://api.github.co...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
CONTRIBUTOR
null
# What does this PR do? This PR improves/fixes Pytorch QA examples in several ways: 1. extracted duplicating post-processing functions (now shared between regular and no-trainer version) 2. added/fixed code to save statistics to some no-trainer versions (one was even buggy) 3. fixed squad v2-eval error in utils_q...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16917/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16917/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16917", "html_url": "https://github.com/huggingface/transformers/pull/16917", "diff_url": "https://github.com/huggingface/transformers/pull/16917.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16917.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16916
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16916/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16916/comments
https://api.github.com/repos/huggingface/transformers/issues/16916/events
https://github.com/huggingface/transformers/pull/16916
1,213,926,795
PR_kwDOCUB6oc42sm35
16,916
refactoring & fixing Pytorch QA examples
{ "login": "searchivarius", "id": 825650, "node_id": "MDQ6VXNlcjgyNTY1MA==", "avatar_url": "https://avatars.githubusercontent.com/u/825650?v=4", "gravatar_id": "", "url": "https://api.github.com/users/searchivarius", "html_url": "https://github.com/searchivarius", "followers_url": "https://api.github.co...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
CONTRIBUTOR
null
# What does this PR do? This PR improves/fixes Pytorch QA examples in several ways: 1. extracted duplicating post-processing functions (now shared between regular and no-trainer version) 2. added/fixed code to save statistics to some no-trainer versions (one was even buggy) 3. fixed squad v2-eval error in utils_q...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16916/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16916/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16916", "html_url": "https://github.com/huggingface/transformers/pull/16916", "diff_url": "https://github.com/huggingface/transformers/pull/16916.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16916.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16915
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16915/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16915/comments
https://api.github.com/repos/huggingface/transformers/issues/16915/events
https://github.com/huggingface/transformers/pull/16915
1,213,919,368
PR_kwDOCUB6oc42slPZ
16,915
Option to return output object from Trainer.evaluate
{ "login": "vishalsrao", "id": 36671559, "node_id": "MDQ6VXNlcjM2NjcxNTU5", "avatar_url": "https://avatars.githubusercontent.com/u/36671559?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vishalsrao", "html_url": "https://github.com/vishalsrao", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Why not use the `predict` method in this case?", "Thanks @sgugger. I didn't know predict can return metrics too." ]
1,650
1,651
1,651
NONE
null
Added an option to return output object from Trainer.evaluate along with metrics. This can help in analyses which use predicted results of evaluation dataset.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16915/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16915/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16915", "html_url": "https://github.com/huggingface/transformers/pull/16915", "diff_url": "https://github.com/huggingface/transformers/pull/16915.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16915.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16914
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16914/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16914/comments
https://api.github.com/repos/huggingface/transformers/issues/16914/events
https://github.com/huggingface/transformers/issues/16914
1,213,858,275
I_kwDOCUB6oc5IWgHj
16,914
LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking
{ "login": "seanbenhur", "id": 43300345, "node_id": "MDQ6VXNlcjQzMzAwMzQ1", "avatar_url": "https://avatars.githubusercontent.com/u/43300345?v=4", "gravatar_id": "", "url": "https://api.github.com/users/seanbenhur", "html_url": "https://github.com/seanbenhur", "followers_url": "https://api.github.com/use...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[ "cc @NielsRogge :)" ]
1,650
1,653
1,653
NONE
null
### Model description LayoutLMV3 is the successor of the LayoutLM models. the models are specialized in multimodal document analysis tasks and achieve SOTA results on them. The current [code](https://github.com/microsoft/unilm/blob/master/layoutlmv3/layoutlmft/models/layoutlmv3/modeling_layoutlmv3.py) for the Layou...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16914/reactions", "total_count": 13, "+1": 11, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16914/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16913
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16913/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16913/comments
https://api.github.com/repos/huggingface/transformers/issues/16913/events
https://github.com/huggingface/transformers/pull/16913
1,213,773,314
PR_kwDOCUB6oc42sGiK
16,913
Missing `f` prefix on f-strings fix
{ "login": "code-review-doctor", "id": 72647856, "node_id": "MDQ6VXNlcjcyNjQ3ODU2", "avatar_url": "https://avatars.githubusercontent.com/u/72647856?v=4", "gravatar_id": "", "url": "https://api.github.com/users/code-review-doctor", "html_url": "https://github.com/code-review-doctor", "followers_url": "ht...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
CONTRIBUTOR
null
Fixes #16911
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16913/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16913/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16913", "html_url": "https://github.com/huggingface/transformers/pull/16913", "diff_url": "https://github.com/huggingface/transformers/pull/16913.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16913.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16912
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16912/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16912/comments
https://api.github.com/repos/huggingface/transformers/issues/16912/events
https://github.com/huggingface/transformers/pull/16912
1,213,709,848
PR_kwDOCUB6oc42r6LE
16,912
TF: XLA logits processors - minimum length, forced eos, and forced bos
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
MEMBER
null
# What does this PR do? (Review after https://github.com/huggingface/transformers/pull/16899) A few more XLA-compatible logits processors -- minimum length, forced eos, and forced bos. Only the first one needed changes, mostly to avoid needless retracing (it actually compiled without changes but would trigger a r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16912/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16912/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16912", "html_url": "https://github.com/huggingface/transformers/pull/16912", "diff_url": "https://github.com/huggingface/transformers/pull/16912.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16912.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16911
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16911/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16911/comments
https://api.github.com/repos/huggingface/transformers/issues/16911/events
https://github.com/huggingface/transformers/issues/16911
1,213,466,411
I_kwDOCUB6oc5IVAcr
16,911
Missing `f` prefix on f-strings
{ "login": "code-review-doctor", "id": 72647856, "node_id": "MDQ6VXNlcjcyNjQ3ODU2", "avatar_url": "https://avatars.githubusercontent.com/u/72647856?v=4", "gravatar_id": "", "url": "https://api.github.com/users/code-review-doctor", "html_url": "https://github.com/code-review-doctor", "followers_url": "ht...
[]
closed
false
null
[]
[]
1,650
1,650
1,650
CONTRIBUTOR
null
Some strings looks like they're meant to be f-strings but are missing the `f` prefix meaning variable interpolation won't happen. https://github.com/huggingface/transformers/blob/d91841315aab55cf1347f4eb59332858525fad0f/src/transformers/utils/hub.py#L751 https://github.com/huggingface/transformers/blob/d91841315aab55c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16911/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16911/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16910
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16910/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16910/comments
https://api.github.com/repos/huggingface/transformers/issues/16910/events
https://github.com/huggingface/transformers/issues/16910
1,213,442,109
I_kwDOCUB6oc5IU6g9
16,910
push_to_hub on custom tokenizer causing a flood of "deadlock" messages
{ "login": "cakiki", "id": 3664563, "node_id": "MDQ6VXNlcjM2NjQ1NjM=", "avatar_url": "https://avatars.githubusercontent.com/u/3664563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cakiki", "html_url": "https://github.com/cakiki", "followers_url": "https://api.github.com/users/cakiki/foll...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
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/main/CONTRIBUTING.md) a...
1,650
1,654
1,654
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-4.15.0-176-generic-x86_64-with-glibc2.31 - Python version: 3.9.10 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0 (False) - Tensorflow version (GPU?): 2.8.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16910/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16910/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16909
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16909/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16909/comments
https://api.github.com/repos/huggingface/transformers/issues/16909/events
https://github.com/huggingface/transformers/issues/16909
1,213,405,039
I_kwDOCUB6oc5IUxdv
16,909
Mask Token Spacing in RobertaTokenizer
{ "login": "mpoemsl", "id": 37959974, "node_id": "MDQ6VXNlcjM3OTU5OTc0", "avatar_url": "https://avatars.githubusercontent.com/u/37959974?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mpoemsl", "html_url": "https://github.com/mpoemsl", "followers_url": "https://api.github.com/users/mpoems...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hello @mpoemsl ,\r\n\r\nSorry for the late reply. I don't think it's really a bug but I'd be interested to know why you used the decoding feature with Roberta (and Bert). :smile: ", "Hi @SaulLu, thanks for your reply! \r\n\r\nI have been working on a model that uses representations derived from Transformer langu...
1,650
1,656
1,656
CONTRIBUTOR
null
### System Info - `transformers` version: 4.18.0 - Platform: Linux-5.16.13-200.fc35.x86_64-x86_64-with-glibc2.34 - Python version: 3.10.2 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): not installed (NA) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16909/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/16909/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16908
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16908/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16908/comments
https://api.github.com/repos/huggingface/transformers/issues/16908/events
https://github.com/huggingface/transformers/issues/16908
1,213,333,845
I_kwDOCUB6oc5IUgFV
16,908
Name of LayerNorm parameter in RobertaLMHead.
{ "login": "silencio94", "id": 40610160, "node_id": "MDQ6VXNlcjQwNjEwMTYw", "avatar_url": "https://avatars.githubusercontent.com/u/40610160?v=4", "gravatar_id": "", "url": "https://api.github.com/users/silencio94", "html_url": "https://github.com/silencio94", "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/main/CONTRIBUTING.md) a...
1,650
1,654
1,654
NONE
null
As you know, current training codes using `weight decay`, usually detect target parameters based on their names. e.g.) ```javascript no_decay = ["bias", "LayerNorm.weight"] optimizer_grouped_parameters = [ {"params": [p for n, p in model.named_parameters() if not any(nd in n for nd in no_decay)], "weig...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16908/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16908/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16907
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16907/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16907/comments
https://api.github.com/repos/huggingface/transformers/issues/16907/events
https://github.com/huggingface/transformers/pull/16907
1,213,328,832
PR_kwDOCUB6oc42q5nY
16,907
[WIP] Enable reproducibility for distributed trainings
{ "login": "hasansalimkanmaz", "id": 49716619, "node_id": "MDQ6VXNlcjQ5NzE2NjE5", "avatar_url": "https://avatars.githubusercontent.com/u/49716619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hasansalimkanmaz", "html_url": "https://github.com/hasansalimkanmaz", "followers_url": "https://...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Thanks for working on this, that's an important feature! So as to not introduce a breaking change, and for clarity of the API, I'd personally vouch for not adding the `enable_determinism` flag to the `set_seed` method.\r\n> \r\n> F...
1,650
1,653
1,652
CONTRIBUTOR
null
# What does this PR do? This PR ensures reproducibility for distributed trainings by setting seed for worker in dataloader and setting environment variables for cuda. This PR is motivated by [this issue](https://github.com/huggingface/transformers/issues/16549#). ## Who can review? @saattrupdan @sgugger I am l...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16907/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16907/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16907", "html_url": "https://github.com/huggingface/transformers/pull/16907", "diff_url": "https://github.com/huggingface/transformers/pull/16907.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16907.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16906
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16906/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16906/comments
https://api.github.com/repos/huggingface/transformers/issues/16906/events
https://github.com/huggingface/transformers/pull/16906
1,213,271,025
PR_kwDOCUB6oc42qwex
16,906
Add missing whitespaces in RuntimeError message
{ "login": "ftnext", "id": 21273221, "node_id": "MDQ6VXNlcjIxMjczMjIx", "avatar_url": "https://avatars.githubusercontent.com/u/21273221?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ftnext", "html_url": "https://github.com/ftnext", "followers_url": "https://api.github.com/users/ftnext/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,651
1,651
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/16906/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16906/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16906", "html_url": "https://github.com/huggingface/transformers/pull/16906", "diff_url": "https://github.com/huggingface/transformers/pull/16906.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16906.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16905
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16905/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16905/comments
https://api.github.com/repos/huggingface/transformers/issues/16905/events
https://github.com/huggingface/transformers/issues/16905
1,213,269,668
I_kwDOCUB6oc5IUQak
16,905
Missing whitespaces at RuntimeError message
{ "login": "ftnext", "id": 21273221, "node_id": "MDQ6VXNlcjIxMjczMjIx", "avatar_url": "https://avatars.githubusercontent.com/u/21273221?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ftnext", "html_url": "https://github.com/ftnext", "followers_url": "https://api.github.com/users/ftnext/fo...
[]
closed
false
null
[]
[]
1,650
1,651
1,651
CONTRIBUTOR
null
Trailing whitespaces are missing, https://github.com/huggingface/transformers/blob/31ec2cb2badfbdd4c1ac9c6c9b8a74e974984206/src/transformers/pipelines/__init__.py#L494-L499 so the error message is a little hard to read. ```python >>> from transformers import pipeline >>> pipeline(task=None, model=None) Trac...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16905/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16905/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16904
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16904/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16904/comments
https://api.github.com/repos/huggingface/transformers/issues/16904/events
https://github.com/huggingface/transformers/issues/16904
1,213,266,807
I_kwDOCUB6oc5IUPt3
16,904
Source link of transformers.pipeline is broken
{ "login": "ftnext", "id": 21273221, "node_id": "MDQ6VXNlcjIxMjczMjIx", "avatar_url": "https://avatars.githubusercontent.com/u/21273221?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ftnext", "html_url": "https://github.com/ftnext", "followers_url": "https://api.github.com/users/ftnext/fo...
[]
closed
false
null
[]
[ "cc @sgugger @mishig25 ", "`doc-builder` doesn't like objects defined in `__init__`, will send a fix.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not f...
1,650
1,654
1,654
CONTRIBUTOR
null
This is about **documentation link error**. There is a issue on the page https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.pipeline <img width="550" alt="image" src="https://user-images.githubusercontent.com/21273221/164890499-54a79a1a-12c7-4776-bcf7-c39bf6f3efc1.png"> **Procedure** ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16904/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16904/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16903
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16903/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16903/comments
https://api.github.com/repos/huggingface/transformers/issues/16903/events
https://github.com/huggingface/transformers/issues/16903
1,213,259,353
I_kwDOCUB6oc5IUN5Z
16,903
T5base memory usage for interface
{ "login": "Oxi84", "id": 25420033, "node_id": "MDQ6VXNlcjI1NDIwMDMz", "avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Oxi84", "html_url": "https://github.com/Oxi84", "followers_url": "https://api.github.com/users/Oxi84/follow...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "@Oxi84,\r\n\r\nCould you please provide us with a codesnippet that shows the error?", "@patrickvonplaten \r\n\r\nHere is it - it takes 1300 mb of GPU memory and the model size is just 850 mb. I tried all combinations, and 1300 mb is minimum. For example T5 large takes around 2000 MB, and ithe model size is 2.7 G...
1,650
1,654
1,654
NONE
null
### System Info ```shell Ubuntu 18.04 RTX 2080 ``` ### Who can help? @patrickvonplaten ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16903/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16903/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16902
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16902/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16902/comments
https://api.github.com/repos/huggingface/transformers/issues/16902/events
https://github.com/huggingface/transformers/pull/16902
1,213,201,654
PR_kwDOCUB6oc42qk8f
16,902
migrate azure blob for beit checkpoints
{ "login": "donglixp", "id": 1070872, "node_id": "MDQ6VXNlcjEwNzA4NzI=", "avatar_url": "https://avatars.githubusercontent.com/u/1070872?v=4", "gravatar_id": "", "url": "https://api.github.com/users/donglixp", "html_url": "https://github.com/donglixp", "followers_url": "https://api.github.com/users/dongl...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,652
1,652
CONTRIBUTOR
null
## Motivation We are going to use a new blob account to store the checkpoints. ## Modification Modify the azure blob storage URLs for BEiT checkpoints. # 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 t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16902/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/16902/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16902", "html_url": "https://github.com/huggingface/transformers/pull/16902", "diff_url": "https://github.com/huggingface/transformers/pull/16902.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16902.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16901
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16901/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16901/comments
https://api.github.com/repos/huggingface/transformers/issues/16901/events
https://github.com/huggingface/transformers/pull/16901
1,213,071,759
PR_kwDOCUB6oc42qNex
16,901
[WIP] Avoid BERT `attention_mask` from promoting dtype in self-attention `forward()`
{ "login": "awgu", "id": 31054793, "node_id": "MDQ6VXNlcjMxMDU0Nzkz", "avatar_url": "https://avatars.githubusercontent.com/u/31054793?v=4", "gravatar_id": "", "url": "https://api.github.com/users/awgu", "html_url": "https://github.com/awgu", "followers_url": "https://api.github.com/users/awgu/followers"...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
NONE
null
### Overview ~The `attention_mask` passed into `BertSelfAttention.forward()` is taken from the BERT model's first parameter dtype at **construction time**.~ <details> <summary>Code Pointers</summary> https://github.com/huggingface/transformers/blob/22fc93c4d9608fa9cd171b4f3044f8c756f86773/src/transformers/m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16901/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16901/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16901", "html_url": "https://github.com/huggingface/transformers/pull/16901", "diff_url": "https://github.com/huggingface/transformers/pull/16901.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16901.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16900
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16900/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16900/comments
https://api.github.com/repos/huggingface/transformers/issues/16900/events
https://github.com/huggingface/transformers/pull/16900
1,212,762,040
PR_kwDOCUB6oc42pTS8
16,900
Add missing ckpt in config docs
{ "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._", "> Thanks for fixing all of those! It would be awesome to have some kind of quality script to check we don't introduce new faulty checkpoints.\r\n\r\nYes, I do have some (draft) check locally. I plan to add it in another PR (unless it...
1,650
1,650
1,650
COLLABORATOR
null
# What does this PR do? As discussed on Slack, I worked on the `Config` files to add missing information about checkpoints, or correct them. - I tried to check the mentioned checkpoints are actually on the Hub - also tried to make sure the checkpoints are for the target architecture - I didn't verify the statem...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16900/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16900/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16900", "html_url": "https://github.com/huggingface/transformers/pull/16900", "diff_url": "https://github.com/huggingface/transformers/pull/16900.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16900.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16899
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16899/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16899/comments
https://api.github.com/repos/huggingface/transformers/issues/16899/events
https://github.com/huggingface/transformers/pull/16899
1,212,659,459
PR_kwDOCUB6oc42o9Z3
16,899
TF: XLA Logits Warpers
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@patrickvonplaten Sorry, I know you've already reviewed this, but I'm going to re-request your review. I realized the tests were much easier to understand (and with fewer lines) if they were parametrized, instead of having two tests ...
1,650
1,657
1,650
MEMBER
null
# What does this PR do? This PR enables XLA on the logits warpers... which actually needed no changes. In essence, it adds XLA tests to ensure we don't regress.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16899/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/16899/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16899", "html_url": "https://github.com/huggingface/transformers/pull/16899", "diff_url": "https://github.com/huggingface/transformers/pull/16899.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16899.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16898
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16898/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16898/comments
https://api.github.com/repos/huggingface/transformers/issues/16898/events
https://github.com/huggingface/transformers/issues/16898
1,212,658,220
I_kwDOCUB6oc5IR7Is
16,898
ValueError: cannot find context for 'fork' when processor_with_lm.batch_decode(_logits)
{ "login": "elsheikh21", "id": 26064109, "node_id": "MDQ6VXNlcjI2MDY0MTA5", "avatar_url": "https://avatars.githubusercontent.com/u/26064109?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elsheikh21", "html_url": "https://github.com/elsheikh21", "followers_url": "https://api.github.com/use...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Related https://github.com/woven-planet/l5kit/issues/129", "Hey @elsheikh21,\r\n\r\nLet's try to narrow the bug further down :-) \r\n\r\nDoes the following work for you: \r\n\r\n```python\r\nfrom multiprocessing import get_context\r\npool = get_context(\"fork\").Pool(num_processes)\r\npool.close()\r\n```\r\n\r\n...
1,650
1,658
1,658
NONE
null
### System Info ```shell ## Environment info - `transformers` version: 4.17.0 - Platform: Windows-10-10.0.22000-SP0 - Python version: 3.8.13 - PyTorch version (GPU?): 1.9.1 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16898/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16898/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16897
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16897/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16897/comments
https://api.github.com/repos/huggingface/transformers/issues/16897/events
https://github.com/huggingface/transformers/pull/16897
1,212,657,899
PR_kwDOCUB6oc42o9EW
16,897
Fix typos BigBird ONNX conversion
{ "login": "chainyo", "id": 50595514, "node_id": "MDQ6VXNlcjUwNTk1NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/50595514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chainyo", "html_url": "https://github.com/chainyo", "followers_url": "https://api.github.com/users/chainy...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
CONTRIBUTOR
null
# What does this PR do? I tried to convert one `BigBird` model to ONNX with the recent PR merged #16427 But it seems that there is a typo in the `src/transformers/onnx/features.py` file. I also fixed the typo in the test_v2 file. Here is the error I get while trying to convert `google/bigbird-roberta-base`. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16897/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16897/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16897", "html_url": "https://github.com/huggingface/transformers/pull/16897", "diff_url": "https://github.com/huggingface/transformers/pull/16897.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16897.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16896
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16896/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16896/comments
https://api.github.com/repos/huggingface/transformers/issues/16896/events
https://github.com/huggingface/transformers/pull/16896
1,212,574,829
PR_kwDOCUB6oc42osXC
16,896
MobileBERT tokenizer tests
{ "login": "leondz", "id": 121934, "node_id": "MDQ6VXNlcjEyMTkzNA==", "avatar_url": "https://avatars.githubusercontent.com/u/121934?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leondz", "html_url": "https://github.com/leondz", "followers_url": "https://api.github.com/users/leondz/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Obviously - thanks!", "Hi, @leondz \r\n\r\nThe main branch has recently merged a PR that changes test folders, like \r\n```\r\ntests/mobilebert -> tests/models/mobilebert\r\n```\r\nCould you follow the ideas shown in the instructio...
1,650
1,652
1,652
CONTRIBUTOR
null
# What does this PR do? This PR implements tests for MobileBERT. As MobileBERT uses a copy of the BERT Tokenizer, the test inherits from BertTokenizationTest, and also checks the merge & vocab files for these two models are identical. Contributes fixes to issue #16627 ## Before submitting - [ ] This PR fixe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16896/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16896/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16896", "html_url": "https://github.com/huggingface/transformers/pull/16896", "diff_url": "https://github.com/huggingface/transformers/pull/16896.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16896.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16895
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16895/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16895/comments
https://api.github.com/repos/huggingface/transformers/issues/16895/events
https://github.com/huggingface/transformers/issues/16895
1,212,572,854
I_kwDOCUB6oc5IRmS2
16,895
Datasets: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe'
{ "login": "loretoparisi", "id": 163333, "node_id": "MDQ6VXNlcjE2MzMzMw==", "avatar_url": "https://avatars.githubusercontent.com/u/163333?v=4", "gravatar_id": "", "url": "https://api.github.com/users/loretoparisi", "html_url": "https://github.com/loretoparisi", "followers_url": "https://api.github.com/u...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @loretoparisi 👋 this seems to be a `datasets` issue, I'd suggest opening an issue there 👉 https://github.com/huggingface/datasets", "Thank you opened!\n\nhttps://github.com/huggingface/datasets/issues/4210" ]
1,650
1,650
1,650
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.10.0+cu111 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16895/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/16895/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16894
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16894/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16894/comments
https://api.github.com/repos/huggingface/transformers/issues/16894/events
https://github.com/huggingface/transformers/pull/16894
1,212,469,956
PR_kwDOCUB6oc42oV6E
16,894
Remove device parameter from create_extended_attention_mask_for_decoder
{ "login": "pbelevich", "id": 1160355, "node_id": "MDQ6VXNlcjExNjAzNTU=", "avatar_url": "https://avatars.githubusercontent.com/u/1160355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pbelevich", "html_url": "https://github.com/pbelevich", "followers_url": "https://api.github.com/users/pb...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This seems legit for me, pinging @LysandreJik, @sgugger and @ydshieh to comment on this.\r\n", "LGTM, as it uses the device from the argument `attention_mask`.\r\n\r\nhttps://github.com/huggingface/transformers/blob/5d59df5e880cba3...
1,650
1,651
1,651
CONTRIBUTOR
null
# What does this PR do? This RP removes redundant `device` parameter from `create_extended_attention_mask_for_decoder` that may cause potential issues if passed `device` is not equal `attention_mask.device`, see line [`modeling_utils.py#L610`](https://github.com/huggingface/transformers/blob/6d90d76f5db344e333ec184c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16894/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16894/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16894", "html_url": "https://github.com/huggingface/transformers/pull/16894", "diff_url": "https://github.com/huggingface/transformers/pull/16894.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16894.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16893
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16893/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16893/comments
https://api.github.com/repos/huggingface/transformers/issues/16893/events
https://github.com/huggingface/transformers/pull/16893
1,212,434,281
PR_kwDOCUB6oc42oOWZ
16,893
Make create_extended_attention_mask_for_decoder static method
{ "login": "pbelevich", "id": 1160355, "node_id": "MDQ6VXNlcjExNjAzNTU=", "avatar_url": "https://avatars.githubusercontent.com/u/1160355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pbelevich", "html_url": "https://github.com/pbelevich", "followers_url": "https://api.github.com/users/pb...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "(just a comment)\r\n\r\nWould it be possible to provide the code sample for the issue that occurs without this PR, or a link to the issue page?", "Looks good to me once all the tests pass.\r\nPinging @sgugger for review!", "> Wou...
1,650
1,651
1,651
CONTRIBUTOR
null
# What does this PR do?' `create_extended_attention_mask_for_decoder` doesn't access `self` and can be `@staticmethod`. This resolves some issues with fx tracing for pytorch pipeline parallelism project. cc @michaelbenayoun <!-- Congratulations! You've made it this far! You're not quite done yet though. O...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16893/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16893/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16893", "html_url": "https://github.com/huggingface/transformers/pull/16893", "diff_url": "https://github.com/huggingface/transformers/pull/16893.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16893.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16892
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16892/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16892/comments
https://api.github.com/repos/huggingface/transformers/issues/16892/events
https://github.com/huggingface/transformers/pull/16892
1,212,413,861
PR_kwDOCUB6oc42oJ83
16,892
TF: XLA stable softmax
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This looks good to me! Do you think it would be better to change `stable_softmax` to only add the offset if we're running on CPU? It makes very little difference either way, but we could hide the complexity of that inside `stable_sof...
1,650
1,650
1,650
MEMBER
null
# What does this PR do? As discussed in the thread about XLA problems (https://github.com/huggingface/transformers/issues/16838), this PR adds a stable wrapper for the softmax operation, and replaces `tf.nn.softmax` by the wrapped function. This PR: - Adds the wrapped softmax, named `stable_softmax`, in `tf_util...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16892/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16892/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16892", "html_url": "https://github.com/huggingface/transformers/pull/16892", "diff_url": "https://github.com/huggingface/transformers/pull/16892.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16892.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16891
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16891/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16891/comments
https://api.github.com/repos/huggingface/transformers/issues/16891/events
https://github.com/huggingface/transformers/pull/16891
1,212,407,947
PR_kwDOCUB6oc42oIrb
16,891
Minor fixes/improvements in `convert_file_size_to_int`
{ "login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
CONTRIBUTOR
null
Fix `convert_file_size_to_int`'s docstring example and the GB str to int conversion (per [this comment](https://github.com/huggingface/datasets/pull/4190#discussion_r856022534) by @lhoestq).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16891/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16891/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16891", "html_url": "https://github.com/huggingface/transformers/pull/16891", "diff_url": "https://github.com/huggingface/transformers/pull/16891.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16891.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16890
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16890/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16890/comments
https://api.github.com/repos/huggingface/transformers/issues/16890/events
https://github.com/huggingface/transformers/issues/16890
1,212,362,452
I_kwDOCUB6oc5IQy7U
16,890
LED Model returns AlgorithmError when using SageMaker SMP training
{ "login": "kanwari3", "id": 62451944, "node_id": "MDQ6VXNlcjYyNDUxOTQ0", "avatar_url": "https://avatars.githubusercontent.com/u/62451944?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kanwari3", "html_url": "https://github.com/kanwari3", "followers_url": "https://api.github.com/users/kan...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "cc @philschmid ", "I would also suggest @kanwari3 to\r\n- try to use the same Python/PyTorch/transformers versions (and other libraries) on SageMaker that work locally (if possible)\r\n- if the above doesn't work, try to use on local machine the same versions as those used on SageMaker, and see if you still get ...
1,650
1,656
1,653
NONE
null
### System Info ```shell using sagemaker mpi_options = { "enabled" : True, "processes_per_host" : 8 } smp_options = { "enabled":True, "parameters": { "microbatches": 1, "placement_strategy": "spread", "pipeline": "interleaved", "optimize": "memory", ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16890/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16890/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16889
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16889/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16889/comments
https://api.github.com/repos/huggingface/transformers/issues/16889/events
https://github.com/huggingface/transformers/pull/16889
1,212,057,956
PR_kwDOCUB6oc42nC8k
16,889
[DocTests] Fix some doc 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._" ]
1,650
1,650
1,650
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/16889/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16889/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16889", "html_url": "https://github.com/huggingface/transformers/pull/16889", "diff_url": "https://github.com/huggingface/transformers/pull/16889.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16889.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16888
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16888/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16888/comments
https://api.github.com/repos/huggingface/transformers/issues/16888/events
https://github.com/huggingface/transformers/issues/16888
1,211,804,426
I_kwDOCUB6oc5IOqsK
16,888
KeyError: loss when pretraining using BertForPreTraining
{ "login": "bobbyhaliwela", "id": 31110143, "node_id": "MDQ6VXNlcjMxMTEwMTQz", "avatar_url": "https://avatars.githubusercontent.com/u/31110143?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bobbyhaliwela", "html_url": "https://github.com/bobbyhaliwela", "followers_url": "https://api.githu...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Please use the [forums](https://discuss.huggingface.co/) to debug your code. In this instance, you are not providing the model with the `next_sentence_label` it needs to compute the loss." ]
1,650
1,650
1,650
NONE
null
### System Info ```shell - `transformers` version: 4.19.0.dev0 - Platform: Linux-5.13.0-40-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu102 (False) - Tensorflow version (GPU?): 2.7.0 (False) - Flax version (CPU?/GPU?/TPU?): not inst...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16888/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16888/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16887
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16887/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16887/comments
https://api.github.com/repos/huggingface/transformers/issues/16887/events
https://github.com/huggingface/transformers/pull/16887
1,211,713,240
PR_kwDOCUB6oc42l-Of
16,887
added deit onnx config
{ "login": "0xrushi", "id": 6279035, "node_id": "MDQ6VXNlcjYyNzkwMzU=", "avatar_url": "https://avatars.githubusercontent.com/u/6279035?v=4", "gravatar_id": "", "url": "https://api.github.com/users/0xrushi", "html_url": "https://github.com/0xrushi", "followers_url": "https://api.github.com/users/0xrushi/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> # What does this PR do?\r\n> Added DeiT OnnxConfig to make this model available for conversion\r\n> \r\n> @ChainYo\r\n\r\n> ## Who can review?\r\n> Anyone in the community is free to review the PR once the tests have passed. Feel f...
1,650
1,650
1,650
CONTRIBUTOR
null
# What does this PR do? Added DeiT OnnxConfig to make this model available for conversion @ChainYo https://github.com/huggingface/transformers/issues/16308 <!-- 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 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16887/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16887/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16887", "html_url": "https://github.com/huggingface/transformers/pull/16887", "diff_url": "https://github.com/huggingface/transformers/pull/16887.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16887.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16886
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16886/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16886/comments
https://api.github.com/repos/huggingface/transformers/issues/16886/events
https://github.com/huggingface/transformers/pull/16886
1,211,677,766
PR_kwDOCUB6oc42l2vF
16,886
Allow saved_model export of TFCLIPModel in save_pretrained
{ "login": "seanmor5", "id": 14100120, "node_id": "MDQ6VXNlcjE0MTAwMTIw", "avatar_url": "https://avatars.githubusercontent.com/u/14100120?v=4", "gravatar_id": "", "url": "https://api.github.com/users/seanmor5", "html_url": "https://github.com/seanmor5", "followers_url": "https://api.github.com/users/sea...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Tagging @ydshieh -- this PR adds several tests", "@gante No problem, glad to help now and if you have plans to improve graph/saved_model serialization in the future I will be glad to help then as well :D", "@seanmor5 Thank you f...
1,650
1,651
1,651
CONTRIBUTOR
null
# What does this PR do? I apologize if this is out of scope. There were a few bugs in TFCLIPModel which prevented the model from being exported using the TensorFlow SavedModel format: 1) `_build_causal_attention_mask` makes use of `tf.constant` with a runtime dynamic value. It seems `shape_list` makes use of `tf....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16886/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16886/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16886", "html_url": "https://github.com/huggingface/transformers/pull/16886", "diff_url": "https://github.com/huggingface/transformers/pull/16886.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16886.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16885
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16885/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16885/comments
https://api.github.com/repos/huggingface/transformers/issues/16885/events
https://github.com/huggingface/transformers/issues/16885
1,211,673,727
I_kwDOCUB6oc5IOKx_
16,885
Tensorflow to Onnx change batch and sequence size
{ "login": "nyoungstudios", "id": 16254116, "node_id": "MDQ6VXNlcjE2MjU0MTE2", "avatar_url": "https://avatars.githubusercontent.com/u/16254116?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nyoungstudios", "html_url": "https://github.com/nyoungstudios", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi @nyoungstudios , I don't get the goal of this feature because when you convert a model to onnx you want to set the `batch_size` to dynamic and the `sequence_length` needs to fit the model config. This way people can use the model with any `batch_size` and the right model `sequence_length`. \r\n\r\nThe `batch_si...
1,650
1,653
1,653
NONE
null
### Feature request Add the ability to set the batch size and sequence length when converting a model to Onnx rather than it always defaulting to a batch size of 2 and sequence length of 8. Here is the example code that I have by importing `OnnxConfig` and setting it's `default_fixed_batch` and `default_fixed_sequence...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16885/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/16885/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16884
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16884/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16884/comments
https://api.github.com/repos/huggingface/transformers/issues/16884/events
https://github.com/huggingface/transformers/issues/16884
1,211,567,141
I_kwDOCUB6oc5INwwl
16,884
[tracker] Sharding huge models process and current status
{ "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
[]
[ "Both of your commits (https://huggingface.co/bigscience/T0/commit/858cd92e88c9548d194f61259af965d1d1e916b7 and https://huggingface.co/t5-11b/commit/82929bfe90cbfc4e9a3dedf38bb967650ddb6ac2) looks good to me, @stas00.\r\n\r\nOne thing I realize just now is that the `pytorch_model.bin.index.json` index files are LFS...
1,650
1,685
1,653
CONTRIBUTOR
null
this is an Issue to track which pre-existing huge models (>11GB) need sharding, which have been completed and the code to do that. ### Why shard huge checkpoints? Because it takes much less CPU memory to load a huge model of say 42GB, especially if you're loading concurrently in multiple processes. Here is the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16884/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16884/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16883
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16883/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16883/comments
https://api.github.com/repos/huggingface/transformers/issues/16883/events
https://github.com/huggingface/transformers/pull/16883
1,211,532,196
PR_kwDOCUB6oc42lZFc
16,883
Integrating R3M Models into Transformers
{ "login": "suraj-nair-1", "id": 12943366, "node_id": "MDQ6VXNlcjEyOTQzMzY2", "avatar_url": "https://avatars.githubusercontent.com/u/12943366?v=4", "gravatar_id": "", "url": "https://api.github.com/users/suraj-nair-1", "html_url": "https://github.com/suraj-nair-1", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Thanks a lot for your contribution!\r\n\r\n@NielsRogge, could you do a first pass on this model?", "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 ...
1,650
1,653
1,653
NONE
null
# What does this PR do? This PR integrates the new R3M visual encoder model into transformers. See this [issue](https://github.com/huggingface/transformers/issues/16403). In its current state, the new model/config can be loaded, trained, and pre-trained models located [here](https://huggingface.co/surajnair) can ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16883/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/16883/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16883", "html_url": "https://github.com/huggingface/transformers/pull/16883", "diff_url": "https://github.com/huggingface/transformers/pull/16883.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16883.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16882
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16882/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16882/comments
https://api.github.com/repos/huggingface/transformers/issues/16882/events
https://github.com/huggingface/transformers/pull/16882
1,211,468,787
PR_kwDOCUB6oc42lMeJ
16,882
Documentation: Spanish translation of fast_tokenizers.mdx
{ "login": "jloayza10", "id": 62972713, "node_id": "MDQ6VXNlcjYyOTcyNzEz", "avatar_url": "https://avatars.githubusercontent.com/u/62972713?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jloayza10", "html_url": "https://github.com/jloayza10", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Thank you @jloayza10! Could you please add `fast_tokenizers` to [`transformers/docs/source/es/_toctree.yml`](https://github.com/huggingface/transformers/blob/main/docs/source/es/_toctree.yml)? As a reference, you can use the [new Translation](https://github.com/huggingface/transformers/blob/main/docs/TRANSLATING.m...
1,650
1,652
1,652
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/16882/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16882/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16882", "html_url": "https://github.com/huggingface/transformers/pull/16882", "diff_url": "https://github.com/huggingface/transformers/pull/16882.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16882.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16881
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16881/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16881/comments
https://api.github.com/repos/huggingface/transformers/issues/16881/events
https://github.com/huggingface/transformers/pull/16881
1,211,414,671
PR_kwDOCUB6oc42lBjY
16,881
Fix PyTorch RAG tests GPU OOM
{ "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._", "Also cc @patil-suraj and @stas00 to see if they have suggestions", "Good for me!", "> What cache is this emptying since the model is not deleted? I think this is a symptom there is a memory leak in the model, which would need to ...
1,650
1,650
1,650
COLLABORATOR
null
# What does this PR do? Fix PyTorch RAG tests GPU OOM. The GPU OOM ``` E tensorflow.python.framework.errors_impl.ResourceExhaustedError: OOM when allocating tensor with shape[32,5,16,300,64] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc [Op:GatherV2] ``` could be f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16881/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16881/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16881", "html_url": "https://github.com/huggingface/transformers/pull/16881", "diff_url": "https://github.com/huggingface/transformers/pull/16881.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16881.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16880
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16880/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16880/comments
https://api.github.com/repos/huggingface/transformers/issues/16880/events
https://github.com/huggingface/transformers/pull/16880
1,211,336,420
PR_kwDOCUB6oc42kxCH
16,880
Changes in create_optimizer to support tensor parallelism with SMP
{ "login": "cavdard", "id": 44590949, "node_id": "MDQ6VXNlcjQ0NTkwOTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/44590949?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cavdard", "html_url": "https://github.com/cavdard", "followers_url": "https://api.github.com/users/cavdar...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
CONTRIBUTOR
null
# What does this PR do? - Changes in create_optimizer to support tensor parallelism with SMP. For SMP optimizer is created from wrapped model(SMP model). <!-- 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 titl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16880/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/16880/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16880", "html_url": "https://github.com/huggingface/transformers/pull/16880", "diff_url": "https://github.com/huggingface/transformers/pull/16880.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16880.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16879
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16879/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16879/comments
https://api.github.com/repos/huggingface/transformers/issues/16879/events
https://github.com/huggingface/transformers/pull/16879
1,211,237,237
PR_kwDOCUB6oc42kbZ-
16,879
TF: XLA repetition penalty
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thinking about it more, a multiplicative logit penalty really doesn't work, right? Even if we use the reciprocal when the logit is negative, the scale of the penalty depends on the logit's distance from 0. For example, a logit in the...
1,650
1,650
1,650
MEMBER
null
# What does this PR do? This PR adds our first XLA-compatible TF logit processor, as well as corresponding tests. Since this is the first of a series of small (but similar) PRs, I'd like to request a more thorough review, so the remaining ones are quick. More specifically, this PR makes three changes: 1. Rewrite...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16879/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16879/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16879", "html_url": "https://github.com/huggingface/transformers/pull/16879", "diff_url": "https://github.com/huggingface/transformers/pull/16879.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16879.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16878
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16878/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16878/comments
https://api.github.com/repos/huggingface/transformers/issues/16878/events
https://github.com/huggingface/transformers/pull/16878
1,211,190,871
PR_kwDOCUB6oc42kRcN
16,878
Fix doctest list
{ "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,650
1,650
1,650
COLLABORATOR
null
# What does this PR do? We have `docs/source/en/model_doc/t5v1_1.mdx` in `documentation_tests.txt`, but the file is actually `docs/source/en/model_doc/t5v1.1.mdx`. This cause doctest fail. ``` ERROR: file or directory not found: docs/source/en/model_doc/t5v1_1.mdx ``` (https://github.com/huggingface/transfo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16878/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16878/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16878", "html_url": "https://github.com/huggingface/transformers/pull/16878", "diff_url": "https://github.com/huggingface/transformers/pull/16878.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16878.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16877
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16877/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16877/comments
https://api.github.com/repos/huggingface/transformers/issues/16877/events
https://github.com/huggingface/transformers/issues/16877
1,211,166,345
I_kwDOCUB6oc5IMO6J
16,877
Quick tour_ AutoModel Introduction
{ "login": "Clearloveyuan", "id": 21138840, "node_id": "MDQ6VXNlcjIxMTM4ODQw", "avatar_url": "https://avatars.githubusercontent.com/u/21138840?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Clearloveyuan", "html_url": "https://github.com/Clearloveyuan", "followers_url": "https://api.githu...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
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/main/CONTRIBUTING.md) a...
1,650
1,653
1,653
NONE
null
### System Info ```shell - `transformers` version: 3.4.0 - Platform: Linux-4.15.0-144-generic-x86_64-with-debian-buster-sid - Python version: 3.7.7 - PyTorch version (GPU?): 1.6.0 (False) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: <fill in> - Using distributed or parallel set-up in s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16877/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16877/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16876
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16876/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16876/comments
https://api.github.com/repos/huggingface/transformers/issues/16876/events
https://github.com/huggingface/transformers/pull/16876
1,211,099,165
PR_kwDOCUB6oc42j9zO
16,876
Replace deprecated logger.warn with warning
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
CONTRIBUTOR
null
From [Python docs](https://docs.python.org/3/library/logging.html#logging.Logger.warning): _There is an obsolete method `warn` which is functionally identical to `warning`. As `warn` is deprecated, please do not use it - use `warning` instead._
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16876/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16876/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16876", "html_url": "https://github.com/huggingface/transformers/pull/16876", "diff_url": "https://github.com/huggingface/transformers/pull/16876.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16876.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16875
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16875/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16875/comments
https://api.github.com/repos/huggingface/transformers/issues/16875/events
https://github.com/huggingface/transformers/pull/16875
1,211,053,100
PR_kwDOCUB6oc42j0ID
16,875
[WIP] Add Jukebox model
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
closed
false
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[ { "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "...
[ "Tokenizer and corresponding test should be done. Lacking some detailed description and also probably something about the arguments in the init that are not data but I don't remember if I should create setters (@patrickvonplaten would love to have your review)", "Cool nice to see much progress here! \r\n\r\nFeel ...
1,650
1,655
1,655
COLLABORATOR
null
This is a draft pull request. # What does this PR do? This PR will progressively add the [Jukebox](https://openai.com/blog/jukebox/) model to the hub. It is linked to [#16870](https://github.com/huggingface/transformers/issues/16870). # Currently planned steps (WIP) - [x] Create template files with `trans...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16875/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 3, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16875/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16875", "html_url": "https://github.com/huggingface/transformers/pull/16875", "diff_url": "https://github.com/huggingface/transformers/pull/16875.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16875.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16874
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16874/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16874/comments
https://api.github.com/repos/huggingface/transformers/issues/16874/events
https://github.com/huggingface/transformers/pull/16874
1,211,031,586
PR_kwDOCUB6oc42jwYP
16,874
Use ACT2FN to fetch ReLU activation in the T5 model
{ "login": "eldarkurtic", "id": 8884008, "node_id": "MDQ6VXNlcjg4ODQwMDg=", "avatar_url": "https://avatars.githubusercontent.com/u/8884008?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eldarkurtic", "html_url": "https://github.com/eldarkurtic", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,650
1,650
1,650
CONTRIBUTOR
null
- all activations should be fetched through ACT2FN - it returns ReLU as `nn.Module`, which allows attaching hooks on the activation function and prints it to stdout when `print(model)`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16874/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16874/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16874", "html_url": "https://github.com/huggingface/transformers/pull/16874", "diff_url": "https://github.com/huggingface/transformers/pull/16874.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16874.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16873
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16873/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16873/comments
https://api.github.com/repos/huggingface/transformers/issues/16873/events
https://github.com/huggingface/transformers/issues/16873
1,211,020,648
I_kwDOCUB6oc5ILrVo
16,873
The bare ViLT Model not working with CUDA ?
{ "login": "PrithivirajDamodaran", "id": 7071019, "node_id": "MDQ6VXNlcjcwNzEwMTk=", "avatar_url": "https://avatars.githubusercontent.com/u/7071019?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PrithivirajDamodaran", "html_url": "https://github.com/PrithivirajDamodaran", "followers_url":...
[]
closed
false
null
[]
[ "Hey! You're getting this error because your model is on GPU while your inputs are not. Could you try casting your inputs to GPU?\r\n\r\n```py\r\ninputs = {k:v.to('cuda') for k,v in inputs.items()}\r\n```", "Thanks, I was assuming ViltProcessor will do it for me. Closing" ]
1,650
1,650
1,650
NONE
null
@NielsRogge - Tried in the stock Colab notebook with the latest version of Transformers. Probably the ```to(device)``` is not handled uniformly for Text Embeddings or Image Embeddings? What I am trying to do: I need to extract the raw hidden_state or pooler_ouput for large batches of image + text pairs. Use it as...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16873/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16873/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16872
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16872/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16872/comments
https://api.github.com/repos/huggingface/transformers/issues/16872/events
https://github.com/huggingface/transformers/pull/16872
1,210,985,228
PR_kwDOCUB6oc42jonS
16,872
Return input_ids in ImageGPT feature extractor
{ "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,650
1,650
1,650
COLLABORATOR
null
# What does this PR do? This goes along with the deprecation of `pixel_values` to the profit of `input_ids` in the `ImageGPT` models.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16872/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16872/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16872", "html_url": "https://github.com/huggingface/transformers/pull/16872", "diff_url": "https://github.com/huggingface/transformers/pull/16872.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16872.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16871
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16871/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16871/comments
https://api.github.com/repos/huggingface/transformers/issues/16871/events
https://github.com/huggingface/transformers/pull/16871
1,210,848,034
PR_kwDOCUB6oc42jLb5
16,871
Enabling `imageGPT` auto feature extractor.
{ "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._", "@sgugger For `ImageGPT`, we don't want to perform padding (otherwise, it fails with `None` as padding value).\r\n\r\nAs you mentioned, `ImageGPTFeatureExactor` outputs `pixel_values` (despite it is not a very good name). So @Narsil ...
1,650
1,653
1,653
CONTRIBUTOR
null
# What does this PR do? Attempts to superseed https://github.com/huggingface/transformers/pull/16869 With less specific overrides Thanks @ydshieh, you definitely couldn't guess about the options I modified here :) <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, y...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16871/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16871/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16871", "html_url": "https://github.com/huggingface/transformers/pull/16871", "diff_url": "https://github.com/huggingface/transformers/pull/16871.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16871.patch", "merged_at...