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/17874
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17874/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17874/comments
https://api.github.com/repos/huggingface/transformers/issues/17874/events
https://github.com/huggingface/transformers/pull/17874
1,284,144,525
PR_kwDOCUB6oc46VYau
17,874
Fix TF GPT2 `test_onnx_runtime_optimize`
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,656
1,656
1,656
COLLABORATOR
null
# What does this PR do? Fix TF GPT2 `test_onnx_runtime_optimize` by skipping 2 test classes. Current error: ``` tests/models/gpt2/test_modeling_tf_gpt2.py::TFGPT2ModelTest::test_onnx_runtime_optimize (line 372) onnxruntime.capi.onnxruntime_pybind11_state.InvalidGraph: [ONNXRuntimeError] : 10 : INVALID_GRAPH...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17874/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17874/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17874", "html_url": "https://github.com/huggingface/transformers/pull/17874", "diff_url": "https://github.com/huggingface/transformers/pull/17874.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17874.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17873
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17873/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17873/comments
https://api.github.com/repos/huggingface/transformers/issues/17873/events
https://github.com/huggingface/transformers/pull/17873
1,284,007,141
PR_kwDOCUB6oc46U6bt
17,873
[WIP] Generate docs
{ "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
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,656
1,669
1,669
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/17873/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17873/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17873", "html_url": "https://github.com/huggingface/transformers/pull/17873", "diff_url": "https://github.com/huggingface/transformers/pull/17873.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17873.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17872
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17872/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17872/comments
https://api.github.com/repos/huggingface/transformers/issues/17872/events
https://github.com/huggingface/transformers/pull/17872
1,283,923,123
PR_kwDOCUB6oc46UoSv
17,872
Fix test_inference_instance_segmentation_head
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,656
1,656
1,656
COLLABORATOR
null
# What does this PR do? Current `test_inference_instance_segmentation_head` (in `MaskFormerModelIntegrationTest`) failed in CI. The expected slice ```python [[-1.3738, -1.7725, -1.9365], [-1.5978, -1.9869, -2.1524], [-1.5796, -1.9271, -2.0940]] ``` has precision `4` and `atol` argument (`TOLERANCE`) is also `1...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17872/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17872/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17872", "html_url": "https://github.com/huggingface/transformers/pull/17872", "diff_url": "https://github.com/huggingface/transformers/pull/17872.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17872.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17871
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17871/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17871/comments
https://api.github.com/repos/huggingface/transformers/issues/17871/events
https://github.com/huggingface/transformers/pull/17871
1,283,913,156
PR_kwDOCUB6oc46UmIP
17,871
[CodeGen] support device_map="auto" for sharded checkpoints
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,656
1,656
1,656
MEMBER
null
# What does this PR do? This PR adds the `_no_split_modules` attribute in `CodeGenPreTrainedModel` to be able to load the sharded checkpoint with `device_map="auto"` cc @rooa
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17871/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17871/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17871", "html_url": "https://github.com/huggingface/transformers/pull/17871", "diff_url": "https://github.com/huggingface/transformers/pull/17871.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17871.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17870
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17870/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17870/comments
https://api.github.com/repos/huggingface/transformers/issues/17870/events
https://github.com/huggingface/transformers/pull/17870
1,283,881,713
PR_kwDOCUB6oc46UfUt
17,870
Properly get tests deps in test_fetcher
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,656
1,656
1,656
COLLABORATOR
null
# What does this PR do? With the move of the tests, the test fetcher is now improperly converting relative imports from other tests to the corresponding test files. This PR fixes that problem.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17870/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17870/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17870", "html_url": "https://github.com/huggingface/transformers/pull/17870", "diff_url": "https://github.com/huggingface/transformers/pull/17870.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17870.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17869
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17869/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17869/comments
https://api.github.com/repos/huggingface/transformers/issues/17869/events
https://github.com/huggingface/transformers/pull/17869
1,283,829,566
PR_kwDOCUB6oc46UUBT
17,869
Fix add new model like frameworks
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,656
1,656
1,656
COLLABORATOR
null
# What does this PR do? When selecting specific frameworks with `transformers-cli add-new-model-like`, all objects are still added to the main init. This is due to the change in all our inits and the command not being properly adapted. This PR will fix it!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17869/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17869/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17869", "html_url": "https://github.com/huggingface/transformers/pull/17869", "diff_url": "https://github.com/huggingface/transformers/pull/17869.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17869.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17868
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17868/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17868/comments
https://api.github.com/repos/huggingface/transformers/issues/17868/events
https://github.com/huggingface/transformers/issues/17868
1,283,824,281
I_kwDOCUB6oc5MhZqZ
17,868
Calling `generate` on a `T5ForConditionalGeneration` returns `n` tokens but `n-1` scores
{ "login": "ClementRomac", "id": 8899812, "node_id": "MDQ6VXNlcjg4OTk4MTI=", "avatar_url": "https://avatars.githubusercontent.com/u/8899812?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ClementRomac", "html_url": "https://github.com/ClementRomac", "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": "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, @ClementRomac \r\n\r\nIf you look the [config.json](https://huggingface.co/t5-small/blob/main/config.json) file of the `t5-small` model, you will see it uses `pad_token_id` as `decoder_start_token_id` (both are `0`).\r\n\r\nThe `scores` having length `len(sequence) - 1` is expected. Think it this way, \r\n\r\...
1,656
1,672
1,658
NONE
null
### System Info ```shell - `transformers` version: 4.20.1 - Platform: Linux-5.4.0-113-generic-x86_64-with-glibc2.17 - 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 insta...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17868/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17868/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17867
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17867/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17867/comments
https://api.github.com/repos/huggingface/transformers/issues/17867/events
https://github.com/huggingface/transformers/issues/17867
1,283,820,271
I_kwDOCUB6oc5MhYrv
17,867
layoutxlm model can not convert to onnx
{ "login": "githublsk", "id": 77612906, "node_id": "MDQ6VXNlcjc3NjEyOTA2", "avatar_url": "https://avatars.githubusercontent.com/u/77612906?v=4", "gravatar_id": "", "url": "https://api.github.com/users/githublsk", "html_url": "https://github.com/githublsk", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "cc @lewtun", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CO...
1,656
1,671
1,671
NONE
null
### Model description I use layoutxlm to training my data for downstream, when I convert the model which I trained to onnx by huggingface code layoutlmv2-to-onnx, it occurs below problem, can you give me some advice? it seems concat two different types causing this problem, but I do not modify any code just using run ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17867/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17867/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17866
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17866/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17866/comments
https://api.github.com/repos/huggingface/transformers/issues/17866/events
https://github.com/huggingface/transformers/pull/17866
1,283,816,730
PR_kwDOCUB6oc46URQk
17,866
Bloom Optimize operations
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I won't merge this now since I saw that it broke some slow tests, will investigate that!", "With the two proposed changes, all tests are now passing @younesbelkada :)", "Thanks a lot @NouamaneTazi !! Amazing job 🔥 ", "Let's me...
1,656
1,661
1,657
CONTRIBUTOR
null
Moved the original PR: #17759 here to check if the tests pass
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17866/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17866/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17866", "html_url": "https://github.com/huggingface/transformers/pull/17866", "diff_url": "https://github.com/huggingface/transformers/pull/17866.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17866.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17865
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17865/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17865/comments
https://api.github.com/repos/huggingface/transformers/issues/17865/events
https://github.com/huggingface/transformers/pull/17865
1,283,721,616
PR_kwDOCUB6oc46T8oB
17,865
[tests/VisionEncoderDecoder] import to_2tuple from test utils
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,656
1,656
1,656
MEMBER
null
# What does this PR do? Import to_2tuple from `testing_utils` as it's removed from `modeling_vit`file.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17865/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17865/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17865", "html_url": "https://github.com/huggingface/transformers/pull/17865", "diff_url": "https://github.com/huggingface/transformers/pull/17865.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17865.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17864
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17864/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17864/comments
https://api.github.com/repos/huggingface/transformers/issues/17864/events
https://github.com/huggingface/transformers/pull/17864
1,283,720,866
PR_kwDOCUB6oc46T8dZ
17,864
Fix Maskformer test
{ "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._", "You are right, \r\n\r\nprev (and checkpoint on Hub): `model.pixel_level_module.decoder.fpn.stem.0.weight`\r\n\r\nthis PR: `model.pixel_level_module.decoder.fpn.stem.layers.1.weight` --> Get extra `layers` attribute\r\n\r\n\r\nI will ...
1,656
1,656
1,656
COLLABORATOR
null
# What does this PR do? Fix Maskformer test `test_multi_gpu_data_parallel_forward`. Ignore the test, as the original workaround will break current checkpoints. ------ Original Attempt I know we probably want to avoid using `nn.DataParallel(model)`. But before doing so, I just tried my best to fix tests. A...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17864/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17864/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17864", "html_url": "https://github.com/huggingface/transformers/pull/17864", "diff_url": "https://github.com/huggingface/transformers/pull/17864.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17864.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17863
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17863/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17863/comments
https://api.github.com/repos/huggingface/transformers/issues/17863/events
https://github.com/huggingface/transformers/pull/17863
1,283,641,639
PR_kwDOCUB6oc46TrJC
17,863
[Flax] Fix incomplete batches in example scripts
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Just waiting to double check that the slow tests pass from [`test_flax_examples.py`](https://github.com/huggingface/transformers/blob/main/examples/flax/test_flax_examples.py) before merging. Working with @patil-suraj to verify this ...
1,656
1,658
1,658
CONTRIBUTOR
null
# What does this PR do? Currently in our Flax examples scripts, we drop the last incomplete batch during training and inference: https://github.com/huggingface/transformers/blob/09178705101b9803e7b9ea7f79a46b4c242dd4bf/examples/flax/summarization/run_summarization_flax.py#L350 We do this for two reasons: 1. Bec...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17863/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17863/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17863", "html_url": "https://github.com/huggingface/transformers/pull/17863", "diff_url": "https://github.com/huggingface/transformers/pull/17863.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17863.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17862
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17862/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17862/comments
https://api.github.com/repos/huggingface/transformers/issues/17862/events
https://github.com/huggingface/transformers/issues/17862
1,283,464,849
I_kwDOCUB6oc5MgB6R
17,862
RegexTokenizer
{ "login": "pschwllr", "id": 38880871, "node_id": "MDQ6VXNlcjM4ODgwODcx", "avatar_url": "https://avatars.githubusercontent.com/u/38880871?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pschwllr", "html_url": "https://github.com/pschwllr", "followers_url": "https://api.github.com/users/psc...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,656
1,667
1,659
NONE
null
### Feature request We would like to implement a general RegexTokenizer, which gets a regex as input and tokenizes strings according to this regex. ### Motivation In chemistry, for example, there are line notations like SMILES (http://opensmiles.org/opensmiles.html), which can be used to represent molecules and rea...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17862/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17862/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17861
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17861/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17861/comments
https://api.github.com/repos/huggingface/transformers/issues/17861/events
https://github.com/huggingface/transformers/pull/17861
1,283,358,783
PR_kwDOCUB6oc46Strf
17,861
Fix the url mistake
{ "login": "mmdjiji", "id": 25279643, "node_id": "MDQ6VXNlcjI1Mjc5NjQz", "avatar_url": "https://avatars.githubusercontent.com/u/25279643?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mmdjiji", "html_url": "https://github.com/mmdjiji", "followers_url": "https://api.github.com/users/mmdjij...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,656
1,656
1,656
CONTRIBUTOR
null
# What does this PR do? Fix the url mistake from `https://huggingface.co/docstransformers/training` to `https://huggingface.co/docs/transformers/training`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17861/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17861/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17861", "html_url": "https://github.com/huggingface/transformers/pull/17861", "diff_url": "https://github.com/huggingface/transformers/pull/17861.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17861.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17860
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17860/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17860/comments
https://api.github.com/repos/huggingface/transformers/issues/17860/events
https://github.com/huggingface/transformers/issues/17860
1,283,293,287
I_kwDOCUB6oc5MfYBn
17,860
Text generation: Unexpected behavior when input ends with newlines
{ "login": "monsieurpooh", "id": 29328114, "node_id": "MDQ6VXNlcjI5MzI4MTE0", "avatar_url": "https://avatars.githubusercontent.com/u/29328114?v=4", "gravatar_id": "", "url": "https://api.github.com/users/monsieurpooh", "html_url": "https://github.com/monsieurpooh", "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
[]
[ "Hey @monsieurpooh,\r\n\r\nSorry I can't run:\r\n\r\n```py\r\n gen_tokens = model.generate(input_ids, do_sample=specifiedDoSample, temperature=specifiedTemperature, max_length=calculated_max_length, min_length=calculated_min_length, repetition_penalty=specifiedRepetitionPenalty, bad_words_ids=badWordsTokens)\r\n...
1,656
1,669
1,659
NONE
null
### System Info ```shell - `transformers` version: 4.15.0 - Platform: Windows-10-10.0.19041-SP0 - Python version: 3.8.5 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensorflow version (GPU?): 2.5.1 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: no...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17860/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17860/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17859
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17859/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17859/comments
https://api.github.com/repos/huggingface/transformers/issues/17859/events
https://github.com/huggingface/transformers/issues/17859
1,283,043,014
I_kwDOCUB6oc5Mea7G
17,859
Bad readme for HF model codeparrot/codeparrot-small
{ "login": "shi-kejian", "id": 32584185, "node_id": "MDQ6VXNlcjMyNTg0MTg1", "avatar_url": "https://avatars.githubusercontent.com/u/32584185?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shi-kejian", "html_url": "https://github.com/shi-kejian", "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!\r\n\r\nThanks for reporting. We now have a [discussion and PR feature](https://huggingface.co/codeparrot/codeparrot-small/discussions) on the hub, meaning that you can directly open an issue on the hub for a particular repository. So feel free to ping them there!", "Thanks for reporting - it is fixed now!", ...
1,656
1,656
1,656
NONE
null
### System Info ```shell Not system-dependent https://huggingface.co/codeparrot/codeparrot-small The README is not updated ``` ### Who can help? _No response_ ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17859/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17859/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17858
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17858/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17858/comments
https://api.github.com/repos/huggingface/transformers/issues/17858/events
https://github.com/huggingface/transformers/pull/17858
1,282,995,164
PR_kwDOCUB6oc46Rjtm
17,858
Add type hints for gptneox models
{ "login": "willtai", "id": 20279061, "node_id": "MDQ6VXNlcjIwMjc5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/20279061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/willtai", "html_url": "https://github.com/willtai", "followers_url": "https://api.github.com/users/willta...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,656
1,656
1,656
CONTRIBUTOR
null
# What does this PR do? Adding missing type hints for `GPTNeoxForCausalLM` and `GPTNeoXModel` as referenced in this issue.(https://github.com/huggingface/transformers/issues/16059#issuecomment-1164898772). ## Before submitting - [x] Did you read the [contributor guideline](https://github.com/huggingface/transforme...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17858/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17858/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17858", "html_url": "https://github.com/huggingface/transformers/pull/17858", "diff_url": "https://github.com/huggingface/transformers/pull/17858.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17858.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17857
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17857/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17857/comments
https://api.github.com/repos/huggingface/transformers/issues/17857/events
https://github.com/huggingface/transformers/pull/17857
1,282,874,086
PR_kwDOCUB6oc46RKTj
17,857
TF: XLA beam search + most generation-compatible models are now also XLA-generate-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._", "Very cool! Can we try it out for at least on Encoder-Decoder architecture as well (just to know that this code holds true here)?", "@patrickvonplaten @Rocketknight1 now with encoder-decoder tests, and ready for review -- I was work...
1,656
1,679
1,656
MEMBER
null
# What does this PR do? The much-awaited PR -- beam search is now XLA compatible. GPT2 is the only model with XLA beam search tests, more models will follow in subsequent PRs 🎊 Preliminary tests on my machine shows that XLA beam search on GPU is ~26x faster (greedy search and sample are ~30x faster). Slow tests...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17857/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17857/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17857", "html_url": "https://github.com/huggingface/transformers/pull/17857", "diff_url": "https://github.com/huggingface/transformers/pull/17857.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17857.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17856
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17856/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17856/comments
https://api.github.com/repos/huggingface/transformers/issues/17856/events
https://github.com/huggingface/transformers/pull/17856
1,282,779,917
PR_kwDOCUB6oc46Q1v1
17,856
Properly calculate the total train iterations and recalculate num epochs in no_trainer scripts
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "id": 1936351150, "node_id": "MDU6TGFiZWwxOTM2MzUxMTUw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Examples", "name": "Examples", "color": "d4c5f9", "default": false, "description": "Which is related to examples in general" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger new timings when compared to old. Main decreases repeatedly were seen between image_classification, swag, and squad (though squad is an iffy one. the previous two I can guarantee):\r\n\r\n<html><body>\r\n<!--StartFragment-->...
1,656
1,656
1,656
CONTRIBUTOR
null
# What does this PR do? This PR fixes a situation where your `max_train_steps` was less than that of a single epoch, but yet the script would still continue through the entire first epoch due to how the number of batches recalculation was performed. ## Before submitting - [ ] This PR fixes a typo or improves th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17856/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17856/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17856", "html_url": "https://github.com/huggingface/transformers/pull/17856", "diff_url": "https://github.com/huggingface/transformers/pull/17856.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17856.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17855
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17855/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17855/comments
https://api.github.com/repos/huggingface/transformers/issues/17855/events
https://github.com/huggingface/transformers/issues/17855
1,282,767,110
I_kwDOCUB6oc5MdXkG
17,855
LayoutLMv2 training on sagemaker error: undefined value has_torch_function_variadic
{ "login": "Natlem", "id": 4445315, "node_id": "MDQ6VXNlcjQ0NDUzMTU=", "avatar_url": "https://avatars.githubusercontent.com/u/4445315?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Natlem", "html_url": "https://github.com/Natlem", "followers_url": "https://api.github.com/users/Natlem/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
[]
[ "cc @philschmid (hope I am tagging correctly)", "@Natlem could you try adding `debugger_hook_config=False` to the `HuggingFace` estimator? \r\n\r\n```python\r\n huggingface_estimator = HuggingFace(entry_point='train.py',\r\n source_dir='scripts',\r\n ...
1,656
1,664
1,656
NONE
null
### System Info ```shell transformer: 4.17.0 torch: 1.10.2 Platform: Sagemaker Deep Learning Container ``` ### Who can help? @NielsRogge ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17855/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17855/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17854
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17854/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17854/comments
https://api.github.com/repos/huggingface/transformers/issues/17854/events
https://github.com/huggingface/transformers/pull/17854
1,282,758,247
PR_kwDOCUB6oc46QxIR
17,854
Fix Splinter test
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,656
1,656
1,656
COLLABORATOR
null
# What does this PR do? `test_multi_gpu_data_parallel_forward` is not mean to run for `SplinterForQuestionAnswering`, due to the number of question tokens might be different on different replicas. This PR skips this test for `SplinterForQuestionAnswering`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17854/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17854/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17854", "html_url": "https://github.com/huggingface/transformers/pull/17854", "diff_url": "https://github.com/huggingface/transformers/pull/17854.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17854.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17853
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17853/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17853/comments
https://api.github.com/repos/huggingface/transformers/issues/17853/events
https://github.com/huggingface/transformers/issues/17853
1,282,657,094
I_kwDOCUB6oc5Mc8tG
17,853
Fail when using pipeline for the inference of DeBERTa-Vx ORTModels
{ "login": "JingyaHuang", "id": 44135271, "node_id": "MDQ6VXNlcjQ0MTM1Mjcx", "avatar_url": "https://avatars.githubusercontent.com/u/44135271?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JingyaHuang", "html_url": "https://github.com/JingyaHuang", "followers_url": "https://api.github.com/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @JingyaHuang ,\r\n\r\nThe use case seems solid. Ideally we should be able to run the code as-is. But as far as I understand it's not really doable because `token_type_ids` **are** used in some models but not others, so finding a all covering solution is tricky.\r\n\r\nAm I correct ?\r\n\r\nThen, for adding the ...
1,656
1,661
1,661
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.21.0.dev0 - Platform: Linux-5.4.0-1080-aws-x86_64-with-glibc2.17 - Python version: 3.8.13 - Huggingface_hub version: 0.7.0 - PyTorch version (GPU?): 1.11.0+cu102 (True) ``` ### Who can help? @LysandreJik @Narsil ### Reproduction ### Context ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17853/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17853/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17852
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17852/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17852/comments
https://api.github.com/repos/huggingface/transformers/issues/17852/events
https://github.com/huggingface/transformers/pull/17852
1,282,656,689
PR_kwDOCUB6oc46QbHA
17,852
Index RNG states by global rank in saves
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,656
1,656
1,656
COLLABORATOR
null
# What does this PR do? As pointed out in #17829, in a multi-node training the `Trainer` saves the RNG states with the same filenames in the various nodes. This causes problems when the nodes share the same file system, so it's easier to just save each file indexed by global rank instead. Fixes #17829
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17852/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17852/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17852", "html_url": "https://github.com/huggingface/transformers/pull/17852", "diff_url": "https://github.com/huggingface/transformers/pull/17852.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17852.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17851
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17851/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17851/comments
https://api.github.com/repos/huggingface/transformers/issues/17851/events
https://github.com/huggingface/transformers/issues/17851
1,282,647,232
I_kwDOCUB6oc5Mc6TA
17,851
Add `trace_device` argument to `smp.DistributedModel` call in `Trainer()`
{ "login": "joehoover", "id": 11277670, "node_id": "MDQ6VXNlcjExMjc3Njcw", "avatar_url": "https://avatars.githubusercontent.com/u/11277670?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joehoover", "html_url": "https://github.com/joehoover", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,656
1,659
1,659
NONE
null
### Feature request Allow `trace_device` to be passed to `smp.DistributedModel` so that `Trainer` jobs that use SageMaker Model Parallel can support models that exceed a single GPU's memory. Tagging @philschmid and @patil-suraj, because I think you both are involved in the SageMaker work? ### Motivation Th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17851/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17851/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17850
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17850/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17850/comments
https://api.github.com/repos/huggingface/transformers/issues/17850/events
https://github.com/huggingface/transformers/issues/17850
1,282,623,445
I_kwDOCUB6oc5Mc0fV
17,850
ViTForImageClassification
{ "login": "lyutovad", "id": 54598054, "node_id": "MDQ6VXNlcjU0NTk4MDU0", "avatar_url": "https://avatars.githubusercontent.com/u/54598054?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lyutovad", "html_url": "https://github.com/lyutovad", "followers_url": "https://api.github.com/users/lyu...
[]
closed
false
null
[]
[ "@lyutovad What's the issue?", "Please follow the template when opening issues." ]
1,655
1,656
1,656
NONE
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17850/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17850/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17849
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17849/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17849/comments
https://api.github.com/repos/huggingface/transformers/issues/17849/events
https://github.com/huggingface/transformers/pull/17849
1,282,583,371
PR_kwDOCUB6oc46QK-_
17,849
Fix: torch.utils.checkpoint import error.
{ "login": "kumapo", "id": 70637, "node_id": "MDQ6VXNlcjcwNjM3", "avatar_url": "https://avatars.githubusercontent.com/u/70637?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kumapo", "html_url": "https://github.com/kumapo", "followers_url": "https://api.github.com/users/kumapo/followers", ...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,655
1,656
1,656
CONTRIBUTOR
null
# What does this PR do? missing import statements still happens on training deberta models with gradient checkpointing. Fixes #17848 ## 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17849/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17849/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17849", "html_url": "https://github.com/huggingface/transformers/pull/17849", "diff_url": "https://github.com/huggingface/transformers/pull/17849.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17849.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17848
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17848/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17848/comments
https://api.github.com/repos/huggingface/transformers/issues/17848/events
https://github.com/huggingface/transformers/issues/17848
1,282,581,093
I_kwDOCUB6oc5McqJl
17,848
Raise AttributeError on training deberta models with gradient checkpointing
{ "login": "kumapo", "id": 70637, "node_id": "MDQ6VXNlcjcwNjM3", "avatar_url": "https://avatars.githubusercontent.com/u/70637?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kumapo", "html_url": "https://github.com/kumapo", "followers_url": "https://api.github.com/users/kumapo/followers", ...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[]
1,655
1,656
1,656
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.20.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.11.0+cu113 (True) - Tensorflow version (GPU?): 2.8.2 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17848/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17848/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17847
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17847/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17847/comments
https://api.github.com/repos/huggingface/transformers/issues/17847/events
https://github.com/huggingface/transformers/pull/17847
1,282,535,390
PR_kwDOCUB6oc46QAd8
17,847
Troubleshooting.mdx Translation Italian
{ "login": "F02934", "id": 56677617, "node_id": "MDQ6VXNlcjU2Njc3NjE3", "avatar_url": "https://avatars.githubusercontent.com/u/56677617?v=4", "gravatar_id": "", "url": "https://api.github.com/users/F02934", "html_url": "https://github.com/F02934", "followers_url": "https://api.github.com/users/F02934/fo...
[]
closed
false
null
[]
[ "@F02934 Hi, I remade the translation because the previous PR had problem with the commits history. You can check if everything good with the translation and with the toctree", "Hi @F02934! Sorry for the late reply.\r\n\r\nNo worries! You simply have to edit the _toctree file, removing the empty sections, and add...
1,655
1,661
1,661
CONTRIBUTOR
null
# What does this PR do? Fixes # (issue) Translation of Troubleshooting.mdx (english) to Italian and Update toctree #17459 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). ## Who can review? Anyone in the community is free to...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17847/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17847/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17847", "html_url": "https://github.com/huggingface/transformers/pull/17847", "diff_url": "https://github.com/huggingface/transformers/pull/17847.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17847.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17846
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17846/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17846/comments
https://api.github.com/repos/huggingface/transformers/issues/17846/events
https://github.com/huggingface/transformers/pull/17846
1,282,497,472
PR_kwDOCUB6oc46P4CA
17,846
Update modeling_cvt.py type hints
{ "login": "F02934", "id": 56677617, "node_id": "MDQ6VXNlcjU2Njc3NjE3", "avatar_url": "https://avatars.githubusercontent.com/u/56677617?v=4", "gravatar_id": "", "url": "https://api.github.com/users/F02934", "html_url": "https://github.com/F02934", "followers_url": "https://api.github.com/users/F02934/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,655
1,655
1,655
CONTRIBUTOR
null
As shown in the colab notebook I added the missing type hints for " CvtForImageClassification CvtModel " # What does this PR do? Add missing type hints for CTV pytorch. #16059 following [this Colab notebook](https://colab.research.google.com/drive/1EvZTslb50yfRqIcXjCZFrbod4HrPdA0G?usp=sharing) Fixes # (issu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17846/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17846/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17846", "html_url": "https://github.com/huggingface/transformers/pull/17846", "diff_url": "https://github.com/huggingface/transformers/pull/17846.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17846.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17845
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17845/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17845/comments
https://api.github.com/repos/huggingface/transformers/issues/17845/events
https://github.com/huggingface/transformers/pull/17845
1,282,433,797
PR_kwDOCUB6oc46PqEs
17,845
add MobileNetV2 model
{ "login": "hollance", "id": 346853, "node_id": "MDQ6VXNlcjM0Njg1Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/346853?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hollance", "html_url": "https://github.com/hollance", "followers_url": "https://api.github.com/users/hollanc...
[ { "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17845). All of your documentation changes will be reflected on that endpoint.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17845). All of your documentation changes will be re...
1,655
1,668
1,668
CONTRIBUTOR
null
# What does this PR do? Adds MobileNetV2 to the Transformers library. This includes an image classification head and a basic DeepLabV3+ semantic segmentation head. <!-- 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 w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17845/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17845/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17845", "html_url": "https://github.com/huggingface/transformers/pull/17845", "diff_url": "https://github.com/huggingface/transformers/pull/17845.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17845.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17844
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17844/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17844/comments
https://api.github.com/repos/huggingface/transformers/issues/17844/events
https://github.com/huggingface/transformers/pull/17844
1,282,433,411
PR_kwDOCUB6oc46Pp_L
17,844
Update run_mlm.py
{ "login": "Muhtasham", "id": 20128202, "node_id": "MDQ6VXNlcjIwMTI4MjAy", "avatar_url": "https://avatars.githubusercontent.com/u/20128202?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Muhtasham", "html_url": "https://github.com/Muhtasham", "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_17844). All of your documentation changes will be reflected on that endpoint.", "Your PR now touches 518 files, which is not what you intended probably. Make sure to use the specific versions of `black` we do by doing `pip ...
1,655
1,660
1,660
NONE
null
made comments consistent with run_glue.py # 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17844/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17844/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17844", "html_url": "https://github.com/huggingface/transformers/pull/17844", "diff_url": "https://github.com/huggingface/transformers/pull/17844.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17844.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17843
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17843/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17843/comments
https://api.github.com/repos/huggingface/transformers/issues/17843/events
https://github.com/huggingface/transformers/pull/17843
1,282,425,039
PR_kwDOCUB6oc46PoJe
17,843
[Flax] Add remat (gradient checkpointing)
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Is there an inconvenient in adding it to all layers?\r\n\r\nIn my case I used it only on transformers blocks (attention + feed forward).", "> Is there an inconvenient in adding it to all layers?\r\n\r\nBy wrapping `FlaxBertLayer` i...
1,655
1,656
1,656
CONTRIBUTOR
null
# What does this PR do? Adds gradient checkpointing in Flax (_c.f._ #17399). The API currently takes the form of a method: ```python from transformers import BertConfig, FlaxBertModel model = FlaxBertModel(BertConfig()) model.enable_gradient_checkpointing() ``` Note: checkpointing has currently only been...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17843/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17843/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17843", "html_url": "https://github.com/huggingface/transformers/pull/17843", "diff_url": "https://github.com/huggingface/transformers/pull/17843.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17843.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17842
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17842/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17842/comments
https://api.github.com/repos/huggingface/transformers/issues/17842/events
https://github.com/huggingface/transformers/pull/17842
1,282,421,369
PR_kwDOCUB6oc46PnV2
17,842
Fix FlaxBigBirdEmbeddings
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I will merge this PR today." ]
1,655
1,656
1,656
COLLABORATOR
null
# What does this PR do? Current `FlaxBigBirdEmbeddings` applies layer norm before dropout, while `BigBirdEmbeddings` and Google's original `BigBird` applies dropout first. This PR fixes this inconsistency. Flax (layernorm --> dropout) https://github.com/huggingface/transformers/blob/6f29029b05df221c0c37fd2e8...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17842/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17842/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17842", "html_url": "https://github.com/huggingface/transformers/pull/17842", "diff_url": "https://github.com/huggingface/transformers/pull/17842.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17842.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17841
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17841/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17841/comments
https://api.github.com/repos/huggingface/transformers/issues/17841/events
https://github.com/huggingface/transformers/pull/17841
1,282,416,650
PR_kwDOCUB6oc46PmTv
17,841
Fix broken test for models with batchnorm
{ "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
[]
[ "Related to #17427, cc @amyeroberts .", "_The documentation is not available anymore as the PR was closed or merged._", "🧠 ", "Give @amyeroberts the brain emoji for that one - she identified the whole problem, I just fixed the test!" ]
1,655
1,656
1,655
MEMBER
null
One of the Keras tests assumed that fitting a model for one iteration with a learning rate of zero would not change any weights. This is not true for `BatchNorm`, which updates its running means and variances regardless! As a result, the model after the iteration had slightly different outputs, which caused the test to...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17841/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17841/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17841", "html_url": "https://github.com/huggingface/transformers/pull/17841", "diff_url": "https://github.com/huggingface/transformers/pull/17841.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17841.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17840
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17840/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17840/comments
https://api.github.com/repos/huggingface/transformers/issues/17840/events
https://github.com/huggingface/transformers/pull/17840
1,282,237,396
PR_kwDOCUB6oc46O-53
17,840
Fix an error message in `BigBird`
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,655
1,655
1,655
COLLABORATOR
null
# What does this PR do? Fix an error message in `BigBird` model file, so we can see the actual/correct difference.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17840/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17840/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17840", "html_url": "https://github.com/huggingface/transformers/pull/17840", "diff_url": "https://github.com/huggingface/transformers/pull/17840.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17840.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17839
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17839/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17839/comments
https://api.github.com/repos/huggingface/transformers/issues/17839/events
https://github.com/huggingface/transformers/pull/17839
1,282,224,530
PR_kwDOCUB6oc46O8CL
17,839
CLI: handle multimodal inputs
{ "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,655
1,656
1,656
MEMBER
null
# What does this PR do? Adds support for multimodal inputs (for models like CLIP), and adds the special input case for Wav2Vec2 (different audio input name).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17839/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17839/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17839", "html_url": "https://github.com/huggingface/transformers/pull/17839", "diff_url": "https://github.com/huggingface/transformers/pull/17839.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17839.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17838
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17838/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17838/comments
https://api.github.com/repos/huggingface/transformers/issues/17838/events
https://github.com/huggingface/transformers/issues/17838
1,282,189,702
I_kwDOCUB6oc5MbKmG
17,838
Get different weights from model.get_input_embeddings()
{ "login": "heya5", "id": 27731754, "node_id": "MDQ6VXNlcjI3NzMxNzU0", "avatar_url": "https://avatars.githubusercontent.com/u/27731754?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heya5", "html_url": "https://github.com/heya5", "followers_url": "https://api.github.com/users/heya5/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
[]
[ "Sorry, I made a mistake. I got answer from the documents.\r\n\r\n> config (:class:`~transformers.GPT2Config`): Model configuration class with all the parameters of the model.\r\n Initializing with a config file does not load the weights associated with the model, only the\r\n configuration. Check out...
1,655
1,655
1,655
CONTRIBUTOR
null
### System Info ```shell @patil-suraj, @patrickvonplaten - `transformers` version: 4.10.0 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.8.3 - PyTorch version (GPU?): 1.11.0 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17838/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17838/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17837
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17837/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17837/comments
https://api.github.com/repos/huggingface/transformers/issues/17837/events
https://github.com/huggingface/transformers/pull/17837
1,282,122,127
PR_kwDOCUB6oc46OlUo
17,837
BLOOM - Fix mask creation by default
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This happens if user decides to run `model(input_ids=some_tensor)`, which originally happened during prototyping (in a notebook).\r\n\r\nIt is indeed a niche case;\r\nHowever, the fact that mask _is_ optional can hint other users to ...
1,655
1,656
1,656
CONTRIBUTOR
null
- fix niche case where the mask is not fed to the forward function cc @justheuristic
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17837/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17837/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17837", "html_url": "https://github.com/huggingface/transformers/pull/17837", "diff_url": "https://github.com/huggingface/transformers/pull/17837.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17837.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17836
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17836/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17836/comments
https://api.github.com/repos/huggingface/transformers/issues/17836/events
https://github.com/huggingface/transformers/pull/17836
1,282,068,518
PR_kwDOCUB6oc46OZsj
17,836
replace `Python-base tokenizer` by `non-fast tokenizer` in error message
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,655
1,655
1,655
CONTRIBUTOR
null
# What does this PR do? As one user rightly pointed out in an issue #17809, when a user receives the error `"tokens() is not available when using Python-based tokenizers"` it is not obvious that a python-based tokenizer refers to a tokenizer class without the term Fast at the end. I therefore propose to change t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17836/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17836/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17836", "html_url": "https://github.com/huggingface/transformers/pull/17836", "diff_url": "https://github.com/huggingface/transformers/pull/17836.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17836.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17835
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17835/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17835/comments
https://api.github.com/repos/huggingface/transformers/issues/17835/events
https://github.com/huggingface/transformers/issues/17835
1,281,983,737
I_kwDOCUB6oc5MaYT5
17,835
Batch mismatch in the given course example
{ "login": "ahadda5", "id": 21275079, "node_id": "MDQ6VXNlcjIxMjc1MDc5", "avatar_url": "https://avatars.githubusercontent.com/u/21275079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ahadda5", "html_url": "https://github.com/ahadda5", "followers_url": "https://api.github.com/users/ahadda...
[ { "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
[]
[ "restarted jetbrains and it worked! hmmmmm. \r\ncan i delete this issue. " ]
1,655
1,655
1,655
NONE
null
### System Info ```shell torch 1.11.0 cuda 0.13 transformers 4.20.1 linux box , ubuntu 20.04 ``` ### Who can help? @LysandreJik ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17835/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17835/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17834
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17834/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17834/comments
https://api.github.com/repos/huggingface/transformers/issues/17834/events
https://github.com/huggingface/transformers/issues/17834
1,281,942,454
I_kwDOCUB6oc5MaOO2
17,834
Issue in wav2vec2ForPretraining
{ "login": "annihi1ation", "id": 40926532, "node_id": "MDQ6VXNlcjQwOTI2NTMy", "avatar_url": "https://avatars.githubusercontent.com/u/40926532?v=4", "gravatar_id": "", "url": "https://api.github.com/users/annihi1ation", "html_url": "https://github.com/annihi1ation", "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
[]
[ "Hey @annihi1ation,\r\n\r\nWhat `transfromres` version are you using?", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines...
1,655
1,659
1,659
NONE
null
### System Info ```shell In the example mentioned in the doc, when I print the loss, it is "None" ``` ### Who can help? @patrickvonplaten ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, .....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17834/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17834/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17833
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17833/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17833/comments
https://api.github.com/repos/huggingface/transformers/issues/17833/events
https://github.com/huggingface/transformers/issues/17833
1,281,838,529
I_kwDOCUB6oc5MZ03B
17,833
LayoutLMv3Model output shape is different
{ "login": "pocca2048", "id": 10275397, "node_id": "MDQ6VXNlcjEwMjc1Mzk3", "avatar_url": "https://avatars.githubusercontent.com/u/10275397?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pocca2048", "html_url": "https://github.com/pocca2048", "followers_url": "https://api.github.com/users/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi,\r\n\r\nThe sequence length of the last hidden states of LayoutLMv3 equals the number of text tokens + image tokens.\r\n\r\nIf you have a text of 208 tokens (as is the case in the code example above), LayoutLMv3 also appends 197 image tokens to it. There are 197 image tokens because `LayoutLMv3Processor` resize...
1,655
1,659
1,659
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.20.1 - Platform: Linux-4.4.0-62-generic-x86_64-with-glibc2.10 - Python version: 3.8.8 - Huggingface_hub version: 0.2.1 - PyTorch version (GPU?): 1.10.0+cu102 (True) - Tensorflow version (GPU?): 2.7.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (N...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17833/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17833/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17832
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17832/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17832/comments
https://api.github.com/repos/huggingface/transformers/issues/17832/events
https://github.com/huggingface/transformers/issues/17832
1,281,770,782
I_kwDOCUB6oc5MZkUe
17,832
Multi-modal VisualBERT can be used for classification task?
{ "login": "karndeepsingh", "id": 49562460, "node_id": "MDQ6VXNlcjQ5NTYyNDYw", "avatar_url": "https://avatars.githubusercontent.com/u/49562460?v=4", "gravatar_id": "", "url": "https://api.github.com/users/karndeepsingh", "html_url": "https://github.com/karndeepsingh", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nVisualBERT can probably be used for this, but I'd recommend checking out [ViLT](https://huggingface.co/docs/transformers/model_doc/vilt), which is a very simple extension of ViT (or BERT) for multimodal tasks. The benefit of ViLT over VisualBERT is that one doesn't need to prepare image embeddings, as t...
1,655
1,659
1,659
NONE
null
Hi, I have images and descriptions for products and want to train multi-modal by using Image and text embeddings. I just came across VisualBert model and was wondering whether we can use VisualBERT for classification task taking image and text as an input. Also, if any other multi-modal algorithm can be recommende...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17832/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17832/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17831
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17831/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17831/comments
https://api.github.com/repos/huggingface/transformers/issues/17831/events
https://github.com/huggingface/transformers/issues/17831
1,281,245,901
I_kwDOCUB6oc5MXkLN
17,831
DisjunctiveConstraint fails in corner case
{ "login": "boy2000-007man", "id": 4197489, "node_id": "MDQ6VXNlcjQxOTc0ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/4197489?v=4", "gravatar_id": "", "url": "https://api.github.com/users/boy2000-007man", "html_url": "https://github.com/boy2000-007man", "followers_url": "https://api.gith...
[ { "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
[]
[ "Interesting edge case! @cwkeam has you encountered this before?", "Hey @boy2000-007man,\r\n\r\nSorry to reply so late here. I'm a bit hesitant to add so much new code. Could you maybe show a case with input strings and generate and how the current implementation fails? E.g. above I see with some abstract numbers...
1,655
1,660
1,660
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.20.1 - Platform: Windows-10-10.0.19044-SP0 - Python version: 3.8.12 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.11.0 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not insta...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17831/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/17831/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17830
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17830/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17830/comments
https://api.github.com/repos/huggingface/transformers/issues/17830/events
https://github.com/huggingface/transformers/issues/17830
1,281,204,728
I_kwDOCUB6oc5MXaH4
17,830
hf_BigBird failing on torchdynamo
{ "login": "shingjan", "id": 11846349, "node_id": "MDQ6VXNlcjExODQ2MzQ5", "avatar_url": "https://avatars.githubusercontent.com/u/11846349?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shingjan", "html_url": "https://github.com/shingjan", "followers_url": "https://api.github.com/users/shi...
[ { "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 @shingjan \r\n\r\nThe error message is very strange as it says `they are params: (1, 12) vs. indices: (1, 12)`, so it should be identical.\r\nSo far I am not able to reproduce as the installation of `benchmark` and `torchdynamo` gives several errors.\r\n\r\nCould you try to identity the input that is passed to ...
1,655
1,659
1,659
NONE
null
### System Info ```shell - `transformers` version: 4.12.1 - Platform: Linux-5.13.0-44-generic-x86_64-with-glibc2.17 - Python version: 3.8.13 - PyTorch version (GPU?): 1.13.0.dev20220609 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17830/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17830/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17829
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17829/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17829/comments
https://api.github.com/repos/huggingface/transformers/issues/17829/events
https://github.com/huggingface/transformers/issues/17829
1,280,866,085
I_kwDOCUB6oc5MWHcl
17,829
RNG states in checkpoint corrupted
{ "login": "jglaser", "id": 1899768, "node_id": "MDQ6VXNlcjE4OTk3Njg=", "avatar_url": "https://avatars.githubusercontent.com/u/1899768?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jglaser", "html_url": "https://github.com/jglaser", "followers_url": "https://api.github.com/users/jglaser/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[]
1,655
1,656
1,656
CONTRIBUTOR
null
### System Info ```shell transformers-cli env WARNING:tensorflow:From /autofs/nccs-svm1_proj/bif136/summit-env/lib/python3.9/site-packages/transformers/commands/env.py:52: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version. Instructions for updating: ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17829/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17829/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17828
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17828/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17828/comments
https://api.github.com/repos/huggingface/transformers/issues/17828/events
https://github.com/huggingface/transformers/pull/17828
1,280,801,930
PR_kwDOCUB6oc46J_3a
17,828
Italian/model sharing
{ "login": "mfumanelli", "id": 53374883, "node_id": "MDQ6VXNlcjUzMzc0ODgz", "avatar_url": "https://avatars.githubusercontent.com/u/53374883?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfumanelli", "html_url": "https://github.com/mfumanelli", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,655
1,658
1,658
CONTRIBUTOR
null
# What does this PR do? Italian translation of model_sharing.mdx See issue: [17459](https://github.com/huggingface/transformers/issues/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](...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17828/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17828/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17828", "html_url": "https://github.com/huggingface/transformers/pull/17828", "diff_url": "https://github.com/huggingface/transformers/pull/17828.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17828.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17827
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17827/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17827/comments
https://api.github.com/repos/huggingface/transformers/issues/17827/events
https://github.com/huggingface/transformers/pull/17827
1,280,641,167
PR_kwDOCUB6oc46JcDE
17,827
Update type hints modeling_yoso.py
{ "login": "F02934", "id": 56677617, "node_id": "MDQ6VXNlcjU2Njc3NjE3", "avatar_url": "https://avatars.githubusercontent.com/u/56677617?v=4", "gravatar_id": "", "url": "https://api.github.com/users/F02934", "html_url": "https://github.com/F02934", "followers_url": "https://api.github.com/users/F02934/fo...
[]
closed
false
null
[]
[ "HI @Rocketknight1 this should be it, you can check if everything is good. If there's some problem I will resolve it tonight!", "_The documentation is not available anymore as the PR was closed or merged._", "Nope, this is perfect. Thanks for the PR, and sorry for the confusion with the last one!" ]
1,655
1,655
1,655
CONTRIBUTOR
null
# What does this PR do? Type hints for modelling yoso PYTORCH #16059 Fixes # (issue) ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/ma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17827/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17827/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17827", "html_url": "https://github.com/huggingface/transformers/pull/17827", "diff_url": "https://github.com/huggingface/transformers/pull/17827.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17827.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17826
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17826/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17826/comments
https://api.github.com/repos/huggingface/transformers/issues/17826/events
https://github.com/huggingface/transformers/pull/17826
1,280,629,645
PR_kwDOCUB6oc46JZa5
17,826
Add Jukebox model (replaces #16875)
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" }, { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTY...
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": "...
[ "Replaces (#16875) ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17826). All of your documentation changes will be reflected on that endpoint.", "Okay, the `1b lyrics` and `5b lyrics` match the original code. Just need refactoring to have better variable names and...
1,655
1,668
1,668
COLLABORATOR
null
This is a draft pull request. # What does this PR do? This PR will progressively add the [Jukebox](https://openai.com/blog/jukebox/) model to the hub. It is linked to [#16870](https://github.com/huggingface/transformers/issues/16870). # Currently planned steps (WIP) - [x] Create template files with `transformeres...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17826/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/17826/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17826", "html_url": "https://github.com/huggingface/transformers/pull/17826", "diff_url": "https://github.com/huggingface/transformers/pull/17826.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17826.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17825
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17825/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17825/comments
https://api.github.com/repos/huggingface/transformers/issues/17825/events
https://github.com/huggingface/transformers/pull/17825
1,280,604,477
PR_kwDOCUB6oc46JTrk
17,825
[Closed - code changes not shown on GH for unknown reason] replace `Python-base tokenizer` by `non-fast tokenizer` in error message
{ "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_17825). All of your documentation changes will be reflected on that endpoint." ]
1,655
1,655
1,655
CONTRIBUTOR
null
# What does this PR do? As one user rightly pointed out in an issue #17809, when a user receives the V error it is not obvious that a python-based tokenizer refers to a tokenizer class without the term Fast at the end. I therefore propose to change the error messages using this term to refer to the term fast whi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17825/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17825/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17825", "html_url": "https://github.com/huggingface/transformers/pull/17825", "diff_url": "https://github.com/huggingface/transformers/pull/17825.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17825.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17824
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17824/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17824/comments
https://api.github.com/repos/huggingface/transformers/issues/17824/events
https://github.com/huggingface/transformers/pull/17824
1,280,585,309
PR_kwDOCUB6oc46JPW9
17,824
fix type of None special tokens in not verbose mode (duplicate of #17797)
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Duplicate. Closing in favor of #17797" ]
1,655
1,655
1,655
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/17824/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17824/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17824", "html_url": "https://github.com/huggingface/transformers/pull/17824", "diff_url": "https://github.com/huggingface/transformers/pull/17824.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17824.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17823
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17823/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17823/comments
https://api.github.com/repos/huggingface/transformers/issues/17823/events
https://github.com/huggingface/transformers/pull/17823
1,280,391,074
PR_kwDOCUB6oc46Ikkf
17,823
BLOOM minor changes on tokenizer
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "We may merge this at the same time as https://github.com/huggingface/transformers/pull/17837 to make it a patch release of minor fixes", "Let's not add a new attribute and change the common tests for one model only. You can overrid...
1,655
1,655
1,655
CONTRIBUTOR
null
# What does this PR do? - Attempts to fix minor issues with the BloomTokenizer - Remove unused args - Added a new attribute on `TokenizerTesterMixin` for models that are not agnostic to sequence length (typically models that use ALiBi positional embeddings) Still need to discuss if it is worth it to force the p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17823/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17823/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17823", "html_url": "https://github.com/huggingface/transformers/pull/17823", "diff_url": "https://github.com/huggingface/transformers/pull/17823.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17823.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17822
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17822/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17822/comments
https://api.github.com/repos/huggingface/transformers/issues/17822/events
https://github.com/huggingface/transformers/pull/17822
1,280,110,139
PR_kwDOCUB6oc46HnJp
17,822
Use higher value for hidden_size in Flax BigBird test
{ "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._", "@patil-suraj If you have one minute to review this one, I can merge it today 😄 🙏 but not urgent" ]
1,655
1,656
1,656
COLLABORATOR
null
# What does this PR do? #17658 changed `hidden_size` from `32` to `4` in `FlaxBigBirdModelTester`, which cause the PT/Flax difference increased by ~ 50 times. This PR changes it back (but keep other changes untouched). We can therefore use `1e-5` instead of `5e-5`. (`hidden_size=4` with `num_attention_heads=2` is...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17822/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17822/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17822", "html_url": "https://github.com/huggingface/transformers/pull/17822", "diff_url": "https://github.com/huggingface/transformers/pull/17822.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17822.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17821
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17821/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17821/comments
https://api.github.com/repos/huggingface/transformers/issues/17821/events
https://github.com/huggingface/transformers/pull/17821
1,280,054,119
PR_kwDOCUB6oc46Ha-R
17,821
Add VideoMAE
{ "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
[]
[ "@NielsRogge do you have any ETA on this feature? I am developing a video classification fine-tuning framework, would love to use this model if it gets merged into main!\r\n\r\nCurrently only video model is PerceiverIO, right?", "There seems to remain an issue with the docs:\r\n\r\n```\r\nTraceback (most recent c...
1,655
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? This PR adds [VideoMAE](https://github.com/MCG-NJU/VideoMAE), which extends [ViTMAE](https://huggingface.co/docs/transformers/model_doc/vit_mae) to videos. The only difference between VideoMAE and ViT is that you need to replace `nn.Conv2d` by `nn.Conv3d` in the patch embedding class. 😂 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17821/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17821/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17821", "html_url": "https://github.com/huggingface/transformers/pull/17821", "diff_url": "https://github.com/huggingface/transformers/pull/17821.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17821.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17820
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17820/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17820/comments
https://api.github.com/repos/huggingface/transformers/issues/17820/events
https://github.com/huggingface/transformers/issues/17820
1,279,930,860
I_kwDOCUB6oc5MSjHs
17,820
How to use LayoutLMv3 for Document Layout Detection task?
{ "login": "matthew-wei", "id": 23068766, "node_id": "MDQ6VXNlcjIzMDY4NzY2", "avatar_url": "https://avatars.githubusercontent.com/u/23068766?v=4", "gravatar_id": "", "url": "https://api.github.com/users/matthew-wei", "html_url": "https://github.com/matthew-wei", "followers_url": "https://api.github.com/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi,\r\n\r\nIf you read a bit more closely: https://github.com/microsoft/unilm/tree/master/layoutlmv3#document-layout-analysis-on-publaynet\r\n\r\nYou'll see they provide a guide regarding fine-tuning LayoutLMv3 on PubLayNet. The Mask R-CNN framework is leveraged. This framework currently is not available in Huggin...
1,655
1,659
1,659
NONE
null
### System Info ```shell trasformers = 4.20.1 Models: layoutlmv3 How to use LayoutLMv3 for Document Layout Detection, for example microsoft unilm(https://github.com/microsoft/unilm/tree/master/layoutlmv3)? I do not find Document Layout Detection task infomation in example and modeling. The typical dataset for Do...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17820/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17820/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17819
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17819/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17819/comments
https://api.github.com/repos/huggingface/transformers/issues/17819/events
https://github.com/huggingface/transformers/issues/17819
1,279,735,876
I_kwDOCUB6oc5MRzhE
17,819
Cannot import name 'load_offloaded_weights' from 'accelerate.utils'
{ "login": "99991", "id": 18725165, "node_id": "MDQ6VXNlcjE4NzI1MTY1", "avatar_url": "https://avatars.githubusercontent.com/u/18725165?v=4", "gravatar_id": "", "url": "https://api.github.com/users/99991", "html_url": "https://github.com/99991", "followers_url": "https://api.github.com/users/99991/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
[]
[ "The solution is to upgrade the `accelerate` library. I had version `0.8.0` and upgraded to `0.10.0`.\r\n\r\n```\r\npip install --upgrade accelerate\r\n```\r\n\r\nVersion `0.10.0` has the missing function `load_offloaded_weights`:\r\n\r\nhttps://github.com/huggingface/accelerate/commit/8b8c5345cd84ba96cca810b677601...
1,655
1,655
1,655
NONE
null
### System Info ```shell >>> import transformers >>> transformers.__version__ '4.20.1' >>> import accelerate >>> accelerate.__version__ '0.8.0' >>> import sys >>> sys.platform 'linux' >>> sys.version '3.8.10 (default, Mar 15 2022, 12:22:08) \n[GCC 9.4.0]' >>> import os >>> os.system("lsb_release -a") N...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17819/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17819/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17818
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17818/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17818/comments
https://api.github.com/repos/huggingface/transformers/issues/17818/events
https://github.com/huggingface/transformers/pull/17818
1,279,681,820
PR_kwDOCUB6oc46GJ9-
17,818
Clean modeling utils, linked to #17760 and #17713
{ "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...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,655
1,655
1,655
COLLABORATOR
null
# What does this PR do? The recently introduced `TF` and `FLAX` sharding scripts #17760 and #17713 both use ` convert_file_size_to_int, get_checkpoint_shard_files`, which were moved to `transformers.utils.hub`. This PR just removed the definition of these two function and imports them form `transformers.utils.hub`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17818/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/17818/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17818", "html_url": "https://github.com/huggingface/transformers/pull/17818", "diff_url": "https://github.com/huggingface/transformers/pull/17818.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17818.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17817
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17817/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17817/comments
https://api.github.com/repos/huggingface/transformers/issues/17817/events
https://github.com/huggingface/transformers/pull/17817
1,279,524,143
PR_kwDOCUB6oc46FnLf
17,817
Bump numpy from 1.21.0 to 1.22.0 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 documentation is not available anymore as the PR was closed or merged._" ]
1,655
1,655
1,655
CONTRIBUTOR
null
Bumps [numpy](https://github.com/numpy/numpy) from 1.21.0 to 1.22.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/numpy/numpy/releases">numpy's releases</a>.</em></p> <blockquote> <h2>v1.22.0</h2> <h1>NumPy 1.22.0 Release Notes</h1> <p>NumPy 1.22.0 is a big release featurin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17817/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17817/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17817", "html_url": "https://github.com/huggingface/transformers/pull/17817", "diff_url": "https://github.com/huggingface/transformers/pull/17817.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17817.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17816
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17816/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17816/comments
https://api.github.com/repos/huggingface/transformers/issues/17816/events
https://github.com/huggingface/transformers/pull/17816
1,279,523,829
PR_kwDOCUB6oc46FnG8
17,816
Bump numpy from 1.21.0 to 1.22.0 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 documentation is not available anymore as the PR was closed or merged._" ]
1,655
1,655
1,655
CONTRIBUTOR
null
Bumps [numpy](https://github.com/numpy/numpy) from 1.21.0 to 1.22.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/numpy/numpy/releases">numpy's releases</a>.</em></p> <blockquote> <h2>v1.22.0</h2> <h1>NumPy 1.22.0 Release Notes</h1> <p>NumPy 1.22.0 is a big release featurin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17816/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17816/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17816", "html_url": "https://github.com/huggingface/transformers/pull/17816", "diff_url": "https://github.com/huggingface/transformers/pull/17816.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17816.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17815
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17815/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17815/comments
https://api.github.com/repos/huggingface/transformers/issues/17815/events
https://github.com/huggingface/transformers/pull/17815
1,279,518,029
PR_kwDOCUB6oc46Flz-
17,815
Improve encoder decoder model docs
{ "login": "Threepointone4", "id": 22583613, "node_id": "MDQ6VXNlcjIyNTgzNjEz", "avatar_url": "https://avatars.githubusercontent.com/u/22583613?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Threepointone4", "html_url": "https://github.com/Threepointone4", "followers_url": "https://api.gi...
[]
closed
false
{ "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://...
[ { "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", "follo...
[ "_The documentation is not available anymore as the PR was closed or merged._", "Agree with the reviews of @ydshieh and @NielsRogge ! @Threepointone4 do you want to apply them ? Think we can merge after :-)", "Great job @Threepointone4 ! Merging :-) " ]
1,655
1,656
1,656
CONTRIBUTOR
null
# What does this PR do? This PR improves the documentation of encoder decoder model. <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the exten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17815/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17815/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17815", "html_url": "https://github.com/huggingface/transformers/pull/17815", "diff_url": "https://github.com/huggingface/transformers/pull/17815.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17815.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17814
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17814/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17814/comments
https://api.github.com/repos/huggingface/transformers/issues/17814/events
https://github.com/huggingface/transformers/pull/17814
1,279,496,444
PR_kwDOCUB6oc46Fg_1
17,814
Fix Constrained beam search duplication and weird output issue
{ "login": "boy2000-007man", "id": 4197489, "node_id": "MDQ6VXNlcjQxOTc0ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/4197489?v=4", "gravatar_id": "", "url": "https://api.github.com/users/boy2000-007man", "html_url": "https://github.com/boy2000-007man", "followers_url": "https://api.gith...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@cwkeam - do you have an idea here?", "Good catch @boy2000-007man !! @patrickvonplaten I just read through the issue and saw the code changes and they're all right-on. Thanks for finding these problems!", "Thank you for this fix!...
1,655
1,656
1,656
CONTRIBUTOR
null
# What does this PR do? - prevent duplicates between *(topk) generic beam search best model next tokens* and *(advance) constraints forcing the next token* - ensure unfulfilled hypothesis will advance with correct beam score instead of wrong token score <!-- Congratulations! You've made it this far! You're not ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17814/reactions", "total_count": 5, "+1": 0, "-1": 0, "laugh": 0, "hooray": 3, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17814/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17814", "html_url": "https://github.com/huggingface/transformers/pull/17814", "diff_url": "https://github.com/huggingface/transformers/pull/17814.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17814.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17813
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17813/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17813/comments
https://api.github.com/repos/huggingface/transformers/issues/17813/events
https://github.com/huggingface/transformers/issues/17813
1,279,492,687
I_kwDOCUB6oc5MQ4JP
17,813
push_to_hub returns "OSError: error: RPC failed; HTTP 408 curl 22 The requested URL returned error: 408"
{ "login": "MicPie", "id": 36303596, "node_id": "MDQ6VXNlcjM2MzAzNTk2", "avatar_url": "https://avatars.githubusercontent.com/u/36303596?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MicPie", "html_url": "https://github.com/MicPie", "followers_url": "https://api.github.com/users/MicPie/fo...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Maybe there is also a git command line workaround?", "Yes, can you try with a `git push` command line to see if it works that way?", "Hi @julien-c,\r\nthank you for the fast feedback, I just tried it two times, at the beginning it looks like it works but then gets stuck again:\r\n```\r\n> git push\r\nEnumerati...
1,655
1,697
1,659
NONE
null
### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.4.0-96-generic-x86_64-with-glibc2.17 - Python version: 3.8.12 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not instal...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17813/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17813/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17812
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17812/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17812/comments
https://api.github.com/repos/huggingface/transformers/issues/17812/events
https://github.com/huggingface/transformers/issues/17812
1,279,348,479
I_kwDOCUB6oc5MQU7_
17,812
Constrained Beam Search outputs duplication and weird results
{ "login": "boy2000-007man", "id": 4197489, "node_id": "MDQ6VXNlcjQxOTc0ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/4197489?v=4", "gravatar_id": "", "url": "https://api.github.com/users/boy2000-007man", "html_url": "https://github.com/boy2000-007man", "followers_url": "https://api.gith...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[]
1,655
1,656
1,656
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.20.1 - Platform: Windows-10-10.0.19044-SP0 - Python version: 3.8.12 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.11.0 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not insta...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17812/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17812/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17811
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17811/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17811/comments
https://api.github.com/repos/huggingface/transformers/issues/17811/events
https://github.com/huggingface/transformers/pull/17811
1,279,187,562
PR_kwDOCUB6oc46Eb8W
17,811
Fix GPT-NeoX-20B past handling, attention computation
{ "login": "zphang", "id": 1668462, "node_id": "MDQ6VXNlcjE2Njg0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/1668462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zphang", "html_url": "https://github.com/zphang", "followers_url": "https://api.github.com/users/zphang/foll...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "There are a few equivalence tests failing with the PR, if you can dive into it. Let us know if you need any help!", "I've run the tests locally and they pass, so I can't seem to reproduce the test errors. Can someone else give them...
1,655
1,656
1,656
CONTRIBUTOR
null
# What does this PR do? * Fixes GPT-NeoX-20B handing of the past object to correctly be used in .generate * Swaps attention computation for one more similar in the original training code, to hopefully avoid NaNs * Update docstring, removed unnecessary dropout configs in config object <!-- Remove if not applicab...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17811/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17811/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17811", "html_url": "https://github.com/huggingface/transformers/pull/17811", "diff_url": "https://github.com/huggingface/transformers/pull/17811.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17811.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17810
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17810/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17810/comments
https://api.github.com/repos/huggingface/transformers/issues/17810/events
https://github.com/huggingface/transformers/pull/17810
1,279,155,714
PR_kwDOCUB6oc46EUt5
17,810
Offload fixes
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,655
1,655
1,655
COLLABORATOR
null
# What does this PR do? This PR fixes a few bugs in the current offload to disk implementation via Accelerate. 1. The `offload_folder` is not created if it doesn't exists, loading to cryptic errors about missing files. 2. When the model is a task model and the checkpoint one of the base model (like for OPT), the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17810/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17810/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17810", "html_url": "https://github.com/huggingface/transformers/pull/17810", "diff_url": "https://github.com/huggingface/transformers/pull/17810.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17810.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17809
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17809/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17809/comments
https://api.github.com/repos/huggingface/transformers/issues/17809/events
https://github.com/huggingface/transformers/issues/17809
1,279,056,538
I_kwDOCUB6oc5MPNqa
17,809
AutoTokenizer vs. BertTokenizer
{ "login": "macleginn", "id": 4831042, "node_id": "MDQ6VXNlcjQ4MzEwNDI=", "avatar_url": "https://avatars.githubusercontent.com/u/4831042?v=4", "gravatar_id": "", "url": "https://api.github.com/users/macleginn", "html_url": "https://github.com/macleginn", "followers_url": "https://api.github.com/users/ma...
[ { "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\nThe `AutoTokenizer` defaults to a fast, Rust-based tokenizer. Hence, when typing `AutoTokenizer.from_pretrained(\"bert-base-uncased\")`, it will instantiate a `BertTokenizerFast` behind the scenes. Fast tokenizers support `word_ids`.\r\n\r\nHere you're comparing it to a `BertTokenizer`, which is a slow,...
1,655
1,681
1,655
NONE
null
### System Info ```shell - `transformers` version: 4.20.1 - Platform: Linux-5.17.4-200.fc35.x86_64-x86_64-with-glibc2.34 - Python version: 3.9.7 - Huggingface_hub version: 0.1.0 - PyTorch version (GPU?): 1.9.1 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17809/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17809/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17808
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17808/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17808/comments
https://api.github.com/repos/huggingface/transformers/issues/17808/events
https://github.com/huggingface/transformers/issues/17808
1,279,017,546
I_kwDOCUB6oc5MPEJK
17,808
Unable to Load the Pre-Trained Model using Spark-Submit
{ "login": "paresmi", "id": 90341577, "node_id": "MDQ6VXNlcjkwMzQxNTc3", "avatar_url": "https://avatars.githubusercontent.com/u/90341577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/paresmi", "html_url": "https://github.com/paresmi", "followers_url": "https://api.github.com/users/paresm...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,655
1,659
1,659
NONE
null
Hi Team, I am trying to trigger spark-submit and passing the pre-trained model with --archives ; however Spark is not able to locate the model while executing the BertTokenizer.from_pretrained(BERT_MODEL_NAME). Please advise how to I get the spark to point to the BERT Model ; I tried placing in HDFS as well as L...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17808/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17808/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17807
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17807/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17807/comments
https://api.github.com/repos/huggingface/transformers/issues/17807/events
https://github.com/huggingface/transformers/pull/17807
1,279,006,805
PR_kwDOCUB6oc46Dyt4
17,807
Add Spanish translation of custom_models.mdx
{ "login": "donelianc", "id": 7807897, "node_id": "MDQ6VXNlcjc4MDc4OTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7807897?v=4", "gravatar_id": "", "url": "https://api.github.com/users/donelianc", "html_url": "https://github.com/donelianc", "followers_url": "https://api.github.com/users/do...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu...
1,655
1,659
1,658
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/17807/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17807/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17807", "html_url": "https://github.com/huggingface/transformers/pull/17807", "diff_url": "https://github.com/huggingface/transformers/pull/17807.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17807.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17806
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17806/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17806/comments
https://api.github.com/repos/huggingface/transformers/issues/17806/events
https://github.com/huggingface/transformers/pull/17806
1,278,926,305
PR_kwDOCUB6oc46Dgsf
17,806
Add TF DeiT implementation
{ "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._", "Please also incorporate the updates of #17731 ", "> Please also incorporate the updates of https://github.com/huggingface/transformers/pull/17731\r\n\r\n@NielsRogge Will do! I originally added, but it resulted in lots of changes be...
1,655
1,657
1,657
COLLABORATOR
null
# What does this PR do? Adds the TF implementations of DeiT ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17806/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17806/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17806", "html_url": "https://github.com/huggingface/transformers/pull/17806", "diff_url": "https://github.com/huggingface/transformers/pull/17806.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17806.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17805
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17805/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17805/comments
https://api.github.com/repos/huggingface/transformers/issues/17805/events
https://github.com/huggingface/transformers/pull/17805
1,278,711,224
PR_kwDOCUB6oc46Cx0U
17,805
Add logits_processor parameter, used by `generate`, to `Seq2SeqTrainer` methods `evaluate` and `predict`
{ "login": "eranhirs", "id": 3372820, "node_id": "MDQ6VXNlcjMzNzI4MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/3372820?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eranhirs", "html_url": "https://github.com/eranhirs", "followers_url": "https://api.github.com/users/eranh...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger What are your thoughts about adding to the `test_finetune_bert2bert` a call to `trainer.evaluate()` and `trainer.predict(eval_dataset)`?", "Sure, we can add this. But is it to test any of this functionality? If not, it sho...
1,655
1,655
1,655
CONTRIBUTOR
null
# What does this PR do? Following the discussion in #17748, this PR adds the `logits_processor` param to Seq2SeqTrainer `predict` and `evaluate` methods, for easy extensibility. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Di...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17805/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17805/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17805", "html_url": "https://github.com/huggingface/transformers/pull/17805", "diff_url": "https://github.com/huggingface/transformers/pull/17805.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17805.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17804
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17804/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17804/comments
https://api.github.com/repos/huggingface/transformers/issues/17804/events
https://github.com/huggingface/transformers/issues/17804
1,278,710,213
I_kwDOCUB6oc5MN5HF
17,804
`seed_generator` would casue tensorflow gpu memory growth immediately
{ "login": "Atakey", "id": 29856062, "node_id": "MDQ6VXNlcjI5ODU2MDYy", "avatar_url": "https://avatars.githubusercontent.com/u/29856062?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Atakey", "html_url": "https://github.com/Atakey", "followers_url": "https://api.github.com/users/Atakey/fo...
[]
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 @Atakey 👋 Great finding! Would you be able to open a PR? The suggestion you gave looks great!" ]
1,655
1,657
1,657
NONE
null
https://github.com/huggingface/transformers/blob/7cced021fa8ddc59f0f77384300760d34545394e/src/transformers/generation_tf_utils.py#L349 In transformers version >=4.18.0, import something from `generation_tf_utils.py` would casue gpu memory growth immediately if I don't set env `TF_FORCE_GPU_ALLOW_GROWTH=true` before ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17804/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17804/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17803
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17803/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17803/comments
https://api.github.com/repos/huggingface/transformers/issues/17803/events
https://github.com/huggingface/transformers/pull/17803
1,278,671,649
PR_kwDOCUB6oc46Cpcd
17,803
Fix test for BF16 detection
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,655
1,655
1,655
COLLABORATOR
null
# What does this PR do? When `no_cuda=True`, we shouldn't try to detect the support for BF16 GPU.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17803/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/17803/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17803", "html_url": "https://github.com/huggingface/transformers/pull/17803", "diff_url": "https://github.com/huggingface/transformers/pull/17803.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17803.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17802
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17802/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17802/comments
https://api.github.com/repos/huggingface/transformers/issues/17802/events
https://github.com/huggingface/transformers/pull/17802
1,278,650,591
PR_kwDOCUB6oc46Ck9t
17,802
Properly check for a TPU device in is_torch_tpu_available
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "id": 1834083927, "node_id": "MDU6TGFiZWwxODM0MDgzOTI3", "url": "https://api.github.com/repos/huggingface/transformers/labels/External", "name": "External", "color": "fbca04", "default": false, "description": "Using the library with external tools (onnx, tflite, ...)" }, { "id"...
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I have the same problem in vertex AI. it is not solver even with `pip install git+https://github.com/huggingface/transformers` \r\nThe weird thing is that I dont even use TPU!\r\n\r\nI made it work by `!pip uninstall torch-xla` (at l...
1,655
1,656
1,655
CONTRIBUTOR
null
# What does this PR do? This PR adds a better check to see if a TPU is available in the environment when checking `is_torch_tpu_available` by adding a quick import check for `xm.tpu_device()`. This raises a `RuntimeError` if a TPU device is not found. Mimics solution in https://github.com/huggingface/accelerate/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17802/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17802/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17802", "html_url": "https://github.com/huggingface/transformers/pull/17802", "diff_url": "https://github.com/huggingface/transformers/pull/17802.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17802.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17801
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17801/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17801/comments
https://api.github.com/repos/huggingface/transformers/issues/17801/events
https://github.com/huggingface/transformers/pull/17801
1,278,586,104
PR_kwDOCUB6oc46CXOF
17,801
TF: generate without `tf.TensorArray`
{ "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._", "cc @ydshieh -- this PR fixes the XLNet generate error we have been seeing :)", "Cool!", "@Rocketknight1 no differences in terms of execution speed 👍 \r\n\r\n`GPT2` `sample` on a 3090, average of 10 runs (excluding compilation ti...
1,655
1,655
1,655
MEMBER
null
# What does this PR do? Some models, like XLNet, need more than just the previous token when `past` is used. This PR solves this problem with the help of some refactoring -- we no longer use `TensorArray`, instead we scatter updates into a fixed-size tensor. This refactor simplifies `generate`, especially `beam_sear...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17801/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17801/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17801", "html_url": "https://github.com/huggingface/transformers/pull/17801", "diff_url": "https://github.com/huggingface/transformers/pull/17801.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17801.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17800
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17800/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17800/comments
https://api.github.com/repos/huggingface/transformers/issues/17800/events
https://github.com/huggingface/transformers/pull/17800
1,278,580,006
PR_kwDOCUB6oc46CV6U
17,800
Fix forward reference imports in DeBERTa configs
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "FYI @JingyaHuang @michaelbenayoun I'll take a look at the slow test tomorrow :)" ]
1,655
1,655
1,655
COLLABORATOR
null
# What does this PR do? #17617 introduced some imports that will create cyclical references, just for type hinting. This PR makes them only imported in a type checking block.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17800/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17800/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17800", "html_url": "https://github.com/huggingface/transformers/pull/17800", "diff_url": "https://github.com/huggingface/transformers/pull/17800.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17800.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17799
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17799/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17799/comments
https://api.github.com/repos/huggingface/transformers/issues/17799/events
https://github.com/huggingface/transformers/pull/17799
1,278,538,666
PR_kwDOCUB6oc46CNDf
17,799
add MobileNetV1 model
{ "login": "hollance", "id": 346853, "node_id": "MDQ6VXNlcjM0Njg1Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/346853?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hollance", "html_url": "https://github.com/hollance", "followers_url": "https://api.github.com/users/hollanc...
[ { "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Note: The checkpoints still point to my own account, but should be changed to `google` once the changes are approved.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17799). All of your ...
1,655
1,669
1,669
CONTRIBUTOR
null
# What does this PR do? Adds the MobileNet V1 model to the library. <!-- 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 aweso...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17799/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17799/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17799", "html_url": "https://github.com/huggingface/transformers/pull/17799", "diff_url": "https://github.com/huggingface/transformers/pull/17799.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17799.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17798
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17798/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17798/comments
https://api.github.com/repos/huggingface/transformers/issues/17798/events
https://github.com/huggingface/transformers/pull/17798
1,278,492,619
PR_kwDOCUB6oc46CDCH
17,798
Update CodeParrot readme to include training in Megatron
{ "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._", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu...
1,655
1,658
1,658
CONTRIBUTOR
null
This PR updates the README to explain how to train CodeParrot with [Megatron](https://github.com/NVIDIA/Megatron-LM), and redirects model and dataset imports to [CodeParrot organization](https://huggingface.co/codeparrot).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17798/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17798/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17798", "html_url": "https://github.com/huggingface/transformers/pull/17798", "diff_url": "https://github.com/huggingface/transformers/pull/17798.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17798.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17797
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17797/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17797/comments
https://api.github.com/repos/huggingface/transformers/issues/17797/events
https://github.com/huggingface/transformers/pull/17797
1,278,418,090
PR_kwDOCUB6oc46By0m
17,797
Fix properties of unset special tokens in non verbose mode
{ "login": "guillaumekln", "id": 4805513, "node_id": "MDQ6VXNlcjQ4MDU1MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/4805513?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guillaumekln", "html_url": "https://github.com/guillaumekln", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,655
1,655
1,655
CONTRIBUTOR
null
# What does this PR do? Fixes #17796. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-request...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17797/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17797/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17797", "html_url": "https://github.com/huggingface/transformers/pull/17797", "diff_url": "https://github.com/huggingface/transformers/pull/17797.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17797.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17796
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17796/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17796/comments
https://api.github.com/repos/huggingface/transformers/issues/17796/events
https://github.com/huggingface/transformers/issues/17796
1,278,361,309
I_kwDOCUB6oc5MMj7d
17,796
Properties of unset special tokens return the string 'None' in non verbose Tokenizers
{ "login": "guillaumekln", "id": 4805513, "node_id": "MDQ6VXNlcjQ4MDU1MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/4805513?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guillaumekln", "html_url": "https://github.com/guillaumekln", "followers_url": "https://api.github.com...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @guillaumekln ,\r\n\r\nThanks a lot for letting us know about this issue! ~~I'm planning to fix it in the PR #17824~~ EDIT: sorry, I haven't seen your PR. Closing mine in favor of yours :hugs: ", "Thanks for the update! I also suggested a fix here #17797. Feel free to close this PR if needed.", "Let's keep ...
1,655
1,655
1,655
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.20.0 - Platform: Linux-5.4.0-120-generic-x86_64-with-glibc2.27 - Python version: 3.8.0 - Huggingface_hub version: 0.7.0 - PyTorch version (GPU?): 1.11.0+cu102 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not insta...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17796/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17796/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17795
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17795/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17795/comments
https://api.github.com/repos/huggingface/transformers/issues/17795/events
https://github.com/huggingface/transformers/issues/17795
1,278,320,280
I_kwDOCUB6oc5MMZ6Y
17,795
Big Model Inference: OOM with simple forward pass
{ "login": "ggbetz", "id": 3662782, "node_id": "MDQ6VXNlcjM2NjI3ODI=", "avatar_url": "https://avatars.githubusercontent.com/u/3662782?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ggbetz", "html_url": "https://github.com/ggbetz", "followers_url": "https://api.github.com/users/ggbetz/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
[]
[ "You need to put your forward pass inside a `torch.no_grad()` context manager, otherwise you will get memory used for the activations saved for the backward pass (which is not supported anyway for big model inference), which is why you get OOM.", "Thanks for the quick reply, @sgugger! With the context manager I g...
1,655
1,656
1,655
NONE
null
### System Info ```shell - `transformers` version: 4.20.0 - Platform: Linux-5.11.0-40-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.11.0+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17795/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17795/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17794
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17794/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17794/comments
https://api.github.com/repos/huggingface/transformers/issues/17794/events
https://github.com/huggingface/transformers/issues/17794
1,278,299,271
I_kwDOCUB6oc5MMUyH
17,794
Token indices sequence length is longer than the specified maximum sequence length for this model (821 > 512). Running this sequence through the model will result in indexing errors
{ "login": "Roshni3499", "id": 72002381, "node_id": "MDQ6VXNlcjcyMDAyMzgx", "avatar_url": "https://avatars.githubusercontent.com/u/72002381?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Roshni3499", "html_url": "https://github.com/Roshni3499", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nThis question is better suited for our [forum](https://discuss.huggingface.co/), as we'd like to keep Github issues for bugs/feature requests.\r\n\r\nThis one is not a bug, you just need to truncate the inputs as they are longer than what the model expects:\r\n\r\n````\r\nencoding = tokenizer(text, trun...
1,655
1,663
1,655
NONE
null
I am trying to generate a Boolean question using T5 transformer. using [this](https://github.com/ramsrigouthamg/generate_boolean_questions_using_T5_transformer/blob/master/t5_inference.py ![jupyter error](https://user-images.githubusercontent.com/72002381/174787727-ebc22c3d-0785-45b6-a5bd-5d0d652adb7e.PNG) ) link as ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17794/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17794/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17793
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17793/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17793/comments
https://api.github.com/repos/huggingface/transformers/issues/17793/events
https://github.com/huggingface/transformers/issues/17793
1,278,245,525
I_kwDOCUB6oc5MMHqV
17,793
IndexError with Reformer Model when padding the sequence
{ "login": "RobinGeibel", "id": 51984028, "node_id": "MDQ6VXNlcjUxOTg0MDI4", "avatar_url": "https://avatars.githubusercontent.com/u/51984028?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RobinGeibel", "html_url": "https://github.com/RobinGeibel", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "If I add the Eos token as padding token it works. In any case, the tokenizer tells me to add a padding token. I do believe that the documentation says that one should exit however.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be add...
1,655
1,659
1,659
NONE
null
Hi, I am trying to use Reformer for text classification, but I am getting the following RuntimeError. I tried both using a custom head and Huggingface's Reformer for sequence classification. The code runs fine when I swap Reformer for BigBird. I am using the google/reformer-crime-and-punishment checkpoint and h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17793/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17793/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17792
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17792/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17792/comments
https://api.github.com/repos/huggingface/transformers/issues/17792/events
https://github.com/huggingface/transformers/issues/17792
1,278,243,279
I_kwDOCUB6oc5MMHHP
17,792
__init__() got an unexpected keyword argument '_name_or_path'
{ "login": "rajnishrajput12", "id": 43354631, "node_id": "MDQ6VXNlcjQzMzU0NjMx", "avatar_url": "https://avatars.githubusercontent.com/u/43354631?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rajnishrajput12", "html_url": "https://github.com/rajnishrajput12", "followers_url": "https://api...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @rajnishrajput12 \r\n\r\nIt might be better to ask on the [community tab](https://huggingface.co/sentence-transformers/bert-base-nli-mean-tokens/discussions) of the model on the Hub. Otherwise, on [sentence-transformers](https://github.com/UKPLab/sentence-transformers) repository.\r\n", "This issue has been a...
1,655
1,658
1,658
NONE
null
### System Info ```shell sentence_transformer versiob 2.2.0 windows python version- 3.9.12 ``` ### 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/17792/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17792/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17791
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17791/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17791/comments
https://api.github.com/repos/huggingface/transformers/issues/17791/events
https://github.com/huggingface/transformers/pull/17791
1,278,207,641
PR_kwDOCUB6oc46BFj6
17,791
Add link to Albumentations notebook
{ "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,655
1,655
1,655
CONTRIBUTOR
null
# What does this PR do? This PR adds a link to the image classification with Albumentations notebook (present in our Notebooks repository).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17791/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17791/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17791", "html_url": "https://github.com/huggingface/transformers/pull/17791", "diff_url": "https://github.com/huggingface/transformers/pull/17791.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17791.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17790
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17790/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17790/comments
https://api.github.com/repos/huggingface/transformers/issues/17790/events
https://github.com/huggingface/transformers/issues/17790
1,278,198,203
I_kwDOCUB6oc5ML8G7
17,790
OPT-350m cannot be loaded from local files generated using the save_pretrained method
{ "login": "greg2451", "id": 51173502, "node_id": "MDQ6VXNlcjUxMTczNTAy", "avatar_url": "https://avatars.githubusercontent.com/u/51173502?v=4", "gravatar_id": "", "url": "https://api.github.com/users/greg2451", "html_url": "https://github.com/greg2451", "followers_url": "https://api.github.com/users/gre...
[ { "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
[]
[ "From what I understand, this is a related to a known issue that is unique to opt-350m amongst the opt models, because the `hidden_size` (512) is different from the `word_embed_proj_dim` (1024).\r\n\r\nWhen I load the opt model using the hub and do `opt350m.lm_head.weight.shape` I have `torch.Size([50272, 512])`. \...
1,655
1,655
1,655
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.19.3 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.9.7 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.9.0 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17790/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17790/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17789
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17789/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17789/comments
https://api.github.com/repos/huggingface/transformers/issues/17789/events
https://github.com/huggingface/transformers/issues/17789
1,278,194,261
I_kwDOCUB6oc5ML7JV
17,789
assertEqual of non-frozen parameters in test_resume_training_with_frozen_params
{ "login": "regisss", "id": 15324346, "node_id": "MDQ6VXNlcjE1MzI0MzQ2", "avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4", "gravatar_id": "", "url": "https://api.github.com/users/regisss", "html_url": "https://github.com/regisss", "followers_url": "https://api.github.com/users/regiss...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Please use the forums for questions like this as we keep issues for bugs and feature requests only.\r\n\r\nb and b1 should be equal because they are the results of the same trainings. One started from scratch and one resumed from an intermediate checkpoint. If that test fails, you have a problem in reproducibility...
1,655
1,655
1,655
CONTRIBUTOR
null
### System Info ```shell - `transformers` version: 4.20.0 - Platform: Linux-5.13.0-1031-aws-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.7.0 - PyTorch version (GPU?): 1.11.0a0+gita4c10ee (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17789/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17789/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17788
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17788/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17788/comments
https://api.github.com/repos/huggingface/transformers/issues/17788/events
https://github.com/huggingface/transformers/pull/17788
1,278,164,095
PR_kwDOCUB6oc46A8Y7
17,788
Fix artifact path for cuda extension test in push CI
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[]
1,655
1,655
1,655
COLLABORATOR
null
# What does this PR do? Fix artifact path for cuda extension test in push CI ### More details In #17335, `working-director` is updated (a fix) for (single-gpu) cuda extension test, but the artifact path was not updated, which leads to strange slack report. ```bash - name: Run all non-slow selected test...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17788/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17788/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17788", "html_url": "https://github.com/huggingface/transformers/pull/17788", "diff_url": "https://github.com/huggingface/transformers/pull/17788.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17788.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17787
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17787/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17787/comments
https://api.github.com/repos/huggingface/transformers/issues/17787/events
https://github.com/huggingface/transformers/pull/17787
1,278,156,182
PR_kwDOCUB6oc46A6tH
17,787
Add MVP model
{ "login": "StevenTang1998", "id": 37647985, "node_id": "MDQ6VXNlcjM3NjQ3OTg1", "avatar_url": "https://avatars.githubusercontent.com/u/37647985?v=4", "gravatar_id": "", "url": "https://api.github.com/users/StevenTang1998", "html_url": "https://github.com/StevenTang1998", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hey @StevenTang1998, \r\n\r\nCool to see a new model here! Do you need help with the failing CI? ", "Thanks for your concern. And I really met two issues.\r\n1. I want to add two tokens in the tokenizer. I tried two ways, but they ...
1,655
1,656
1,656
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/17787/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17787/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17787", "html_url": "https://github.com/huggingface/transformers/pull/17787", "diff_url": "https://github.com/huggingface/transformers/pull/17787.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17787.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17786
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17786/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17786/comments
https://api.github.com/repos/huggingface/transformers/issues/17786/events
https://github.com/huggingface/transformers/pull/17786
1,278,123,549
PR_kwDOCUB6oc46Az1B
17,786
add doctests for DETR
{ "login": "qherreros", "id": 7406885, "node_id": "MDQ6VXNlcjc0MDY4ODU=", "avatar_url": "https://avatars.githubusercontent.com/u/7406885?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qherreros", "html_url": "https://github.com/qherreros", "followers_url": "https://api.github.com/users/qh...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Good to merge for me!" ]
1,655
1,655
1,655
CONTRIBUTOR
null
# What does this PR do? Enable doctests for DETR @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17786/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17786/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17786", "html_url": "https://github.com/huggingface/transformers/pull/17786", "diff_url": "https://github.com/huggingface/transformers/pull/17786.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17786.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17785
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17785/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17785/comments
https://api.github.com/repos/huggingface/transformers/issues/17785/events
https://github.com/huggingface/transformers/pull/17785
1,277,460,975
PR_kwDOCUB6oc45-iYN
17,785
Add final_layer_norm to OPT model
{ "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 documentation is not available anymore as the PR was closed or merged._", "Thank you very much for the fix! I think that we'll have to change the generation tests a bit for the other models as well ", "Great find @thomasw21 - thanks a lot for fixing it!\r\n\r\nThink the checkpoints were then also incorrec...
1,655
1,655
1,655
CONTRIBUTOR
null
# What does this PR do? Fixes #17653 , #17545 OPT models have a final_layer_norm: https://github.com/facebookresearch/metaseq/blob/e0c4f6b0e4c523906ad8d561f727e3f2ac3a8e73/metaseq/models/transformer.py#L466-L477 So we update HF models + conversion script to take in account that missing layer norm. Test on OPT...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17785/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/17785/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17785", "html_url": "https://github.com/huggingface/transformers/pull/17785", "diff_url": "https://github.com/huggingface/transformers/pull/17785.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17785.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17784
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17784/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17784/comments
https://api.github.com/repos/huggingface/transformers/issues/17784/events
https://github.com/huggingface/transformers/pull/17784
1,277,416,861
PR_kwDOCUB6oc45-Yte
17,784
Flax t5 Encoder
{ "login": "crystina-z", "id": 31640436, "node_id": "MDQ6VXNlcjMxNjQwNDM2", "avatar_url": "https://avatars.githubusercontent.com/u/31640436?v=4", "gravatar_id": "", "url": "https://api.github.com/users/crystina-z", "html_url": "https://github.com/crystina-z", "followers_url": "https://api.github.com/use...
[]
closed
false
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "htt...
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hey @crystina-z, \r\n\r\nThe PR looks very nice already - think we're close to merging it! Great job so far :-) A FlaxT5Encoder model class is very useful (also to build Diffusion Pipelines like Imagen cc @borisdayma @patil-suraj ) \...
1,655
1,656
1,656
CONTRIBUTOR
null
# What does this PR do? I notice that there hasn't been a T5EncoderModel for Flax implementation, taking a stab to add it. I didn't find an issue related to this. ## 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 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17784/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/17784/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17784", "html_url": "https://github.com/huggingface/transformers/pull/17784", "diff_url": "https://github.com/huggingface/transformers/pull/17784.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17784.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17783
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17783/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17783/comments
https://api.github.com/repos/huggingface/transformers/issues/17783/events
https://github.com/huggingface/transformers/pull/17783
1,277,414,333
PR_kwDOCUB6oc45-YNt
17,783
Add missing type hints for QDQBertModel
{ "login": "willtai", "id": 20279061, "node_id": "MDQ6VXNlcjIwMjc5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/20279061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/willtai", "html_url": "https://github.com/willtai", "followers_url": "https://api.github.com/users/willta...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hey, this looks really good! Would you be willing to add type hints to the other model classes in the same file too? (`QDQBertLMHeadModel` and the classes that start with `QDQBertFor...`)", "@Rocketknight1 I've pushed a change that...
1,655
1,655
1,655
CONTRIBUTOR
null
# What does this PR do? Adding missing type hints for QDQBertModel as referenced in this issue.(https://github.com/huggingface/transformers/issues/16059#issuecomment-1160830014). ## Before submitting - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17783/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17783/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17783", "html_url": "https://github.com/huggingface/transformers/pull/17783", "diff_url": "https://github.com/huggingface/transformers/pull/17783.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17783.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17782
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17782/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17782/comments
https://api.github.com/repos/huggingface/transformers/issues/17782/events
https://github.com/huggingface/transformers/issues/17782
1,277,089,981
I_kwDOCUB6oc5MHti9
17,782
TF element-wise equals requires tf.equals() instead of ==
{ "login": "ekayen", "id": 25679936, "node_id": "MDQ6VXNlcjI1Njc5OTM2", "avatar_url": "https://avatars.githubusercontent.com/u/25679936?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ekayen", "html_url": "https://github.com/ekayen", "followers_url": "https://api.github.com/users/ekayen/fo...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @ekayen 👋 \r\n\r\n`self.tokenizer.mask_token_id` (on [L56 in fill_mask.py](https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/fill_mask.py#L56)) should be a single integer, and `tf.where(tensor == integer)` works well in TF1 and TF2 (see the examples below)\r\n\r\n```python\r\nimp...
1,655
1,659
1,659
NONE
null
### System Info ```shell Running in a Google Colab with GPU backend. ``` ### Who can help? @Narsil ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17782/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17782/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17781
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17781/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17781/comments
https://api.github.com/repos/huggingface/transformers/issues/17781/events
https://github.com/huggingface/transformers/issues/17781
1,277,057,862
I_kwDOCUB6oc5MHltG
17,781
KeyError: 'src_texts' in train_distil_marian_enro.sh
{ "login": "Bachstelze", "id": 19904888, "node_id": "MDQ6VXNlcjE5OTA0ODg4", "avatar_url": "https://avatars.githubusercontent.com/u/19904888?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Bachstelze", "html_url": "https://github.com/Bachstelze", "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
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,655
1,675
1,659
NONE
null
### System Info ```shell 0% 0/6 [00:00<?, ?it/s][INFO|trainer_utils.py:686] 2022-06-20 14:53:01,661 >> The following columns in the training set don't have a corresponding argument in `MarianMTModel.forward` and have been ignored: id, src_texts, tgt_texts. If id, src_texts, tgt_texts are not expected by `MarianMTModel...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17781/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17781/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17780
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17780/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17780/comments
https://api.github.com/repos/huggingface/transformers/issues/17780/events
https://github.com/huggingface/transformers/pull/17780
1,277,036,234
PR_kwDOCUB6oc459IUM
17,780
Use 5e-5 For BigBird PT/Flax equivalence 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._" ]
1,655
1,655
1,655
COLLABORATOR
null
# What does this PR do? Use `5e-5` For BigBird PT/Flax equivalence tests to avoid flaky test failure. Also change the name `check_outputs` to `check_pt_flax_outputs` (similar to `check_pt_tf_outputs`) and update its logic similar to `check_pt_tf_outputs`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17780/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17780/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17780", "html_url": "https://github.com/huggingface/transformers/pull/17780", "diff_url": "https://github.com/huggingface/transformers/pull/17780.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17780.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17779
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17779/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17779/comments
https://api.github.com/repos/huggingface/transformers/issues/17779/events
https://github.com/huggingface/transformers/pull/17779
1,276,674,217
PR_kwDOCUB6oc4576BZ
17,779
Add DPT Flax
{ "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
[]
[ "All the keys match now but the equivalency test does not pass with `1e-5` but `1e-4` instead", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17779). All of your documentation changes will be reflected on that endpoint.", "Would be great to also incorporate the updat...
1,655
1,665
1,665
CONTRIBUTOR
null
# What does this PR do? I tried to implement DPT (Dense Prediction with Transformers) in Flax during my free time! 🚀 By the way it is the first Segmentation and Depth Estimation model implemented in Flax on the library! Nits/TODOs: - [x] Figure out how to properly call `BatchNorm` and `Dropout` inside a `Sequ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17779/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17779/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17779", "html_url": "https://github.com/huggingface/transformers/pull/17779", "diff_url": "https://github.com/huggingface/transformers/pull/17779.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17779.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17778
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17778/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17778/comments
https://api.github.com/repos/huggingface/transformers/issues/17778/events
https://github.com/huggingface/transformers/issues/17778
1,276,390,344
I_kwDOCUB6oc5MFCvI
17,778
Dataset Format for training RAG on custom Dataset
{ "login": "mdshah930", "id": 46818925, "node_id": "MDQ6VXNlcjQ2ODE4OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/46818925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mdshah930", "html_url": "https://github.com/mdshah930", "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
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,655
1,659
1,659
NONE
null
### System Info ```shell - `transformers` version: 4.19.2 - Platform: Linux-4.14.219-164.354.amzn2.x86_64-x86_64-with-glibc2.2.5 - Python version: 3.7.9 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.10.1+cu102 (True) - Tensorflow version (GPU?): 2.3.0 (False) - Flax version (CPU?/GPU?/TPU?): not i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17778/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17778/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/17777
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17777/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17777/comments
https://api.github.com/repos/huggingface/transformers/issues/17777/events
https://github.com/huggingface/transformers/pull/17777
1,276,139,419
PR_kwDOCUB6oc456Jxi
17,777
For model long-t5-tglobal-x, fix 'float' object cannot be interpreted as an integer
{ "login": "bjascob", "id": 22728060, "node_id": "MDQ6VXNlcjIyNzI4MDYw", "avatar_url": "https://avatars.githubusercontent.com/u/22728060?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bjascob", "html_url": "https://github.com/bjascob", "followers_url": "https://api.github.com/users/bjasco...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@patil-suraj could you maybe take a look here? :-)\r\n\r\nAlso cc @stancld in case you're interested and have an idea what the problem could be", "Interesting. Looks like this is a change in python, not torch. UBT 22.04 uses Pytho...
1,655
1,655
1,655
CONTRIBUTOR
null
On line 180, `torch.tensor(-1.0, dtype=global_block_ids.dtype)` gives the error __TypeError: 'float' object cannot be interpreted as an integer__ . This is because the dtype here is `int64`. For `dtype=int64`, this needs to simply be `-1`. This impacts the `long-t5-tglogbal-x` model. It does not impact the `lon...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17777/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17777/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17777", "html_url": "https://github.com/huggingface/transformers/pull/17777", "diff_url": "https://github.com/huggingface/transformers/pull/17777.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17777.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17776
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17776/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17776/comments
https://api.github.com/repos/huggingface/transformers/issues/17776/events
https://github.com/huggingface/transformers/pull/17776
1,276,087,063
PR_kwDOCUB6oc455_8W
17,776
Nezha Pytorch implementation
{ "login": "sijunhe", "id": 11987277, "node_id": "MDQ6VXNlcjExOTg3Mjc3", "avatar_url": "https://avatars.githubusercontent.com/u/11987277?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sijunhe", "html_url": "https://github.com/sijunhe", "followers_url": "https://api.github.com/users/sijunh...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "ready for review! I'll upload the rest of the pre-trained models later today", "addressed all the comments from @sgugger and uploaded the two remaining models. Ready for a final round of review.", "Thanks again for your contribut...
1,655
1,656
1,656
CONTRIBUTOR
null
# What does this PR do? This PR adds a pytorch implementation of the NEZHA model to transformers. [NEZHA](https://arxiv.org/abs/1909.00204) was introduced by Huawei Noah's Ark Lab in late 2019 and it is widely used in the Chinese NLP community. This implementation is based on the official pytorch implementation of N...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17776/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/17776/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17776", "html_url": "https://github.com/huggingface/transformers/pull/17776", "diff_url": "https://github.com/huggingface/transformers/pull/17776.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17776.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/17775
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/17775/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/17775/comments
https://api.github.com/repos/huggingface/transformers/issues/17775/events
https://github.com/huggingface/transformers/pull/17775
1,276,022,222
PR_kwDOCUB6oc4550UW
17,775
Translation troubleshooting 17459
{ "login": "F02934", "id": 56677617, "node_id": "MDQ6VXNlcjU2Njc3NjE3", "avatar_url": "https://avatars.githubusercontent.com/u/56677617?v=4", "gravatar_id": "", "url": "https://api.github.com/users/F02934", "html_url": "https://github.com/F02934", "followers_url": "https://api.github.com/users/F02934/fo...
[]
closed
false
null
[]
[ "@mfumanelli Hi, I don't know why it contains commits from previous pull request.", "I will remake it because I made a mistake with the branch @mfumanelli " ]
1,655
1,655
1,655
CONTRIBUTOR
null
# What does this PR do? <!-- --> <!-- Remove if not applicable --> Fixes # (issue) Translation in Italian of Troubleshooting 17459 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). ## Who can review? Anyone in the comm...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/17775/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/17775/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/17775", "html_url": "https://github.com/huggingface/transformers/pull/17775", "diff_url": "https://github.com/huggingface/transformers/pull/17775.diff", "patch_url": "https://github.com/huggingface/transformers/pull/17775.patch", "merged_at...