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/18876
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18876/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18876/comments
https://api.github.com/repos/huggingface/transformers/issues/18876/events
https://github.com/huggingface/transformers/issues/18876
1,360,727,372
I_kwDOCUB6oc5RGw1M
18,876
BigBirdTokenizer Serialization Error on Spark
{ "login": "jmwoloso", "id": 7530947, "node_id": "MDQ6VXNlcjc1MzA5NDc=", "avatar_url": "https://avatars.githubusercontent.com/u/7530947?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jmwoloso", "html_url": "https://github.com/jmwoloso", "followers_url": "https://api.github.com/users/jmwol...
[ { "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 @jmwoloso Thank you for reporting the issue. I have a few questions though: I see there is [fast big_bird tokenizer](https://github.com/huggingface/transformers/blob/main/src/transformers/models/big_bird/tokenization_big_bird_fast.py) in `transformers`. Have you tried it?", "Hi @ydshieh. No I havne't tried ...
1,662
1,664
1,664
CONTRIBUTOR
null
### System Info Hello! Running `transformers-cli env` throws the following error for me on the databricks cluster that I'm using currently (but it works locally). ```python /databricks/conda/envs/default/lib/python3.8/site-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.10) or chardet ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18876/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18876/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18875
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18875/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18875/comments
https://api.github.com/repos/huggingface/transformers/issues/18875/events
https://github.com/huggingface/transformers/pull/18875
1,360,725,340
PR_kwDOCUB6oc4-Tyzy
18,875
Disable model checkpoint sharding of large models for SageMaker Model Parallel
{ "login": "viclzhu", "id": 20961977, "node_id": "MDQ6VXNlcjIwOTYxOTc3", "avatar_url": "https://avatars.githubusercontent.com/u/20961977?v=4", "gravatar_id": "", "url": "https://api.github.com/users/viclzhu", "html_url": "https://github.com/viclzhu", "followers_url": "https://api.github.com/users/viclzh...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "cc @philschmid ", "Ok, sounds good! I opened a new PR with changes in Trainer instead. #18928 " ]
1,662
1,662
1,662
CONTRIBUTOR
null
Disable model checkpoint sharding of large models for SageMaker Model Parallel * SageMaker Model Parallel does not support loading these # What does this PR do? This PR disables the automatic model checkpoint sharding done in `PreTrainedModel` for SageMaker Model Parallel as SMP does not support loading these. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18875/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18875/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18875", "html_url": "https://github.com/huggingface/transformers/pull/18875", "diff_url": "https://github.com/huggingface/transformers/pull/18875.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18875.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18874
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18874/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18874/comments
https://api.github.com/repos/huggingface/transformers/issues/18874/events
https://github.com/huggingface/transformers/pull/18874
1,360,558,576
PR_kwDOCUB6oc4-TQLp
18,874
Remove unused `cur_len` in generation_utils.py
{ "login": "ekagra-ranjan", "id": 3116519, "node_id": "MDQ6VXNlcjMxMTY1MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/3116519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ekagra-ranjan", "html_url": "https://github.com/ekagra-ranjan", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi @patrickvonplaten - please review this one when you get some time.", "Nice!" ]
1,662
1,664
1,664
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/18874/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18874/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18874", "html_url": "https://github.com/huggingface/transformers/pull/18874", "diff_url": "https://github.com/huggingface/transformers/pull/18874.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18874.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18873
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18873/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18873/comments
https://api.github.com/repos/huggingface/transformers/issues/18873/events
https://github.com/huggingface/transformers/issues/18873
1,360,410,207
I_kwDOCUB6oc5RFjZf
18,873
LayoutLMV3 Tokenizer Inserts Odd Characters
{ "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": 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
[]
[ "@logan-markewich -- have a look at this [entry in our forum](https://discuss.huggingface.co/t/bpe-tokenizers-and-spaces-before-words/475/2?u=joaogante)", "@gante Yea ok, that gives some context for what is actually going on\r\n\r\nI guess I will just need to remove those characters myself? A little annoying, but...
1,662
1,663
1,663
NONE
null
### System Info (This is on a fresh google colab instance) - `transformers` version: 4.21.2 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.9.1 - PyTorch version (GPU?): 1.12.1+cu113 (True) - Tensorflow version (GPU?): 2.8.2 (True) - Flax versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18873/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18873/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18872
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18872/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18872/comments
https://api.github.com/repos/huggingface/transformers/issues/18872/events
https://github.com/huggingface/transformers/issues/18872
1,360,385,254
I_kwDOCUB6oc5RFdTm
18,872
we want to submit a PR about Source-Free compression training on huggingface NLP model,Where would you suggest submitting it?
{ "login": "leiqing1", "id": 54695910, "node_id": "MDQ6VXNlcjU0Njk1OTEw", "avatar_url": "https://avatars.githubusercontent.com/u/54695910?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leiqing1", "html_url": "https://github.com/leiqing1", "followers_url": "https://api.github.com/users/lei...
[]
closed
false
null
[]
[ "Hey @leiqing1 ! Thanks a lot for being motivated to contribute 🤗 ! You mention this is about training, right? In this case, I would say `huggingface/transformers` is the place to go. But let's wait the opinions from my colleagues @sgugger @LysandreJik and @michaelbenayoun\r\n\r\nAs the training (for PyTorch model...
1,662
1,665
1,665
NONE
null
### Feature request Hello, we have done a Source-Free compression training function, and the benefits of bert-base-cased are as follows. I want to submit a PR, is it ok? and which repo, huggingface/transformers or huggingface/optimum, is more suitable? ![image](https://user-images.githubusercontent.com/54695910/1881...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18872/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18872/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18871
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18871/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18871/comments
https://api.github.com/repos/huggingface/transformers/issues/18871/events
https://github.com/huggingface/transformers/pull/18871
1,360,323,238
PR_kwDOCUB6oc4-Sev_
18,871
Further reduce the number of alls to head for cached objects
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "and also cc @Wauplin :)", "Yes, my plan was to port this to `hugginface_hub` next, along with the commi_hash argument (which does not exist there yet), to then be able to use the function of `huggingface_hub` after the next release...
1,662
1,662
1,662
COLLABORATOR
null
# What does this PR do? This PR completes #18534 and leverages the cache system of files that do not exist at a given commit in a repo introduced in the last release of `huggingface_hub` (by this [PR](https://github.com/huggingface/huggingface_hub/pull/986)) to further reduce the numbers of calls to the API when try...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18871/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18871/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18871", "html_url": "https://github.com/huggingface/transformers/pull/18871", "diff_url": "https://github.com/huggingface/transformers/pull/18871.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18871.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18870
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18870/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18870/comments
https://api.github.com/repos/huggingface/transformers/issues/18870/events
https://github.com/huggingface/transformers/issues/18870
1,360,296,809
I_kwDOCUB6oc5RFHtp
18,870
mlflow can log a maximum of 100 parameters on Azure ML
{ "login": "nbroad1881", "id": 24982805, "node_id": "MDQ6VXNlcjI0OTgyODA1", "avatar_url": "https://avatars.githubusercontent.com/u/24982805?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nbroad1881", "html_url": "https://github.com/nbroad1881", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Note that we are not maintaining the external logging platforms ourselves, their creators are supposed to do this work. Since there is no one in Microsoft that is pushing this forward, some community contributed callbacks have been created, but it's not guaranteed that they work. I would recommend using other trac...
1,662
1,665
1,662
CONTRIBUTOR
null
When trying to use the Trainer's mlflow integration within Azure ML, it will fail at the `on_train_begin` callback because it tries to log all of the TrainingArguments and the model config which will total more than 100 parameters. > RestException: INVALID_PARAMETER_VALUE: Response: {'Error': {'Code': 'ValidationEr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18870/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18870/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18869
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18869/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18869/comments
https://api.github.com/repos/huggingface/transformers/issues/18869/events
https://github.com/huggingface/transformers/pull/18869
1,360,277,146
PR_kwDOCUB6oc4-SU6h
18,869
pin Slack SDK to 3.18.1 to avoid failing issue
{ "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,662
1,662
1,662
COLLABORATOR
null
# What does this PR do? Currently CI Slack reports failed to be sent due to an error ```bash The server responded with: {'ok': False, 'error': 'invalid_blocks_format'} ``` It happens since `slack-sdk-3.18.2`. This PR pin `slack-sdk-3.18.1` so we can receive the reports.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18869/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18869/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18869", "html_url": "https://github.com/huggingface/transformers/pull/18869", "diff_url": "https://github.com/huggingface/transformers/pull/18869.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18869.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18868
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18868/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18868/comments
https://api.github.com/repos/huggingface/transformers/issues/18868/events
https://github.com/huggingface/transformers/pull/18868
1,360,217,468
PR_kwDOCUB6oc4-SIIE
18,868
Remove cached torch_extensions on CI runners
{ "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,662
1,662
1,662
COLLABORATOR
null
# What does this PR do? - The test ``` tests/deepspeed/test_deepspeed.py::TrainerIntegrationDeepSpeed::test_hf_scheduler_ds_optimizer ``` failed since 2 weeks due to some cache issue. The error message is ```bash E ImportError: /github/home/.cache/torch_extensions/py38_cu113/fused_adam/fused_adam...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18868/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/18868/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18868", "html_url": "https://github.com/huggingface/transformers/pull/18868", "diff_url": "https://github.com/huggingface/transformers/pull/18868.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18868.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18867
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18867/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18867/comments
https://api.github.com/repos/huggingface/transformers/issues/18867/events
https://github.com/huggingface/transformers/pull/18867
1,360,202,324
PR_kwDOCUB6oc4-SE7K
18,867
[OWL-ViT] Add model to the appropriate section
{ "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,662
1,662
1,662
CONTRIBUTOR
null
# What does this PR do? This PR moves OWL-ViT to the "multimodal" section in the docs, as the model isn't vision-only. cc @stevhliu
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18867/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/18867/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18867", "html_url": "https://github.com/huggingface/transformers/pull/18867", "diff_url": "https://github.com/huggingface/transformers/pull/18867.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18867.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18866
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18866/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18866/comments
https://api.github.com/repos/huggingface/transformers/issues/18866/events
https://github.com/huggingface/transformers/pull/18866
1,360,013,543
PR_kwDOCUB6oc4-RciD
18,866
Added AnyPrecisionAdamW as an optimizer
{ "login": "Zeesky-code", "id": 71593672, "node_id": "MDQ6VXNlcjcxNTkzNjcy", "avatar_url": "https://avatars.githubusercontent.com/u/71593672?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Zeesky-code", "html_url": "https://github.com/Zeesky-code", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thank you for trying, @Zeesky-code - but that won't do anything ;)\r\n\r\nI guess my instructions weren't very instructive I've just pointed to a few places where one would start looking at mimicking the integration of other optimize...
1,662
1,662
1,662
NONE
null
Added AnyPrecisionAdamW as an optimizer - Related Issue #18827 @stas00
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18866/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/18866/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18866", "html_url": "https://github.com/huggingface/transformers/pull/18866", "diff_url": "https://github.com/huggingface/transformers/pull/18866.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18866.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18865
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18865/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18865/comments
https://api.github.com/repos/huggingface/transformers/issues/18865/events
https://github.com/huggingface/transformers/pull/18865
1,359,977,184
PR_kwDOCUB6oc4-RUv8
18,865
A script to download artifacts and perform CI error statistics
{ "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,662
1,662
1,662
COLLABORATOR
null
# What does this PR do? This script is helpful for the past CI project. It downloads all artifacts from a workflow run, and get the error statistics + the corresponding failing tests. `errors.json`: the places where error occur + what those errors are `failed_tests.json`: which test methods failed (can be used...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18865/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18865/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18865", "html_url": "https://github.com/huggingface/transformers/pull/18865", "diff_url": "https://github.com/huggingface/transformers/pull/18865.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18865.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18864
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18864/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18864/comments
https://api.github.com/repos/huggingface/transformers/issues/18864/events
https://github.com/huggingface/transformers/pull/18864
1,359,858,778
PR_kwDOCUB6oc4-Q7fO
18,864
Fix naming issue with Image2TextGenerationPipeline
{ "login": "OlivierDehaene", "id": 23298448, "node_id": "MDQ6VXNlcjIzMjk4NDQ4", "avatar_url": "https://avatars.githubusercontent.com/u/23298448?v=4", "gravatar_id": "", "url": "https://api.github.com/users/OlivierDehaene", "html_url": "https://github.com/OlivierDehaene", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,662
1,662
1,662
MEMBER
null
# What does this PR do? Fixes naming issue with the Image2TextGenerationPipeline: naming was not consistent with other libraries. See [this message](https://huggingface.slack.com/archives/C014N4749J9/p1662091141349169?thread_ts=1662048034.910319&cid=C014N4749J9). ## Before submitting - [ ] This PR fixes a typo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18864/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18864/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18864", "html_url": "https://github.com/huggingface/transformers/pull/18864", "diff_url": "https://github.com/huggingface/transformers/pull/18864.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18864.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18863
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18863/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18863/comments
https://api.github.com/repos/huggingface/transformers/issues/18863/events
https://github.com/huggingface/transformers/pull/18863
1,359,689,178
PR_kwDOCUB6oc4-QXub
18,863
alter retrived to retrieved
{ "login": "gouqi666", "id": 52353600, "node_id": "MDQ6VXNlcjUyMzUzNjAw", "avatar_url": "https://avatars.githubusercontent.com/u/52353600?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gouqi666", "html_url": "https://github.com/gouqi666", "followers_url": "https://api.github.com/users/gou...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu...
1,662
1,664
1,664
CONTRIBUTOR
null
# What does this PR do? alter 'retrived' to 'retrieved' <!-- 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....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18863/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18863/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18863", "html_url": "https://github.com/huggingface/transformers/pull/18863", "diff_url": "https://github.com/huggingface/transformers/pull/18863.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18863.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18862
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18862/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18862/comments
https://api.github.com/repos/huggingface/transformers/issues/18862/events
https://github.com/huggingface/transformers/issues/18862
1,359,597,508
I_kwDOCUB6oc5RCc_E
18,862
How can I control data feeding order to model using Huggingface Trainer?
{ "login": "SangwonPark0211", "id": 59641312, "node_id": "MDQ6VXNlcjU5NjQxMzEy", "avatar_url": "https://avatars.githubusercontent.com/u/59641312?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SangwonPark0211", "html_url": "https://github.com/SangwonPark0211", "followers_url": "https://api...
[]
closed
false
null
[]
[ "You can subclass the Seq2SeqTrainer and override the [_get_train_sampler](https://github.com/huggingface/transformers/blob/8d59385f124dd1b330cac7eaa7162799870793ec/src/transformers/trainer.py#L759) method. Instead of creating a RandomSampler object, create a [SequentialSampler](https://pytorch.org/docs/stable/data...
1,662
1,667
1,667
NONE
null
### Feature request I want to train model in the order in which the data are stored. For example, if there are 100 data, then I want to feed 1st, 2nd data together(because I set batch_size=2 in code) and then 3rd, 4th data and then 5th, 6th data together and so on.... But huggingface Trainer train model using ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18862/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18862/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18861
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18861/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18861/comments
https://api.github.com/repos/huggingface/transformers/issues/18861/events
https://github.com/huggingface/transformers/pull/18861
1,359,576,457
PR_kwDOCUB6oc4-QAUp
18,861
Convert logged learning rate from tensor to float via `.item()` so it can be JSON serialized.
{ "login": "kmckiern", "id": 4978902, "node_id": "MDQ6VXNlcjQ5Nzg5MDI=", "avatar_url": "https://avatars.githubusercontent.com/u/4978902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmckiern", "html_url": "https://github.com/kmckiern", "followers_url": "https://api.github.com/users/kmcki...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,662
1,662
1,662
CONTRIBUTOR
null
Fixes #18860 @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18861/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18861/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18861", "html_url": "https://github.com/huggingface/transformers/pull/18861", "diff_url": "https://github.com/huggingface/transformers/pull/18861.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18861.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18860
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18860/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18860/comments
https://api.github.com/repos/huggingface/transformers/issues/18860/events
https://github.com/huggingface/transformers/issues/18860
1,359,561,644
I_kwDOCUB6oc5RCUOs
18,860
Learning rate is given as tensor, cannot serialize TrainerState in order to save checkpoint.
{ "login": "kmckiern", "id": 4978902, "node_id": "MDQ6VXNlcjQ5Nzg5MDI=", "avatar_url": "https://avatars.githubusercontent.com/u/4978902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmckiern", "html_url": "https://github.com/kmckiern", "followers_url": "https://api.github.com/users/kmcki...
[ { "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,662
1,662
1,662
CONTRIBUTOR
null
### System Info - `transformers` version: 4.21.1 - Platform: Linux-5.15.0-46-generic-x86_64-with-glibc2.35 - Python version: 3.10.5 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.1.post200 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18860/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18860/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18859
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18859/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18859/comments
https://api.github.com/repos/huggingface/transformers/issues/18859/events
https://github.com/huggingface/transformers/pull/18859
1,359,557,249
PR_kwDOCUB6oc4-P8Tb
18,859
[modeling_utils] postpone bnb loading until and if it's needed
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "actually the problem was much more severe - before this PR on a machine with no gpu, it lead to this huge crash:\r\n\r\n```\r\npython -c \"from transformers import AutoModel, AutoTokenizer, AutoConfig; AutoModel.from_pretrained('gpt2...
1,662
1,662
1,662
CONTRIBUTOR
null
BNB shouldn't be loaded unless it's actually used - definitely not by used-everywhere `modeling_utils.py`: The following shouldn't (1) generate all this noise and (2) use up memory and resources w/o an actual need: ``` $ python -c "from transformers import BloomModel" ===================================BUG REPO...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18859/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18859/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18859", "html_url": "https://github.com/huggingface/transformers/pull/18859", "diff_url": "https://github.com/huggingface/transformers/pull/18859.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18859.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18858
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18858/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18858/comments
https://api.github.com/repos/huggingface/transformers/issues/18858/events
https://github.com/huggingface/transformers/pull/18858
1,359,188,776
PR_kwDOCUB6oc4-OrsM
18,858
V4.3.0
{ "login": "narandharanggi", "id": 24572673, "node_id": "MDQ6VXNlcjI0NTcyNjcz", "avatar_url": "https://avatars.githubusercontent.com/u/24572673?v=4", "gravatar_id": "", "url": "https://api.github.com/users/narandharanggi", "html_url": "https://github.com/narandharanggi", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[]
1,662
1,662
1,662
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/18858/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18858/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18858", "html_url": "https://github.com/huggingface/transformers/pull/18858", "diff_url": "https://github.com/huggingface/transformers/pull/18858.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18858.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18857
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18857/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18857/comments
https://api.github.com/repos/huggingface/transformers/issues/18857/events
https://github.com/huggingface/transformers/pull/18857
1,359,141,389
PR_kwDOCUB6oc4-OhXn
18,857
Clean up utils.hub using the latest from hf_hub
{ "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,662
1,662
1,662
COLLABORATOR
null
# What does this PR do? This PR uses the newly released version of `hugginface_hub` to clean up a few things introduced in #18438 (points 1 and 2 in the description of this PR). For point 3 (load from cache) there is currently a difference between Transformers' `try_to_load_from_cache` and the huggingface_hub's one,...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18857/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18857/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18857", "html_url": "https://github.com/huggingface/transformers/pull/18857", "diff_url": "https://github.com/huggingface/transformers/pull/18857.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18857.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18856
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18856/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18856/comments
https://api.github.com/repos/huggingface/transformers/issues/18856/events
https://github.com/huggingface/transformers/pull/18856
1,359,014,984
PR_kwDOCUB6oc4-OGCV
18,856
Fix number of examples for iterable datasets in multiprocessing
{ "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,662
1,662
1,662
COLLABORATOR
null
# What does this PR do? As pointed out in #18608, `IterableDatasetShard.num_examples` is not always update in multiprocessing environments. This PR addresses that by ignoring the value in those cases. It also adds a stronger check of trusting the observed number of examples when for the reason the length is 0. Fi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18856/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18856/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18856", "html_url": "https://github.com/huggingface/transformers/pull/18856", "diff_url": "https://github.com/huggingface/transformers/pull/18856.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18856.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18855
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18855/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18855/comments
https://api.github.com/repos/huggingface/transformers/issues/18855/events
https://github.com/huggingface/transformers/pull/18855
1,359,000,563
PR_kwDOCUB6oc4-OC00
18,855
Tie weights after preparing the model in run_clm
{ "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,662
1,662
1,662
COLLABORATOR
null
# What does this PR do? #18676 fixed the weights tying in `run_mlm_no_trainer` but not in `run_clm_no_trainer`. This PR fixes that.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18855/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18855/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18855", "html_url": "https://github.com/huggingface/transformers/pull/18855", "diff_url": "https://github.com/huggingface/transformers/pull/18855.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18855.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18854
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18854/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18854/comments
https://api.github.com/repos/huggingface/transformers/issues/18854/events
https://github.com/huggingface/transformers/pull/18854
1,358,947,161
PR_kwDOCUB6oc4-N3Q-
18,854
Pin revision for LayoutLMForQuestionAnswering and TFLayoutLMForQuestionAnswering tests
{ "login": "ankrgyl", "id": 565363, "node_id": "MDQ6VXNlcjU2NTM2Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/565363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ankrgyl", "html_url": "https://github.com/ankrgyl", "followers_url": "https://api.github.com/users/ankrgyl/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,662
1,662
1,662
CONTRIBUTOR
null
# What does this PR do? The newly introduced tests for `LayoutLMForQuestionAnswering` and `TFLayoutLMForQuestionAnswering` broke due to a change to the weights in https://huggingface.co/impira/layoutlm-document-qa. To make sure a weights change does not break tests, I've pinned the revisions in these tests. I'll sep...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18854/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18854/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18854", "html_url": "https://github.com/huggingface/transformers/pull/18854", "diff_url": "https://github.com/huggingface/transformers/pull/18854.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18854.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18853
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18853/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18853/comments
https://api.github.com/repos/huggingface/transformers/issues/18853/events
https://github.com/huggingface/transformers/issues/18853
1,358,890,551
I_kwDOCUB6oc5Q_wY3
18,853
loading CLIPVisionModel from openai/clip-vit-base-patch32
{ "login": "PaulLerner", "id": 25532159, "node_id": "MDQ6VXNlcjI1NTMyMTU5", "avatar_url": "https://avatars.githubusercontent.com/u/25532159?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PaulLerner", "html_url": "https://github.com/PaulLerner", "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
[]
[ "I don't see the issue here, it is just telling you that the weights of the text encoder aren't used. Which makes total sense as you are loading only the vision encoder, whose weights are all loaded properly.\r\n\r\nIt's a warning, not an error, so I'm not sure whether this can be improved.", "Oh sorry, my bad, t...
1,662
1,662
1,662
CONTRIBUTOR
null
### System Info - `transformers` version: 4.12.5 - Platform: Linux-4.18.0-305.57.1.el8_4.x86_64-x86_64-with-redhat-8.4-Ootpa - Python version: 3.7.11 - PyTorch version (GPU?): 1.10.0+cu102 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: n...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18853/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18853/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18852
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18852/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18852/comments
https://api.github.com/repos/huggingface/transformers/issues/18852/events
https://github.com/huggingface/transformers/pull/18852
1,358,753,716
PR_kwDOCUB6oc4-NNC5
18,852
Add X-CLIP
{ "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
[]
[ "Many tests fail due to the following error:\r\n\r\n> ModuleNotFoundError: No module named 'transformers.models.xclip'\r\n\r\nThis is probably because I first called the model folder \"xclip\", which is now called \"x_clip\". Still, wondering why it keeps looking for the module models.clip. If anyone has any pointe...
1,662
1,662
1,662
CONTRIBUTOR
null
# What does this PR do? This PR adds [X-CLIP](https://github.com/microsoft/VideoX/tree/master/X-CLIP), which is a minimal extension of CLIP for video-language pre-training. To do: - [x] upload all checkpoints to the hub, as part of the `microsoft` organization
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18852/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18852/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18852", "html_url": "https://github.com/huggingface/transformers/pull/18852", "diff_url": "https://github.com/huggingface/transformers/pull/18852.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18852.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18851
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18851/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18851/comments
https://api.github.com/repos/huggingface/transformers/issues/18851/events
https://github.com/huggingface/transformers/pull/18851
1,358,672,184
PR_kwDOCUB6oc4-M7Qa
18,851
Generate: get the correct beam index on eos token
{ "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,662
1,662
1,662
MEMBER
null
# What does this PR do? Fixes #18839 We were not storing the correct beam index when an `eos_token` was generated (except for the first batch member), resulting in the issue linked above. ________________________________ Confirming the change -- let's consider the following script, which gets the scores fr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18851/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18851/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18851", "html_url": "https://github.com/huggingface/transformers/pull/18851", "diff_url": "https://github.com/huggingface/transformers/pull/18851.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18851.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18850
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18850/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18850/comments
https://api.github.com/repos/huggingface/transformers/issues/18850/events
https://github.com/huggingface/transformers/pull/18850
1,358,579,308
PR_kwDOCUB6oc4-MnHw
18,850
[ViTMAE] Renamed variable name
{ "login": "ariG23498", "id": 36856589, "node_id": "MDQ6VXNlcjM2ODU2NTg5", "avatar_url": "https://avatars.githubusercontent.com/u/36856589?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ariG23498", "html_url": "https://github.com/ariG23498", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Tagging @NielsRogge, as he's the vision master 👨‍🏫 ", "Just a reminder here!", "(Niels it currently off, he'll be back in a few days :) )", "FYI, I took this from the original repository: https://github.com/facebookresearch/m...
1,662
1,665
1,665
CONTRIBUTOR
null
The `sequence_masked` variable is actually the part of the sequence that is kept **unmasked** for the encoder to consume. This commit renames the variable accordingly. CC: @sayakpaul
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18850/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/18850/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18850", "html_url": "https://github.com/huggingface/transformers/pull/18850", "diff_url": "https://github.com/huggingface/transformers/pull/18850.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18850.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18849
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18849/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18849/comments
https://api.github.com/repos/huggingface/transformers/issues/18849/events
https://github.com/huggingface/transformers/issues/18849
1,358,533,502
I_kwDOCUB6oc5Q-ZN-
18,849
BartForSequenceClassification: Use eos_token or cls_token?
{ "login": "ekagra-ranjan", "id": 3116519, "node_id": "MDQ6VXNlcjMxMTY1MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/3116519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ekagra-ranjan", "html_url": "https://github.com/ekagra-ranjan", "followers_url": "https://api.github....
[ { "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,662
1,665
1,665
CONTRIBUTOR
null
### System Info NA ### Who can help? @patil-suraj ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Reproduction...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18849/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18849/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18848
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18848/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18848/comments
https://api.github.com/repos/huggingface/transformers/issues/18848/events
https://github.com/huggingface/transformers/pull/18848
1,358,470,359
PR_kwDOCUB6oc4-MP2m
18,848
Fix minor typo in prose of model outputs documentation
{ "login": "pcuenca", "id": 1177582, "node_id": "MDQ6VXNlcjExNzc1ODI=", "avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pcuenca", "html_url": "https://github.com/pcuenca", "followers_url": "https://api.github.com/users/pcuenca/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,662
1,662
1,662
MEMBER
null
# What does this PR do? Fixes a very minor typo in the documentation of the model outputs section. ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18848/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18848/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18848", "html_url": "https://github.com/huggingface/transformers/pull/18848", "diff_url": "https://github.com/huggingface/transformers/pull/18848.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18848.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18847
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18847/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18847/comments
https://api.github.com/repos/huggingface/transformers/issues/18847/events
https://github.com/huggingface/transformers/issues/18847
1,358,430,543
I_kwDOCUB6oc5Q-AFP
18,847
Cannot import OPTForSequenceClassification on Kaggle notebooks (transformers 4.20.1, huggingface_hub 0.8.1)
{ "login": "navinelahi", "id": 74642469, "node_id": "MDQ6VXNlcjc0NjQyNDY5", "avatar_url": "https://avatars.githubusercontent.com/u/74642469?v=4", "gravatar_id": "", "url": "https://api.github.com/users/navinelahi", "html_url": "https://github.com/navinelahi", "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
[]
[ "Hey @navinelahi, this class was released in v4.21; could you upgrade your `transformers` library`?", "Yes I upgraded with `pip install transformers==4.21` and now it's working. Thank you so much. The issue is solved" ]
1,662
1,662
1,662
NONE
null
### System Info - `transformers` version: 4.20.1 - Platform: Linux-5.10.133+-x86_64-with-debian-bullseye-sid - Python version: 3.7.12 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.11.0 (True) - Tensorflow version (GPU?): 2.6.4 (True) - Flax version (CPU?/GPU?/TPU?): 0.6.0 (gpu) - Jax version: 0.3...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18847/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18847/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18846
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18846/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18846/comments
https://api.github.com/repos/huggingface/transformers/issues/18846/events
https://github.com/huggingface/transformers/pull/18846
1,358,255,067
PR_kwDOCUB6oc4-LiKU
18,846
Unpin fsspec
{ "login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.g...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,662
1,662
1,662
MEMBER
null
# What does this PR do? The `fsspec` team has made a patch release (2022.8.2) to fix their issue: - fsspec/filesystem_spec#1032 They yanked both 2022.8.0 and 2022.8.1, so no need to pin to exclude them. Follows: - #18837
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18846/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18846/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18846", "html_url": "https://github.com/huggingface/transformers/pull/18846", "diff_url": "https://github.com/huggingface/transformers/pull/18846.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18846.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18845
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18845/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18845/comments
https://api.github.com/repos/huggingface/transformers/issues/18845/events
https://github.com/huggingface/transformers/pull/18845
1,358,161,072
PR_kwDOCUB6oc4-LN-w
18,845
Remove dropout in embedding layer of OPT
{ "login": "shijie-wu", "id": 2987758, "node_id": "MDQ6VXNlcjI5ODc3NTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shijie-wu", "html_url": "https://github.com/shijie-wu", "followers_url": "https://api.github.com/users/sh...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for your PR @shijie-wu! Pinging @ArthurZucker and @younesbelkada to take a look at this as soon as they're back from leave (in about a week's time)." ]
1,661
1,662
1,662
CONTRIBUTOR
null
# What does this PR do? Fixes https://github.com/huggingface/transformers/issues/18844 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/mai...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18845/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18845/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18845", "html_url": "https://github.com/huggingface/transformers/pull/18845", "diff_url": "https://github.com/huggingface/transformers/pull/18845.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18845.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18844
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18844/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18844/comments
https://api.github.com/repos/huggingface/transformers/issues/18844/events
https://github.com/huggingface/transformers/issues/18844
1,358,157,354
I_kwDOCUB6oc5Q89Yq
18,844
Dropout in OPT embedding layer
{ "login": "shijie-wu", "id": 2987758, "node_id": "MDQ6VXNlcjI5ODc3NTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shijie-wu", "html_url": "https://github.com/shijie-wu", "followers_url": "https://api.github.com/users/sh...
[ { "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,661
1,662
1,662
CONTRIBUTOR
null
### System Info main ### Who can help? @ArthurZucker, @patrickvonplaten, @LysandreJik ### Information - [X] The official example scripts - [X] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (give details below) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18844/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18844/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18843
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18843/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18843/comments
https://api.github.com/repos/huggingface/transformers/issues/18843/events
https://github.com/huggingface/transformers/pull/18843
1,358,142,760
PR_kwDOCUB6oc4-LKEN
18,843
fix arg name in BLOOM testing and remove unused arg document
{ "login": "shijie-wu", "id": 2987758, "node_id": "MDQ6VXNlcjI5ODc3NTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shijie-wu", "html_url": "https://github.com/shijie-wu", "followers_url": "https://api.github.com/users/sh...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thank you for the fix, @shijie-wu \r\n\r\nWrt `use_cache` won't it be better to actually set the default to `True` - most models have it set to `True` and most users will get bad peformance out of the box with the default during `gen...
1,661
1,663
1,663
CONTRIBUTOR
null
# What does this PR do? * Fix argument name in BLOOM testing (`hidden_dropout` and `attention_dropout`) * Remove document of unused arguments (`skip_bias_add`, `skip_bias_add_qkv` and `attn_pdrop`) ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18843/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18843/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18843", "html_url": "https://github.com/huggingface/transformers/pull/18843", "diff_url": "https://github.com/huggingface/transformers/pull/18843.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18843.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18842
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18842/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18842/comments
https://api.github.com/repos/huggingface/transformers/issues/18842/events
https://github.com/huggingface/transformers/pull/18842
1,358,130,154
PR_kwDOCUB6oc4-LHbb
18,842
Remove unused `activation_dropout` in OPT
{ "login": "shijie-wu", "id": 2987758, "node_id": "MDQ6VXNlcjI5ODc3NTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shijie-wu", "html_url": "https://github.com/shijie-wu", "followers_url": "https://api.github.com/users/sh...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@ArthurZucker I am not sure who is the owner of the models repo but the following PRs also need to be merged.\r\n\r\n> \r\n> https://huggingface.co/facebook/opt-125m/discussions/19\r\n> https://huggingface.co/facebook/opt-350m/discus...
1,661
1,663
1,662
CONTRIBUTOR
null
# What does this PR do? Fixes https://github.com/huggingface/transformers/issues/18309 PR for corresponding models * https://huggingface.co/facebook/opt-125m/discussions/19 * https://huggingface.co/facebook/opt-350m/discussions/5 * https://huggingface.co/facebook/opt-1.3b/discussions/7 * https://huggingface.c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18842/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18842/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18842", "html_url": "https://github.com/huggingface/transformers/pull/18842", "diff_url": "https://github.com/huggingface/transformers/pull/18842.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18842.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18840
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18840/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18840/comments
https://api.github.com/repos/huggingface/transformers/issues/18840/events
https://github.com/huggingface/transformers/pull/18840
1,357,823,191
PR_kwDOCUB6oc4-KC9f
18,840
Generate: smaller TF serving test
{ "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,661
1,662
1,662
MEMBER
null
# What does this PR do? `tests/test_modeling_tf_common.py::UtilsFunctionsTest::test_generate_tf_function_export` is often failing because it times out (>60s). The previous version took ~35s in my machine. This PR's takes ~19s, which may avoid the time out issue. If it still fails, a custom config must be added...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18840/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18840/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18840", "html_url": "https://github.com/huggingface/transformers/pull/18840", "diff_url": "https://github.com/huggingface/transformers/pull/18840.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18840.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18839
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18839/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18839/comments
https://api.github.com/repos/huggingface/transformers/issues/18839/events
https://github.com/huggingface/transformers/issues/18839
1,357,599,096
I_kwDOCUB6oc5Q61F4
18,839
BUG for beam_indices from model.generate()
{ "login": "Hannibal046", "id": 38466901, "node_id": "MDQ6VXNlcjM4NDY2OTAx", "avatar_url": "https://avatars.githubusercontent.com/u/38466901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Hannibal046", "html_url": "https://github.com/Hannibal046", "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
[]
[ "Also, could you please check this ? https://discuss.huggingface.co/t/larger-sum-logits-larger-sum-probability/22358", "Also cc @gante for `generate` :)", "Hey @Hannibal046 👋 Thank you so much for raising this issue, there was indeed a problem with the last beam index for all batches except the first one!\r\n\...
1,661
1,662
1,662
NONE
null
### System Info - `transformers` version: 4.22.0.dev0 - Platform: Linux-5.8.0-51-generic-x86_64-with-glibc2.10 - Python version: 3.8.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.1+cu113 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18839/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18839/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18838
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18838/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18838/comments
https://api.github.com/repos/huggingface/transformers/issues/18838/events
https://github.com/huggingface/transformers/pull/18838
1,357,588,633
PR_kwDOCUB6oc4-JQsZ
18,838
Skip XNLI test
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Preceded by https://github.com/huggingface/transformers/pull/18837", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18838). All of your documentation changes will be reflected on that endpoint." ]
1,661
1,661
1,661
MEMBER
null
Skips an XNLI test that currently fails due to https://github.com/fsspec/filesystem_spec/issues/1034
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18838/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18838/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18838", "html_url": "https://github.com/huggingface/transformers/pull/18838", "diff_url": "https://github.com/huggingface/transformers/pull/18838.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18838.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18837
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18837/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18837/comments
https://api.github.com/repos/huggingface/transformers/issues/18837/events
https://github.com/huggingface/transformers/pull/18837
1,357,586,551
PR_kwDOCUB6oc4-JQQH
18,837
Pin ffspec
{ "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,661
1,661
1,661
COLLABORATOR
null
# What does this PR do? The recent test failures on XLNI are due to a release of ffspec. This PR excludes the problematic version to avoid the test failures.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18837/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18837/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18837", "html_url": "https://github.com/huggingface/transformers/pull/18837", "diff_url": "https://github.com/huggingface/transformers/pull/18837.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18837.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18836
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18836/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18836/comments
https://api.github.com/repos/huggingface/transformers/issues/18836/events
https://github.com/huggingface/transformers/issues/18836
1,357,391,509
I_kwDOCUB6oc5Q6CaV
18,836
Input_embeds for Albert
{ "login": "lsyysl9711", "id": 71112568, "node_id": "MDQ6VXNlcjcxMTEyNTY4", "avatar_url": "https://avatars.githubusercontent.com/u/71112568?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lsyysl9711", "html_url": "https://github.com/lsyysl9711", "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,661
1,665
1,665
NONE
null
Hello! I am checking the source codes for Albert's inputs_embeds. But I think the open sourced codes do not match with the document: In the document, the description for inputs_embeds says that the shape should be the of shape (batch_size, sequence_length, hidden_size). But in the source codes(https://huggingface...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18836/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18836/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18835
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18835/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18835/comments
https://api.github.com/repos/huggingface/transformers/issues/18835/events
https://github.com/huggingface/transformers/issues/18835
1,357,337,280
I_kwDOCUB6oc5Q51LA
18,835
Adding multiprocessing option to transformers.pipelines.automatic_speech_recognition
{ "login": "mehrzadai", "id": 90762060, "node_id": "MDQ6VXNlcjkwNzYyMDYw", "avatar_url": "https://avatars.githubusercontent.com/u/90762060?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mehrzadai", "html_url": "https://github.com/mehrzadai", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "WDYT @Narsil?", "Hi, I don't mind having a parameter for that for sure.\r\n\r\nThe biggest reason I don't think it should be the defaults is that some users might already be using different processes for different pipelines so doing parallelism twice is usually hurtful.\r\n\r\nAlso, do you mind providing small b...
1,661
1,665
1,665
NONE
null
### Feature request Hi, in `transformers.pipelines.automatic_speech_recognition` in case of `self.type = ctc_wit_lm`, the `postprocess` method uses `self.decoder.decode_beams(items)`. This is too slow and does decoding iterative. `decoder.decode_beams_batch(pool,items)` is able to make things faster and pharallel...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18835/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18835/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18834
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18834/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18834/comments
https://api.github.com/repos/huggingface/transformers/issues/18834/events
https://github.com/huggingface/transformers/pull/18834
1,357,308,977
PR_kwDOCUB6oc4-IUm_
18,834
Fix add model like
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18834). All of your documentation changes will be reflected on that endpoint." ]
1,661
1,661
1,661
MEMBER
null
It seems that `pip show` does not return the same location as before for editable packages. However, listing editable packages (`pip list -e`) returns the correct location in which it was installed. Doing it locally returns the following: ``` Package Version Editable project location ------------ -----...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18834/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18834/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18834", "html_url": "https://github.com/huggingface/transformers/pull/18834", "diff_url": "https://github.com/huggingface/transformers/pull/18834.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18834.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18833
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18833/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18833/comments
https://api.github.com/repos/huggingface/transformers/issues/18833/events
https://github.com/huggingface/transformers/pull/18833
1,357,284,504
PR_kwDOCUB6oc4-IPZZ
18,833
TF: TFMarianMTModel final logits bias as a layer
{ "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._", "@gante Thanks a lot. It looks like it works well!\r\n\r\nHowever, there is one thing I don't understand quite well.\r\n\r\n\r\n```bash\r\n(Pdb) [x.name for x in model.non_trainable_weights]\r\n['final_logits_bias:0']\r\n```\r\nand th...
1,661
1,662
1,662
MEMBER
null
# What does this PR do? Fixes #18802 As stated in the issue above, `final_logits_bias` in `TFMarianMTModel` are not being loaded at `from_pretrained(...)` time. The PT model has this variable defined, and thus the outputs of the model in the two frameworks are very different (>1e-1). Actually, these weights a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18833/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18833/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18833", "html_url": "https://github.com/huggingface/transformers/pull/18833", "diff_url": "https://github.com/huggingface/transformers/pull/18833.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18833.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18832
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18832/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18832/comments
https://api.github.com/repos/huggingface/transformers/issues/18832/events
https://github.com/huggingface/transformers/pull/18832
1,357,260,009
PR_kwDOCUB6oc4-IKHo
18,832
Delete `state_dict` to release memory as early as possible
{ "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 change regarding having a new argument `state_dict` in the nested function `load` is to pass black check, otherwise we get \r\n\r\n```bash\r\nsrc/transformers/modeling_utils.py:422:17: F821 undefined name 'state_dict'\r\n```\r\nw...
1,661
1,662
1,662
COLLABORATOR
null
# What does this PR do? Fix #18782. Note that this is not a real memory issue. A call to `gc.collect()` at the end of `from_pretrained()` works well too. However this PR finds and simply `del state_dict` at the end of `_load_state_dict_into_model()`, and `GC` is able to perform housekeeping on its own at a ear...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18832/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18832/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18832", "html_url": "https://github.com/huggingface/transformers/pull/18832", "diff_url": "https://github.com/huggingface/transformers/pull/18832.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18832.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18831
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18831/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18831/comments
https://api.github.com/repos/huggingface/transformers/issues/18831/events
https://github.com/huggingface/transformers/issues/18831
1,357,140,460
I_kwDOCUB6oc5Q5FHs
18,831
Add support for open_clip
{ "login": "apolinario", "id": 788417, "node_id": "MDQ6VXNlcjc4ODQxNw==", "avatar_url": "https://avatars.githubusercontent.com/u/788417?v=4", "gravatar_id": "", "url": "https://api.github.com/users/apolinario", "html_url": "https://github.com/apolinario", "followers_url": "https://api.github.com/users/a...
[ { "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
[]
[ "(Is the \"new model\" tag adequate here or it would be considered adapting to the existing CLIP model?) ", "cc'ing @patil-suraj. From the README, it seems that they replaced OpenAI's `quickgelu` with `torch.nn.GELU`, which is apparently better.\r\n\r\nNormally the strategy is to add a new model, no matter how sm...
1,661
1,671
1,666
NONE
null
### Feature request Add `open_clip` (https://github.com/mlfoundations/open_clip) support to Transformers ### Motivation open_clip has released ViT-B-32, ViT-B/16, ViT-B/16+, ViT-L/14 trained on LAION-400M and LAION-2B which are very relevant models - matching and sometimes surpassing OAI models benchmarks - b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18831/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/18831/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18830
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18830/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18830/comments
https://api.github.com/repos/huggingface/transformers/issues/18830/events
https://github.com/huggingface/transformers/issues/18830
1,356,988,567
I_kwDOCUB6oc5Q4gCX
18,830
ValueError: Unknown layer: Custom>TFViTMainLayer when using a Google transformer model in Streamlit
{ "login": "bluetail14", "id": 47062263, "node_id": "MDQ6VXNlcjQ3MDYyMjYz", "avatar_url": "https://avatars.githubusercontent.com/u/47062263?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bluetail14", "html_url": "https://github.com/bluetail14", "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
[]
[ "here is the link to model_vit.h5 https://drive.google.com/file/d/1ASXJ6-QVxV7W-rVUV57pUy5sYK1BokZ4/view?usp=sharing", "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 ...
1,661
1,691
1,665
NONE
null
### System Info transformers == 4.21.1 tensorflow == 2.9.1 streamlit ==1.11.1 Windows 10 ### Who can help? @Rocketknight1 @NielsRogge ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18830/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18830/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18829
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18829/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18829/comments
https://api.github.com/repos/huggingface/transformers/issues/18829/events
https://github.com/huggingface/transformers/pull/18829
1,356,982,515
PR_kwDOCUB6oc4-HOYd
18,829
follow layoutlmv3 to avoid device error
{ "login": "allanj", "id": 3351187, "node_id": "MDQ6VXNlcjMzNTExODc=", "avatar_url": "https://avatars.githubusercontent.com/u/3351187?v=4", "gravatar_id": "", "url": "https://api.github.com/users/allanj", "html_url": "https://github.com/allanj", "followers_url": "https://api.github.com/users/allanj/foll...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18829). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,661
1,665
1,665
CONTRIBUTOR
null
# What does this PR do? Slightly modify the way that we calculate the height and width embeddings for LayoutLMv2. The calculation is simply same as LayoutLMv3 to avoid the device-assert error when we run experiments on GPU. https://github.com/huggingface/transformers/blob/main/src/transformers/models/layoutlmv3/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18829/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18829/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18829", "html_url": "https://github.com/huggingface/transformers/pull/18829", "diff_url": "https://github.com/huggingface/transformers/pull/18829.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18829.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18828
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18828/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18828/comments
https://api.github.com/repos/huggingface/transformers/issues/18828/events
https://github.com/huggingface/transformers/issues/18828
1,356,704,120
I_kwDOCUB6oc5Q3al4
18,828
Add a vit-based ocr model to hugging face
{ "login": "wdp-007", "id": 4025053, "node_id": "MDQ6VXNlcjQwMjUwNTM=", "avatar_url": "https://avatars.githubusercontent.com/u/4025053?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wdp-007", "html_url": "https://github.com/wdp-007", "followers_url": "https://api.github.com/users/wdp-007/...
[ { "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
[]
[ "Sure, do you have an email address? We can set up a slack channel for easier communication ", "Yes, my email address is wdp0072012@gmail.com.\r\nDo I need to register for slack in advance?", "You should have received an invite by email :)" ]
1,661
1,678
1,678
CONTRIBUTOR
null
### Model description We want to add MGPSTR model(ECCV 2022) to hugging face. MGPSTR is a ViT(Vision Transformer)-based pure vision model for STR, which shows its superiority in recognition accuracy. It has a Multi-Granularity Prediction (MGP) strategy to inject information from the language modality. MGPSTR algorit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18828/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18828/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18827
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18827/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18827/comments
https://api.github.com/repos/huggingface/transformers/issues/18827/events
https://github.com/huggingface/transformers/issues/18827
1,356,616,300
I_kwDOCUB6oc5Q3FJs
18,827
[HF Trainer] [new optimizer] add `AnyPrecisionAdamW` (bf16)
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" }, { "id": 2392046359, "node_id": "MDU6TGF...
closed
false
null
[]
[ "Hello, I'll like to be assigned to this issue. ", "Yes, please, @Zeesky-code - once you have a working PR please tag me there.\r\n\r\nThank you!", "No longer working on this issue and it's now open to the community.\r\nThank you :)\r\n\r\n> Hello, I'll like to be assigned to this issue.\r\n\r\n", "Hi, may I ...
1,661
1,676
1,676
CONTRIBUTOR
null
### Feature request pytorch just merged https://github.com/pytorch/torchdistx/pull/52, which adds `AnyPrecisionAdamW` (bf16-support, and future new dtypes) we should add it to our HF Trainer arsenal This is open to the community - it shouldn't be too difficult to add by just checking the existing optimizers. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18827/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18827/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18826
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18826/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18826/comments
https://api.github.com/repos/huggingface/transformers/issues/18826/events
https://github.com/huggingface/transformers/issues/18826
1,356,435,348
I_kwDOCUB6oc5Q2Y-U
18,826
Examples do not seem to work on any spaces right now (possible downtime?)
{ "login": "ankrgyl", "id": 565363, "node_id": "MDQ6VXNlcjU2NTM2Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/565363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ankrgyl", "html_url": "https://github.com/ankrgyl", "followers_url": "https://api.github.com/users/ankrgyl/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 @ankrgyl! I tried using them a few seconds ago and it seems to work; is the issue still happening from your side? It may have been a transient error.", "It wasn't working until around 11:15 PM PST, at which point the website seem to have reset (see screenshot below) and ~10 minutes later, it started working....
1,661
1,662
1,662
CONTRIBUTOR
null
### System Info This is observed online on spaces: E.g. https://huggingface.co/spaces/nielsr/donut-docvqa, if you click any of the examples, you see ![Screen Shot 2022-08-30 at 4 06 41 PM](https://user-images.githubusercontent.com/565363/187558797-d0858c72-a580-4650-8f2d-b451f294da3d.png) Similarly, https://hug...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18826/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18826/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18825
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18825/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18825/comments
https://api.github.com/repos/huggingface/transformers/issues/18825/events
https://github.com/huggingface/transformers/issues/18825
1,356,379,618
I_kwDOCUB6oc5Q2LXi
18,825
Wav2Vec2ProcessorWithLM in pipeline issue
{ "login": "anderleich", "id": 29381188, "node_id": "MDQ6VXNlcjI5MzgxMTg4", "avatar_url": "https://avatars.githubusercontent.com/u/29381188?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anderleich", "html_url": "https://github.com/anderleich", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @anderleich,\r\n\r\nI am encountering the same issue when I try to use the AutomaticSpeechRecognitionPipeline in combination with a Languague Model. Have you been able to find a solution? I've tracked the issue down to the same lines of code as you, I cannot get self.type to evaluate to \"ctc_with_lm\" with the...
1,661
1,690
1,690
NONE
null
Opening a new issue for better tracking purposes. This issue follows: https://github.com/huggingface/transformers/issues/16759 > Hey @gxbag, > > Please make sure to provide a reproducible code snippet. I cannot run the above snippet because I don't have access to `"language_model/vocabulary.txt"`. > > Regardin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18825/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18825/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18824
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18824/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18824/comments
https://api.github.com/repos/huggingface/transformers/issues/18824/events
https://github.com/huggingface/transformers/issues/18824
1,356,161,125
I_kwDOCUB6oc5Q1WBl
18,824
model with longformer encoder cannot be saved due to OperatorNotAllowedInGraphError
{ "login": "rdisipio", "id": 7974270, "node_id": "MDQ6VXNlcjc5NzQyNzA=", "avatar_url": "https://avatars.githubusercontent.com/u/7974270?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rdisipio", "html_url": "https://github.com/rdisipio", "followers_url": "https://api.github.com/users/rdisi...
[ { "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
[]
[ "@rdisipio I tried to reproduce this error, But I was able to save model. I followed [this](https://huggingface.co/docs/transformers/model_doc/longformer#transformers.TFLongformerForTokenClassification.call.example) example to build a simple model. Can you add some steps to reproduce this bug ? ", "This issue h...
1,661
1,665
1,665
NONE
null
### System Info - `transformers` version: 4.21.2 - Platform: Linux-5.10.102-99.473.amzn2.x86_64-x86_64-with-glibc2.10 (AWS SageMaker) - Python version: 3.8.12 - Huggingface_hub version: 0.9.1 - PyTorch version (GPU?): not installed (NA) - Tensorflow version (GPU?): 2.9.1 (True) - Flax version (CPU?/GPU?/TPU?):...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18824/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18824/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18823
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18823/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18823/comments
https://api.github.com/repos/huggingface/transformers/issues/18823/events
https://github.com/huggingface/transformers/issues/18823
1,356,105,373
I_kwDOCUB6oc5Q1Iad
18,823
Memory is not released when moving model to CUDA
{ "login": "piEsposito", "id": 47679710, "node_id": "MDQ6VXNlcjQ3Njc5NzEw", "avatar_url": "https://avatars.githubusercontent.com/u/47679710?v=4", "gravatar_id": "", "url": "https://api.github.com/users/piEsposito", "html_url": "https://github.com/piEsposito", "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
{ "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/...
[ { "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.githu...
[ "Pinging the king of memory, @ydshieh :raised_hands: ", "Hi @piEsposito \r\n\r\nAs I have seen quite a few times `torch` has some of its own memory management, and related memory issues, it would be great if you can provide and example that creates a (big enough) PyTorch models (not from `transformers`) on CPU, s...
1,661
1,661
1,661
CONTRIBUTOR
null
### System Info - `transformers` version: 4.21.0 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.9.1 - PyTorch version (GPU?): 1.12.1+cu113 (True) - Tensorflow version (GPU?): 2.8.2 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18823/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18823/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18822
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18822/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18822/comments
https://api.github.com/repos/huggingface/transformers/issues/18822/events
https://github.com/huggingface/transformers/pull/18822
1,356,035,026
PR_kwDOCUB6oc4-D9PU
18,822
add a script to get time info. from GA workflow jobs
{ "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._", "Yes, I will move it to `utils`." ]
1,661
1,662
1,662
COLLABORATOR
null
# What does this PR do? As we might need to get the running time for workflow jobs again in the future, here is a simple script. It's probably better to move to the directory `utils`. I put it under `.github/scripts/` to emphasize this is really for GitHub Actions only. The output looks like ```bash (py39) λ ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18822/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18822/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18822", "html_url": "https://github.com/huggingface/transformers/pull/18822", "diff_url": "https://github.com/huggingface/transformers/pull/18822.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18822.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18821
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18821/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18821/comments
https://api.github.com/repos/huggingface/transformers/issues/18821/events
https://github.com/huggingface/transformers/pull/18821
1,356,027,970
PR_kwDOCUB6oc4-D7st
18,821
Add Image To Text Generation pipeline
{ "login": "OlivierDehaene", "id": 23298448, "node_id": "MDQ6VXNlcjIzMjk4NDQ4", "avatar_url": "https://avatars.githubusercontent.com/u/23298448?v=4", "gravatar_id": "", "url": "https://api.github.com/users/OlivierDehaene", "html_url": "https://github.com/OlivierDehaene", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "cc @mishig25, the inference widgets for models like TrOCR, Donut, [image captioning](https://huggingface.co/nlpconnect/vit-gpt2-image-captioning) can now be created! 🥳 " ]
1,661
1,662
1,662
MEMBER
null
# What does this PR do? Add Image To Text Generation pipeline. The pipeline currently defaults to [nlpconnect/vit-gpt2-image-captioning](https://huggingface.co/nlpconnect/vit-gpt2-image-captioning). ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18821/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/18821/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18821", "html_url": "https://github.com/huggingface/transformers/pull/18821", "diff_url": "https://github.com/huggingface/transformers/pull/18821.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18821.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18820
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18820/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18820/comments
https://api.github.com/repos/huggingface/transformers/issues/18820/events
https://github.com/huggingface/transformers/pull/18820
1,355,970,324
PR_kwDOCUB6oc4-Dvd_
18,820
Disable nightly CI temporarily
{ "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,661
1,661
1,661
COLLABORATOR
null
# What does this PR do? Disable nightly CI temporarily until the test suite can be run under 12 hours.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18820/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18820/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18820", "html_url": "https://github.com/huggingface/transformers/pull/18820", "diff_url": "https://github.com/huggingface/transformers/pull/18820.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18820.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18819
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18819/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18819/comments
https://api.github.com/repos/huggingface/transformers/issues/18819/events
https://github.com/huggingface/transformers/issues/18819
1,355,946,097
I_kwDOCUB6oc5Q0hhx
18,819
ONNX test suite is slow - run in 5.5 hours
{ "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/...
[ { "id": 1834088753, "node_id": "MDU6TGFiZWwxODM0MDg4NzUz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Tests", "name": "Tests", "color": "a6fcca", "default": false, "description": "Related to tests" }, { "id": 2604155188, "node_id": "MDU6TGFiZWwyNjA0M...
closed
false
null
[]
[ "Thanks for raising this - it's an issue we've also faced with `optimum`'s test suite. Let me take a look and see if it's possible to use the tiny models as you suggest\r\n\r\ncc @echarlaix @philschmid ", "Keep the issue alive :-)", "Thanks for the ping - on my TODO list this week!" ]
1,661
1,692
1,692
COLLABORATOR
null
### Who can help? @lewtun @LysandreJik As shown in [this job](https://github.com/huggingface/transformers/runs/8074936385?check_suite_focus=true) run, the ONNX tests now run in 5.5 hours. From https://github.com/huggingface/transformers/blob/73c6273d481f9052098a2a5a5f001fa75daaace9/tests/onnx/test_onnx_v2.py...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18819/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18819/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18818
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18818/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18818/comments
https://api.github.com/repos/huggingface/transformers/issues/18818/events
https://github.com/huggingface/transformers/pull/18818
1,355,928,925
PR_kwDOCUB6oc4-Dmcl
18,818
Pin maximum TF version
{ "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._", "@ydshieh the CI fail seems unrelated 🤔 do you know potential causes?", "Unfortunately no. Let me find some time to take a look, but I think you are good to merge :-)", "Yes I think that's an unrelated error linked to a new cache...
1,661
1,666
1,661
MEMBER
null
# What does this PR do? We now also depend on `tensorflow-text`, whose minor versions are typically released a few days after new `tensorflow` releases. From tests against the `tensorflow` release candidate, `tensorflow-text`-based functions fail when these two libraries do not have the same version. This PR pins...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18818/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18818/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18818", "html_url": "https://github.com/huggingface/transformers/pull/18818", "diff_url": "https://github.com/huggingface/transformers/pull/18818.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18818.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18817
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18817/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18817/comments
https://api.github.com/repos/huggingface/transformers/issues/18817/events
https://github.com/huggingface/transformers/issues/18817
1,355,875,673
I_kwDOCUB6oc5Q0QVZ
18,817
Identifying backend compatibility versions
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
null
[]
[ "### **Past CI - PyTorch 1.11 (Patch release: v4.21.2 | b487096b0)**\r\n\r\n#### General\r\n| no. | error | status |\r\n|-:|:-|:-|\r\n| 32 | NameError: name 'kenlm' is not defined | not installed |\r\n| 12 | RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 | fixed...
1,661
1,671
null
MEMBER
null
We are currently working on identifying the backend versions with which we are compatible and with which we want to be compatible. These backends are PyTorch and TensorFlow. We will be considering Flax at a later point in time. The first step was to identify the number of failures in each PyTorch/TensorFlow version ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18817/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18817/timeline
reopened
null
null
https://api.github.com/repos/huggingface/transformers/issues/18816
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18816/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18816/comments
https://api.github.com/repos/huggingface/transformers/issues/18816/events
https://github.com/huggingface/transformers/issues/18816
1,355,756,345
I_kwDOCUB6oc5QzzM5
18,816
New update breaks T5, gpt2, opt models (probably all models actually) if bitsandbytes is installed
{ "login": "ViktorThink", "id": 35969959, "node_id": "MDQ6VXNlcjM1OTY5OTU5", "avatar_url": "https://avatars.githubusercontent.com/u/35969959?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ViktorThink", "html_url": "https://github.com/ViktorThink", "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
[]
[ "Hi @ViktorThink . Could you try if the following version works?\r\n\r\n`bitsandbytes==0.31.8` or `bitsandbytes==0.31.5`", "Oh, I got what was the issue now...\r\n\r\nI had bitsandbytes installed on an instance with no cuda device, and that raised the error.\r\n\r\nThank you very much for the quick reply! Highly ...
1,661
1,662
1,661
NONE
null
### System Info It seems like a new update in the repo is causing an error for all models tested, including all the T5, gpt2 and opt models. The error only occurs if bitsandbytes is installed, I tried an earlier version of bitesandbytes and same problem occured. I made a colab to showcase it: https://colab.res...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18816/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18816/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18815
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18815/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18815/comments
https://api.github.com/repos/huggingface/transformers/issues/18815/events
https://github.com/huggingface/transformers/pull/18815
1,355,631,199
PR_kwDOCUB6oc4-CmQk
18,815
MSN (Masked Siamese Networks) for ViT
{ "login": "sayakpaul", "id": 22957388, "node_id": "MDQ6VXNlcjIyOTU3Mzg4", "avatar_url": "https://avatars.githubusercontent.com/u/22957388?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sayakpaul", "html_url": "https://github.com/sayakpaul", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@NielsRogge, after studying the [pretraining script of MSN](https://github.com/facebookresearch/msn/blob/main/src/msn_train.py) thoroughly I am still unsure of how to put together a `ViTMSNForPretraining` similar to `ViTMAEForPreTrai...
1,661
1,663
1,663
MEMBER
null
# What does this PR do? Adds the [MSN](https://arxiv.org/abs/2204.07141) checkpoints for ViT. MSN shines in the few-shot regimes which would benefit real-world use cases. Later we could add a pre-training script so that people can actually perform pre-training with MSN with their own datasets. Closes #18758 #...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18815/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18815/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18815", "html_url": "https://github.com/huggingface/transformers/pull/18815", "diff_url": "https://github.com/huggingface/transformers/pull/18815.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18815.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18814
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18814/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18814/comments
https://api.github.com/repos/huggingface/transformers/issues/18814/events
https://github.com/huggingface/transformers/pull/18814
1,355,442,002
PR_kwDOCUB6oc4-B9Aw
18,814
Add support for Japanese GPT-NeoX-based model by ABEJA, Inc.
{ "login": "SO0529", "id": 67080255, "node_id": "MDQ6VXNlcjY3MDgwMjU1", "avatar_url": "https://avatars.githubusercontent.com/u/67080255?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SO0529", "html_url": "https://github.com/SO0529", "followers_url": "https://api.github.com/users/SO0529/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Impressive PR, @SO0529!\r\n\r\nI'd like either @younesbelkada or @ArthurZucker (or both :smile:) to have a look at your PR; they are both well versed in Japanese and have reviewed models in the past.\r\n\r\nThey're both on leave unti...
1,661
1,663
1,663
CONTRIBUTOR
null
# What does this PR do? This PR adds a new GPT NeoX Japanese Model and a new Tokenizer. The specific features are, - Trained for Japanese Dataset with specific preprocess. - Used [GPT-NeoX](https://github.com/EleutherAI/gpt-neox) to train with Pipe. In addition, we removed bias parameters from the transformer blocks...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18814/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18814/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18814", "html_url": "https://github.com/huggingface/transformers/pull/18814", "diff_url": "https://github.com/huggingface/transformers/pull/18814.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18814.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18813
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18813/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18813/comments
https://api.github.com/repos/huggingface/transformers/issues/18813/events
https://github.com/huggingface/transformers/issues/18813
1,355,437,443
I_kwDOCUB6oc5QylWD
18,813
Feature to highlight or color code the text from the NER output of token classification having offsets using python
{ "login": "pratikchhapolika", "id": 11159549, "node_id": "MDQ6VXNlcjExMTU5NTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pratikchhapolika", "html_url": "https://github.com/pratikchhapolika", "followers_url": "https://...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!", "> Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests. Could you ask ...
1,661
1,665
1,665
NONE
null
### Feature request I have fine tuned a `Hugging face` `token classification` model for `NER task`. I use `pipeline` from Hugging face to do prediction on test text data. I tag the data as `BIOL` format. `B stands of Beginning, I stand for Including, O means no entity, L means Last` **Example:** `Joh J Mathew...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18813/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18813/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18812
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18812/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18812/comments
https://api.github.com/repos/huggingface/transformers/issues/18812/events
https://github.com/huggingface/transformers/pull/18812
1,355,430,282
PR_kwDOCUB6oc4-B6c2
18,812
Add TF implementation of LongT5
{ "login": "stancld", "id": 46073029, "node_id": "MDQ6VXNlcjQ2MDczMDI5", "avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stancld", "html_url": "https://github.com/stancld", "followers_url": "https://api.github.com/users/stancl...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18812). All of your documentation changes will be reflected on that endpoint.", "Hi @patrickvonplaten and @gante,\r\nFYI I've been gradually fixing some PT-TF discrepancies -- I should have some spare time again next weeken...
1,661
1,675
1,675
CONTRIBUTOR
null
Fixes #18063 Add: - [ ] Fix PT-TF equivalence (Local) - [ ] Fix PT-TF equivalence (TGlobal) - [ ] Run all slow tests - [ ] Prepare TF checkpoints - [long-t5-local-base](https://huggingface.co/Stancld/long-t5-local-base) - [long-t5-local-large](https://huggingface.co/Stancld/long-t5-local-large) - [long...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18812/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18812/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18812", "html_url": "https://github.com/huggingface/transformers/pull/18812", "diff_url": "https://github.com/huggingface/transformers/pull/18812.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18812.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18811
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18811/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18811/comments
https://api.github.com/repos/huggingface/transformers/issues/18811/events
https://github.com/huggingface/transformers/issues/18811
1,355,407,975
I_kwDOCUB6oc5QyeJn
18,811
Inconsistencies between `nn.functional.interpolate` and `tf.image.resize`
{ "login": "sayakpaul", "id": 22957388, "node_id": "MDQ6VXNlcjIyOTU3Mzg4", "avatar_url": "https://avatars.githubusercontent.com/u/22957388?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sayakpaul", "html_url": "https://github.com/sayakpaul", "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
[]
[ "Note that `align_corners=None` does give the same result as `tf.image.resize`, to an absolute tolerance of 1e-6 or so:\r\n\r\n```python\r\nupsampled_logits_pt = torch.nn.functional.interpolate(\r\n dummy_logits_pt, size=interp_shape, mode=\"bilinear\", align_corners=None\r\n)\r\n```\r\n", "I had to face a sim...
1,661
1,669
1,669
MEMBER
null
### System Info Upsampling of intermediate feature maps is common for computer vision models. In PyTorch, it's usually implemented using [`nn.functional.interpolate`](https://pytorch.org/docs/stable/generated/torch.nn.functional.interpolate.html). For TensorFlow, it's usually [`tf.image.resize`](https://www.tensorflow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18811/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18811/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18810
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18810/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18810/comments
https://api.github.com/repos/huggingface/transformers/issues/18810/events
https://github.com/huggingface/transformers/issues/18810
1,355,360,023
I_kwDOCUB6oc5QyScX
18,810
SSLError
{ "login": "LaddieTJC", "id": 103995451, "node_id": "U_kgDOBjLYOw", "avatar_url": "https://avatars.githubusercontent.com/u/103995451?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LaddieTJC", "html_url": "https://github.com/LaddieTJC", "followers_url": "https://api.github.com/users/Laddie...
[ { "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
[]
[ "It seems there is an issue with your SSL module and `requests`, not with `transformers`; I would head to Stack Overflow or another forum focused on these issues, we're unfortunately unlikely to be able to help you out here.", "This issue has been automatically marked as stale because it has not had recent activi...
1,661
1,665
1,665
NONE
null
Version: Python 3.8 transformer 4.21.0 I am trying to use DistilBertTokenizer using the following line: `tokenizer = DistilBertTokenizer.from_pretrained("distilbert-base-uncased", do_lower_case=True)` but SSLerror arise from the line above `requests.exceptions.SSLError: HTTPSConnectionPool(host='huggingfa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18810/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18810/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18809
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18809/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18809/comments
https://api.github.com/repos/huggingface/transformers/issues/18809/events
https://github.com/huggingface/transformers/issues/18809
1,354,911,525
I_kwDOCUB6oc5Qwk8l
18,809
Changing a single example for BLOOM 176-B affects forward pass for other examples in a batch
{ "login": "mayank31398", "id": 32954280, "node_id": "MDQ6VXNlcjMyOTU0Mjgw", "avatar_url": "https://avatars.githubusercontent.com/u/32954280?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mayank31398", "html_url": "https://github.com/mayank31398", "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
[]
[ "Hey! It's a bit hard to run a testing env with bloom, can you share a reproductible script with a smaller model? \r\n\r\nThis looks like some instabilities from torch.bfloat16, and I'm willing to bet that those values come from there (both 3.28 occurences are exactly the same, so seems like a rounding error to me,...
1,661
1,665
1,665
CONTRIBUTOR
null
### System Info - `transformers` version: 4.21.2 - Platform: Linux-4.18.0-305.25.1.el8_4.x86_64-x86_64-with-glibc2.17 - Python version: 3.8.13 - Huggingface_hub version: 0.9.1 - PyTorch version (GPU?): 1.11.0 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18809/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18809/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18808
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18808/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18808/comments
https://api.github.com/repos/huggingface/transformers/issues/18808/events
https://github.com/huggingface/transformers/pull/18808
1,354,249,381
PR_kwDOCUB6oc4998nn
18,808
[Update README] Add SegFormer and ViLT links
{ "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._", "Very cool! We've got a finetune guide for semantic segmentation in the works at #18640 right now, with hopefully VQA to come soon." ]
1,661
1,661
1,661
CONTRIBUTOR
null
# What does this PR do? As we now also have inference widgets for semantic segmentation & visual question answering, it makes sense to add them to the main README.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18808/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18808/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18808", "html_url": "https://github.com/huggingface/transformers/pull/18808", "diff_url": "https://github.com/huggingface/transformers/pull/18808.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18808.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18807
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18807/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18807/comments
https://api.github.com/repos/huggingface/transformers/issues/18807/events
https://github.com/huggingface/transformers/pull/18807
1,354,228,483
PR_kwDOCUB6oc4994Es
18,807
supported dynamic batch for torchscript trace
{ "login": "MenglingD", "id": 9418558, "node_id": "MDQ6VXNlcjk0MTg1NTg=", "avatar_url": "https://avatars.githubusercontent.com/u/9418558?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MenglingD", "html_url": "https://github.com/MenglingD", "followers_url": "https://api.github.com/users/Me...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nThanks for your PR. Note that, when contributing, you need to run `make fixup` from the root of the repo, which will fix code style & checks quality of the code. Normally here, it will complain that you need to run `make fix-copies`, which ensures that other models that rely on Swin's implementation als...
1,661
1,661
1,661
NONE
null
# What does this PR do? Fixup for supporting dynamic batch for Swin-Transformer. Fixes #18806 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18807/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18807/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18807", "html_url": "https://github.com/huggingface/transformers/pull/18807", "diff_url": "https://github.com/huggingface/transformers/pull/18807.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18807.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18806
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18806/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18806/comments
https://api.github.com/repos/huggingface/transformers/issues/18806/events
https://github.com/huggingface/transformers/issues/18806
1,354,218,700
I_kwDOCUB6oc5Qt7zM
18,806
Swin trace is not correctedly for dynamic batch.
{ "login": "MenglingD", "id": 9418558, "node_id": "MDQ6VXNlcjk0MTg1NTg=", "avatar_url": "https://avatars.githubusercontent.com/u/9418558?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MenglingD", "html_url": "https://github.com/MenglingD", "followers_url": "https://api.github.com/users/Me...
[ { "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
[]
[ "Wondering why this wasn't caught by the torchscript tests, cc @michaelbenayoun ", "The dimension of batch is casted to integer forcelly, which leads to swin cann't support dynamic batch [modeling_swin.py#L218](https://github.com/huggingface/transformers/blob/main/src/transformers/models/swin/modeling_swin.py#L2...
1,661
1,668
1,668
NONE
null
### System Info transformers: v4.21.2 system: centos python version: 3.6 ### Who can help? @sgugger @NielsRogge ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18806/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18806/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18805
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18805/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18805/comments
https://api.github.com/repos/huggingface/transformers/issues/18805/events
https://github.com/huggingface/transformers/pull/18805
1,354,055,280
PR_kwDOCUB6oc499SJ-
18,805
Fix luke docstring
{ "login": "qqaatw", "id": 24835382, "node_id": "MDQ6VXNlcjI0ODM1Mzgy", "avatar_url": "https://avatars.githubusercontent.com/u/24835382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qqaatw", "html_url": "https://github.com/qqaatw", "followers_url": "https://api.github.com/users/qqaatw/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,661
1,661
1,661
CONTRIBUTOR
null
# What does this PR do? The output logits of `LukeForEntitySpanClassification` is in `(batch_size, entity_length, config.num_labels)` shape instead of `(batch_size, config.num_labels)`, which is that of `LukeForEntityClassification`. https://github.com/huggingface/transformers/blob/8b67f20935e48b26c5803cf31e0e89b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18805/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18805/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18805", "html_url": "https://github.com/huggingface/transformers/pull/18805", "diff_url": "https://github.com/huggingface/transformers/pull/18805.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18805.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18804
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18804/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18804/comments
https://api.github.com/repos/huggingface/transformers/issues/18804/events
https://github.com/huggingface/transformers/pull/18804
1,354,053,484
PR_kwDOCUB6oc499Rxd
18,804
Fix mock in `test_cached_files_are_used_when_internet_is_down`
{ "login": "Wauplin", "id": 11801849, "node_id": "MDQ6VXNlcjExODAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Wauplin", "html_url": "https://github.com/Wauplin", "followers_url": "https://api.github.com/users/Waupli...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thank you, @Wauplin . As my knowledge of `Mock` is also mocked, here is my noob question:\r\n\r\nThe `response` object here\r\n```\r\nserver_message = response.json().get(\"error\", None)\r\n```\r\nis the `response_mock` in\r\n```\r\...
1,661
1,661
1,661
CONTRIBUTOR
null
# What does this PR do? Fix the CI that is currently breaking because of the [0.9.1 patch release](https://github.com/huggingface/huggingface_hub/releases/tag/v0.9.1) of `huggingface_hub`. Problem is that we are looking at the response from the server when having a HTTPError. In the tests, the response is mocked ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18804/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18804/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18804", "html_url": "https://github.com/huggingface/transformers/pull/18804", "diff_url": "https://github.com/huggingface/transformers/pull/18804.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18804.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18803
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18803/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18803/comments
https://api.github.com/repos/huggingface/transformers/issues/18803/events
https://github.com/huggingface/transformers/pull/18803
1,353,971,320
PR_kwDOCUB6oc498_0W
18,803
[Swin, Swinv2] Fix attn_mask dtype
{ "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,661
1,661
1,661
CONTRIBUTOR
null
# What does this PR do? This PR fixes the dtype of the `attn_mask`, making mixed precision training possible. Fixes #17481
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18803/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18803/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18803", "html_url": "https://github.com/huggingface/transformers/pull/18803", "diff_url": "https://github.com/huggingface/transformers/pull/18803.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18803.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18802
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18802/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18802/comments
https://api.github.com/repos/huggingface/transformers/issues/18802/events
https://github.com/huggingface/transformers/issues/18802
1,353,931,331
I_kwDOCUB6oc5Qs1pD
18,802
`load_tf_weights` doesn't handle the weights added to the TF models at the top level
{ "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/...
[ { "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
{ "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...
[ { "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.co...
[ "Related to #18149.", "cc @patrickvonplaten as we might need to change the core method `load_tf_weights`." ]
1,661
1,662
1,662
COLLABORATOR
null
### System Info - `transformers` version: 4.22.0.dev0 - Platform: Windows-10-10.0.22000-SP0 - Python version: 3.9.11 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.1+cu113 (True) - Tensorflow version (GPU?): 2.9.1 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18802/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18802/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18801
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18801/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18801/comments
https://api.github.com/repos/huggingface/transformers/issues/18801/events
https://github.com/huggingface/transformers/pull/18801
1,353,914,414
PR_kwDOCUB6oc498zow
18,801
Add security warning about the from_pretrained() method
{ "login": "lewtun", "id": 26859204, "node_id": "MDQ6VXNlcjI2ODU5MjA0", "avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewtun", "html_url": "https://github.com/lewtun", "followers_url": "https://api.github.com/users/lewtun/fo...
[]
closed
false
null
[]
[ "> Does the [malware scanner](https://huggingface.co/docs/hub/security-malware) catch malicious code injection for all Hub repos (public and private)?\r\n\r\nIt doesn't \"catch malicious code injection\" per se, it extracts the list of module-function pairs that can be called when unpickling. We still haven't imple...
1,661
1,662
1,661
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/18801/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/18801/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18801", "html_url": "https://github.com/huggingface/transformers/pull/18801", "diff_url": "https://github.com/huggingface/transformers/pull/18801.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18801.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18800
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18800/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18800/comments
https://api.github.com/repos/huggingface/transformers/issues/18800/events
https://github.com/huggingface/transformers/pull/18800
1,353,882,528
PR_kwDOCUB6oc498s1w
18,800
Fix gradient checkpointing tests for `encoder-decoder` models
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Sorry about that! Thanks for fixing @ydshieh " ]
1,661
1,662
1,661
COLLABORATOR
null
# What does this PR do? The recently added tests (#18697) didn't send the model to the correct device and caused some test failed. This PR fixes it.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18800/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18800/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18800", "html_url": "https://github.com/huggingface/transformers/pull/18800", "diff_url": "https://github.com/huggingface/transformers/pull/18800.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18800.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18799
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18799/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18799/comments
https://api.github.com/repos/huggingface/transformers/issues/18799/events
https://github.com/huggingface/transformers/issues/18799
1,353,835,104
I_kwDOCUB6oc5QseJg
18,799
torchmetrics support
{ "login": "izapolsk", "id": 21039333, "node_id": "MDQ6VXNlcjIxMDM5MzMz", "avatar_url": "https://avatars.githubusercontent.com/u/21039333?v=4", "gravatar_id": "", "url": "https://api.github.com/users/izapolsk", "html_url": "https://github.com/izapolsk", "followers_url": "https://api.github.com/users/iza...
[]
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,661
1,678
1,665
CONTRIBUTOR
null
### Feature request In eval loop the HF transformers collects and keeps in memory predictions and targets up to the end of eval and then computes metrics passed via callback. When transformers is used to fine-tune model with big dataset and many labels (in my case up to 220k labels), predictions and targets take hu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18799/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18799/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18798
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18798/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18798/comments
https://api.github.com/repos/huggingface/transformers/issues/18798/events
https://github.com/huggingface/transformers/issues/18798
1,353,803,473
I_kwDOCUB6oc5QsWbR
18,798
Support mixed precision FP16 in TF Segformer | Nan loss
{ "login": "joihn", "id": 11663917, "node_id": "MDQ6VXNlcjExNjYzOTE3", "avatar_url": "https://avatars.githubusercontent.com/u/11663917?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joihn", "html_url": "https://github.com/joihn", "followers_url": "https://api.github.com/users/joihn/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
[]
[ "Thanks! Are you casting the softmaxed outputs or the logits to FP32 before loss computation as recommended [here](https://www.tensorflow.org/guide/mixed_precision#building_the_model)? \r\n\r\nNit: You didn't provide any training code. I guess it's always better to provide a self-contained Colab Notebook or a noteb...
1,661
1,665
1,665
CONTRIBUTOR
null
### Description I'm trying to bring mixed precision training (FP16) support to [TF Segformer](https://github.com/huggingface/transformers/blob/main/src/transformers/models/segformer/modeling_tf_segformer.py) . I had to do a very small modification to the inital code for supporting Fp16 ([my commit ](https://github....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18798/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18798/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18797
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18797/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18797/comments
https://api.github.com/repos/huggingface/transformers/issues/18797/events
https://github.com/huggingface/transformers/issues/18797
1,353,502,168
I_kwDOCUB6oc5QrM3Y
18,797
CLIPTextModel gives invalid output for zeroed attention mask
{ "login": "jonatanklosko", "id": 17034772, "node_id": "MDQ6VXNlcjE3MDM0Nzcy", "avatar_url": "https://avatars.githubusercontent.com/u/17034772?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jonatanklosko", "html_url": "https://github.com/jonatanklosko", "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
[]
[ "I've also experienced this issue, and anecdotally this inconsistency seems to impact the quality of stable diffusion outputs from https://github.com/huggingface/diffusers. More specifically, when trying to port the stable diffusion pipeline to another framework (e.g. like Flax where the implementation is not prese...
1,661
1,662
1,662
CONTRIBUTOR
null
### System Info - `transformers` version: 4.21.2 - Platform: Linux-5.15.0-46-generic-x86_64-with-glibc2.33 - Python version: 3.8.6 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.12.0+cu102 (False) - Tensorflow version (GPU?): 2.6.0 (False) - Flax version (CPU?/GPU?/TPU?): 0.4.2 (cpu) - Jax versi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18797/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18797/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18796
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18796/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18796/comments
https://api.github.com/repos/huggingface/transformers/issues/18796/events
https://github.com/huggingface/transformers/pull/18796
1,353,479,052
PR_kwDOCUB6oc497XOf
18,796
Fix docstring for BartForSequenceClassification
{ "login": "skbollam", "id": 31428025, "node_id": "MDQ6VXNlcjMxNDI4MDI1", "avatar_url": "https://avatars.githubusercontent.com/u/31428025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/skbollam", "html_url": "https://github.com/skbollam", "followers_url": "https://api.github.com/users/skb...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,661
1,661
1,661
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/18796/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18796/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18796", "html_url": "https://github.com/huggingface/transformers/pull/18796", "diff_url": "https://github.com/huggingface/transformers/pull/18796.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18796.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18795
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18795/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18795/comments
https://api.github.com/repos/huggingface/transformers/issues/18795/events
https://github.com/huggingface/transformers/pull/18795
1,353,436,870
PR_kwDOCUB6oc497PgS
18,795
Add docstring for BartForCausalLM
{ "login": "ekagra-ranjan", "id": 3116519, "node_id": "MDQ6VXNlcjMxMTY1MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/3116519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ekagra-ranjan", "html_url": "https://github.com/ekagra-ranjan", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,661
1,661
1,661
CONTRIBUTOR
null
# What does this PR do? Adds docstring for BartForCausalLM ## Before submitting - [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-cont...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18795/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18795/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18795", "html_url": "https://github.com/huggingface/transformers/pull/18795", "diff_url": "https://github.com/huggingface/transformers/pull/18795.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18795.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18794
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18794/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18794/comments
https://api.github.com/repos/huggingface/transformers/issues/18794/events
https://github.com/huggingface/transformers/pull/18794
1,353,429,183
PR_kwDOCUB6oc497OFP
18,794
fix the description of token used for Bart classification
{ "login": "ekagra-ranjan", "id": 3116519, "node_id": "MDQ6VXNlcjMxMTY1MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/3116519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ekagra-ranjan", "html_url": "https://github.com/ekagra-ranjan", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@patrickvonplaten - does this look fine to you?", "@ArthurZucker @gante could you take a look here? ", "> @ArthurZucker @JoaoLages could you take a look here?\r\n\r\nMaybe you wanted to call João Gante and not me, but here are my...
1,661
1,664
1,664
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/18794/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18794/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18794", "html_url": "https://github.com/huggingface/transformers/pull/18794", "diff_url": "https://github.com/huggingface/transformers/pull/18794.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18794.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18793
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18793/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18793/comments
https://api.github.com/repos/huggingface/transformers/issues/18793/events
https://github.com/huggingface/transformers/issues/18793
1,353,419,341
I_kwDOCUB6oc5Qq4pN
18,793
[BUG] Getting different sentence embeddings when using model on CPU and GPU
{ "login": "kbkartik", "id": 79010023, "node_id": "MDQ6VXNlcjc5MDEwMDIz", "avatar_url": "https://avatars.githubusercontent.com/u/79010023?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kbkartik", "html_url": "https://github.com/kbkartik", "followers_url": "https://api.github.com/users/kbk...
[ { "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,661
1,664
1,664
NONE
null
### System Info - `transformers` version: 4.21.2 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.9.1 - PyTorch version (GPU?): 1.12.1+cu113 (False) - Tensorflow version (GPU?): 2.8.2 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18793/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18793/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18792
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18792/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18792/comments
https://api.github.com/repos/huggingface/transformers/issues/18792/events
https://github.com/huggingface/transformers/issues/18792
1,353,408,293
I_kwDOCUB6oc5Qq18l
18,792
UnimplementedError: The Conv2D op currently does not support grouped convolutions on the CPU.
{ "login": "innat", "id": 17668390, "node_id": "MDQ6VXNlcjE3NjY4Mzkw", "avatar_url": "https://avatars.githubusercontent.com/u/17668390?v=4", "gravatar_id": "", "url": "https://api.github.com/users/innat", "html_url": "https://github.com/innat", "followers_url": "https://api.github.com/users/innat/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
[]
[ "cc @gante ", "Hey @innat 👋 That exception doesn't come from `transformers`, but from TensorFlow itself. As you mentioned, using a newer TF version does not result in an error. \r\n\r\nI'm afraid we won't be able to help you here :)", "@gante \r\nSorry I think I didn't explain well. Here is short and exact sum...
1,661
1,664
1,664
NONE
null
# Info ``` Coalb TPU v2 Kaggle TPU v3 TensorFlow: 2.4.1 Transformer: 4.22.0.dev0 ``` # Who can help? @Rocketknight1 @NielsRogge @sgugger @amyeroberts # Information - [ ] The official example scripts - [X] My own modified scripts # Tasks - [ ] An officially supported task in the `examples` folde...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18792/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18792/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18791
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18791/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18791/comments
https://api.github.com/repos/huggingface/transformers/issues/18791/events
https://github.com/huggingface/transformers/pull/18791
1,353,381,907
PR_kwDOCUB6oc497Frt
18,791
Fix decode_input_ids to bare T5Model and improve doc
{ "login": "ekagra-ranjan", "id": 3116519, "node_id": "MDQ6VXNlcjMxMTY1MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/3116519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ekagra-ranjan", "html_url": "https://github.com/ekagra-ranjan", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for the fixes! ", "@patrickvonplaten Thanks for the review! Applied your suggestions. " ]
1,661
1,662
1,662
CONTRIBUTOR
null
# What does this PR do? * Fix 1: use the tokenizer to obtain the labels as tensors. `docs/source/en/model_doc/t5.mdx` * Fix 2: `src/transformers/models/t5/` * Present case: T5 prepends the decoder_input_ids with pad token. This preprocessing is handled internally by `T5ForConditionalGeneration` by shifting th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18791/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18791/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18791", "html_url": "https://github.com/huggingface/transformers/pull/18791", "diff_url": "https://github.com/huggingface/transformers/pull/18791.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18791.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18790
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18790/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18790/comments
https://api.github.com/repos/huggingface/transformers/issues/18790/events
https://github.com/huggingface/transformers/issues/18790
1,353,354,522
I_kwDOCUB6oc5Qqo0a
18,790
circular import issue when importing with `transformers` and `happytransformer`
{ "login": "maifeeulasad", "id": 29339330, "node_id": "MDQ6VXNlcjI5MzM5MzMw", "avatar_url": "https://avatars.githubusercontent.com/u/29339330?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maifeeulasad", "html_url": "https://github.com/maifeeulasad", "followers_url": "https://api.github.c...
[ { "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
[]
[ "Got resolved after restarting the environment. Weird.", "Hi, I had a similar issue by simply running \"from transformers import GPT2Tokenizer\"\r\nThis is the error I got:\r\n`ImportError: cannot import name 'GPT2Tokenizer' from partially initialized module 'transformers' (most likely due to a circular import)`"...
1,661
1,692
1,661
NONE
null
### System Info Libraries: ``` transformers 4.21.2 happytransformer 2.4.1 huggingface-hub 0.9.1 torch 1.12.1 tensorflow 2.9.1 ``` Env: ``` python 3.10 Windows 10.0.19044.1889 ``` ### Who can help? _No response_ ### Information - [ ] The...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18790/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18790/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18789
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18789/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18789/comments
https://api.github.com/repos/huggingface/transformers/issues/18789/events
https://github.com/huggingface/transformers/pull/18789
1,353,251,894
PR_kwDOCUB6oc496syr
18,789
fix the error which will make shape not match occur.
{ "login": "novioleo", "id": 10055562, "node_id": "MDQ6VXNlcjEwMDU1NTYy", "avatar_url": "https://avatars.githubusercontent.com/u/10055562?v=4", "gravatar_id": "", "url": "https://api.github.com/users/novioleo", "html_url": "https://github.com/novioleo", "followers_url": "https://api.github.com/users/nov...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18789). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,661
1,666
1,666
NONE
null
# What does this PR do? When using PyTorch for model trace, the size of feature map will be inconsistent, resulting in failure to export successfully. The reason is that += is used in the size calculation code, and the object that happens to be added happens to be a shallow copy object, causing input_shape to change...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18789/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18789/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18789", "html_url": "https://github.com/huggingface/transformers/pull/18789", "diff_url": "https://github.com/huggingface/transformers/pull/18789.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18789.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18788
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18788/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18788/comments
https://api.github.com/repos/huggingface/transformers/issues/18788/events
https://github.com/huggingface/transformers/pull/18788
1,353,112,208
PR_kwDOCUB6oc496RHb
18,788
Improve Text Generation doc
{ "login": "ekagra-ranjan", "id": 3116519, "node_id": "MDQ6VXNlcjMxMTY1MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/3116519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ekagra-ranjan", "html_url": "https://github.com/ekagra-ranjan", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thank you @sgugger for the review. I have applied your suggestions." ]
1,661
1,661
1,661
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/18788/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18788/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18788", "html_url": "https://github.com/huggingface/transformers/pull/18788", "diff_url": "https://github.com/huggingface/transformers/pull/18788.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18788.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18787
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18787/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18787/comments
https://api.github.com/repos/huggingface/transformers/issues/18787/events
https://github.com/huggingface/transformers/pull/18787
1,353,110,158
PR_kwDOCUB6oc496Qu4
18,787
Improve GPT2 doc
{ "login": "ekagra-ranjan", "id": 3116519, "node_id": "MDQ6VXNlcjMxMTY1MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/3116519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ekagra-ranjan", "html_url": "https://github.com/ekagra-ranjan", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,661
1,661
1,661
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/18787/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18787/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18787", "html_url": "https://github.com/huggingface/transformers/pull/18787", "diff_url": "https://github.com/huggingface/transformers/pull/18787.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18787.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18786
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18786/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18786/comments
https://api.github.com/repos/huggingface/transformers/issues/18786/events
https://github.com/huggingface/transformers/pull/18786
1,353,097,777
PR_kwDOCUB6oc496ObL
18,786
reflect max_new_tokens in `Seq2SeqTrainer`
{ "login": "kumapo", "id": 70637, "node_id": "MDQ6VXNlcjcwNjM3", "avatar_url": "https://avatars.githubusercontent.com/u/70637?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kumapo", "html_url": "https://github.com/kumapo", "followers_url": "https://api.github.com/users/kumapo/followers", ...
[]
closed
false
{ "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/...
[ { "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.githu...
[ "_The documentation is not available anymore as the PR was closed or merged._", "@ydshieh, could you take a look at this when you have some time please? Thanks a lot!", "Hi, @kumapo \r\n\r\nI believe it also requires a change in\r\n\r\nhttps://github.com/huggingface/transformers/blob/main/src/transformers/train...
1,661
1,662
1,662
CONTRIBUTOR
null
# What does this PR do? in most cases, VisionEncoderDecoderModel's `max_length` is set implicitly. it leads to the problem if the model generates prediction given `max_new_tokens`. this PR makes `max_new_tokens` handled as expected in `Seq2SeqTrainer. prediction_step()` in the case. Fixes #18785 P.S. I can...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18786/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18786/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18786", "html_url": "https://github.com/huggingface/transformers/pull/18786", "diff_url": "https://github.com/huggingface/transformers/pull/18786.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18786.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18785
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18785/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18785/comments
https://api.github.com/repos/huggingface/transformers/issues/18785/events
https://github.com/huggingface/transformers/issues/18785
1,353,093,401
I_kwDOCUB6oc5QppEZ
18,785
Raise ValueError if given max_new_tokens to `Seq2SeqTrainer.predict()`
{ "login": "kumapo", "id": 70637, "node_id": "MDQ6VXNlcjcwNjM3", "avatar_url": "https://avatars.githubusercontent.com/u/70637?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kumapo", "html_url": "https://github.com/kumapo", "followers_url": "https://api.github.com/users/kumapo/followers", ...
[ { "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
[]
[ "thank you all for kind supports!" ]
1,661
1,662
1,662
CONTRIBUTOR
null
### System Info - `transformers` version: 4.22.0.dev0 - Platform: Linux-5.10.133+-x86_64-with-debian-bullseye-sid - Python version: 3.7.12 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.11.0 (True) - Tensorflow version (GPU?): 2.6.4 (True) - Flax version (CPU?/GPU?/TPU?): 0.6.0 (gpu) - Jax version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18785/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18785/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18784
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18784/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18784/comments
https://api.github.com/repos/huggingface/transformers/issues/18784/events
https://github.com/huggingface/transformers/pull/18784
1,353,042,423
PR_kwDOCUB6oc496EWV
18,784
Improve GPT2 doc
{ "login": "ekagra-ranjan", "id": 3116519, "node_id": "MDQ6VXNlcjMxMTY1MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/3116519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ekagra-ranjan", "html_url": "https://github.com/ekagra-ranjan", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Superseeded by #18787 " ]
1,661
1,661
1,661
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/18784/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18784/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18784", "html_url": "https://github.com/huggingface/transformers/pull/18784", "diff_url": "https://github.com/huggingface/transformers/pull/18784.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18784.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18783
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18783/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18783/comments
https://api.github.com/repos/huggingface/transformers/issues/18783/events
https://github.com/huggingface/transformers/pull/18783
1,352,967,441
PR_kwDOCUB6oc4952mY
18,783
Fix broken link DeepSpeed documentation link
{ "login": "philschmid", "id": 32632186, "node_id": "MDQ6VXNlcjMyNjMyMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/32632186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/philschmid", "html_url": "https://github.com/philschmid", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,661
1,661
1,661
MEMBER
null
# What does this PR do? Fix broken link DeepSpeed documentation link. The current `<a>` is not working.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18783/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18783/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18783", "html_url": "https://github.com/huggingface/transformers/pull/18783", "diff_url": "https://github.com/huggingface/transformers/pull/18783.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18783.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18782
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18782/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18782/comments
https://api.github.com/repos/huggingface/transformers/issues/18782/events
https://github.com/huggingface/transformers/issues/18782
1,352,963,931
I_kwDOCUB6oc5QpJdb
18,782
Memory increment and release when loading model via PretrainedModel.from_pretrained
{ "login": "tobyych", "id": 44737479, "node_id": "MDQ6VXNlcjQ0NzM3NDc5", "avatar_url": "https://avatars.githubusercontent.com/u/44737479?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tobyych", "html_url": "https://github.com/tobyych", "followers_url": "https://api.github.com/users/tobyyc...
[]
closed
false
{ "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/...
[ { "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.githu...
[ "@ydshieh has been looking into memory leaks as well recently and might have some insights for you!", "Hi @tobyych \r\n\r\nCould you also try to add `gc.collect()` after `del model` in both loading methods, and see what you get (memory usage) after `gc.collect()` is done. You have to import `gc`.", "Hi @ydshieh...
1,661
1,662
1,662
NONE
null
Issue --- I was trying to understand the memory usage when loading a Hugging Face model. I found that when loading the model via `AutoModelForMaskedLM.from_pretrained("bert-base-uncased")`, the resulting increment in memory was (1) larger than the cached BERT model on disk (859MB v.s. 421MB) and (2) when deleting the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18782/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18782/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18781
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18781/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18781/comments
https://api.github.com/repos/huggingface/transformers/issues/18781/events
https://github.com/huggingface/transformers/pull/18781
1,352,809,331
PR_kwDOCUB6oc495UxC
18,781
Add inference section to task guides
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for the suggestions! I reworked the `sequence_classification` task a bit, and if we like the changes, then I can apply them to the other tasks. Main changes are:\r\n\r\n- Encourage users to login with their HF accounts so they...
1,661
1,669
1,669
MEMBER
null
Currently, the task guides only show how to finetune a model, but it doesn't directly connect the dots to how you can use that model for inference. For completeness, this PR adds a section to the task guides to show how to use a model for inference after finetuning. This gives users a better overview of the model lifec...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18781/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18781/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18781", "html_url": "https://github.com/huggingface/transformers/pull/18781", "diff_url": "https://github.com/huggingface/transformers/pull/18781.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18781.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18780
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18780/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18780/comments
https://api.github.com/repos/huggingface/transformers/issues/18780/events
https://github.com/huggingface/transformers/issues/18780
1,352,712,845
I_kwDOCUB6oc5QoMKN
18,780
TAPAS model usage issue
{ "login": "deep-mining-swang", "id": 17224712, "node_id": "MDQ6VXNlcjE3MjI0NzEy", "avatar_url": "https://avatars.githubusercontent.com/u/17224712?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deep-mining-swang", "html_url": "https://github.com/deep-mining-swang", "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
[]
[ "This is likely an error due to a mismatch of versions between your Torch and TorchScatter installations", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not ...
1,661
1,664
1,664
NONE
null
### System Info Hi, I have some issues when I am using TAPAS. `from transformers import TapasConfig, TapasForQuestionAnswering ` report following errors: RuntimeError: Failed to import transformers.models.tapas.modeling_tapas because of the following error (look up to see its traceback): module 'distutils' h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18780/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18780/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18779
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18779/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18779/comments
https://api.github.com/repos/huggingface/transformers/issues/18779/events
https://github.com/huggingface/transformers/pull/18779
1,352,646,763
PR_kwDOCUB6oc494x1q
18,779
fix a typo in auto feature extraction for videomae
{ "login": "fcakyon", "id": 34196005, "node_id": "MDQ6VXNlcjM0MTk2MDA1", "avatar_url": "https://avatars.githubusercontent.com/u/34196005?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fcakyon", "html_url": "https://github.com/fcakyon", "followers_url": "https://api.github.com/users/fcakyo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,661
1,661
1,661
CONTRIBUTOR
null
# What does this PR do? <!-- Remove if not applicable --> Fixes https://github.com/huggingface/transformers/issues/18778 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://git...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18779/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18779/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18779", "html_url": "https://github.com/huggingface/transformers/pull/18779", "diff_url": "https://github.com/huggingface/transformers/pull/18779.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18779.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18778
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18778/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18778/comments
https://api.github.com/repos/huggingface/transformers/issues/18778/events
https://github.com/huggingface/transformers/issues/18778
1,352,645,412
I_kwDOCUB6oc5Qn7sk
18,778
Incorrect auto feature extractor for videomae
{ "login": "fcakyon", "id": 34196005, "node_id": "MDQ6VXNlcjM0MTk2MDA1", "avatar_url": "https://avatars.githubusercontent.com/u/34196005?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fcakyon", "html_url": "https://github.com/fcakyon", "followers_url": "https://api.github.com/users/fcakyo...
[ { "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
[]
[ "Tried to fix it with a PR: https://github.com/huggingface/transformers/pull/18779" ]
1,661
1,661
1,661
CONTRIBUTOR
null
### System Info - `transformers` version: 4.22.0.dev0 - Platform: Windows-10-10.0.19043-SP0 - Python version: 3.9.12 - Huggingface_hub version: 0.9.1 - PyTorch version (GPU?): 1.12.1+cpu (False) - Tensorflow version (GPU?): 2.9.1 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18778/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18778/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18777
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18777/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18777/comments
https://api.github.com/repos/huggingface/transformers/issues/18777/events
https://github.com/huggingface/transformers/pull/18777
1,352,544,129
PR_kwDOCUB6oc494byI
18,777
Cache results of is_torch_tpu_available()
{ "login": "comaniac", "id": 8262694, "node_id": "MDQ6VXNlcjgyNjI2OTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/8262694?v=4", "gravatar_id": "", "url": "https://api.github.com/users/comaniac", "html_url": "https://github.com/comaniac", "followers_url": "https://api.github.com/users/coman...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Not sure the reason of CI failure. It seems not relevant to this PR.", "@LysandreJik thanks for the review and sure we could wait for @sgugger.\r\nMeanwhile, do I need to do anything to fix the CI failure?", "Thanks for bearing w...
1,661
1,662
1,662
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/18777/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18777/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18777", "html_url": "https://github.com/huggingface/transformers/pull/18777", "diff_url": "https://github.com/huggingface/transformers/pull/18777.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18777.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18776
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18776/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18776/comments
https://api.github.com/repos/huggingface/transformers/issues/18776/events
https://github.com/huggingface/transformers/issues/18776
1,352,463,738
I_kwDOCUB6oc5QnPV6
18,776
TF: Can't create sharded XGLM model
{ "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...
[ { "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
{ "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": "...
[ "cc @ArthurZucker ", "Hey! Little update on this : the problem comes from the previously introduced \"hack\" : \r\n```python \r\n return tf.Variable(emb, trainable=False, name=\"model.embed_positions.weights\")\r\n```\r\nThis appears [here](https://github.com/huggingface/transformers/blob/main/src/transformers...
1,661
1,665
1,665
MEMBER
null
### System Info - `transformers` version: 4.22.0.dev0 - Platform: Linux-5.15.0-33-generic-x86_64-with-glibc2.35 - Python version: 3.8.13 - Huggingface_hub version: 0.9.0 - PyTorch version (GPU?): 1.12.0+cu116 (True) - Tensorflow version (GPU?): 2.9.1 (True) - Flax version (CPU?/GPU?/TPU?): 0.5.0 (gpu) - Jax ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18776/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18776/timeline
completed
null
null