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/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
https://api.github.com/repos/huggingface/transformers/issues/18775
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18775/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18775/comments
https://api.github.com/repos/huggingface/transformers/issues/18775/events
https://github.com/huggingface/transformers/pull/18775
1,352,423,729
PR_kwDOCUB6oc494CBd
18,775
fix missing block when there is no failure
{ "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
[]
[ "@amyeroberts request you as a reviewer just in case you want to take a look.", "_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? Currently, when doc test has no failure, we don't see anything other than `🤗 Results of the doc tests.` in slack report. This is because the block defined in `no_failures` property is not included in `def payload`, as the condition `self.no_failures == 0` should be `self.n_failures == 0`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18775/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18775/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18775", "html_url": "https://github.com/huggingface/transformers/pull/18775", "diff_url": "https://github.com/huggingface/transformers/pull/18775.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18775.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18774
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18774/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18774/comments
https://api.github.com/repos/huggingface/transformers/issues/18774/events
https://github.com/huggingface/transformers/pull/18774
1,352,129,881
PR_kwDOCUB6oc493Dsh
18,774
LayoutXLMProcessor: Enforce using "return_overflowing_tokens" with "return_offsets_mapping"
{ "login": "anthony2261", "id": 26882839, "node_id": "MDQ6VXNlcjI2ODgyODM5", "avatar_url": "https://avatars.githubusercontent.com/u/26882839?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anthony2261", "html_url": "https://github.com/anthony2261", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks, although it doesn't include the same changes as #17092, could you add those?", "> Thanks, although it doesn't include the same changes as #17092, could you add those?\r\n\r\nThe additional changes in the other PR were alrea...
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/18774/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18774/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18774", "html_url": "https://github.com/huggingface/transformers/pull/18774", "diff_url": "https://github.com/huggingface/transformers/pull/18774.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18774.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18773
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18773/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18773/comments
https://api.github.com/repos/huggingface/transformers/issues/18773/events
https://github.com/huggingface/transformers/issues/18773
1,352,092,487
I_kwDOCUB6oc5Ql0tH
18,773
Training loss of BART is going to nan in transformers>=4.21.0
{ "login": "soocheolnoh", "id": 57349134, "node_id": "MDQ6VXNlcjU3MzQ5MTM0", "avatar_url": "https://avatars.githubusercontent.com/u/57349134?v=4", "gravatar_id": "", "url": "https://api.github.com/users/soocheolnoh", "html_url": "https://github.com/soocheolnoh", "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
{ "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...
[ "This was introduced as part of https://github.com/huggingface/transformers/pull/17306\r\n\r\ncc @ydshieh ", "Hi @soocheolnoh.\r\n\r\nMy best guess is that #17306 is not working well with FP16 training (as I see you use `amp`).\r\n\r\n- Is it possible for you to share your modified training script, together with ...
1,661
1,662
1,662
NONE
null
### System Info transformers==4.20.1 and transformers>=4.21.0 torch==1.12.1 ### Who can help? @patil-suraj ### Information - [ ] The official example scripts - [x] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [x] My own...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18773/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18773/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18772
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18772/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18772/comments
https://api.github.com/repos/huggingface/transformers/issues/18772/events
https://github.com/huggingface/transformers/pull/18772
1,351,903,562
PR_kwDOCUB6oc492Tat
18,772
Fix incomplete outputs of FlaxBert
{ "login": "duongna21", "id": 38061659, "node_id": "MDQ6VXNlcjM4MDYxNjU5", "avatar_url": "https://avatars.githubusercontent.com/u/38061659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/duongna21", "html_url": "https://github.com/duongna21", "followers_url": "https://api.github.com/users/...
[]
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? FlaxBertEncoder seems to return incomplete output (only `hidden_states`) in the case of returning a tuple. ## Who can review? @sanchit-gandhi @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18772/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18772/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18772", "html_url": "https://github.com/huggingface/transformers/pull/18772", "diff_url": "https://github.com/huggingface/transformers/pull/18772.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18772.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18771
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18771/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18771/comments
https://api.github.com/repos/huggingface/transformers/issues/18771/events
https://github.com/huggingface/transformers/pull/18771
1,351,685,490
PR_kwDOCUB6oc491ku1
18,771
Fix import error of tf 2.4.1 on TPU.
{ "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...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger \r\nCould you please take a look into this? It's a very short fix.", "@gante, could you take a look at this?", "It seems there is an issue with your CircleCI permissions, the tests won't run.\r\nCould you try refreshing ...
1,661
1,666
1,666
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/18771/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18771/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18771", "html_url": "https://github.com/huggingface/transformers/pull/18771", "diff_url": "https://github.com/huggingface/transformers/pull/18771.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18771.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18770
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18770/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18770/comments
https://api.github.com/repos/huggingface/transformers/issues/18770/events
https://github.com/huggingface/transformers/issues/18770
1,351,406,108
I_kwDOCUB6oc5QjNIc
18,770
Possible issue with learning rate scheduler while using Fairscale in Seq2Seq Trainer
{ "login": "arijitthegame", "id": 25961440, "node_id": "MDQ6VXNlcjI1OTYxNDQw", "avatar_url": "https://avatars.githubusercontent.com/u/25961440?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arijitthegame", "html_url": "https://github.com/arijitthegame", "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
[]
[ "Hi @arijitthegame ,\r\n\r\nI have no idea what is fairscale and the stacktrace you provide is quite incomplete.\r\nDo you mind trying to setup a small script that is reproduceable on a simple desktop/laptop so we can reproduce (not t5-large) ?\r\nOtherwise, reading the warning I think it shouldn't matter that muc...
1,661
1,664
1,664
NONE
null
### System Info - `transformers` version: 4.21.1 - Platform: Linux-5.4.0-1078-aws-x86_64-with-glibc2.27 - Python version: 3.8.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.11.0+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Ja...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18770/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18770/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18769
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18769/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18769/comments
https://api.github.com/repos/huggingface/transformers/issues/18769/events
https://github.com/huggingface/transformers/pull/18769
1,351,373,243
PR_kwDOCUB6oc490iW_
18,769
Generate: `TFNoRepeatNGramLogitsProcessor` is now XLA-compatible
{ "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,666
1,661
MEMBER
null
# What does this PR do? This PR attempts to rewrite `TFNoRepeatNGramLogitsProcessor` so that it is also compatible with XLA. It does pass the tests, but has a huuuuuuge memory footprint and it is very slow (even with XLA). It also doesn't seem to work in practice. Not putting the PR through the review process as...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18769/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18769/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18769", "html_url": "https://github.com/huggingface/transformers/pull/18769", "diff_url": "https://github.com/huggingface/transformers/pull/18769.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18769.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18768
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18768/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18768/comments
https://api.github.com/repos/huggingface/transformers/issues/18768/events
https://github.com/huggingface/transformers/pull/18768
1,351,292,881
PR_kwDOCUB6oc490Qye
18,768
Focus doc around preprocessing classes
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,661
1,664
1,664
MEMBER
null
This PR refocuses `preprocessing.mdx` around the preprocessor classes themselves instead of focusing on the different modalities. I think this puts more emphasis on what the library offers as opposed to focusing on something more generic like the different modalities. I know we're going to use `ImageProcessor` for imag...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18768/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18768/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18768", "html_url": "https://github.com/huggingface/transformers/pull/18768", "diff_url": "https://github.com/huggingface/transformers/pull/18768.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18768.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18767
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18767/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18767/comments
https://api.github.com/repos/huggingface/transformers/issues/18767/events
https://github.com/huggingface/transformers/issues/18767
1,351,254,354
I_kwDOCUB6oc5QioFS
18,767
'UserWarning: Module is put on CPU' when use FSDP by Accelerate
{ "login": "scuyjzh", "id": 12816241, "node_id": "MDQ6VXNlcjEyODE2MjQx", "avatar_url": "https://avatars.githubusercontent.com/u/12816241?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scuyjzh", "html_url": "https://github.com/scuyjzh", "followers_url": "https://api.github.com/users/scuyjz...
[]
closed
false
null
[]
[ "Maybe cc @pacman100 ? :)", "Hello @scuyjzh , as mentioned in https://github.com/huggingface/accelerate/issues/659, you can safely ignore that warning as it is only during model initialization under FSDP. I will look into this later as and when time permits because this doesn't impact model correctness or perfor...
1,661
1,664
1,664
NONE
null
script: https://github.com/huggingface/transformers/blob/main/examples/pytorch/language-modeling/run_mlm_no_trainer.py accelerate launch run_mlm_no_trainer.py \ --model_name_or_path bert-base-chinese \ --train_file $DATA_DIR/train.txt \ --validation_file $DATA_DIR/val.txt \ --line_by_line True \ ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18767/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18767/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18766
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18766/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18766/comments
https://api.github.com/repos/huggingface/transformers/issues/18766/events
https://github.com/huggingface/transformers/pull/18766
1,351,178,486
PR_kwDOCUB6oc49z4EX
18,766
[ASR Examples] Only filter training samples by audio length criterion
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18766). All of your documentation changes will be reflected on that endpoint.", "I'm reluctant to add a cut-off for eval: in filtering the dataset by an audio length criterion, one removes the longest samples in the eval se...
1,661
1,687
1,687
CONTRIBUTOR
null
# What does this PR do? We should only filter training samples by our audio length criterion when fine-tuning ASR systems. The eval and test sets should **not** be filtered. Doing so leads to partial datasets, and thus in-valid results. ## Who can review? Anyone in the community is free to review the PR once t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18766/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18766/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18766", "html_url": "https://github.com/huggingface/transformers/pull/18766", "diff_url": "https://github.com/huggingface/transformers/pull/18766.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18766.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18765
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18765/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18765/comments
https://api.github.com/repos/huggingface/transformers/issues/18765/events
https://github.com/huggingface/transformers/pull/18765
1,351,051,267
PR_kwDOCUB6oc49zcY1
18,765
Improve torch.fx support to trace non torch objects
{ "login": "thomasw21", "id": 24695242, "node_id": "MDQ6VXNlcjI0Njk1MjQy", "avatar_url": "https://avatars.githubusercontent.com/u/24695242?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasw21", "html_url": "https://github.com/thomasw21", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18765). 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,664
1,664
CONTRIBUTOR
null
# What does this PR do? Improve `torch.fx` support to be able to track non tensor/parameter/module attributes. For example the new tracing mechanism allows to trace `config`, `num_heads` etc ... attributes that are important if one wants to build transformations on top. Caveat: tracing such objects prevents `torc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18765/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18765/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18765", "html_url": "https://github.com/huggingface/transformers/pull/18765", "diff_url": "https://github.com/huggingface/transformers/pull/18765.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18765.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18764
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18764/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18764/comments
https://api.github.com/repos/huggingface/transformers/issues/18764/events
https://github.com/huggingface/transformers/pull/18764
1,351,011,836
PR_kwDOCUB6oc49zTw8
18,764
Run tests if skip condition not met
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "cc @Rocketknight1 ", "@gante I removed the `(<=2.8)` from all grouped conv comments in the repo " ]
1,661
1,661
1,661
COLLABORATOR
null
# What does this PR do? Some tests that had `unittest.skipIf` decorators weren't calling a test if the condition was false. This mean some test would be showing as passing even though they weren't being run. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18764/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18764/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18764", "html_url": "https://github.com/huggingface/transformers/pull/18764", "diff_url": "https://github.com/huggingface/transformers/pull/18764.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18764.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18763
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18763/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18763/comments
https://api.github.com/repos/huggingface/transformers/issues/18763/events
https://github.com/huggingface/transformers/pull/18763
1,350,986,477
PR_kwDOCUB6oc49zOPP
18,763
Improving the documentation for "word", within the pipeline.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,661
1,661
1,661
CONTRIBUTOR
null
# What does this PR do? Fixes https://github.com/huggingface/transformers/issues/18738#issuecomment-1227279234 <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that ful...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18763/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18763/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18763", "html_url": "https://github.com/huggingface/transformers/pull/18763", "diff_url": "https://github.com/huggingface/transformers/pull/18763.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18763.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18762
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18762/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18762/comments
https://api.github.com/repos/huggingface/transformers/issues/18762/events
https://github.com/huggingface/transformers/pull/18762
1,350,830,676
PR_kwDOCUB6oc49ysXW
18,762
[ViLT] Remove ViltForQuestionAnswering from check_repo
{ "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 removes `ViltForQuestionAnswering` from the IGNORE_NON_AUTO_CONFIGURED mapping, because ViLT is now supported by the `AutoModelForVisualQuestionAnswering` class (and corresponding VQA pipeline). cc @sgugger, `make fixup` currently doesn't check this, would it be possible to automat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18762/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18762/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18762", "html_url": "https://github.com/huggingface/transformers/pull/18762", "diff_url": "https://github.com/huggingface/transformers/pull/18762.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18762.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18761
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18761/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18761/comments
https://api.github.com/repos/huggingface/transformers/issues/18761/events
https://github.com/huggingface/transformers/issues/18761
1,350,782,795
I_kwDOCUB6oc5Qg09L
18,761
AttributeError: 'T5Config' object has no attribute 'exponential_decay_length_penalty'
{ "login": "Meet090201vora", "id": 72354237, "node_id": "MDQ6VXNlcjcyMzU0MjM3", "avatar_url": "https://avatars.githubusercontent.com/u/72354237?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Meet090201vora", "html_url": "https://github.com/Meet090201vora", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nIt's pretty hard for us to figure out what the error is in case there's no code provided that can reproduce your issue.", "Can I send you the code?\n\nOn Fri, 26 Aug, 2022, 1:11 pm NielsRogge, ***@***.***> wrote:\n\n> Hi,\n>\n> It's pretty hard for us to figure out what the error is in case there's no...
1,661
1,664
1,664
NONE
null
File "c:\users\meet vora\appdata\local\programs\python\python38\lib\site-packages\streamlit\scriptrunner\script_runner.py", line 443, in _run_script exec(code, module.__dict__) File "C:\Users\MEET VORA\Desktop\fiver\ui.py", line 140, in <module> pred_summary = summarizeText(input_text) File "C:\Users\MEET V...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18761/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18761/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18760
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18760/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18760/comments
https://api.github.com/repos/huggingface/transformers/issues/18760/events
https://github.com/huggingface/transformers/pull/18760
1,350,508,703
PR_kwDOCUB6oc49xmeW
18,760
Wip_doc_deletion
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,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 with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18760/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18760/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18760", "html_url": "https://github.com/huggingface/transformers/pull/18760", "diff_url": "https://github.com/huggingface/transformers/pull/18760.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18760.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18759
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18759/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18759/comments
https://api.github.com/repos/huggingface/transformers/issues/18759/events
https://github.com/huggingface/transformers/pull/18759
1,350,489,889
PR_kwDOCUB6oc49xioR
18,759
[WIP] testing graphql doc deletion
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18759). All of your documentation changes will be reflected on that endpoint." ]
1,661
1,661
1,661
CONTRIBUTOR
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18759/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18759/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18759", "html_url": "https://github.com/huggingface/transformers/pull/18759", "diff_url": "https://github.com/huggingface/transformers/pull/18759.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18759.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18758
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18758/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18758/comments
https://api.github.com/repos/huggingface/transformers/issues/18758/events
https://github.com/huggingface/transformers/issues/18758
1,350,441,056
I_kwDOCUB6oc5Qfhhg
18,758
Add MSN checkpoints to 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
{ "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/...
[ { "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://a...
[]
1,661
1,663
1,663
MEMBER
null
### Feature request It's been a while Meta released the [MSN](https://github.com/facebookresearch/msn) (Masked Siamese Networks) checkpoints. MSN is known to perform pretty well in few-shot settings. Few-shot regime is important for real-world applications. They have only released the encoder weights. I have worked...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18758/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18758/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18757
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18757/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18757/comments
https://api.github.com/repos/huggingface/transformers/issues/18757/events
https://github.com/huggingface/transformers/issues/18757
1,350,437,025
I_kwDOCUB6oc5Qfgih
18,757
AdamW algorithm is not the same as in the referenced paper
{ "login": "quantitative-technologies", "id": 29150871, "node_id": "MDQ6VXNlcjI5MTUwODcx", "avatar_url": "https://avatars.githubusercontent.com/u/29150871?v=4", "gravatar_id": "", "url": "https://api.github.com/users/quantitative-technologies", "html_url": "https://github.com/quantitative-technologies", ...
[ { "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 @quantitative-technologies, we're in the process of removing the AdamW implementation, as you have seen it is deprecated. It will be removed in v5." ]
1,661
1,661
1,661
CONTRIBUTOR
null
### System Info Not relevant ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Reproduction The Hu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18757/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18757/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18756
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18756/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18756/comments
https://api.github.com/repos/huggingface/transformers/issues/18756/events
https://github.com/huggingface/transformers/issues/18756
1,350,207,005
I_kwDOCUB6oc5QeoYd
18,756
Automodel "from_config" fails when config is loaded from PretrainedConfig.from_dict(config)
{ "login": "elangovana", "id": 5715658, "node_id": "MDQ6VXNlcjU3MTU2NTg=", "avatar_url": "https://avatars.githubusercontent.com/u/5715658?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elangovana", "html_url": "https://github.com/elangovana", "followers_url": "https://api.github.com/users...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @elangovana 👋 `PretrainedConfig` is a base class, which is not supposed to work on its own.\r\n\r\nSince you know what class you are storing in the example, you can simply do\r\n```python\r\nfrom transformers import AutoModelForSeq2SeqLM, BartConfig\r\n\r\nvocab_size = 128\r\n\r\nbart_config = BartConfig(\r\n ...
1,661
1,664
1,664
NONE
null
### System Info If the config is saved to dict, it cannot be converted back to autoconfig ?? ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] M...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18756/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18756/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18755
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18755/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18755/comments
https://api.github.com/repos/huggingface/transformers/issues/18755/events
https://github.com/huggingface/transformers/pull/18755
1,350,058,155
PR_kwDOCUB6oc49wG4C
18,755
streamlining 'checkpointing_steps' parsing
{ "login": "rahular", "id": 1104544, "node_id": "MDQ6VXNlcjExMDQ1NDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1104544?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rahular", "html_url": "https://github.com/rahular", "followers_url": "https://api.github.com/users/rahular/...
[]
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? As discussed in #18720, changing the `checkpointing_steps` parsing logic in all PyTorch examples with no trainers. ## 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](ht...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18755/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18755/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18755", "html_url": "https://github.com/huggingface/transformers/pull/18755", "diff_url": "https://github.com/huggingface/transformers/pull/18755.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18755.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18754
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18754/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18754/comments
https://api.github.com/repos/huggingface/transformers/issues/18754/events
https://github.com/huggingface/transformers/pull/18754
1,349,835,621
PR_kwDOCUB6oc49vXNR
18,754
Pass the original mask tensor when using ds-inference at BLOOM architecture
{ "login": "RezaYazdaniAminabadi", "id": 44502768, "node_id": "MDQ6VXNlcjQ0NTAyNzY4", "avatar_url": "https://avatars.githubusercontent.com/u/44502768?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RezaYazdaniAminabadi", "html_url": "https://github.com/RezaYazdaniAminabadi", "followers_url...
[]
closed
false
null
[]
[ "I confirm that this solves the problem of DS-Inference, which broke after this commit: https://github.com/huggingface/transformers/commit/b69a62d579ded31d490e0c9a01bf9ecb81cb9b65\r\n\r\ncc: @thomasw21, @younesbelkada \r\n\r\nand also @LysandreJik - I hope it's OK if we sneak in a bit of `ds-inference` code into th...
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/18754/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18754/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18754", "html_url": "https://github.com/huggingface/transformers/pull/18754", "diff_url": "https://github.com/huggingface/transformers/pull/18754.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18754.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18753
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18753/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18753/comments
https://api.github.com/repos/huggingface/transformers/issues/18753/events
https://github.com/huggingface/transformers/pull/18753
1,349,649,305
PR_kwDOCUB6oc49uvWQ
18,753
Fixing OPT fast tokenizer option.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Good point! \r\n\r\nIndeed, I had not noticed at all that `ByteLevel(trim_offsets=False)` was not doing anything. As `trim_offset` is not an argument in the `__init__` either, I don't see any problem that your solution could cause! :...
1,661
1,663
1,663
CONTRIBUTOR
null
# What does this PR do? Fixes the relevant issues: https://huggingface.co/wjmcat/opt-350m-paddle/discussions/1 https://huggingface.slack.com/archives/C01N44FJDHT/p1653511495183519 (internal link) https://github.com/huggingface/transformers/pull/17088#discussion_r871246439 Basically, the OPT tokenizer is a GPT2 toke...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18753/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18753/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18753", "html_url": "https://github.com/huggingface/transformers/pull/18753", "diff_url": "https://github.com/huggingface/transformers/pull/18753.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18753.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18752
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18752/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18752/comments
https://api.github.com/repos/huggingface/transformers/issues/18752/events
https://github.com/huggingface/transformers/pull/18752
1,349,645,777
PR_kwDOCUB6oc49uukk
18,752
CLI: Improved error control and updated hub requirement
{ "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,661
1,661
MEMBER
null
# What does this PR do? This PR adds three things to the `pt-to-tf` CLI: - Updates the hub minimum version requirement, so that all users can adequately use this CLI (the new `0.9.0` is a requirement to open a PR with a non-god token) - Adds more flexible admissible error control (some models were failing with err...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18752/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18752/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18752", "html_url": "https://github.com/huggingface/transformers/pull/18752", "diff_url": "https://github.com/huggingface/transformers/pull/18752.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18752.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18751
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18751/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18751/comments
https://api.github.com/repos/huggingface/transformers/issues/18751/events
https://github.com/huggingface/transformers/issues/18751
1,349,618,414
I_kwDOCUB6oc5QcYru
18,751
run finetune_rag.py -- errror OSError: Not enough disk space. Needed: 139.13 GiB (download: 66.09 GiB, generated: 73.03 GiB, post-processed: Unknown size)
{ "login": "wangyu185", "id": 84227119, "node_id": "MDQ6VXNlcjg0MjI3MTE5", "avatar_url": "https://avatars.githubusercontent.com/u/84227119?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wangyu185", "html_url": "https://github.com/wangyu185", "followers_url": "https://api.github.com/users/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @wangyu185 👋 RAG is a retrieval-augmented model, meaning that it queries some database. It needs to have the database in memory. Please check the [model card](https://huggingface.co/facebook/rag-token-nq) and the [documentation](https://huggingface.co/docs/transformers/model_doc/rag) for more info.\r\n\r\nAs p...
1,661
1,664
1,664
NONE
null
### System Info faiss-cpu 1.7.2 datasets 2.4.0 psutil 5.7.0 torch 1.12.1+cu113 ray 2.0.0 pytorch-lightning 1.7.2 transformers 4.21.1 GitPython 3.1.27...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18751/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18751/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18750
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18750/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18750/comments
https://api.github.com/repos/huggingface/transformers/issues/18750/events
https://github.com/huggingface/transformers/pull/18750
1,349,597,622
PR_kwDOCUB6oc49uj_3
18,750
Revert to rescale and safely handle flag in owlvit config
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
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? Reverts the `rescale_image` method name to back to `rescale`. This keeps the method inline with other method names such as `normalize`. This undoes the renaming in #18677 done to address failing tests caused by `rescale` key being in OWL-ViT config and the introduction of a `rescale` meth...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18750/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18750/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18750", "html_url": "https://github.com/huggingface/transformers/pull/18750", "diff_url": "https://github.com/huggingface/transformers/pull/18750.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18750.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18749
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18749/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18749/comments
https://api.github.com/repos/huggingface/transformers/issues/18749/events
https://github.com/huggingface/transformers/pull/18749
1,349,577,917
PR_kwDOCUB6oc49ufxk
18,749
[Wav2vec2 + LM Test] Improve wav2vec2 with lm tests and make torch version dependent for now
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "It fails consistently since PT 1.12.", "_The documentation is not available anymore as the PR was closed or merged._", "Note after some more debugging the reason seems to be in `datasets`. E.g. this part of the test:\r\n\r\n```python\r\nds = load_dataset(\"common_voice\", \"en\", split=\"train\", streaming=Tru...
1,661
1,661
1,661
MEMBER
null
Trying to correct potentially flaky test: ``` tests/models/wav2vec2_with_lm/test_processor_wav2vec2_with_lm.py::Wav2Vec2ProcessorWithLMTest::test_word_time_stamp_integration ``` The test actually always passed for me locally. I've now changed list to tensor as list comparison with float numbers seems brittle. @...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18749/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18749/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18749", "html_url": "https://github.com/huggingface/transformers/pull/18749", "diff_url": "https://github.com/huggingface/transformers/pull/18749.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18749.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18748
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18748/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18748/comments
https://api.github.com/repos/huggingface/transformers/issues/18748/events
https://github.com/huggingface/transformers/issues/18748
1,349,529,164
I_kwDOCUB6oc5QcC5M
18,748
Add image-guided object detection support to OWL-ViT
{ "login": "alaradirik", "id": 8944735, "node_id": "MDQ6VXNlcjg5NDQ3MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alaradirik", "html_url": "https://github.com/alaradirik", "followers_url": "https://api.github.com/users...
[ { "id": 2392046359, "node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue", "name": "Good Second Issue", "color": "dd935a", "default": false, "description": "Issues that are more difficult to do than \"Good First...
closed
false
null
[]
[ "I think it would be a great addition, especially as it doesn't seem to be too much work to add. I'm guessing for the processor, and your description, the call signature would look something like this: \r\n\r\n`def __call__(self, text=None, query_image=None, images=None, padding=\"max_length\", return_tensors=\"np\...
1,661
1,694
1,668
CONTRIBUTOR
null
Hi, The [OWL-ViT](https://huggingface.co/docs/transformers/model_doc/owlvit) model is an open-vocabulary model that can be used for both zero-shot text-guided (supported) and one-shot image-guided (not supported) object detection. It'd be great to add support for one-shot object detection to `OwlViTForObjectDete...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18748/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18748/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18747
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18747/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18747/comments
https://api.github.com/repos/huggingface/transformers/issues/18747/events
https://github.com/huggingface/transformers/issues/18747
1,349,527,944
I_kwDOCUB6oc5QcCmI
18,747
Bloom 176B with deepspeed-inference: Cuda illegal memory access
{ "login": "felix-schneider", "id": 208336, "node_id": "MDQ6VXNlcjIwODMzNg==", "avatar_url": "https://avatars.githubusercontent.com/u/208336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/felix-schneider", "html_url": "https://github.com/felix-schneider", "followers_url": "https://api.git...
[ { "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
[]
[ "Maybe related: bigscience-workshop/Megatron-Deepspeed#324", "You probably want to open Deepspeed-Inference-related issues at https://github.com/microsoft/DeepSpeed since these aren't related to `transformers` other than that `transformers` are used from inside Deepspeed-Inference.\r\n\r\nThat project contains cu...
1,661
1,661
1,661
NONE
null
### System Info - `transformers` version: 4.21.1 - Platform: Linux-3.10.0-1160.49.1.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.8.13 - Huggingface_hub version: 0.9.0 - PyTorch version (GPU?): 1.10.2+cu113 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not install...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18747/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18747/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18746
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18746/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18746/comments
https://api.github.com/repos/huggingface/transformers/issues/18746/events
https://github.com/huggingface/transformers/pull/18746
1,349,441,145
PR_kwDOCUB6oc49uCWd
18,746
Add FP32 cast in ConvNext LayerNorm to prevent rounding errors with FP16 input
{ "login": "jimypbr", "id": 7130791, "node_id": "MDQ6VXNlcjcxMzA3OTE=", "avatar_url": "https://avatars.githubusercontent.com/u/7130791?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jimypbr", "html_url": "https://github.com/jimypbr", "followers_url": "https://api.github.com/users/jimypbr/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Pingng @ydshieh here as there seems to be a CI issue", "@jimypbr \r\n\r\nCould you follow the instruction here to refresh the CircleCI permission?\r\n\r\nhttps://support.circleci.com/hc/en-us/articles/360048210711-How-to-Refresh-Us...
1,661
1,663
1,663
CONTRIBUTOR
null
# What does this PR do? The `ConvNextLayerNorm` isn't stable if the inputs are in FP16: https://github.com/huggingface/transformers/blob/main/src/transformers/models/convnext/modeling_convnext.py#L111 If the inputs are FP16 then the whole calculation will be done in FP16: ``` u = x.mean(1, keepdim=...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18746/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18746/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18746", "html_url": "https://github.com/huggingface/transformers/pull/18746", "diff_url": "https://github.com/huggingface/transformers/pull/18746.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18746.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18745
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18745/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18745/comments
https://api.github.com/repos/huggingface/transformers/issues/18745/events
https://github.com/huggingface/transformers/issues/18745
1,349,109,876
I_kwDOCUB6oc5Qach0
18,745
Cannot import ORTModelForSeq2SeqLM
{ "login": "lyriccoder", "id": 20803206, "node_id": "MDQ6VXNlcjIwODAzMjA2", "avatar_url": "https://avatars.githubusercontent.com/u/20803206?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lyriccoder", "html_url": "https://github.com/lyriccoder", "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
[]
[ "Hi @lyriccoder! It looks like you are not using the latest release of Optimum. Could you try to upgrade it with `pip install --upgrade optimum[onnxruntime]` and let me know if it works?" ]
1,661
1,661
1,661
NONE
null
### System Info - `transformers` version: 4.21.1 - Platform: Linux-5.4.0-109-generic-x86_64-with-glibc2.31 - Python version: 3.9.5 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU? no): 1.12.1+cu102 (False) - Tensorflow version (GPU? no): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18745/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18745/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18744
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18744/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18744/comments
https://api.github.com/repos/huggingface/transformers/issues/18744/events
https://github.com/huggingface/transformers/pull/18744
1,349,053,569
PR_kwDOCUB6oc49su4S
18,744
Update perf_infer_gpu_many.mdx
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "link works as expected in https://moon-ci-docs.huggingface.co/docs/transformers/pr_18744/en/perf_infer_gpu_many" ]
1,661
1,661
1,661
CONTRIBUTOR
null
Fixes doc link typo related to https://github.com/huggingface/doc-builder/issues/282
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18744/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18744/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18744", "html_url": "https://github.com/huggingface/transformers/pull/18744", "diff_url": "https://github.com/huggingface/transformers/pull/18744.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18744.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18742
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18742/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18742/comments
https://api.github.com/repos/huggingface/transformers/issues/18742/events
https://github.com/huggingface/transformers/pull/18742
1,348,438,109
PR_kwDOCUB6oc49qvhu
18,742
Bump nbconvert from 6.3.0 to 6.5.1 in /examples/research_projects/lxmert
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18742). All of your documentation changes will be reflected on that endpoint." ]
1,661
1,661
1,661
CONTRIBUTOR
null
Bumps [nbconvert](https://github.com/jupyter/nbconvert) from 6.3.0 to 6.5.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jupyter/nbconvert/releases">nbconvert's releases</a>.</em></p> <blockquote> <h2>Release 6.5.1</h2> <p>No release notes provided.</p> <h2>6.5.0</h2> <h2>...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18742/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18742/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18742", "html_url": "https://github.com/huggingface/transformers/pull/18742", "diff_url": "https://github.com/huggingface/transformers/pull/18742.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18742.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18741
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18741/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18741/comments
https://api.github.com/repos/huggingface/transformers/issues/18741/events
https://github.com/huggingface/transformers/pull/18741
1,348,437,776
PR_kwDOCUB6oc49qvc7
18,741
Bump nbconvert from 6.3.0 to 6.5.1 in /examples/research_projects/visual_bert
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18741). All of your documentation changes will be reflected on that endpoint." ]
1,661
1,661
1,661
CONTRIBUTOR
null
Bumps [nbconvert](https://github.com/jupyter/nbconvert) from 6.3.0 to 6.5.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jupyter/nbconvert/releases">nbconvert's releases</a>.</em></p> <blockquote> <h2>Release 6.5.1</h2> <p>No release notes provided.</p> <h2>6.5.0</h2> <h2>...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18741/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18741/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18741", "html_url": "https://github.com/huggingface/transformers/pull/18741", "diff_url": "https://github.com/huggingface/transformers/pull/18741.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18741.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18740
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18740/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18740/comments
https://api.github.com/repos/huggingface/transformers/issues/18740/events
https://github.com/huggingface/transformers/issues/18740
1,348,228,013
I_kwDOCUB6oc5QXFOt
18,740
Progress bars shown despite disable_tqdm=True in Trainer
{ "login": "Eichhof", "id": 6844011, "node_id": "MDQ6VXNlcjY4NDQwMTE=", "avatar_url": "https://avatars.githubusercontent.com/u/6844011?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Eichhof", "html_url": "https://github.com/Eichhof", "followers_url": "https://api.github.com/users/Eichhof/...
[ { "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 question has been answered on the [forum](https://discuss.huggingface.co/t/progress-bars-shown-despite-disable-tqdm-true-in-trainer/22003/2?u=nielsr); therefore closing this issue." ]
1,661
1,661
1,661
NONE
null
### System Info - `transformers` version: 4.19.2 - Platform: CentOS Linux 7.9.2009 - Python version: 3.10.4 - Huggingface_hub version: 0.2.1 - PyTorch version (GPU?): 1.12.1 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18740/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18740/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18739
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18739/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18739/comments
https://api.github.com/repos/huggingface/transformers/issues/18739/events
https://github.com/huggingface/transformers/pull/18739
1,348,123,551
PR_kwDOCUB6oc49pr8I
18,739
fixed docstring typos
{ "login": "JadeKim042386", "id": 61103343, "node_id": "MDQ6VXNlcjYxMTAzMzQz", "avatar_url": "https://avatars.githubusercontent.com/u/61103343?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JadeKim042386", "html_url": "https://github.com/JadeKim042386", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi, @JadeKim042386 . I am sorry that I was wrong - the 35 files changes comes from the fact you fixed more occurrences rather than just the initial ones!\r\n\r\nI will review this PR now.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18739). All of your documentatio...
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/18739/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18739/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18739", "html_url": "https://github.com/huggingface/transformers/pull/18739", "diff_url": "https://github.com/huggingface/transformers/pull/18739.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18739.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18738
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18738/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18738/comments
https://api.github.com/repos/huggingface/transformers/issues/18738/events
https://github.com/huggingface/transformers/issues/18738
1,348,098,759
I_kwDOCUB6oc5QWlrH
18,738
Aggregation strategy does not respect original utterance
{ "login": "ierezell", "id": 30974685, "node_id": "MDQ6VXNlcjMwOTc0Njg1", "avatar_url": "https://avatars.githubusercontent.com/u/30974685?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ierezell", "html_url": "https://github.com/ierezell", "followers_url": "https://api.github.com/users/ier...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "HI @ierezell ,\r\n\r\nIt does make sense what you asking for, but it's probably not going to happen since it would be a backward incompatibilty.\r\nPinging core maintainers to get advice on this @sgugger @LysandreJik.\r\n\r\n\r\n`\"word\"` was an output since the creation of the pipeline and corresponds to the tok...
1,661
1,661
1,661
CONTRIBUTOR
null
### System Info - `transformers` version: 4.21.1 - Platform: Linux-5.19.2-arch1-1-x86_64-with-glibc2.36 - Python version: 3.9.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18738/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18738/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18737
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18737/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18737/comments
https://api.github.com/repos/huggingface/transformers/issues/18737/events
https://github.com/huggingface/transformers/pull/18737
1,348,091,779
PR_kwDOCUB6oc49plGQ
18,737
Random change to test doc building
{ "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_18737). All of your documentation changes will be reflected on that endpoint." ]
1,661
1,661
1,661
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18737/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18737/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18737", "html_url": "https://github.com/huggingface/transformers/pull/18737", "diff_url": "https://github.com/huggingface/transformers/pull/18737.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18737.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18736
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18736/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18736/comments
https://api.github.com/repos/huggingface/transformers/issues/18736/events
https://github.com/huggingface/transformers/pull/18736
1,348,083,813
PR_kwDOCUB6oc49pjY9
18,736
Random change to test doc building
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,661
1,661
1,661
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18736/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18736/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18736", "html_url": "https://github.com/huggingface/transformers/pull/18736", "diff_url": "https://github.com/huggingface/transformers/pull/18736.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18736.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18735
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18735/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18735/comments
https://api.github.com/repos/huggingface/transformers/issues/18735/events
https://github.com/huggingface/transformers/pull/18735
1,348,071,061
PR_kwDOCUB6oc49pgqL
18,735
fixed docstring typos
{ "login": "JadeKim042386", "id": 61103343, "node_id": "MDQ6VXNlcjYxMTAzMzQz", "avatar_url": "https://avatars.githubusercontent.com/u/61103343?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JadeKim042386", "html_url": "https://github.com/JadeKim042386", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18735). All of your documentation changes will be reflected on that endpoint." ]
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/18735/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18735/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18735", "html_url": "https://github.com/huggingface/transformers/pull/18735", "diff_url": "https://github.com/huggingface/transformers/pull/18735.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18735.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18734
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18734/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18734/comments
https://api.github.com/repos/huggingface/transformers/issues/18734/events
https://github.com/huggingface/transformers/pull/18734
1,347,927,974
PR_kwDOCUB6oc49pCPW
18,734
Owlvit memory leak fix
{ "login": "alaradirik", "id": 8944735, "node_id": "MDQ6VXNlcjg5NDQ3MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alaradirik", "html_url": "https://github.com/alaradirik", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> I don't have any problem with the PR but I'd like the review of @amyeroberts, @NielsRogge and/or @sgugger as well if possible.\r\n> \r\n> Do you have insights on why using `get_text_features` and `get_image_features` resulted in me...
1,661
1,665
1,662
CONTRIBUTOR
null
# What does this PR do? - Fixes memory leak in calls to `OwlViTForObjectDetection` model. The memory leak was due to making calls to `OwlViTModel`'s `get_image_features` and `get_text_features` methods. Replacing the calls to these methods with a single call to the` forward` method fixed the issue. - Fixes typos rega...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18734/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18734/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18734", "html_url": "https://github.com/huggingface/transformers/pull/18734", "diff_url": "https://github.com/huggingface/transformers/pull/18734.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18734.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18733
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18733/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18733/comments
https://api.github.com/repos/huggingface/transformers/issues/18733/events
https://github.com/huggingface/transformers/pull/18733
1,347,838,746
PR_kwDOCUB6oc49ovrl
18,733
CLI: Don't check the model head when there is no model head
{ "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
[]
[ "cc @ChrisFugl (related to #18678 )", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18733). All of your documentation changes will be reflected on that endpoint.", "OK, so it was empty dict, and we can't take max of the values, right? LGTM, thank you @gante ", "nit...
1,661
1,661
1,661
MEMBER
null
# What does this PR do? As the title says -- when there is no model head, don't check it :) When `architectures` is not defined, it is implied that there is no model head in the weights.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18733/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18733/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18733", "html_url": "https://github.com/huggingface/transformers/pull/18733", "diff_url": "https://github.com/huggingface/transformers/pull/18733.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18733.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18732
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18732/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18732/comments
https://api.github.com/repos/huggingface/transformers/issues/18732/events
https://github.com/huggingface/transformers/pull/18732
1,347,703,612
PR_kwDOCUB6oc49oR_A
18,732
Llm qa tests
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18732). All of your documentation changes will be reflected on that endpoint." ]
1,661
1,663
1,663
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/18732/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18732/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18732", "html_url": "https://github.com/huggingface/transformers/pull/18732", "diff_url": "https://github.com/huggingface/transformers/pull/18732.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18732.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18731
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18731/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18731/comments
https://api.github.com/repos/huggingface/transformers/issues/18731/events
https://github.com/huggingface/transformers/pull/18731
1,347,701,262
PR_kwDOCUB6oc49oRe3
18,731
Update image segmentation pipeline test
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@amyeroberts Let's merge this PR?", "Amy is on vacation ;-)" ]
1,661
1,663
1,663
COLLABORATOR
null
# What does this PR do? The image segmentation pipeline tests - `tests/pipelines/test_pipelines_image_segmentation.py` - were failing after the merging of #1849 (49e44b216b2559e34e945d5dcdbbe2238859e29b). This was due to the difference in rescaling. Previously the images were rescaled by `image = image / 255`. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18731/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18731/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18731", "html_url": "https://github.com/huggingface/transformers/pull/18731", "diff_url": "https://github.com/huggingface/transformers/pull/18731.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18731.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18730
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18730/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18730/comments
https://api.github.com/repos/huggingface/transformers/issues/18730/events
https://github.com/huggingface/transformers/issues/18730
1,347,637,576
I_kwDOCUB6oc5QU1FI
18,730
The training loss(logging steps) will drop suddenly after each epoch? Help me plz! Orz
{ "login": "lchustc", "id": 27990344, "node_id": "MDQ6VXNlcjI3OTkwMzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/27990344?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lchustc", "html_url": "https://github.com/lchustc", "followers_url": "https://api.github.com/users/lchust...
[ { "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
[]
[ "And i also found that the loss(last step) of each epoch may drop suddenly when the size of dataset isn't an integer multiple of batch size. Because the clip_loss is up to batch and the last batch will be duplicate unless \"dataloader_drop_last\" is set.", "@ydshieh", "For my experience, it could be that the lo...
1,661
1,701
1,664
NONE
null
### System Info transformers version: 4.17.0 Python version: 3.7.0 torch version: 1.10.1 ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ......
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18730/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/18730/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18729
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18729/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18729/comments
https://api.github.com/repos/huggingface/transformers/issues/18729/events
https://github.com/huggingface/transformers/pull/18729
1,347,621,794
PR_kwDOCUB6oc49oAY2
18,729
typo in docstring
{ "login": "JadeKim042386", "id": 61103343, "node_id": "MDQ6VXNlcjYxMTAzMzQz", "avatar_url": "https://avatars.githubusercontent.com/u/61103343?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JadeKim042386", "html_url": "https://github.com/JadeKim042386", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18729). All of your documentation changes will be reflected on that endpoint.", "@JadeKim042386 Thank you for the fix! I could find there are 15 same occurrences in `transformers`. Could you replace all of them by the corre...
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/18729/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18729/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18729", "html_url": "https://github.com/huggingface/transformers/pull/18729", "diff_url": "https://github.com/huggingface/transformers/pull/18729.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18729.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18728
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18728/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18728/comments
https://api.github.com/repos/huggingface/transformers/issues/18728/events
https://github.com/huggingface/transformers/pull/18728
1,347,586,174
PR_kwDOCUB6oc49n4qV
18,728
Fix incorrect comments about atten mask for pytorch backend
{ "login": "lygztq", "id": 23189027, "node_id": "MDQ6VXNlcjIzMTg5MDI3", "avatar_url": "https://avatars.githubusercontent.com/u/23189027?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lygztq", "html_url": "https://github.com/lygztq", "followers_url": "https://api.github.com/users/lygztq/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@lygztq Great catch. This inconsistency was introduced in (my) PR #17306, where the docstrings were not updated - my bad.", "I think it's more clear to change from `... the smallest value ...` to `... the dtype's smallest value ......
1,661
1,663
1,663
CONTRIBUTOR
null
# What does this PR do? I found these comments do not match the actual behavior. In these comments we use `-10000.0` to mask out elements before `softmax` but the actual value used is `torch.finfo(dtype).min`. ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other check...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18728/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18728/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18728", "html_url": "https://github.com/huggingface/transformers/pull/18728", "diff_url": "https://github.com/huggingface/transformers/pull/18728.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18728.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18727
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18727/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18727/comments
https://api.github.com/repos/huggingface/transformers/issues/18727/events
https://github.com/huggingface/transformers/pull/18727
1,347,519,877
PR_kwDOCUB6oc49nqiz
18,727
Unpin detectron2
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18727). All of your documentation changes will be reflected on that endpoint." ]
1,661
1,661
1,661
COLLABORATOR
null
# What does this PR do? Unpin `detectron2` that are introduced in #18701 and #18680, as the issue was fixed on its side https://github.com/facebookresearch/detectron2/commit/3cfda4704cb3b23255f29d683cf05cbaf10daaa4 The test `run_tests_layoutlmv2_and_v3` is OK now: https://app.circleci.com/pipelines/github/h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18727/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18727/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18727", "html_url": "https://github.com/huggingface/transformers/pull/18727", "diff_url": "https://github.com/huggingface/transformers/pull/18727.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18727.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18726
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18726/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18726/comments
https://api.github.com/repos/huggingface/transformers/issues/18726/events
https://github.com/huggingface/transformers/issues/18726
1,347,440,855
I_kwDOCUB6oc5QUFDX
18,726
KeyError 'overflow_to_sample_mapping' when using LayoutXLM with regular Tokenizer + return_overflowing_tokens
{ "login": "anthony2261", "id": 26882839, "node_id": "MDQ6VXNlcjI2ODgyODM5", "avatar_url": "https://avatars.githubusercontent.com/u/26882839?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anthony2261", "html_url": "https://github.com/anthony2261", "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
[]
[ "Please note that this probably also happens with LMv2 if using this combination of non fast processor + return_overflowing_tokens, not sure about LMv3\r\n", "Hi,\r\n\r\nWe probably need to update `LayoutXLMProcessor` similar to how it was done for LayoutLMv2 in #17092.\r\n\r\nWould you be able to open a PR for t...
1,661
1,661
1,661
CONTRIBUTOR
null
### System Info (Running from Colab) - `transformers` version: 4.21.1 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.1+cu113 (True) - Tensorflow version (GPU?): 2.8.2 (True) - Flax version (CPU?/GPU?/TPU?): not ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18726/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18726/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18725
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18725/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18725/comments
https://api.github.com/repos/huggingface/transformers/issues/18725/events
https://github.com/huggingface/transformers/issues/18725
1,347,258,178
I_kwDOCUB6oc5QTYdC
18,725
Error Attention Mask Size for Customized Encoder-Decoder Architecture Using Multimodal Encoder
{ "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...
[ { "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 see what you mean. However, if we add this error message to `modeling_encoder_decoder.py`, then users will update the attention mask of the encoder to make sure it has the same sequence length as the encoder final hidden states.\r\n\r\nHowever, for a model like LayoutLMv3, the `attention_mask` should just contai...
1,661
1,661
1,661
CONTRIBUTOR
null
### System Info - `transformers` version: 4.21.1 - Platform: Linux-5.4.56.bsk.10-amd64-x86_64-with-debian-10.11 - Python version: 3.7.3 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.10.0 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18725/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18725/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18724
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18724/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18724/comments
https://api.github.com/repos/huggingface/transformers/issues/18724/events
https://github.com/huggingface/transformers/issues/18724
1,346,907,096
I_kwDOCUB6oc5QSCvY
18,724
add timesformer model
{ "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": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[ "cc @NielsRogge!", "Hi,\r\n\r\nSure, let me know your email address, then we can set up a slack channel for easier communication. ", "> Hi,\r\n> \r\n> Sure, let me know your email address, then we can set up a slack channel for easier communication.\r\n\r\nI have written my mail to you by Discord message 👍 " ]
1,661
1,669
1,669
CONTRIBUTOR
null
### Feature request Add [TimeSformer, ICML 2021](https://arxiv.org/abs/2102.05095) model to HuggingFace transformers library. Source code: https://github.com/facebookresearch/TimeSformer Weight files: https://github.com/facebookresearch/TimeSformer#model-zoo Alternative implementation: https://github.com/lucidr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18724/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18724/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18723
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18723/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18723/comments
https://api.github.com/repos/huggingface/transformers/issues/18723/events
https://github.com/huggingface/transformers/pull/18723
1,346,800,478
PR_kwDOCUB6oc49lR-W
18,723
Add Trainer to quicktour
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,661
1,662
1,662
MEMBER
null
This PR makes some edits to the `pipeline` section to focus less on all the tasks (and their definitions) it is capable of. Users probably only need a general representative idea of what it can do, and then they're more interested in diving into how to use the pipeline. I also added a brief section on the `Trainer` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18723/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18723/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18723", "html_url": "https://github.com/huggingface/transformers/pull/18723", "diff_url": "https://github.com/huggingface/transformers/pull/18723.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18723.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18722
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18722/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18722/comments
https://api.github.com/repos/huggingface/transformers/issues/18722/events
https://github.com/huggingface/transformers/pull/18722
1,346,620,685
PR_kwDOCUB6oc49krHl
18,722
Fix GLUE MNLI evaluation when using `max_eval_samples`
{ "login": "lvwerra", "id": 8264887, "node_id": "MDQ6VXNlcjgyNjQ4ODc=", "avatar_url": "https://avatars.githubusercontent.com/u/8264887?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lvwerra", "html_url": "https://github.com/lvwerra", "followers_url": "https://api.github.com/users/lvwerra/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,661
1,663
1,663
MEMBER
null
# What does this PR do? Even when selecting `max_eval_samples` the script will always also evaluate on the full mismatched validation set. This PR fixes this by sampling the mismatched split the same way the matched split is sampled.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18722/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18722/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18722", "html_url": "https://github.com/huggingface/transformers/pull/18722", "diff_url": "https://github.com/huggingface/transformers/pull/18722.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18722.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18721
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18721/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18721/comments
https://api.github.com/repos/huggingface/transformers/issues/18721/events
https://github.com/huggingface/transformers/issues/18721
1,346,599,681
I_kwDOCUB6oc5QQ3sB
18,721
Typo in TrOCR documentation
{ "login": "JadeKim042386", "id": 61103343, "node_id": "MDQ6VXNlcjYxMTAzMzQz", "avatar_url": "https://avatars.githubusercontent.com/u/61103343?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JadeKim042386", "html_url": "https://github.com/JadeKim042386", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "I found typo in TrOCRConfig docstring~\r\n\r\nhttps://github.com/huggingface/transformers/blob/84beb8a49bf137a88d1b29ab3a85ba0a3cd097d5/src/transformers/models/trocr/configuration_trocr.py#L70\r\n\r\nIt revised as follows. (remove ':' ) #18721 \r\n\r\n```python\r\ndecoder_layerdrop (`float`, *optional*, defaults t...
1,661
1,661
1,661
CONTRIBUTOR
null
decoder_layerdrop was hidden in [TrOCR documentation](https://huggingface.co/docs/transformers/v4.21.1/en/model_doc/trocr#transformers.TrOCRConfig). 😂 ![image](https://user-images.githubusercontent.com/61103343/185959294-741f0f0d-999f-4073-a4b1-7ee7d5be2184.png) I think it should be revised as follows. - **...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18721/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18721/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18720
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18720/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18720/comments
https://api.github.com/repos/huggingface/transformers/issues/18720/events
https://github.com/huggingface/transformers/pull/18720
1,346,571,011
PR_kwDOCUB6oc49kgbi
18,720
examples/run_summarization_no_trainer: fixed incorrect param to hasattr
{ "login": "rahular", "id": 1104544, "node_id": "MDQ6VXNlcjExMDQ1NDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1104544?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rahular", "html_url": "https://github.com/rahular", "followers_url": "https://api.github.com/users/rahular/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18720). All of your documentation changes will be reflected on that endpoint.", "Would you like to take a look at this, @muellerzr?", "@rahular this isn't quite the right solution. What this needs to check here is whether...
1,661
1,661
1,661
CONTRIBUTOR
null
# What does this PR do? Fixes a small bug in `examples/run_summarization_no_trainer.py` which resulted in the script not checkpointing models even if the correct argument was passed from CLI. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18720/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18720/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18720", "html_url": "https://github.com/huggingface/transformers/pull/18720", "diff_url": "https://github.com/huggingface/transformers/pull/18720.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18720.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18719
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18719/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18719/comments
https://api.github.com/repos/huggingface/transformers/issues/18719/events
https://github.com/huggingface/transformers/issues/18719
1,346,536,587
I_kwDOCUB6oc5QQoSL
18,719
`QuestionAnsweringPipeline`: different behaviors when with `handle_impossible_answer=True`
{ "login": "FrancescoCasalegno", "id": 17013890, "node_id": "MDQ6VXNlcjE3MDEzODkw", "avatar_url": "https://avatars.githubusercontent.com/u/17013890?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FrancescoCasalegno", "html_url": "https://github.com/FrancescoCasalegno", "followers_url": "ht...
[ { "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: the bug is referred to `transformers 4.1.1`, but on the latest release `4.21.1` (thanks @EmileDel for noticing this!) the behavior seems consistent (see below). I don't know what has changed, but maybe this Issue can be closed?\r\n\r\n```text\r\n-- Model: deepset/minilm-uncased-squad2\r\n-- answer: {'score':...
1,661
1,664
1,664
NONE
null
### System Info - `transformers` version: 4.1.1 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.9.1 - PyTorch version (GPU?): 1.7.1 (False) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: No - Using distributed or parallel set-up in script?: No ### Who can help? _No respon...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18719/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18719/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18718
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18718/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18718/comments
https://api.github.com/repos/huggingface/transformers/issues/18718/events
https://github.com/huggingface/transformers/pull/18718
1,346,496,910
PR_kwDOCUB6oc49kQbG
18,718
Fix typo: s/pre_layrnorm/pre_layernorm
{ "login": "Silviase", "id": 39077309, "node_id": "MDQ6VXNlcjM5MDc3MzA5", "avatar_url": "https://avatars.githubusercontent.com/u/39077309?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Silviase", "html_url": "https://github.com/Silviase", "followers_url": "https://api.github.com/users/Sil...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "plz help :cry:", "Hi @Silviase - thanks for opening this PR and contributing to improving the codebase 💪 \r\n\r\nUnfortunately, we can't update the layers like this, as it changes their weight names. This means that previous check...
1,661
1,663
1,663
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/18718/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18718/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18718", "html_url": "https://github.com/huggingface/transformers/pull/18718", "diff_url": "https://github.com/huggingface/transformers/pull/18718.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18718.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18717
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18717/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18717/comments
https://api.github.com/repos/huggingface/transformers/issues/18717/events
https://github.com/huggingface/transformers/pull/18717
1,346,399,373
PR_kwDOCUB6oc49j7VR
18,717
fix `pipeline_tutorial.mdx` doctest
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18717). All of your documentation changes will be reflected on that endpoint." ]
1,661
1,661
1,661
COLLABORATOR
null
# What does this PR do? Fix [doctest failure](https://github.com/huggingface/transformers/runs/7942633458?check_suite_focus=true) due to the incorrect expected values. (It's probably just because the previous values are obtained in a different env. or hardware)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18717/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/18717/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18717", "html_url": "https://github.com/huggingface/transformers/pull/18717", "diff_url": "https://github.com/huggingface/transformers/pull/18717.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18717.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18716
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18716/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18716/comments
https://api.github.com/repos/huggingface/transformers/issues/18716/events
https://github.com/huggingface/transformers/pull/18716
1,346,392,435
PR_kwDOCUB6oc49j50O
18,716
[LayoutLM] Add clarification to docs
{ "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,662
1,662
CONTRIBUTOR
null
# What does this PR do? This PR clarifies that PDFs must be converted to Pillow images for LayoutLM. Fixes #18113
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18716/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18716/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18716", "html_url": "https://github.com/huggingface/transformers/pull/18716", "diff_url": "https://github.com/huggingface/transformers/pull/18716.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18716.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18715
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18715/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18715/comments
https://api.github.com/repos/huggingface/transformers/issues/18715/events
https://github.com/huggingface/transformers/pull/18715
1,346,379,265
PR_kwDOCUB6oc49j29s
18,715
Use bfloat16 data type for embeddings and masks when using with PyTorch amp for bfloat16 data type
{ "login": "CaoE", "id": 23565213, "node_id": "MDQ6VXNlcjIzNTY1MjEz", "avatar_url": "https://avatars.githubusercontent.com/u/23565213?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CaoE", "html_url": "https://github.com/CaoE", "followers_url": "https://api.github.com/users/CaoE/followers"...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18715). 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,670
1,664
NONE
null
### Motivation Add a attribute `use_torch_bfloat16_embeddings` in `PretrainedConfig` to indicate if bfloat16 data type for embeddings and masks is used and convert the data type of embeddings and masks to bfloat16 accordingly. This will reduce the number of data type conversion between float and bfloat16 when runni...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18715/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18715/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18715", "html_url": "https://github.com/huggingface/transformers/pull/18715", "diff_url": "https://github.com/huggingface/transformers/pull/18715.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18715.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18714
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18714/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18714/comments
https://api.github.com/repos/huggingface/transformers/issues/18714/events
https://github.com/huggingface/transformers/pull/18714
1,346,370,328
PR_kwDOCUB6oc49j1Gi
18,714
[DETR] Add num_channels attribute
{ "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._", "In my previous experience with DETR I also have faced the issues with Feature extractor, does it support 1 chanel input now? (I had to do something like that: https://github.com/huggingface/transformers/pull/14933/files#diff-826e0e03...
1,661
1,662
1,661
CONTRIBUTOR
null
# What does this PR do? This PR adds a num_channels attribute to DetrConfig, making it possible to use the model on greyscale images (i.e. num_channels = 1). Fixes #14875
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18714/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18714/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18714", "html_url": "https://github.com/huggingface/transformers/pull/18714", "diff_url": "https://github.com/huggingface/transformers/pull/18714.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18714.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18713
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18713/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18713/comments
https://api.github.com/repos/huggingface/transformers/issues/18713/events
https://github.com/huggingface/transformers/pull/18713
1,346,296,854
PR_kwDOCUB6oc49jkpR
18,713
Add Italian translation for `add_new_model.mdx`
{ "login": "Steboss89", "id": 75615539, "node_id": "MDQ6VXNlcjc1NjE1NTM5", "avatar_url": "https://avatars.githubusercontent.com/u/75615539?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Steboss89", "html_url": "https://github.com/Steboss89", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @Steboss89 , is a very long document well done! At the moment I read until the line 339.\r\nIt's ok but:\r\nrow 75: esssere --> essere\r\nrow 91: Similmente al modello --> Analogamente al modello\r\n\r\nAnd the phrase \"I files del modello devono esssere il più self-contained possibile cosicché quando leggi il ...
1,661
1,665
1,665
CONTRIBUTOR
null
# What does this PR do? Italian translation of `add_new_model.mdx` Related to issue: #17459 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/bl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18713/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18713/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18713", "html_url": "https://github.com/huggingface/transformers/pull/18713", "diff_url": "https://github.com/huggingface/transformers/pull/18713.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18713.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18712
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18712/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18712/comments
https://api.github.com/repos/huggingface/transformers/issues/18712/events
https://github.com/huggingface/transformers/issues/18712
1,346,202,817
I_kwDOCUB6oc5QPWzB
18,712
TFSegformer fail to convert to onnx
{ "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
[]
[ "Not sure what's missing, but here's a notebook that shows the ONNX conversion (using `tf2onnx`): https://github.com/deep-diver/segformer-tf-transformers/blob/main/notebooks/TFSegFormer_ONNX.ipynb. ", "I can confirm this approach is working, thanks for the quick answer" ]
1,661
1,661
1,661
CONTRIBUTOR
null
Thanks for this repo ! ### Error Description 1) train a tensorflow segformer model 2) save the checkpoint 2) try to convert it to onnx via `python -m transformers.onnx --model CHECKPOINT_PATH OUT_PATH` ### Error: ``` 2022-08-22 12:46:58.488185: I tensorflow/stream_executor/cuda/cuda_dnn.cc:368] Loaded ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18712/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18712/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18711
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18711/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18711/comments
https://api.github.com/repos/huggingface/transformers/issues/18711/events
https://github.com/huggingface/transformers/pull/18711
1,346,074,710
PR_kwDOCUB6oc49i0MP
18,711
Removing warning of model type for `microsoft/tapex-base-finetuned-wtq` and friends.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18711). All of your documentation changes will be reflected on that endpoint." ]
1,661
1,661
1,661
CONTRIBUTOR
null
# What does this PR do? Fixes warning mentionned in https://github.com/huggingface/transformers/issues/18665 <!-- 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18711/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18711/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18711", "html_url": "https://github.com/huggingface/transformers/pull/18711", "diff_url": "https://github.com/huggingface/transformers/pull/18711.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18711.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18710
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18710/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18710/comments
https://api.github.com/repos/huggingface/transformers/issues/18710/events
https://github.com/huggingface/transformers/pull/18710
1,345,998,213
PR_kwDOCUB6oc49ikAk
18,710
Use bfloat16 data type for embeddings and masks when using with PyTorch amp for bfloat16 data type
{ "login": "CaoE", "id": 23565213, "node_id": "MDQ6VXNlcjIzNTY1MjEz", "avatar_url": "https://avatars.githubusercontent.com/u/23565213?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CaoE", "html_url": "https://github.com/CaoE", "followers_url": "https://api.github.com/users/CaoE/followers"...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18710). All of your documentation changes will be reflected on that endpoint." ]
1,661
1,661
1,661
NONE
null
<!-- 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 with a description of the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18710/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18710/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18710", "html_url": "https://github.com/huggingface/transformers/pull/18710", "diff_url": "https://github.com/huggingface/transformers/pull/18710.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18710.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18709
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18709/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18709/comments
https://api.github.com/repos/huggingface/transformers/issues/18709/events
https://github.com/huggingface/transformers/issues/18709
1,345,889,205
I_kwDOCUB6oc5QOKO1
18,709
The phenomenon of being suddenly killed during RAG evaluation processing
{ "login": "Juno82", "id": 110461567, "node_id": "U_kgDOBpWCfw", "avatar_url": "https://avatars.githubusercontent.com/u/110461567?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Juno82", "html_url": "https://github.com/Juno82", "followers_url": "https://api.github.com/users/Juno82/follower...
[ { "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 very likely an out of memory error, unfortunately", "Dear @LysandreJik ,\r\nThank you for your comment.\r\nI am trying again from fine tuning.\r\n\r\nWhen I run it with ray, I get the following error:\r\n\r\n![image](https://user-images.githubusercontent.com/110461567/186671785-2dfdb66b-f5d8-4eff-a635-c9...
1,661
1,683
1,664
NONE
null
### System Info Platform : Ubuntu 18.04.5 Python version : 3.8.8 pytorch-lightning version : 1.3.1 torch version : 1.12.1 ### Who can help? @patrickvonplaten Hello, an error occurs during the RAG Evaluation, and please help me. It suddenly becomes killed without any error message. ![image](https://user-image...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18709/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18709/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18708
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18708/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18708/comments
https://api.github.com/repos/huggingface/transformers/issues/18708/events
https://github.com/huggingface/transformers/issues/18708
1,345,604,659
I_kwDOCUB6oc5QNEwz
18,708
Adding a documentation to save the best checkpoint during the training in summarization example project
{ "login": "shamanez", "id": 16892570, "node_id": "MDQ6VXNlcjE2ODkyNTcw", "avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shamanez", "html_url": "https://github.com/shamanez", "followers_url": "https://api.github.com/users/sha...
[]
closed
false
null
[]
[ "Hi @shamanez 👋 As per our [issues guidelines](https://github.com/huggingface/transformers/blob/main/ISSUES.md), we reserve GitHub issues for bugs in the repository and/or feature requests. For any other matters, we'd like to invite you to use our [forum](https://discuss.huggingface.co/) 🤗", "This issue has be...
1,661
1,664
1,664
CONTRIBUTOR
null
### Feature request I am working with the latest [latest summarization example](https://github.com/huggingface/transformers/tree/main/examples/pytorch/summarization). But after the training loop ends, I can't find an easy way to find what is the best checkpoint saved. ### Motivation I would be easy to keep a separa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18708/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18708/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18707
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18707/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18707/comments
https://api.github.com/repos/huggingface/transformers/issues/18707/events
https://github.com/huggingface/transformers/issues/18707
1,345,557,121
I_kwDOCUB6oc5QM5KB
18,707
Make TFNoRepeatNGramLogitsProcessor XLA compatible
{ "login": "mizhazha", "id": 6841406, "node_id": "MDQ6VXNlcjY4NDE0MDY=", "avatar_url": "https://avatars.githubusercontent.com/u/6841406?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mizhazha", "html_url": "https://github.com/mizhazha", "followers_url": "https://api.github.com/users/mizha...
[]
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...
[ "Hi @mizhazha 👋 \r\n\r\nYeah, it's unfortunate that we weren't able to implement it with XLA. Sadly, using XLA is very binary -- either the entire function (`.generate()`) and all its inner calls can be compiled, or it is not XLA-compatible. If it is not a hard requirement for your application, the easiest solutio...
1,661
1,675
1,664
NONE
null
### Feature request make TFNoRepeatNGramLogitsProcessor XLA compatible ### Motivation We would like to use the BART model for summarization tasks. We are excited about the recent announcement of fast text generation with tensorflow; however, we realized that the [TFNoRepeatNGramLogitsProcessor](https://github.com/h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18707/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18707/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18706
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18706/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18706/comments
https://api.github.com/repos/huggingface/transformers/issues/18706/events
https://github.com/huggingface/transformers/pull/18706
1,345,371,595
PR_kwDOCUB6oc49glym
18,706
update no trainer scripts to remove check for main process while initiating trackers
{ "login": "Gladiator07", "id": 52319020, "node_id": "MDQ6VXNlcjUyMzE5MDIw", "avatar_url": "https://avatars.githubusercontent.com/u/52319020?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Gladiator07", "html_url": "https://github.com/Gladiator07", "followers_url": "https://api.github.com/...
[]
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 updates no_trainer examples with tracking enabled to remove the check for `is_main_process` while initiating trackers by `accelerator.init_trackers()` as this method automatically initializes the trackers on the main process. This behavior was merged in Accelerate in this [PR](https:/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18706/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18706/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18706", "html_url": "https://github.com/huggingface/transformers/pull/18706", "diff_url": "https://github.com/huggingface/transformers/pull/18706.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18706.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18705
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18705/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18705/comments
https://api.github.com/repos/huggingface/transformers/issues/18705/events
https://github.com/huggingface/transformers/pull/18705
1,345,248,502
PR_kwDOCUB6oc49gNHE
18,705
Extend `tokenizer.pad` with `offset_mapping`
{ "login": "vadimirtlach", "id": 58233887, "node_id": "MDQ6VXNlcjU4MjMzODg3", "avatar_url": "https://avatars.githubusercontent.com/u/58233887?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vadimirtlach", "html_url": "https://github.com/vadimirtlach", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18705). All of your documentation changes will be reflected on that endpoint.", "Hi @vad13irt. Could you explain a bit why this change is needed, and what would be its usage? With a short code snippet might be very helpful....
1,661
1,664
1,664
NONE
null
# What does this PR do? Extend `tokenizer.pad`, accurately `tokenizer._pad`, method with functionality for padding `offset_mapping` with `(0, 0)`. ## 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 gui...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18705/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18705/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18705", "html_url": "https://github.com/huggingface/transformers/pull/18705", "diff_url": "https://github.com/huggingface/transformers/pull/18705.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18705.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18704
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18704/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18704/comments
https://api.github.com/repos/huggingface/transformers/issues/18704/events
https://github.com/huggingface/transformers/issues/18704
1,345,102,153
I_kwDOCUB6oc5QLKFJ
18,704
[RAG] - TypeError: init_retrieval() missing 1 required positional argument: 'distributed_port' for PL==1.5.10
{ "login": "kaiiwoo", "id": 80252411, "node_id": "MDQ6VXNlcjgwMjUyNDEx", "avatar_url": "https://avatars.githubusercontent.com/u/80252411?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kaiiwoo", "html_url": "https://github.com/kaiiwoo", "followers_url": "https://api.github.com/users/kaiiwo...
[ { "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 kaiiwoo, I think you may try to change the code below\r\nhttps://github.com/huggingface/transformers/blob/30992ef0d911bdeca425969d210771118a5cd1ac/examples/research_projects/rag/lightning_base.py#L275\r\nto\r\n`pl_module.model.rag.retriever.init_retrieval(pl_module.hparams.distributed_port)`", "Hi, @aRyBernAl...
1,660
1,667
1,667
NONE
null
### System Info ``` Name Version Build Channel _libgcc_mutex 0.1 main _openmp_mutex 5.1 1_gnu absl-py 1.2.0 pypi_0 pypi aiohttp 3.8.1 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18704/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18704/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18703
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18703/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18703/comments
https://api.github.com/repos/huggingface/transformers/issues/18703/events
https://github.com/huggingface/transformers/issues/18703
1,345,051,418
I_kwDOCUB6oc5QK9sa
18,703
'topk_cpu not implemented for half' when using topk with bitsandbytes 8-bit quant
{ "login": "zaptrem", "id": 1612230, "node_id": "MDQ6VXNlcjE2MTIyMzA=", "avatar_url": "https://avatars.githubusercontent.com/u/1612230?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zaptrem", "html_url": "https://github.com/zaptrem", "followers_url": "https://api.github.com/users/zaptrem/...
[ { "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...
[ "Running `input_ids.cuda()` before feeding it into model.generate() resolves this error, but that isn't possible when using this equivalent pipeline route:\r\n\r\n```\r\nimport pprint\r\nfrom transformers import pipeline, logging\r\n\r\nlogging.set_verbosity_info()\r\n\r\nname = \"facebook/opt-30b\"\r\ntext = \"tes...
1,660
1,677
1,677
NONE
null
### System Info - `transformers` version: 4.22.0.dev0 - Platform: Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.10 - Python version: 3.8.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.1+cu116 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?):...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18703/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18703/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18702
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18702/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18702/comments
https://api.github.com/repos/huggingface/transformers/issues/18702/events
https://github.com/huggingface/transformers/pull/18702
1,344,949,777
PR_kwDOCUB6oc49fSpG
18,702
Adds package and requirement spec output to version check exception
{ "login": "colindean", "id": 197224, "node_id": "MDQ6VXNlcjE5NzIyNA==", "avatar_url": "https://avatars.githubusercontent.com/u/197224?v=4", "gravatar_id": "", "url": "https://api.github.com/users/colindean", "html_url": "https://github.com/colindean", "followers_url": "https://api.github.com/users/coli...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This looks like a good improvement to me! Looks good to you, @stas00?", "Looks like the test failures are transient package retrieval errors. I don't seem to have permission to rerun them myself.", "You can always cheat ;)\r\n\r\...
1,660
1,663
1,663
CONTRIBUTOR
null
# What does this PR do? It's difficult to understand what package is affected when `got_ver` here comes back None, so output the requirement and the package. The requirement probably contains the package but let's output both for good measure. This will hopefully be enough for the user to understand that something's...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18702/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18702/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18702", "html_url": "https://github.com/huggingface/transformers/pull/18702", "diff_url": "https://github.com/huggingface/transformers/pull/18702.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18702.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18701
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18701/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18701/comments
https://api.github.com/repos/huggingface/transformers/issues/18701/events
https://github.com/huggingface/transformers/pull/18701
1,344,894,143
PR_kwDOCUB6oc49fGym
18,701
[Hotfix] pin detectron2 5aeb252 to avoid test fix
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks a lot!" ]
1,660
1,660
1,660
COLLABORATOR
null
# What does this PR do? Very hot fix. Similar to #18680
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18701/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18701/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18701", "html_url": "https://github.com/huggingface/transformers/pull/18701", "diff_url": "https://github.com/huggingface/transformers/pull/18701.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18701.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18700
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18700/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18700/comments
https://api.github.com/repos/huggingface/transformers/issues/18700/events
https://github.com/huggingface/transformers/pull/18700
1,344,891,803
PR_kwDOCUB6oc49fGS9
18,700
Add minor doc-string change to include hp_name param in hyperparameter_search
{ "login": "constantin-huetterer", "id": 60255589, "node_id": "MDQ6VXNlcjYwMjU1NTg5", "avatar_url": "https://avatars.githubusercontent.com/u/60255589?v=4", "gravatar_id": "", "url": "https://api.github.com/users/constantin-huetterer", "html_url": "https://github.com/constantin-huetterer", "followers_url...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18700). All of your documentation changes will be reflected on that endpoint.", "Just noticed, that the kwargs- argument is also not displayed correctly. Probably because of the missing type-information:\r\n![image](https:/...
1,660
1,661
1,661
CONTRIBUTOR
null
This is a very minor change. It seems like one of the parameters of the hyperparameter_search method hasn't been documented yet. :slightly_smiling_face:
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18700/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18700/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18700", "html_url": "https://github.com/huggingface/transformers/pull/18700", "diff_url": "https://github.com/huggingface/transformers/pull/18700.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18700.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18699
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18699/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18699/comments
https://api.github.com/repos/huggingface/transformers/issues/18699/events
https://github.com/huggingface/transformers/pull/18699
1,344,884,851
PR_kwDOCUB6oc49fE2H
18,699
Temp fix for broken detectron2 import
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi @patrickvonplaten . Please review the thread at https://github.com/facebookresearch/detectron2/issues/4489 and let me know if the landed change means we can now revert this temporary fix. Thanks." ]
1,660
1,661
1,660
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/18699/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18699/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18699", "html_url": "https://github.com/huggingface/transformers/pull/18699", "diff_url": "https://github.com/huggingface/transformers/pull/18699.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18699.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18698
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18698/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18698/comments
https://api.github.com/repos/huggingface/transformers/issues/18698/events
https://github.com/huggingface/transformers/issues/18698
1,344,716,290
I_kwDOCUB6oc5QJr4C
18,698
device_map='"auto" fails with in big_modelling.py
{ "login": "lukolszewski", "id": 43611481, "node_id": "MDQ6VXNlcjQzNjExNDgx", "avatar_url": "https://avatars.githubusercontent.com/u/43611481?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lukolszewski", "html_url": "https://github.com/lukolszewski", "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
[]
[ "Hi,\r\n\r\nwhich version of `transformers` + `accelerate` are you using ?\r\n\r\n", "cc @muellerzr, have you seen something similar in the past?", "transformers version 4.21.1\r\naccelerate version 0.12.0", "This issue has been automatically marked as stale because it has not had recent activity. If you thin...
1,660
1,690
1,667
NONE
null
### System Info An Ubuntu 20.04 Linux on a Ryzen 7 3900 CPU, 32GB RAM with a Nvidia RTX3070 GPU, a M2 SSD with plenty of free space. Latest version of mkl, cpu only pytorch, transformers and accelerate in a freshly created venv. ### Who can help? @LysandreJik, @Narsil Sorry no person specified for Transformers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18698/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/18698/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18697
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18697/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18697/comments
https://api.github.com/repos/huggingface/transformers/issues/18697/events
https://github.com/huggingface/transformers/pull/18697
1,344,665,956
PR_kwDOCUB6oc49eWD0
18,697
[VisionEncoderDecoder] Add gradient checkpointing
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@patrickvonplaten this works, thanks! ", "Tests added - good to merge cc @NielsRogge FYI" ]
1,660
1,661
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/18697/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18697/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18697", "html_url": "https://github.com/huggingface/transformers/pull/18697", "diff_url": "https://github.com/huggingface/transformers/pull/18697.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18697.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18696
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18696/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18696/comments
https://api.github.com/repos/huggingface/transformers/issues/18696/events
https://github.com/huggingface/transformers/pull/18696
1,344,497,507
PR_kwDOCUB6oc49dxgK
18,696
Generate: add missing `**model_kwargs` in sample tests
{ "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 when the attention mask is not passed, it is inferred from the input ([here](https://github.com/huggingface/transformers/blob/e54a1b49aa6268c484625c6374f952f318914743/src/transformers/generation_utils.py#L490)).\r\n\r\nDepen...
1,660
1,660
1,660
MEMBER
null
# What does this PR do? One call of the `sample`-related tests was missing `**model_kwargs`, which MAY explain the random failures we were seeing. I've run all `test_sample_generate_dict_output` tests 100x with no failures. Before this change, it was failing once every ~10 calls of `py.test tests/ -k test_sample...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18696/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18696/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18696", "html_url": "https://github.com/huggingface/transformers/pull/18696", "diff_url": "https://github.com/huggingface/transformers/pull/18696.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18696.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18695
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18695/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18695/comments
https://api.github.com/repos/huggingface/transformers/issues/18695/events
https://github.com/huggingface/transformers/pull/18695
1,344,316,058
PR_kwDOCUB6oc49dKkN
18,695
Add a use_parallel_residual argument to control the residual computing way
{ "login": "NinedayWang", "id": 45553486, "node_id": "MDQ6VXNlcjQ1NTUzNDg2", "avatar_url": "https://avatars.githubusercontent.com/u/45553486?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NinedayWang", "html_url": "https://github.com/NinedayWang", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks @NinedayWang !\r\n\r\nIf someone could review this, that would be great. \r\n\r\nThis PR will also allow loading our PolyCoder model in `transformers` (https://arxiv.org/pdf/2202.13169.pdf)", "Thanks a lot for the PR @Nineda...
1,660
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/18695/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/18695/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18695", "html_url": "https://github.com/huggingface/transformers/pull/18695", "diff_url": "https://github.com/huggingface/transformers/pull/18695.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18695.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18694
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18694/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18694/comments
https://api.github.com/repos/huggingface/transformers/issues/18694/events
https://github.com/huggingface/transformers/pull/18694
1,344,289,614
PR_kwDOCUB6oc49dEuS
18,694
Type cast before normalize
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "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_18694). 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,660
1,669
1,665
COLLABORATOR
null
# What does this PR do? This shows the changes to VideoMAE - casting the images to numpy arrays before normalizing. This resolves issues when the return type isn't as expected if flags like `do_normalize` are false. The changes here are representative of the changes for all vision model feature extractors. Once ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18694/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18694/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18694", "html_url": "https://github.com/huggingface/transformers/pull/18694", "diff_url": "https://github.com/huggingface/transformers/pull/18694.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18694.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18693
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18693/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18693/comments
https://api.github.com/repos/huggingface/transformers/issues/18693/events
https://github.com/huggingface/transformers/pull/18693
1,344,221,986
PR_kwDOCUB6oc49c2Mb
18,693
add warning to let the user know that the `__call__` method is faster than `encode` + `pad` for a fast tokenizer
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18693). All of your documentation changes will be reflected on that endpoint.", "Thanks a lot for the advice @LysandreJik :hugs: ! Indeed, since this attribute `deprecation_warnings` exists, I have no reason to prefer `warn...
1,660
1,661
1,661
CONTRIBUTOR
null
# What does this PR do? In this PR I propose to specify in the docstring of the `pad` method and to log a warning when the pad method is called with a fast tokenizer. The goal is to encourage the user to use the `__call__` method to encode and pad their input at the same time since it will be faster then encoding an...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18693/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18693/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18693", "html_url": "https://github.com/huggingface/transformers/pull/18693", "diff_url": "https://github.com/huggingface/transformers/pull/18693.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18693.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18692
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18692/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18692/comments
https://api.github.com/repos/huggingface/transformers/issues/18692/events
https://github.com/huggingface/transformers/pull/18692
1,344,200,263
PR_kwDOCUB6oc49cxi5
18,692
Add an option to `HfArgumentParser.parse_{dict,json_file}` to raise an Exception when there extra keys
{ "login": "FelixSchneiderZoom", "id": 110813191, "node_id": "U_kgDOBprgBw", "avatar_url": "https://avatars.githubusercontent.com/u/110813191?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FelixSchneiderZoom", "html_url": "https://github.com/FelixSchneiderZoom", "followers_url": "https://...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,660
1,661
1,661
CONTRIBUTOR
null
I added an option to `HfArgumentParser.parse_{dict,json_file}` to raise an Exception when there extra keys. The option is off by default, for backward compatibility. For users of these functions, misspelled or incorrect keys in the parsed files/dicts could lead to hard-to-find errors, like putting `batch_size` in yo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18692/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18692/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18692", "html_url": "https://github.com/huggingface/transformers/pull/18692", "diff_url": "https://github.com/huggingface/transformers/pull/18692.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18692.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18691
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18691/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18691/comments
https://api.github.com/repos/huggingface/transformers/issues/18691/events
https://github.com/huggingface/transformers/issues/18691
1,344,126,003
I_kwDOCUB6oc5QHbwz
18,691
FileNotFoundError: [Errno 2] No such file or directory: '/home/chaizhihua/.cache/huggingface/hub/models--.--resources--ltp/refs/main'
{ "login": "limuyun99", "id": 89969033, "node_id": "MDQ6VXNlcjg5OTY5MDMz", "avatar_url": "https://avatars.githubusercontent.com/u/89969033?v=4", "gravatar_id": "", "url": "https://api.github.com/users/limuyun99", "html_url": "https://github.com/limuyun99", "followers_url": "https://api.github.com/users/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi limuyun99, would you mind providing your script for running `run_chinese_ref.py`? According to your traceback, I think you may provide the wrong params for the `--ltp`. Your cmd for running `run_chinese_ref.py` should look like the below:\r\n```\r\nexport TRAIN_FILE=/path/to/train/file\r\nexport LTP_RESOURCE=LT...
1,660
1,664
1,664
NONE
null
### System Info when i run (https://github.com/huggingface/transformers/blob/main/examples/research_projects/mlm_wwm/run_chinese_ref.py) this code , the code throw this error: ``` Traceback (most recent call last): File "temp.py", line 147, in <module> main(args) File "temp.py", line 122, in main ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18691/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18691/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18690
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18690/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18690/comments
https://api.github.com/repos/huggingface/transformers/issues/18690/events
https://github.com/huggingface/transformers/issues/18690
1,343,898,352
I_kwDOCUB6oc5QGkLw
18,690
Implement a new model: Point-BERT 🌟
{ "login": "AdonaiVera", "id": 45982251, "node_id": "MDQ6VXNlcjQ1OTgyMjUx", "avatar_url": "https://avatars.githubusercontent.com/u/45982251?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AdonaiVera", "html_url": "https://github.com/AdonaiVera", "followers_url": "https://api.github.com/use...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[ "Hey @AdonaiVera, exciting! Pinging @NielsRogge, our expert in model contribution :smiley: exciting to see point cloud models!", "Sure, let me know if you need any help :)", "@AdonaiVera @NielsRogge Are there any updates on this model?" ]
1,660
1,680
null
NONE
null
### Model description Hi, I’m Adonai vera; I’m looking to contribute with a new point cloud model; Point cloud has become very relevant in applications such as autonomous cars, inspections, architecture, reconstruction, and more. Segmentation algorithms allow us to extract valuable information from these types of fi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18690/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18690/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/18689
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18689/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18689/comments
https://api.github.com/repos/huggingface/transformers/issues/18689/events
https://github.com/huggingface/transformers/issues/18689
1,343,850,004
I_kwDOCUB6oc5QGYYU
18,689
Is a bug in TFT5ForConditionalGeneration._shift_right func?
{ "login": "TheHonestBob", "id": 58240629, "node_id": "MDQ6VXNlcjU4MjQwNjI5", "avatar_url": "https://avatars.githubusercontent.com/u/58240629?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TheHonestBob", "html_url": "https://github.com/TheHonestBob", "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
{ "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...
[ "Hey @TheHonestBob,\r\n\r\nSorry I don't have access to `\"pretrained_model/t5-base-Chinese\"` so I'm not sure I can help you here", "> Hey @TheHonestBob,\r\n> \r\n> Sorry I don't have access to `\"pretrained_model/t5-base-Chinese\"` so I'm not sure I can help you here\r\n\r\nthis issuse is not t5 model's problem...
1,660
1,664
1,664
NONE
null
### System Info transformers==4.17.0 ### Who can help? @patrickvonplaten ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (give details belo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18689/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18689/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18688
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18688/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18688/comments
https://api.github.com/repos/huggingface/transformers/issues/18688/events
https://github.com/huggingface/transformers/issues/18688
1,343,835,579
I_kwDOCUB6oc5QGU27
18,688
Why does setting `--fp16 True` not save memory
{ "login": "skye95git", "id": 41561936, "node_id": "MDQ6VXNlcjQxNTYxOTM2", "avatar_url": "https://avatars.githubusercontent.com/u/41561936?v=4", "gravatar_id": "", "url": "https://api.github.com/users/skye95git", "html_url": "https://github.com/skye95git", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!", "This question is now on the forum here: https://discuss.huggingface.co/t/why-does-setting-fp16-true-not-save-mem...
1,660
1,662
1,662
NONE
null
https://github.com/huggingface/transformers/blob/e54a1b49aa6268c484625c6374f952f318914743/examples/pytorch/language-modeling/run_mlm.py#L247-L250 https://github.com/huggingface/transformers/blob/e54a1b49aa6268c484625c6374f952f318914743/src/transformers/training_args.py#L663-L666 I want to pre-train Roberta on my ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18688/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18688/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18687
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18687/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18687/comments
https://api.github.com/repos/huggingface/transformers/issues/18687/events
https://github.com/huggingface/transformers/pull/18687
1,343,477,894
PR_kwDOCUB6oc49aYVZ
18,687
improve `add_tokens` docstring
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18687). All of your documentation changes will be reflected on that endpoint." ]
1,660
1,661
1,661
CONTRIBUTOR
null
# What does this PR do? This PR proposes to clarify the fact that added tokens and tokens of the vocabulary of the tokenization algorithm are not treated the same way by detailing the docstring of the `add_tokens` method. Fixes #18662 ## Before submitting - [x] This PR fixes a typo or improves the docs (you...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18687/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18687/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18687", "html_url": "https://github.com/huggingface/transformers/pull/18687", "diff_url": "https://github.com/huggingface/transformers/pull/18687.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18687.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18686
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18686/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18686/comments
https://api.github.com/repos/huggingface/transformers/issues/18686/events
https://github.com/huggingface/transformers/pull/18686
1,343,413,600
PR_kwDOCUB6oc49aKvQ
18,686
add task_type_id to BERT to support ERNIE-2.0 and ERNIE-3.0 models
{ "login": "nghuyong", "id": 16462374, "node_id": "MDQ6VXNlcjE2NDYyMzc0", "avatar_url": "https://avatars.githubusercontent.com/u/16462374?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nghuyong", "html_url": "https://github.com/nghuyong", "followers_url": "https://api.github.com/users/ngh...
[]
closed
false
{ "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._", "Hey @nghuyong, thanks for your PR! \r\n\r\nIn this situation, we'd rather have a new model class \"Ernie\" rather than modifying the \"Bert\" model class. This will result in a larger PR, but it should be very little additional work ...
1,660
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/18686/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18686/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18686", "html_url": "https://github.com/huggingface/transformers/pull/18686", "diff_url": "https://github.com/huggingface/transformers/pull/18686.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18686.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18685
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18685/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18685/comments
https://api.github.com/repos/huggingface/transformers/issues/18685/events
https://github.com/huggingface/transformers/pull/18685
1,343,394,166
PR_kwDOCUB6oc49aGql
18,685
TorchDynamo related cleanup
{ "login": "anijain2305", "id": 13822661, "node_id": "MDQ6VXNlcjEzODIyNjYx", "avatar_url": "https://avatars.githubusercontent.com/u/13822661?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anijain2305", "html_url": "https://github.com/anijain2305", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Thank you for fixing, @anijain2305 \r\n\r\n@ydshieh, perhaps let's use this PR to add the CI bits?", "> Thank you for fixing, @anijain2305\r\n> \r\n> @ydshieh, perhaps let's use this PR to add the CI bits?\r\n\r\nOK. I will push my work (on CI) to this PR.\r\n\r\nBefore merge, I would have to push to HF's transf...
1,660
1,663
1,663
CONTRIBUTOR
null
Related to https://github.com/huggingface/transformers/issues/18127 cc @ydshieh @stas00
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18685/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18685/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18685", "html_url": "https://github.com/huggingface/transformers/pull/18685", "diff_url": "https://github.com/huggingface/transformers/pull/18685.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18685.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18684
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18684/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18684/comments
https://api.github.com/repos/huggingface/transformers/issues/18684/events
https://github.com/huggingface/transformers/pull/18684
1,343,258,225
PR_kwDOCUB6oc49Zpsu
18,684
Fix train_step, test_step and tests for CLIP
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "The tests passed. I'm as surprised as everyone else. It's ready for review!", "Thanks @Rocketknight1 for quick fix. I am wondering if it makes sense to wrap the loss computation for TFCLIP into a `hf_compute_loss`? \r\n\r\nI also ...
1,660
1,662
1,662
MEMBER
null
CLIP models were not being tested correctly with `fit()` because the test skipped models without a `hf_compute_loss` method. This skip was added to skip base models like `TFBERTModel` that do not have specific output heads and losses. However, it also skips models like CLIP that do not use `compute_loss` / `hf_compute_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18684/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18684/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18684", "html_url": "https://github.com/huggingface/transformers/pull/18684", "diff_url": "https://github.com/huggingface/transformers/pull/18684.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18684.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18683
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18683/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18683/comments
https://api.github.com/repos/huggingface/transformers/issues/18683/events
https://github.com/huggingface/transformers/pull/18683
1,343,150,011
PR_kwDOCUB6oc49ZSkV
18,683
Add `accelerate` support for ViLT
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "> I also redefined accelerate tests since for this model the hidden states are not deterministic.\r\n\r\nCould you elaborate this part in more depth, please?", "Sure, \r\nThe accelerate tests defined in `test_modeling_common.py` such as [`test_cpu_offload`](https://github.com/huggingface/transformers/blob/d24311...
1,660
1,663
1,663
CONTRIBUTOR
null
# Motivation Add `bnb` support for ViLT model as it has been asked by a user in https://github.com/TimDettmers/bitsandbytes/issues/14 . This involved adding `accelerate` support for this model. # What does this PR do? Adds `_no_split_modules` attribute at `ViltModel` class to support loading the model with ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18683/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/18683/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18683", "html_url": "https://github.com/huggingface/transformers/pull/18683", "diff_url": "https://github.com/huggingface/transformers/pull/18683.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18683.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18682
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18682/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18682/comments
https://api.github.com/repos/huggingface/transformers/issues/18682/events
https://github.com/huggingface/transformers/pull/18682
1,343,114,285
PR_kwDOCUB6oc49ZKwx
18,682
Fix repo consistency
{ "login": "lewtun", "id": 26859204, "node_id": "MDQ6VXNlcjI2ODU5MjA0", "avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewtun", "html_url": "https://github.com/lewtun", "followers_url": "https://api.github.com/users/lewtun/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,660
1,660
1,660
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/18682/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18682/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18682", "html_url": "https://github.com/huggingface/transformers/pull/18682", "diff_url": "https://github.com/huggingface/transformers/pull/18682.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18682.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18681
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18681/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18681/comments
https://api.github.com/repos/huggingface/transformers/issues/18681/events
https://github.com/huggingface/transformers/issues/18681
1,342,966,165
I_kwDOCUB6oc5QDAmV
18,681
Padding offsets mapping via `tokenizer.pad`
{ "login": "vadimirtlach", "id": 58233887, "node_id": "MDQ6VXNlcjU4MjMzODg3", "avatar_url": "https://avatars.githubusercontent.com/u/58233887?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vadimirtlach", "html_url": "https://github.com/vadimirtlach", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Maybe cc @SaulLu?", "Yes. Good idea.", "Hi @vad13irt,\r\n\r\nI wrote a small use case to try to see if we don't already have the feature you are describing. With my example the output seems to match the behavior expected by feature described:\r\n```python\r\nfrom transformers import AutoTokenizer\r\n\r\n\r\nte...
1,660
1,664
1,664
NONE
null
### Feature request While preparing the dataset for the Named Entity Recognition task, I noticed that `tokenizer.pad` does not apply padding for `offset_mapping`, which is necessary not only for the Named Entity Recognition task. <img src="https://i.ibb.co/hXRzwL1/Screenshot-11.png" alt="Screenshot-11" border="0"> ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18681/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18681/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18680
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18680/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18680/comments
https://api.github.com/repos/huggingface/transformers/issues/18680/events
https://github.com/huggingface/transformers/pull/18680
1,342,894,633
PR_kwDOCUB6oc49YbaQ
18,680
Pin `detectron2` for CircleCI tests
{ "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._", "Merge now to avoid CI failure on PRs." ]
1,660
1,662
1,660
COLLABORATOR
null
# What does this PR do? The commit `36a65a0907d90ed591479b2ebaa8b61cfa0b4ef0` in `detectron2 ` break things, see [here](https://github.com/facebookresearch/detectron2/commit/36a65a0907d90ed591479b2ebaa8b61cfa0b4ef0#comments). Ping the parent commit until that issue is fixed. Issue found by @amyeroberts
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18680/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/18680/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18680", "html_url": "https://github.com/huggingface/transformers/pull/18680", "diff_url": "https://github.com/huggingface/transformers/pull/18680.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18680.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18679
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18679/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18679/comments
https://api.github.com/repos/huggingface/transformers/issues/18679/events
https://github.com/huggingface/transformers/pull/18679
1,342,806,538
PR_kwDOCUB6oc49YIfg
18,679
Add an examples folder for code downstream tasks
{ "login": "loubnabnl", "id": 44069155, "node_id": "MDQ6VXNlcjQ0MDY5MTU1", "avatar_url": "https://avatars.githubusercontent.com/u/44069155?v=4", "gravatar_id": "", "url": "https://api.github.com/users/loubnabnl", "html_url": "https://github.com/loubnabnl", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,660
1,660
1,660
CONTRIBUTOR
null
# What does this PR do? This PR adds a folder in CodeParrot directory to store examples for downstream tasks on code models.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18679/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/18679/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18679", "html_url": "https://github.com/huggingface/transformers/pull/18679", "diff_url": "https://github.com/huggingface/transformers/pull/18679.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18679.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18678
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18678/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18678/comments
https://api.github.com/repos/huggingface/transformers/issues/18678/events
https://github.com/huggingface/transformers/pull/18678
1,342,798,428
PR_kwDOCUB6oc49YGvG
18,678
[LayoutLMv3] Add TensorFlow implementation
{ "login": "ChrisFugl", "id": 2357447, "node_id": "MDQ6VXNlcjIzNTc0NDc=", "avatar_url": "https://avatars.githubusercontent.com/u/2357447?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ChrisFugl", "html_url": "https://github.com/ChrisFugl", "followers_url": "https://api.github.com/users/Ch...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "A fix was added for the `run_tests_layoutlmv2_and_v3` tests: #18680. Merging in `main` should resolve. ", "Thank you for your comments :) I updated everything accordingly.\r\n\r\n> * The reason for skipping `test_loss_computation` ...
1,660
1,661
1,661
CONTRIBUTOR
null
Adds a TensorFlow implementation of LayoutLMv3. We have TensorFlow weights available that we have tested are able to produce the same results as the PyTorch models at microsoft/layoutlmv3-base and microsoft/layoutlmv3-large. Can you help us upload the TF weights to those locations? ## Before submitting - [ ] Thi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18678/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 4, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18678/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18678", "html_url": "https://github.com/huggingface/transformers/pull/18678", "diff_url": "https://github.com/huggingface/transformers/pull/18678.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18678.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18677
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18677/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18677/comments
https://api.github.com/repos/huggingface/transformers/issues/18677/events
https://github.com/huggingface/transformers/pull/18677
1,342,792,247
PR_kwDOCUB6oc49YFWb
18,677
Rename method to avoid clash with property
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "The layoulmv2 and layoutlmv3 tests appear to be failing due to an issue when importing from the [detectron2](https://github.com/facebookresearch/detectron2) package. \r\n\r\nWhen `from detectron2.modeling import META_ARCH_REGISTRY` i...
1,660
1,660
1,660
COLLABORATOR
null
# What does this PR do? Fixes a bug when the `self.rescale` method was being called, but `self.rescale` was set as a property. This arose after a refactoring of the feature extractors in my PR: https://github.com/huggingface/transformers/pull/18499, causing an issue in any model that had `rescale` as a property in i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18677/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18677/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18677", "html_url": "https://github.com/huggingface/transformers/pull/18677", "diff_url": "https://github.com/huggingface/transformers/pull/18677.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18677.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18676
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18676/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18676/comments
https://api.github.com/repos/huggingface/transformers/issues/18676/events
https://github.com/huggingface/transformers/pull/18676
1,342,734,086
PR_kwDOCUB6oc49X4kr
18,676
`model.tie_weights()` should be applied after `accelerator.prepare()`
{ "login": "Gladiator07", "id": 52319020, "node_id": "MDQ6VXNlcjUyMzE5MDIw", "avatar_url": "https://avatars.githubusercontent.com/u/52319020?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Gladiator07", "html_url": "https://github.com/Gladiator07", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks @Gladiator07 great work! " ]
1,660
1,660
1,660
CONTRIBUTOR
null
# What does this PR do? Weight tying should be done after the model has been moved to XLA device as mentioned on PyTorch/XLA Troubleshooting guide [here](https://github.com/pytorch/xla/blob/master/TROUBLESHOOTING.md#xla-tensor-quirks). This PR fixes this in `examples/pytorch/language-modeling/run_mlm_no_trainer.py` ex...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18676/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18676/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18676", "html_url": "https://github.com/huggingface/transformers/pull/18676", "diff_url": "https://github.com/huggingface/transformers/pull/18676.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18676.patch", "merged_at...