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/18474
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18474/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18474/comments
https://api.github.com/repos/huggingface/transformers/issues/18474/events
https://github.com/huggingface/transformers/pull/18474
1,328,942,262
PR_kwDOCUB6oc48qqM3
18,474
Update no trainer examples for QA and Semantic Segmentation
{ "login": "kiansierra", "id": 47116198, "node_id": "MDQ6VXNlcjQ3MTE2MTk4", "avatar_url": "https://avatars.githubusercontent.com/u/47116198?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kiansierra", "html_url": "https://github.com/kiansierra", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? Update run_qa_no_trainer.py, run_qa_beam_search_no_trainer.py, run_semantic_segmentation_no_trainer.py examples to include `accelarator.gather_metrics` <!-- 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18474/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18474/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18474", "html_url": "https://github.com/huggingface/transformers/pull/18474", "diff_url": "https://github.com/huggingface/transformers/pull/18474.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18474.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18473
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18473/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18473/comments
https://api.github.com/repos/huggingface/transformers/issues/18473/events
https://github.com/huggingface/transformers/pull/18473
1,328,695,784
PR_kwDOCUB6oc48p1Vq
18,473
Update no_trainer.py scripts to include accelerate gradient accumulation wrapper
{ "login": "Rasmusafj", "id": 8708133, "node_id": "MDQ6VXNlcjg3MDgxMzM=", "avatar_url": "https://avatars.githubusercontent.com/u/8708133?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rasmusafj", "html_url": "https://github.com/Rasmusafj", "followers_url": "https://api.github.com/users/Ra...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Let us know when the PR is ready for review (it's in draft mode right now) so we can go ahead and merge.", "@sgugger @muellerzr I changed PR to review. :)\r\n\r\n", "@sgugger I removed changes to wav2vec script and fixed the usi...
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? Updates no_trainer.py scripts to use the new gradient accumulation wrapper feature from accelerate according to #18436. <!-- 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, s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18473/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18473/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18473", "html_url": "https://github.com/huggingface/transformers/pull/18473", "diff_url": "https://github.com/huggingface/transformers/pull/18473.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18473.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18472
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18472/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18472/comments
https://api.github.com/repos/huggingface/transformers/issues/18472/events
https://github.com/huggingface/transformers/issues/18472
1,328,575,297
I_kwDOCUB6oc5PMHNB
18,472
TFEncoderDecoderModel can not be trained with TF Keras fit() method
{ "login": "kmkarakaya", "id": 41159849, "node_id": "MDQ6VXNlcjQxMTU5ODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/41159849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmkarakaya", "html_url": "https://github.com/kmkarakaya", "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 @kmkarakaya 👋 Having a popular project like `transformers` means we get many support and feature requests — if we want to maximize how much we help the community, the community has to help us stay productive 🙏\r\n\r\nTo that end, please share a *short* script where the issue is clearly reproducible on *any* ...
1,659
1,662
1,662
NONE
null
### System Info - `transformers` version: 4.21.0 - Platform: Linux-4.15.0-188-generic-x86_64-with-glibc2.31 - Python version: 3.9.12 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): not installed (NA) - Tensorflow version (GPU?): 2.6.2 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax v...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18472/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18472/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18471
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18471/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18471/comments
https://api.github.com/repos/huggingface/transformers/issues/18471/events
https://github.com/huggingface/transformers/pull/18471
1,328,542,256
PR_kwDOCUB6oc48pT4Y
18,471
Let's not cast them all
{ "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
[]
[ "Thanks also for giving me the right pointer to the rootcause!", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? This PR is an alternative solution (and cleaner) to https://github.com/huggingface/transformers/pull/18467 An issue has been found when running this script: ``` import torch from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Salesfor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18471/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18471/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18471", "html_url": "https://github.com/huggingface/transformers/pull/18471", "diff_url": "https://github.com/huggingface/transformers/pull/18471.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18471.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18470
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18470/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18470/comments
https://api.github.com/repos/huggingface/transformers/issues/18470/events
https://github.com/huggingface/transformers/pull/18470
1,328,509,360
PR_kwDOCUB6oc48pMzd
18,470
Fix load of model checkpoints in the Trainer
{ "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,659
1,659
1,659
COLLABORATOR
null
# What does this PR do? #18221 broke the model reload when the contributor removed the `strict_load` variable (as requested in the review) without setting it to its proper value in the calls to `load_state_dict` after. This PR addresses that. Fixes #18373
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18470/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18470/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18470", "html_url": "https://github.com/huggingface/transformers/pull/18470", "diff_url": "https://github.com/huggingface/transformers/pull/18470.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18470.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18469
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18469/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18469/comments
https://api.github.com/repos/huggingface/transformers/issues/18469/events
https://github.com/huggingface/transformers/pull/18469
1,328,333,783
PR_kwDOCUB6oc48omt6
18,469
Add `TF_MODEL_FOR_SEMANTIC_SEGMENTATION_MAPPING`
{ "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._", "Test failures are `ValueError: Connection error` - irrelevant.", "Thank you, @ydshieh for this. I appreciate the help. " ]
1,659
1,659
1,659
COLLABORATOR
null
# What does this PR do? The original goal is to fix `TFSegformerModelTest.test_keras_fit`, but it ends up the following - Add `TF_MODEL_FOR_SEMANTIC_SEGMENTATION_MAPPING` to some `__init__` files. - Add `training` arguments in a few layers for `TFSegformerModel` - Update `_prepare_for_class` to deal with 2 more...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18469/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18469/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18469", "html_url": "https://github.com/huggingface/transformers/pull/18469", "diff_url": "https://github.com/huggingface/transformers/pull/18469.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18469.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18468
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18468/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18468/comments
https://api.github.com/repos/huggingface/transformers/issues/18468/events
https://github.com/huggingface/transformers/pull/18468
1,328,331,767
PR_kwDOCUB6oc48omSK
18,468
Update no trainer scripts for multiple-choice
{ "login": "kiansierra", "id": 47116198, "node_id": "MDQ6VXNlcjQ3MTE2MTk4", "avatar_url": "https://avatars.githubusercontent.com/u/47116198?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kiansierra", "html_url": "https://github.com/kiansierra", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? Update `run_swag_no_trainer` example to include `accelarator.gather_metrics` <!-- 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 refl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18468/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18468/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18468", "html_url": "https://github.com/huggingface/transformers/pull/18468", "diff_url": "https://github.com/huggingface/transformers/pull/18468.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18468.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18467
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18467/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18467/comments
https://api.github.com/repos/huggingface/transformers/issues/18467/events
https://github.com/huggingface/transformers/pull/18467
1,328,248,353
PR_kwDOCUB6oc48oUtQ
18,467
CodeGen Fix causal mask for half precision
{ "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._", "Yeah let's move the discussion to: https://github.com/huggingface/transformers/pull/18471" ]
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? This PR forces the causal mask to stay in `torch.uint8`. An error occurs when loading a model in half precision since `torch_dtype=torch.float16` casts also the buffers in fp16. Here is a minimal script to reproduce the error: ``` import torch from transformers import AutoTokenizer, AutoM...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18467/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18467/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18467", "html_url": "https://github.com/huggingface/transformers/pull/18467", "diff_url": "https://github.com/huggingface/transformers/pull/18467.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18467.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18466
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18466/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18466/comments
https://api.github.com/repos/huggingface/transformers/issues/18466/events
https://github.com/huggingface/transformers/issues/18466
1,328,006,337
I_kwDOCUB6oc5PJ8TB
18,466
Fused Softmax Kernels
{ "login": "Sanger2000", "id": 17725268, "node_id": "MDQ6VXNlcjE3NzI1MjY4", "avatar_url": "https://avatars.githubusercontent.com/u/17725268?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sanger2000", "html_url": "https://github.com/Sanger2000", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "@Sanger2000 could you add a link to the kernels from Megatron-LM? I'm curious if it could also be easily combined with a fused kernel for attention-dot-product, like FLASH attention.", "Raw Cuda and C++ code: https://github.com/NVIDIA/Megatron-LM/tree/main/megatron/fused_kernels\r\n\r\nThis can then be easily ad...
1,659
1,674
1,662
NONE
null
### Feature request Optional Fused Softmax Cuda kernels for transformer implementations. Megatron-LM has implemented these [here](https://github.com/NVIDIA/Megatron-LM/tree/main/megatron/fused_kernel), and they offer massive speedups for models under 10B params when training at 2048 sequence lengths. In my experi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18466/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18466/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18465
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18465/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18465/comments
https://api.github.com/repos/huggingface/transformers/issues/18465/events
https://github.com/huggingface/transformers/issues/18465
1,327,922,988
I_kwDOCUB6oc5PJn8s
18,465
How to embed relational information in a Transformer for NMT task?
{ "login": "smith-co", "id": 102386930, "node_id": "U_kgDOBhpM8g", "avatar_url": "https://avatars.githubusercontent.com/u/102386930?v=4", "gravatar_id": "", "url": "https://api.github.com/users/smith-co", "html_url": "https://github.com/smith-co", "followers_url": "https://api.github.com/users/smith-co/...
[]
closed
false
null
[]
[ "What is the input to the transformer going to be? Is it more like:\r\n\r\n> He ended his meeting on Tuesday night.\r\n\r\nbut with the graph data encoded into the embeddings somehow? Or more like:\r\n\r\n> end-01 He meet-03 data-entity Tuesday night\r\n\r\nwith the graph data iteslf as input?", "The graph could ...
1,659
1,662
1,662
NONE
null
### Feature request Embedding relational information for a transformer ### Motivation I am using Transformer model form huggingface for machine translation. However, my input data has relational information as shown below: ![image](https://user-images.githubusercontent.com/102386930/182737748-7d0fd33e-caa6-4c51-a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18465/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18465/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18464
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18464/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18464/comments
https://api.github.com/repos/huggingface/transformers/issues/18464/events
https://github.com/huggingface/transformers/issues/18464
1,327,899,700
I_kwDOCUB6oc5PJiQ0
18,464
mypy typing not working for AutoModelForMaskedLM when used with Trainer
{ "login": "harshit-sethi09", "id": 88991319, "node_id": "MDQ6VXNlcjg4OTkxMzE5", "avatar_url": "https://avatars.githubusercontent.com/u/88991319?v=4", "gravatar_id": "", "url": "https://api.github.com/users/harshit-sethi09", "html_url": "https://github.com/harshit-sethi09", "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 there @harshit-sethi09 👋 Our code has type annotations, but they are mostly for documentation purposes (and not to be used with `mypy`)\r\n\r\ncc @sgugger ", "I have very strong thoughts about trying to statically type-checking a dynamically typed language which would take too long to express here. But this ...
1,659
1,663
1,663
NONE
null
### System Info Python version - 3.9 transformers version - 4.20.1 ### Who can help? @sgugger ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give detail...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18464/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18464/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18463
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18463/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18463/comments
https://api.github.com/repos/huggingface/transformers/issues/18463/events
https://github.com/huggingface/transformers/issues/18463
1,327,847,192
I_kwDOCUB6oc5PJVcY
18,463
Multi-GPU setting: Expected to mark a variable ready only once (RuntimeError)
{ "login": "sajastu", "id": 10419055, "node_id": "MDQ6VXNlcjEwNDE5MDU1", "avatar_url": "https://avatars.githubusercontent.com/u/10419055?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sajastu", "html_url": "https://github.com/sajastu", "followers_url": "https://api.github.com/users/sajast...
[ { "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 @sajastu Could you share a (minimal) code snippet that could reproduce this issue? Thank you.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow ...
1,659
1,663
1,663
NONE
null
### System Info I’m trying to run a Huggingface model on a multi-GPU environment. The problem is that when I’m processing multiple inputs which are bound to each other from a single class (shared-weights encoder), I’m getting `RuntimeError: Expected to mark a variable ready only once`. While if I use this encoder modu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18463/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18463/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18462
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18462/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18462/comments
https://api.github.com/repos/huggingface/transformers/issues/18462/events
https://github.com/huggingface/transformers/pull/18462
1,327,826,024
PR_kwDOCUB6oc48m8g8
18,462
[FLAX] Add dtype to embedding for gpt2 model
{ "login": "merrymercy", "id": 15100009, "node_id": "MDQ6VXNlcjE1MTAwMDA5", "avatar_url": "https://avatars.githubusercontent.com/u/15100009?v=4", "gravatar_id": "", "url": "https://api.github.com/users/merrymercy", "html_url": "https://github.com/merrymercy", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks @merrymercy, I've noticed that we omit the `dtype` arg from all Flax `nn.Embed` modules! @patil-suraj is there a reason why we do this?\r\n\r\nBART:\r\nhttps://github.com/huggingface/transformers/blob/ab2006e3d6db88654526a4169...
1,659
1,668
1,666
CONTRIBUTOR
null
# What does this PR do? Add dtype to embedding for gpt2 models. This dtype is necessary for mixed precision training. ## Who can review? @patrickvonplaten, @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18462/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18462/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18462", "html_url": "https://github.com/huggingface/transformers/pull/18462", "diff_url": "https://github.com/huggingface/transformers/pull/18462.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18462.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18461
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18461/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18461/comments
https://api.github.com/repos/huggingface/transformers/issues/18461/events
https://github.com/huggingface/transformers/issues/18461
1,327,550,976
I_kwDOCUB6oc5PINIA
18,461
BartForConditionalGeneration output is not dependent on input when trained from scratch
{ "login": "sinking-point", "id": 17532243, "node_id": "MDQ6VXNlcjE3NTMyMjQz", "avatar_url": "https://avatars.githubusercontent.com/u/17532243?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sinking-point", "html_url": "https://github.com/sinking-point", "followers_url": "https://api.githu...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "This has been resolved by using a smaller learning rate.", "hello, \r\n\r\nI meet exactly the same problem. My bart model always generate the same content no matter what the input is. How you solve your problem?\r\n\r\nThanks \r\n\r\n", "@xienian87 I retrained the model with a smaller learning rate and the pro...
1,659
1,681
1,659
CONTRIBUTOR
null
### System Info - `transformers` version: 4.21.0 - Platform: Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.31 - Python version: 3.9.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.0+cu113 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): no...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18461/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18461/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18460
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18460/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18460/comments
https://api.github.com/repos/huggingface/transformers/issues/18460/events
https://github.com/huggingface/transformers/pull/18460
1,327,452,367
PR_kwDOCUB6oc48luC2
18,460
Fix torch version comparisons (helps with +cu*** or +cpu official builds)
{ "login": "LSinev", "id": 12072891, "node_id": "MDQ6VXNlcjEyMDcyODkx", "avatar_url": "https://avatars.githubusercontent.com/u/12072891?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LSinev", "html_url": "https://github.com/LSinev", "followers_url": "https://api.github.com/users/LSinev/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Wow very cool @LSinev !" ]
1,659
1,661
1,659
CONTRIBUTOR
null
Comparisons like `version.parse(torch.__version__) > version.parse("1.6")` are `True` for `torch==1.6.0+cu101` or `torch==1.6.0+cpu` (which is not intended, I suppose). So `version.parse(version.parse(torch.__version__).base_version)` comparisons are preferred (and used in pytorch_utils.py but not in other places)....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18460/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18460/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18460", "html_url": "https://github.com/huggingface/transformers/pull/18460", "diff_url": "https://github.com/huggingface/transformers/pull/18460.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18460.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18459
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18459/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18459/comments
https://api.github.com/repos/huggingface/transformers/issues/18459/events
https://github.com/huggingface/transformers/pull/18459
1,327,444,299
PR_kwDOCUB6oc48lsTK
18,459
Add machine type in the artifact of Examples directory job
{ "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 should have run the job and make sure it works before requesting review - ending up a few more commits to fix things, sorry)" ]
1,659
1,662
1,659
COLLABORATOR
null
# What does this PR do? We have <img width="257" alt="Screenshot 2022-08-03 174611" src="https://user-images.githubusercontent.com/2521628/182652043-02a031a1-c8b9-457a-8876-130a37099075.png"> even when there are some errors in `Examples directory` test. (relevant run: https://github.com/huggingface/transformers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18459/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18459/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18459", "html_url": "https://github.com/huggingface/transformers/pull/18459", "diff_url": "https://github.com/huggingface/transformers/pull/18459.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18459.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18458
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18458/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18458/comments
https://api.github.com/repos/huggingface/transformers/issues/18458/events
https://github.com/huggingface/transformers/pull/18458
1,327,425,868
PR_kwDOCUB6oc48loWc
18,458
Compute true loss Flax examples
{ "login": "duongna21", "id": 38061659, "node_id": "MDQ6VXNlcjM4MDYxNjU5", "avatar_url": "https://avatars.githubusercontent.com/u/38061659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/duongna21", "html_url": "https://github.com/duongna21", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@duongna21 super sorry it seems like the git commit history got messed up :-/ Any chance you could re-submit your PR? " ]
1,659
1,665
1,665
CONTRIBUTOR
null
# What does this PR do? 'True' losses should be computed in Flax examples, as [discussed](https://github.com/huggingface/transformers/pull/18297#discussion_r931971230) with @sanchit-gandhi. ## Who can review? cc @sanchit-gandhi @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18458/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18458/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18458", "html_url": "https://github.com/huggingface/transformers/pull/18458", "diff_url": "https://github.com/huggingface/transformers/pull/18458.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18458.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18457
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18457/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18457/comments
https://api.github.com/repos/huggingface/transformers/issues/18457/events
https://github.com/huggingface/transformers/pull/18457
1,327,409,481
PR_kwDOCUB6oc48lkvD
18,457
HFTracer.trace can now take callables and torch.nn.Module
{ "login": "michaelbenayoun", "id": 25418079, "node_id": "MDQ6VXNlcjI1NDE4MDc5", "avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/michaelbenayoun", "html_url": "https://github.com/michaelbenayoun", "followers_url": "https://api...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
MEMBER
null
# What does this PR do? This PR enables to use the `HFTracer` "meta-tracing" features to trace any Python callable / `torch.nn.Module`. For `transformers.PreTrainedModel`s, the method `HFTracer._generate_dummy_inputs` already takes care of creating the original dummy inputs needed to handle data-dependent control...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18457/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18457/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18457", "html_url": "https://github.com/huggingface/transformers/pull/18457", "diff_url": "https://github.com/huggingface/transformers/pull/18457.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18457.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18456
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18456/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18456/comments
https://api.github.com/repos/huggingface/transformers/issues/18456/events
https://github.com/huggingface/transformers/pull/18456
1,327,399,379
PR_kwDOCUB6oc48lih7
18,456
fix ONNX support for bloom
{ "login": "NouamaneTazi", "id": 29777165, "node_id": "MDQ6VXNlcjI5Nzc3MTY1", "avatar_url": "https://avatars.githubusercontent.com/u/29777165?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NouamaneTazi", "html_url": "https://github.com/NouamaneTazi", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
MEMBER
null
Merged on https://github.com/huggingface/transformers/pull/18344 This PR aims to fix ONNX export of bloom. All the following tests are passing: ``` RUN_SLOW=1 pytest tests/onnx/test_onnx_v2.py -k "bloom" RUN_SLOW=1 pytest tests/models/bloom/test_modeling_bloom.py ```
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18456/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18456/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18456", "html_url": "https://github.com/huggingface/transformers/pull/18456", "diff_url": "https://github.com/huggingface/transformers/pull/18456.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18456.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18455
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18455/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18455/comments
https://api.github.com/repos/huggingface/transformers/issues/18455/events
https://github.com/huggingface/transformers/issues/18455
1,327,377,278
I_kwDOCUB6oc5PHit-
18,455
understand differences in tokenization
{ "login": "bariluz93", "id": 28778130, "node_id": "MDQ6VXNlcjI4Nzc4MTMw", "avatar_url": "https://avatars.githubusercontent.com/u/28778130?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bariluz93", "html_url": "https://github.com/bariluz93", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "This is because the languages you're translating between (Engish and German in this case) have different tokenization vocabularies. This implies that tokens will get tokenized differently. MarianMT models have seq2seq (encoder-decoder) architectures, and both the encoder and decoder each have their own embedding m...
1,659
1,665
1,662
NONE
null
hi, I'm trying to understand the tokenization in MarianTokenizer I run the following code from transformers import MarianTokenizer model_name='Helsinki-NLP/opus-mt-en-de' model = MarianMTModel.from_pretrained(model_name,tokenizer= tokenizer, **kwargs) tokenizer.tokenize("doctor") ['▁doctor'] with tokeni...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18455/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18455/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18454
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18454/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18454/comments
https://api.github.com/repos/huggingface/transformers/issues/18454/events
https://github.com/huggingface/transformers/pull/18454
1,327,304,302
PR_kwDOCUB6oc48lN1x
18,454
disable Onnx test for google/long-t5-tglobal-base
{ "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
[]
[ "Adding @regisss as a reviewer as this is suggested by GitHub automatically 😄 ", "_The documentation is not available anymore as the PR was closed or merged._", "I will tag lewis when he is back.", "Hi @lewtun !\r\n\r\nCould you take a look at this ONNX test? Thank you." ]
1,659
1,662
1,659
COLLABORATOR
null
# What does this PR do? For `("longt5", "google/long-t5-tglobal-base")`, we get ```bash Floating point exception (core dumped) ``` in this call https://github.com/huggingface/transformers/blob/fc546332d7a9395323f656635362c9e0f3c4161a/src/transformers/onnx/convert.py#L404 Let's disable it for now, so other ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18454/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18454/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18454", "html_url": "https://github.com/huggingface/transformers/pull/18454", "diff_url": "https://github.com/huggingface/transformers/pull/18454.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18454.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18453
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18453/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18453/comments
https://api.github.com/repos/huggingface/transformers/issues/18453/events
https://github.com/huggingface/transformers/pull/18453
1,327,258,869
PR_kwDOCUB6oc48lD-l
18,453
Add zero-shot obj detection notebook to docs
{ "login": "alaradirik", "id": 8944735, "node_id": "MDQ6VXNlcjg5NDQ3MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alaradirik", "html_url": "https://github.com/alaradirik", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Thanks for adding! Although I think we need to split up that long list of notebooks by modality/task.\r\n\r\nI agree! I will add another PR to organize the notebooks page." ]
1,659
1,659
1,659
CONTRIBUTOR
null
Adds OWL-ViT demo notebook links to the official notebooks docs. I'm currently working on adding TF support for this model and we'll be promoting it soon.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18453/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18453/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18453", "html_url": "https://github.com/huggingface/transformers/pull/18453", "diff_url": "https://github.com/huggingface/transformers/pull/18453.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18453.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18452
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18452/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18452/comments
https://api.github.com/repos/huggingface/transformers/issues/18452/events
https://github.com/huggingface/transformers/issues/18452
1,327,219,841
I_kwDOCUB6oc5PG8SB
18,452
Unable to Infer on Bloom Model-2b5 using Deepspeed
{ "login": "Ravisankar13", "id": 31944166, "node_id": "MDQ6VXNlcjMxOTQ0MTY2", "avatar_url": "https://avatars.githubusercontent.com/u/31944166?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ravisankar13", "html_url": "https://github.com/Ravisankar13", "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 @Ravisankar13, could you please provide the script you have used, the deepspeed config, as well as the full stacktrace? It will be hard to help you with so little information.\r\n\r\ncc @stas00 ", "@Ravisankar13, please see the work-in-progress here:\r\nhttps://github.com/bigscience-workshop/Megatron-DeepSpe...
1,659
1,663
1,663
NONE
null
### System Info I was able to load the Bloom-2b5 Model onto my Colab notebook for text generation(Inference). When I use Deepspeed to load the model and try to inference the memory is not sufficient. I don't understand because with the help of deepspeed i should be able to load the larger model or atleast the same mod...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18452/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18452/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18451
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18451/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18451/comments
https://api.github.com/repos/huggingface/transformers/issues/18451/events
https://github.com/huggingface/transformers/pull/18451
1,327,202,974
PR_kwDOCUB6oc48k31n
18,451
TF Examples Rewrite
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This is now ready for review @sgugger @gante! I'm tracking down a couple of remaining bugs in the tests and doing some final manual checks, but almost everything should be finished by now.\r\n\r\nI realize it's a very large PR, but y...
1,659
1,660
1,660
MEMBER
null
This PR is a rewrite of the TF examples, including several modern methods. I'm focusing on updating everything to use modern methods like `prepare_tf_dataset` and the `evaluate` library as well as adding features and functionality I missed when I first ported them, since `transformers` TF support was much shakier when ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18451/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18451/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18451", "html_url": "https://github.com/huggingface/transformers/pull/18451", "diff_url": "https://github.com/huggingface/transformers/pull/18451.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18451.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18450
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18450/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18450/comments
https://api.github.com/repos/huggingface/transformers/issues/18450/events
https://github.com/huggingface/transformers/pull/18450
1,327,195,067
PR_kwDOCUB6oc48k2Hd
18,450
[WIP] Add TF support for OWL-ViT
{ "login": "alaradirik", "id": 8944735, "node_id": "MDQ6VXNlcjg5NDQ3MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alaradirik", "html_url": "https://github.com/alaradirik", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18450). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,659
1,666
1,666
CONTRIBUTOR
null
Adds TensorFlow support for the [OWL-ViT](https://huggingface.co/docs/transformers/model_doc/owlvit) model. - Creates transformers/models/owlvit/modeling_tf_owlvit.py - Creates tests/models/owlvit/test_modeling_tf_owlvit.py
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18450/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18450/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18450", "html_url": "https://github.com/huggingface/transformers/pull/18450", "diff_url": "https://github.com/huggingface/transformers/pull/18450.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18450.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18449
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18449/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18449/comments
https://api.github.com/repos/huggingface/transformers/issues/18449/events
https://github.com/huggingface/transformers/pull/18449
1,327,058,188
PR_kwDOCUB6oc48kYYS
18,449
Bugfix for the bloom model. The tensor is not moved to the right gpu causing error.
{ "login": "prajdabre", "id": 8413449, "node_id": "MDQ6VXNlcjg0MTM0NDk=", "avatar_url": "https://avatars.githubusercontent.com/u/8413449?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prajdabre", "html_url": "https://github.com/prajdabre", "followers_url": "https://api.github.com/users/pr...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18449). All of your documentation changes will be reflected on that endpoint." ]
1,659
1,660
1,660
NONE
null
# What does this PR do? In the implementation of the BLOOM model, on line 307, a tensor is made but not moved to a device. By default this is cpu but if someone wants to use a gpu then this will cause the code to throw an error. @patrickvonplaten, @LysandreJik ## Before submitting - [N] This PR fixes a typo or i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18449/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18449/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18449", "html_url": "https://github.com/huggingface/transformers/pull/18449", "diff_url": "https://github.com/huggingface/transformers/pull/18449.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18449.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18448
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18448/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18448/comments
https://api.github.com/repos/huggingface/transformers/issues/18448/events
https://github.com/huggingface/transformers/pull/18448
1,327,046,048
PR_kwDOCUB6oc48kVv5
18,448
Update pinned hhub version
{ "login": "osanseviero", "id": 7246357, "node_id": "MDQ6VXNlcjcyNDYzNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osanseviero", "html_url": "https://github.com/osanseviero", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I still need to update https://github.com/huggingface/transformers/blob/main/src/transformers/dependency_versions_table.py, will do once back in laptop and let you know", "Thank you :hugs: " ]
1,659
1,659
1,659
MEMBER
null
# What does this PR do? This PR updates the `huggingface_hub` pinned version. https://github.com/huggingface/transformers/pull/18366 uses new versions from the library which are not supported in previous versions, so we need to upgrade here.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18448/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18448/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18448", "html_url": "https://github.com/huggingface/transformers/pull/18448", "diff_url": "https://github.com/huggingface/transformers/pull/18448.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18448.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18447
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18447/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18447/comments
https://api.github.com/repos/huggingface/transformers/issues/18447/events
https://github.com/huggingface/transformers/issues/18447
1,327,031,769
I_kwDOCUB6oc5PGOXZ
18,447
'MarianTokenizer' object has no attribute 'target_encoder'
{ "login": "bariluz93", "id": 28778130, "node_id": "MDQ6VXNlcjI4Nzc4MTMw", "avatar_url": "https://avatars.githubusercontent.com/u/28778130?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bariluz93", "html_url": "https://github.com/bariluz93", "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,659
1,662
1,662
NONE
null
### System Info - `transformers` version: 4.19.0.dev0 - Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1 - Python version: 3.7.3 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu102 (False) - Tensorflow version (GPU?): 2.8.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18447/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18447/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18446
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18446/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18446/comments
https://api.github.com/repos/huggingface/transformers/issues/18446/events
https://github.com/huggingface/transformers/issues/18446
1,327,014,548
I_kwDOCUB6oc5PGKKU
18,446
Add depth estimation pipeline
{ "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...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" } ]
closed
false
null
[]
[ "What would be the output like @NielsRogge ?\r\n\r\nMy understanding is that depth is just a gray scale image (black = infinitely far, white = infinitely close).\r\n\r\n\r\nIf that's the case It seems really close to `image-segmentation` in the sense that it's generating a new image from the original image, so we ...
1,659
1,665
1,665
CONTRIBUTOR
null
### Feature request We currently have 2 monocular depth estimation models in the library, namely [DPT](https://huggingface.co/docs/transformers/model_doc/dpt) and [GLPN](https://huggingface.co/docs/transformers/model_doc/glpn). It would be great to have a pipeline for this task, with the following API: ``` fr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18446/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/18446/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18445
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18445/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18445/comments
https://api.github.com/repos/huggingface/transformers/issues/18445/events
https://github.com/huggingface/transformers/issues/18445
1,327,008,522
I_kwDOCUB6oc5PGIsK
18,445
Add zero-shot object detection pipeline
{ "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...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" } ]
closed
false
null
[]
[ "As seen with @alaradirik this morning, this could also be leveraging the custom pipeline feature that was implemented last week, especially if this pipeline works with a very limited number of artchitectures.\r\n\r\ncf https://github.com/huggingface/transformers/pull/18079", "cc @alaradirik ", "Can I take this...
1,659
1,666
1,666
CONTRIBUTOR
null
### Feature request We currently have [OWL-ViT](https://huggingface.co/docs/transformers/main/model_doc/owlvit) in the library, which is capable of performing zero-shot object detection. It would be great to have a pipeline for this task, with the following API: ``` from transformers import pipeline pipe =...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18445/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18445/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18444
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18444/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18444/comments
https://api.github.com/repos/huggingface/transformers/issues/18444/events
https://github.com/huggingface/transformers/pull/18444
1,326,873,772
PR_kwDOCUB6oc48jwUG
18,444
Add stop sequence to text generation pipeline
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hey @Narsil. I've managed to get this working for greedy decoding and multimodal sampling. For beam-search, what would be the best approach to deal with a stop_sequence? I've assumed that if a stop_sequence appears in any of the beam...
1,659
1,664
1,664
CONTRIBUTOR
null
# What does this PR do? As per the conversation in https://github.com/huggingface/transformers/issues/17562, creating this draft PR to add a stop_sequence option to text generation pipelines. Fixes # (issue) ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other chec...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18444/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18444/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18444", "html_url": "https://github.com/huggingface/transformers/pull/18444", "diff_url": "https://github.com/huggingface/transformers/pull/18444.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18444.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18443
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18443/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18443/comments
https://api.github.com/repos/huggingface/transformers/issues/18443/events
https://github.com/huggingface/transformers/pull/18443
1,326,734,989
PR_kwDOCUB6oc48jS8q
18,443
Update no trainer scripts for language modeling and image classification examples
{ "login": "nandwalritik", "id": 48522685, "node_id": "MDQ6VXNlcjQ4NTIyNjg1", "avatar_url": "https://avatars.githubusercontent.com/u/48522685?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nandwalritik", "html_url": "https://github.com/nandwalritik", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks again for your contribution!" ]
1,659
1,659
1,659
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/18443/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18443/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18443", "html_url": "https://github.com/huggingface/transformers/pull/18443", "diff_url": "https://github.com/huggingface/transformers/pull/18443.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18443.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18442
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18442/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18442/comments
https://api.github.com/repos/huggingface/transformers/issues/18442/events
https://github.com/huggingface/transformers/pull/18442
1,326,693,458
PR_kwDOCUB6oc48jKFX
18,442
Update perf_train_gpu_one.mdx
{ "login": "thepurpleowl", "id": 21123710, "node_id": "MDQ6VXNlcjIxMTIzNzEw", "avatar_url": "https://avatars.githubusercontent.com/u/21123710?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thepurpleowl", "html_url": "https://github.com/thepurpleowl", "followers_url": "https://api.github.c...
[]
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,659
1,662
1,662
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18442/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18442/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18442", "html_url": "https://github.com/huggingface/transformers/pull/18442", "diff_url": "https://github.com/huggingface/transformers/pull/18442.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18442.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18441
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18441/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18441/comments
https://api.github.com/repos/huggingface/transformers/issues/18441/events
https://github.com/huggingface/transformers/issues/18441
1,326,532,968
I_kwDOCUB6oc5PEUlo
18,441
Conversion from TF BERT Checkpoint to HF Model Breaks
{ "login": "vladd-i", "id": 55069026, "node_id": "MDQ6VXNlcjU1MDY5MDI2", "avatar_url": "https://avatars.githubusercontent.com/u/55069026?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vladd-i", "html_url": "https://github.com/vladd-i", "followers_url": "https://api.github.com/users/vladd-...
[ { "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,659
1,662
1,662
NONE
null
### System Info I'm trying to convert the BERT TF1 checkpoint provided in [MLPerf GDrive](https://drive.google.com/drive/folders/1oQF4diVHNPCclykwdvQJw8n_VIWwV0PT?usp=sharing) to a HF BERT model using the following transformer-cli command provided in [HF documentation](https://huggingface.co/docs/transformers/converti...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18441/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/18441/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18440
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18440/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18440/comments
https://api.github.com/repos/huggingface/transformers/issues/18440/events
https://github.com/huggingface/transformers/pull/18440
1,326,515,691
PR_kwDOCUB6oc48ilS-
18,440
Fix model list
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
MEMBER
null
This PR moves GroupViT and LXMert to their correct sections. As pointed out by @NielsRogge and @LysandreJik, GroupViT and LXMert are both multimodal models.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18440/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18440/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18440", "html_url": "https://github.com/huggingface/transformers/pull/18440", "diff_url": "https://github.com/huggingface/transformers/pull/18440.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18440.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18439
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18439/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18439/comments
https://api.github.com/repos/huggingface/transformers/issues/18439/events
https://github.com/huggingface/transformers/pull/18439
1,326,483,184
PR_kwDOCUB6oc48ifAU
18,439
Integrate FlashAttention into HF OPT
{ "login": "erichan1", "id": 30481032, "node_id": "MDQ6VXNlcjMwNDgxMDMy", "avatar_url": "https://avatars.githubusercontent.com/u/30481032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erichan1", "html_url": "https://github.com/erichan1", "followers_url": "https://api.github.com/users/eri...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18439). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,659
1,690
1,662
NONE
null
Integrate FlashAttention. - Requires https://github.com/pytorch/pytorch/pull/81434 to work. torch._scaled_dot_product_attention is only there. - Turn on fast path or go back to slow path using fast_attention=True/False flag. - Turn on causal mask or turn it off for the fast attention path using fast_attention_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18439/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18439/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18439", "html_url": "https://github.com/huggingface/transformers/pull/18439", "diff_url": "https://github.com/huggingface/transformers/pull/18439.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18439.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18438
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18438/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18438/comments
https://api.github.com/repos/huggingface/transformers/issues/18438/events
https://github.com/huggingface/transformers/pull/18438
1,326,423,220
PR_kwDOCUB6oc48iR4_
18,438
Use new huggingface_hub tools for download models
{ "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._", "Yay! TYSM!!!" ]
1,659
1,660
1,659
COLLABORATOR
null
# What does this PR do? This PR migrates Transformers to fully rely on `huggingface_hub` for the internal download and cache of all objects in Transformers (models, configs, tokenizers, feature extractors etc). To achieve this, a new function `cached_file` is introduced to replace the old `cached_path`, which relies...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18438/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18438/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18438", "html_url": "https://github.com/huggingface/transformers/pull/18438", "diff_url": "https://github.com/huggingface/transformers/pull/18438.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18438.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18437
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18437/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18437/comments
https://api.github.com/repos/huggingface/transformers/issues/18437/events
https://github.com/huggingface/transformers/issues/18437
1,326,413,217
I_kwDOCUB6oc5PD3Wh
18,437
Update no_trainer scripts to include gather_for_metrics
{ "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" }, { "id": 1990918270, ...
closed
false
null
[]
[ "Hi @muellerzr opened PR #18443 for first three examples in the list.", "Hi @muellerzr I opened this PR https://github.com/huggingface/transformers/pull/18468 for the 4th example and ran it locally.\r\nPlease let me know if there is any changes, you would like done on this example, And I'll update it and add the...
1,659
1,672
1,672
CONTRIBUTOR
null
### Feature request 🤗 Accelerate has a wrapper to help with distributed metric calculation (a tough problem!), and the `no_trainer` scripts should be updated to include it! An example can be seen [here](https://github.com/huggingface/accelerate/blob/main/examples/nlp_example.py#L163-L169), below is an example d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18437/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18437/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18436
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18436/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18436/comments
https://api.github.com/repos/huggingface/transformers/issues/18436/events
https://github.com/huggingface/transformers/issues/18436
1,326,409,645
I_kwDOCUB6oc5PD2et
18,436
Update no_trainer scripts to include gradient accumulation
{ "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" }, { "id": 1990918270, ...
open
false
null
[]
[ "Hi @muellerzr \r\n\r\nI took a go at this (accelerate seems awesome!), and implemented the changes quickly. However, I noticed some performance degredation when using the the gradient accumulation wrapper. \r\n\r\nAfter some debugging, I think it stems from the lr_scheduler implementation in accelerate updating le...
1,659
1,698
null
CONTRIBUTOR
null
### Feature request 🤗 Accelerate has a gradient accumulation wrapper, and the `no_trainer` scripts should be updated to include it! An example can be seen [here](https://github.com/huggingface/accelerate/blob/main/examples/by_feature/gradient_accumulation.py), below is an example diff of what the integration wo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18436/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18436/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/18435
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18435/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18435/comments
https://api.github.com/repos/huggingface/transformers/issues/18435/events
https://github.com/huggingface/transformers/pull/18435
1,326,351,330
PR_kwDOCUB6oc48iCUE
18,435
fixing error when using sharded ddp
{ "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? Fixes #18410 1. conditional logic fixed ## 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18435/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18435/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18435", "html_url": "https://github.com/huggingface/transformers/pull/18435", "diff_url": "https://github.com/huggingface/transformers/pull/18435.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18435.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18434
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18434/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18434/comments
https://api.github.com/repos/huggingface/transformers/issues/18434/events
https://github.com/huggingface/transformers/pull/18434
1,326,311,781
PR_kwDOCUB6oc48h53o
18,434
Update BLOOM Overview in Doc: Add programming languages
{ "login": "cakiki", "id": 3664563, "node_id": "MDQ6VXNlcjM2NjQ1NjM=", "avatar_url": "https://avatars.githubusercontent.com/u/3664563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cakiki", "html_url": "https://github.com/cakiki", "followers_url": "https://api.github.com/users/cakiki/foll...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
The current wording makes it sound as if the programming languages are part of the 46 natural languages. This PR adds the exact number of programming languages to avoid confusion. # What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is g...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18434/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/18434/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18434", "html_url": "https://github.com/huggingface/transformers/pull/18434", "diff_url": "https://github.com/huggingface/transformers/pull/18434.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18434.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18433
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18433/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18433/comments
https://api.github.com/repos/huggingface/transformers/issues/18433/events
https://github.com/huggingface/transformers/issues/18433
1,326,245,069
I_kwDOCUB6oc5PDOTN
18,433
BlenderBot-Distil-400M training fails if the input or target length exceeds a certain threshold, even when truncation and padding is on
{ "login": "shermansiu", "id": 12627125, "node_id": "MDQ6VXNlcjEyNjI3MTI1", "avatar_url": "https://avatars.githubusercontent.com/u/12627125?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shermansiu", "html_url": "https://github.com/shermansiu", "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
[]
[ "Adding `padding=True` when tokenizing both the input and targets does not fix the issue.", "Also, when running the script using the CPU only, I get this error:\r\n\r\n```\r\nroot@pc:~ # CUDA_VISIBLE_DEVICES=\"\" python script_blenderbot_length.py \r\n100%|██████████████████████████| 1/1 [00:00<00:00, 4.95ba/s]\...
1,659
1,662
1,662
CONTRIBUTOR
null
### System Info transformers version: 4.20.1, 4.21.0 Platform: Linux Python version: 3.7.6 Huggingface_hub version: 0.8.1 PyTorch version (GPU?): 1.10.2 (Yes) Tensorflow version (GPU?): not installed (NA) Flax version (CPU?/GPU?/TPU?): not installed (NA) Jax version: not installed JaxLib version: not install...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18433/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18433/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18432
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18432/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18432/comments
https://api.github.com/repos/huggingface/transformers/issues/18432/events
https://github.com/huggingface/transformers/pull/18432
1,326,160,381
PR_kwDOCUB6oc48hYeV
18,432
Improve generate docstring (for TF and FLAX)
{ "login": "JoaoLages", "id": 17574157, "node_id": "MDQ6VXNlcjE3NTc0MTU3", "avatar_url": "https://avatars.githubusercontent.com/u/17574157?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JoaoLages", "html_url": "https://github.com/JoaoLages", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Looks like we just need a quick `make style` to be ready to merge :-)", "Mmm no the formatting has done something very wrong here, we can't have that. There is likely some syntax error in the docstring.\r\nProblem looks to be in th...
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? Just a continuation PR of https://github.com/huggingface/transformers/pull/18198 for TF and FLAX code ## 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? @sgugger @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18432/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/18432/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18432", "html_url": "https://github.com/huggingface/transformers/pull/18432", "diff_url": "https://github.com/huggingface/transformers/pull/18432.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18432.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18431
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18431/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18431/comments
https://api.github.com/repos/huggingface/transformers/issues/18431/events
https://github.com/huggingface/transformers/issues/18431
1,326,110,614
I_kwDOCUB6oc5PCteW
18,431
Make Tokenizers serializable to TF SavedModel format
{ "login": "piEsposito", "id": 47679710, "node_id": "MDQ6VXNlcjQ3Njc5NzEw", "avatar_url": "https://avatars.githubusercontent.com/u/47679710?v=4", "gravatar_id": "", "url": "https://api.github.com/users/piEsposito", "html_url": "https://github.com/piEsposito", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "cc @Rocketknight1, I believe you've been looking into something similar.", "Hi @piEsposito, this is something we've been working on! Right now it's only available for BERT, but we intend to expand it to other models, particularly now that we're seeing interest in it. You can use the [TFBertTokenizer](https://hug...
1,659
1,683
1,662
CONTRIBUTOR
null
### Feature request It would be great if we could serialize our tokenizers into the TF SavedModel format, so that we could deploy it to TF Serving without a handler to tokenize our inputs. ### Motivation It is frustrating to have to write a Python, JS or Rust handler every time I want to deploy a huggingface/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18431/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/18431/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18430
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18430/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18430/comments
https://api.github.com/repos/huggingface/transformers/issues/18430/events
https://github.com/huggingface/transformers/issues/18430
1,326,087,760
I_kwDOCUB6oc5PCn5Q
18,430
Increase notebooks page visibility
{ "login": "alaradirik", "id": 8944735, "node_id": "MDQ6VXNlcjg5NDQ3MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alaradirik", "html_url": "https://github.com/alaradirik", "followers_url": "https://api.github.com/users...
[]
closed
false
{ "login": "alaradirik", "id": 8944735, "node_id": "MDQ6VXNlcjg5NDQ3MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alaradirik", "html_url": "https://github.com/alaradirik", "followers_url": "https://api.github.com/users...
[ { "login": "alaradirik", "id": 8944735, "node_id": "MDQ6VXNlcjg5NDQ3MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alaradirik", "html_url": "https://github.com/alaradirik", "followers_url": "https://...
[ "I wouldn't merge the community notebooks page with the notebooks page, just make the link work again. I think it's important to separate what we officially support from what we don't. Organizing things a bit better would certainly be welcome, as always, happy to look at a PR!\r\n\r\nSame for fixing some of the not...
1,659
1,662
1,662
CONTRIBUTOR
null
Hi, I was looking at the [notebooks page](https://huggingface.co/docs/transformers/notebooks) and I noticed that the community notebooks link is broken and some of the official notebooks are outdated and throw errors when run. It would be great to reorganize the notebooks page such that: 1) The [community page ](h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18430/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18430/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18429
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18429/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18429/comments
https://api.github.com/repos/huggingface/transformers/issues/18429/events
https://github.com/huggingface/transformers/pull/18429
1,326,087,102
PR_kwDOCUB6oc48hI1P
18,429
[TENTATIVe] Attempt to reduce number of HEAD calls during model warmup.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18429). All of your documentation changes will be reflected on that endpoint.", "Ok, marking as draft while the other PR is being worked on.", "@sgugger If you want to take a look a the tests.\r\n\r\nRight now the tests a...
1,659
1,664
1,664
CONTRIBUTOR
null
# What does this PR do? When doing model loading with the various tools within `transformers` there's actually a lot of duplicate HEAD calls that cost network time and duplicate usage in an unecessary fashion. For instance when doing a simple `pipeline(model="gpt2")` You're getting ``` Fetching https://hug...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18429/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18429/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18429", "html_url": "https://github.com/huggingface/transformers/pull/18429", "diff_url": "https://github.com/huggingface/transformers/pull/18429.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18429.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18428
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18428/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18428/comments
https://api.github.com/repos/huggingface/transformers/issues/18428/events
https://github.com/huggingface/transformers/pull/18428
1,326,063,760
PR_kwDOCUB6oc48hD65
18,428
Accept `trust_remote_code` and ignore it in `PreTrainedModel.from_pretrained`
{ "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._", "@sgugger FYI:\r\n\r\nI applied the change to TF and Flax `PreTrainedModel` (which is necessary, at least for TF), as well as `PretrainedConfig`.\r\nLeave the tokenizer class and feature extractor class for now" ]
1,659
1,662
1,659
COLLABORATOR
null
# What does this PR do? Hope my understanding is correct. Let me know if I should apply the same change to `ProcessorMixin`, `PreTrainedTokenizerBase` etc.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18428/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18428/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18428", "html_url": "https://github.com/huggingface/transformers/pull/18428", "diff_url": "https://github.com/huggingface/transformers/pull/18428.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18428.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18427
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18427/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18427/comments
https://api.github.com/repos/huggingface/transformers/issues/18427/events
https://github.com/huggingface/transformers/pull/18427
1,326,040,773
PR_kwDOCUB6oc48g-8d
18,427
fix: data2vec-vision Onnx ready-made configuration.
{ "login": "NikeNano", "id": 22057410, "node_id": "MDQ6VXNlcjIyMDU3NDEw", "avatar_url": "https://avatars.githubusercontent.com/u/22057410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NikeNano", "html_url": "https://github.com/NikeNano", "followers_url": "https://api.github.com/users/Nik...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@lewtun @LysandreJik maybe you could take a look or point me to the correct person. Thanks!", "cc @michaelbenayoun @JingyaHuang as Lewis is off for a few weeks :)", "What is the best practice in this case for the test that faile...
1,659
1,660
1,660
CONTRIBUTOR
null
# What does this PR do? This PR adds the missing config for the ONNX data2vec config for images. It is stated in the [docs](https://huggingface.co/docs/transformers/serialization) that there is a default config for the facebook/data2vec-vision-base but this is currently not working and gives ``` ... File "/t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18427/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18427/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18427", "html_url": "https://github.com/huggingface/transformers/pull/18427", "diff_url": "https://github.com/huggingface/transformers/pull/18427.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18427.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18426
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18426/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18426/comments
https://api.github.com/repos/huggingface/transformers/issues/18426/events
https://github.com/huggingface/transformers/pull/18426
1,325,980,678
PR_kwDOCUB6oc48gx9W
18,426
Add Speech-to-Speech Translation (S2ST)
{ "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
[]
[ "Pipeline:\r\n\r\n![pipeline](https://user-images.githubusercontent.com/93869735/201135128-13ccac3b-ab96-43f3-b906-0ed5cfc56a7b.png)\r\n\r\nThis is effectively an encoder-decoder-vocoder configuration:\r\n\r\n- The feature extractor normalises the audio inputs.\r\n- The encoder maps the (normalised) audio inputs to...
1,659
1,673
1,673
CONTRIBUTOR
null
# What does this PR do? Adds the S2ST models from the paper [Enhanced Direct Speech-to-Speech Translation Using Self-supervised Pre-training and Data Augmentation (Popuri et al. 2022)](https://arxiv.org/abs/2204.02967). ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the oth...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18426/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/18426/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18426", "html_url": "https://github.com/huggingface/transformers/pull/18426", "diff_url": "https://github.com/huggingface/transformers/pull/18426.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18426.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18425
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18425/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18425/comments
https://api.github.com/repos/huggingface/transformers/issues/18425/events
https://github.com/huggingface/transformers/issues/18425
1,325,929,386
I_kwDOCUB6oc5PCBOq
18,425
BartLearnedPositionalEmbedding's forward method signature obstructs private (Opacus) training of BART
{ "login": "donebydan", "id": 15520428, "node_id": "MDQ6VXNlcjE1NTIwNDI4", "avatar_url": "https://avatars.githubusercontent.com/u/15520428?v=4", "gravatar_id": "", "url": "https://api.github.com/users/donebydan", "html_url": "https://github.com/donebydan", "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
[]
[ "Tagging @sgugger as you have previously shown support for private training of HF models via Opacus.", "Happy to look at a PR that fixes the issue!", "Fantastic, I'll create it now 👍", "@donebydan Hi, have you generated the fine-tuned BART with OPACUS? I'm working on it and changed the code to a merged one. ...
1,659
1,666
1,660
CONTRIBUTOR
null
### System Info -`transformers` version: 4.20.1 -Platform: Linux-5.4.0-1086-azure-x86_64-with-glibc2.17 -Python version: 3.8.13 -Huggingface_hub version: 0.8.1 -PyTorch version (GPU?): 1.9.1+cu102 (False) -Tensorflow version (GPU?): not installed (NA) -Flax version (CPU?/GPU?/TPU?): not installed (NA) -Jax ve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18425/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18425/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18424
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18424/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18424/comments
https://api.github.com/repos/huggingface/transformers/issues/18424/events
https://github.com/huggingface/transformers/issues/18424
1,325,916,378
I_kwDOCUB6oc5PB-Da
18,424
Cannot replicate T5 performance on WMT14
{ "login": "ekurtulus", "id": 66876436, "node_id": "MDQ6VXNlcjY2ODc2NDM2", "avatar_url": "https://avatars.githubusercontent.com/u/66876436?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ekurtulus", "html_url": "https://github.com/ekurtulus", "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
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[ { "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.githu...
[ "Hey @ekurtulus, such a low BLEU score looks indeed suspicious! Do you have any training stats / logs / graphs to share? ", "Just a tip: It might be a good idea to save the predictions (here the translation) during evaluation, so we can look into them to see what might goes wrong.\r\n\r\nWhen saving the translat...
1,659
1,669
1,667
NONE
null
### System Info I am trying to replicate T5 finetuning on WMT with the following hyperparameters (as close as possible to the paper https://www.jmlr.org/papers/volume21/20-074/20-074.pdf): --model_name_or_path t5-small --source_lang en --target_lang de --dataset_name stas/wmt14-en-de-pre-processed --max_sourc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18424/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18424/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18423
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18423/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18423/comments
https://api.github.com/repos/huggingface/transformers/issues/18423/events
https://github.com/huggingface/transformers/pull/18423
1,325,885,532
PR_kwDOCUB6oc48gdfU
18,423
update maskformer docs
{ "login": "alaradirik", "id": 8944735, "node_id": "MDQ6VXNlcjg5NDQ3MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alaradirik", "html_url": "https://github.com/alaradirik", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,665
1,659
CONTRIBUTOR
null
- Updates the MaskFormer docs: _is_thing_map_ -> _label_ids_to_fuse_ See this [issue](https://github.com/huggingface/transformers/issues/18157).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18423/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18423/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18423", "html_url": "https://github.com/huggingface/transformers/pull/18423", "diff_url": "https://github.com/huggingface/transformers/pull/18423.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18423.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18422
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18422/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18422/comments
https://api.github.com/repos/huggingface/transformers/issues/18422/events
https://github.com/huggingface/transformers/pull/18422
1,325,843,007
PR_kwDOCUB6oc48gUO6
18,422
Fix `test_load_default_pipelines_tf` test error
{ "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,659
1,662
1,659
COLLABORATOR
null
# What does this PR do? My change in #18292 needs to add `tf` under `default` key (for `image-classification`), otherwise we have ```bash FAILED tests/pipelines/test_pipelines_common.py::PipelineUtilsTest::test_load_default_pipelines_tf ``` with error message ```bash else: # normal ca...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18422/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18422/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18422", "html_url": "https://github.com/huggingface/transformers/pull/18422", "diff_url": "https://github.com/huggingface/transformers/pull/18422.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18422.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18421
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18421/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18421/comments
https://api.github.com/repos/huggingface/transformers/issues/18421/events
https://github.com/huggingface/transformers/pull/18421
1,325,614,649
PR_kwDOCUB6oc48fjCC
18,421
Change audio kwarg to images in TROCR processor
{ "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,659
1,662
1,659
COLLABORATOR
null
# What does this PR do? Fix a bug in TROCR processor introduced in #18325 Currently, we have [failed job run](https://github.com/huggingface/transformers/runs/7603716998?check_suite_focus=true) with error ```bash if audio is None and text is None: > raise ValueError("You need to specify eit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18421/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18421/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18421", "html_url": "https://github.com/huggingface/transformers/pull/18421", "diff_url": "https://github.com/huggingface/transformers/pull/18421.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18421.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18420
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18420/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18420/comments
https://api.github.com/repos/huggingface/transformers/issues/18420/events
https://github.com/huggingface/transformers/pull/18420
1,325,577,554
PR_kwDOCUB6oc48fbE1
18,420
add `transformers-cli pt-to-flax`
{ "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
{ "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": "...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18420). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,659
1,669
1,669
COLLABORATOR
null
# What does this PR do? Following the addition of the `transformers-cli pt-to-tf` command, this uses the same scipt to convert to `FLAX`. [Since another PR](https://github.com/huggingface/transformers/pull/18419)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18420/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18420/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18420", "html_url": "https://github.com/huggingface/transformers/pull/18420", "diff_url": "https://github.com/huggingface/transformers/pull/18420.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18420.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18419
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18419/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18419/comments
https://api.github.com/repos/huggingface/transformers/issues/18419/events
https://github.com/huggingface/transformers/pull/18419
1,325,576,361
PR_kwDOCUB6oc48fa0S
18,419
Load sharded pt to flax
{ "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": 1834056761, "node_id": "MDU6TGFiZWwxODM0MDU2NzYx", "url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Modeling", "name": "Core: Modeling", "color": "FF8446", "default": false, "description": "Internals of the library; Models." }, { "id": 29349771...
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": "...
[ "_The documentation is not available anymore as the PR was closed or merged._", "Okay 👍🏻 Thanks for the review gonna fix that asap ! " ]
1,659
1,660
1,660
COLLABORATOR
null
# What does this PR do? Add conversion to `flax` from sharded `pytroch` checkpoints. Follows #18026 which was closed to rename the branch (no really necessary, sorry for the inconvenience). Should fix #17537
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18419/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18419/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18419", "html_url": "https://github.com/huggingface/transformers/pull/18419", "diff_url": "https://github.com/huggingface/transformers/pull/18419.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18419.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18418
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18418/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18418/comments
https://api.github.com/repos/huggingface/transformers/issues/18418/events
https://github.com/huggingface/transformers/pull/18418
1,325,555,228
PR_kwDOCUB6oc48fWML
18,418
Fix the hub user name in a longformer doctest checkpoint
{ "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
[]
[ "cc @ArthurZucker ", "_The documentation is not available anymore as the PR was closed or merged._", "Checked with the last run (May 18th -- sorry I should check doctest status much earlier), it worked with the previous checkpoint string, which suggests that the user renamed since then.\r\n\r\nI agree with you ...
1,659
1,662
1,659
COLLABORATOR
null
# What does this PR do? `jpelhaw` not exist on hub, and test fails at this moment. Run locally with this PR: doctest pass for this model now.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18418/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18418/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18418", "html_url": "https://github.com/huggingface/transformers/pull/18418", "diff_url": "https://github.com/huggingface/transformers/pull/18418.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18418.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18417
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18417/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18417/comments
https://api.github.com/repos/huggingface/transformers/issues/18417/events
https://github.com/huggingface/transformers/issues/18417
1,325,470,607
I_kwDOCUB6oc5PAROP
18,417
run_clip.py RuntimeError
{ "login": "gongshaojie12", "id": 6407116, "node_id": "MDQ6VXNlcjY0MDcxMTY=", "avatar_url": "https://avatars.githubusercontent.com/u/6407116?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gongshaojie12", "html_url": "https://github.com/gongshaojie12", "followers_url": "https://api.github....
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hey @gongshaojie12, thanks for the issue! Could you please provide the full command you run? cc @ydshieh; I believe you have worked with this script in the past", "@gongshaojie12 Could you also provide a bit more information. For example, do you download and use the COCO dataset as in the README?", "Hey @ydshi...
1,659
1,659
1,659
NONE
null
### System Info - `transformers` version: 4.22.0.dev0 - Platform: Linux-3.10.0-957.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.9.12 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.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/18417/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18417/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18416
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18416/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18416/comments
https://api.github.com/repos/huggingface/transformers/issues/18416/events
https://github.com/huggingface/transformers/pull/18416
1,325,426,325
PR_kwDOCUB6oc48e6ZR
18,416
Add missing lang tokens in M2M100Tokenizer.get_vocab
{ "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._", "A friendly re-ping to @patil-suraj :hugs: ", "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 tha...
1,659
1,666
1,666
CONTRIBUTOR
null
# What does this PR do? The lang tokens were missing from `M2M100Tokenizer.get_vocab`. The `get_vocab` method is updated to match other multilingual tokenizers such as `NllbTokenizer` and `MBart50Tokenizer`. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18416/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18416/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18416", "html_url": "https://github.com/huggingface/transformers/pull/18416", "diff_url": "https://github.com/huggingface/transformers/pull/18416.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18416.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18415
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18415/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18415/comments
https://api.github.com/repos/huggingface/transformers/issues/18415/events
https://github.com/huggingface/transformers/pull/18415
1,325,332,406
PR_kwDOCUB6oc48emsQ
18,415
Add Spanish translation of run_scripts.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._", "@omarespejel, can you help me review this PR, please?", "Hi @donelianc! Amazing translation. I only found a few nits in my review.", "@omarespejel, thanks for your great review! I submitted the suggested changes in my previous co...
1,659
1,659
1,659
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/18415/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18415/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18415", "html_url": "https://github.com/huggingface/transformers/pull/18415", "diff_url": "https://github.com/huggingface/transformers/pull/18415.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18415.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18414
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18414/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18414/comments
https://api.github.com/repos/huggingface/transformers/issues/18414/events
https://github.com/huggingface/transformers/pull/18414
1,325,312,818
PR_kwDOCUB6oc48einN
18,414
Add DocumentQuestionAnswering pipeline
{ "login": "ankrgyl", "id": 565363, "node_id": "MDQ6VXNlcjU2NTM2Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/565363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ankrgyl", "html_url": "https://github.com/ankrgyl", "followers_url": "https://api.github.com/users/ankrgyl/fo...
[]
closed
false
null
[]
[ "@Narsil this is basically a skeleton implementation that I thought I'd send out sooner than later to start getting your input.\r\n\r\nI've left a few questions throughout tagged with \"TODO\" in the comments. The big question is how much/whether to reuse the code in QuestionAnsweringPipeline, which has a lot of ov...
1,659
1,691
1,662
CONTRIBUTOR
null
# What does this PR do? This PR extends VisualQuestionAnsweringPipeline to accept `words` and `boxes` as input, passes them into the tokenizer/model (along with the question), and post-processes their `QuestionAnsweringModelOutput` response. Fixes #18380 ## Before submitting - [ ] This PR fixes a typo or i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18414/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18414/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18414", "html_url": "https://github.com/huggingface/transformers/pull/18414", "diff_url": "https://github.com/huggingface/transformers/pull/18414.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18414.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18413
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18413/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18413/comments
https://api.github.com/repos/huggingface/transformers/issues/18413/events
https://github.com/huggingface/transformers/issues/18413
1,325,310,941
I_kwDOCUB6oc5O_qPd
18,413
Tranformers documentation translation to Japanese 🇯🇵
{ "login": "omarespejel", "id": 4755430, "node_id": "MDQ6VXNlcjQ3NTU0MzA=", "avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omarespejel", "html_url": "https://github.com/omarespejel", "followers_url": "https://api.github.com/us...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" }, { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2N...
closed
false
{ "login": "omarespejel", "id": 4755430, "node_id": "MDQ6VXNlcjQ3NTU0MzA=", "avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omarespejel", "html_url": "https://github.com/omarespejel", "followers_url": "https://api.github.com/us...
[ { "login": "omarespejel", "id": 4755430, "node_id": "MDQ6VXNlcjQ3NTU0MzA=", "avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omarespejel", "html_url": "https://github.com/omarespejel", "followers_url": "https...
[ "cc @younesbelkada as we talked about that last week", "That's great 🔥 !\r\nLinking this issue to the one on HF course: https://github.com/huggingface/course/issues/114 ", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed pl...
1,659
1,697
1,697
CONTRIBUTOR
null
Hi! Let's bring the documentation to all the Japanese-speaking community :) Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/docs/TRANSLATING.md). Here is a list of the files ready for translation. Let us know in this issue if you'd like t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18413/reactions", "total_count": 5, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 5, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18413/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18412
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18412/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18412/comments
https://api.github.com/repos/huggingface/transformers/issues/18412/events
https://github.com/huggingface/transformers/pull/18412
1,325,239,834
PR_kwDOCUB6oc48eTFk
18,412
fix: keras fit tests for segformer tf and minor refactors.
{ "login": "sayakpaul", "id": 22957388, "node_id": "MDQ6VXNlcjIyOTU3Mzg4", "avatar_url": "https://avatars.githubusercontent.com/u/22957388?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sayakpaul", "html_url": "https://github.com/sayakpaul", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Pinging @gante as this week's TF reviewer!", "> (question: why is test_keras_fit entirely overwritten?)\r\n\r\n1. The `TFSegFormerModel` class doesn't support the fit test since we can't compute loss on embeddings. \r\n2. The label...
1,659
1,659
1,659
MEMBER
null
Fixes the issues as noticed in: https://github.com/huggingface/transformers/runs/7485048615?check_suite_focus=true. I don't have access to an instance having multiple GPUs at the moment, but I figured out the root cause of the issue. https://github.com/huggingface/transformers/blob/df5e4232f59e6fea08911eddd0adc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18412/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18412/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18412", "html_url": "https://github.com/huggingface/transformers/pull/18412", "diff_url": "https://github.com/huggingface/transformers/pull/18412.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18412.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18411
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18411/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18411/comments
https://api.github.com/repos/huggingface/transformers/issues/18411/events
https://github.com/huggingface/transformers/issues/18411
1,325,147,182
I_kwDOCUB6oc5O_CQu
18,411
`assertion failed: stride < max_len` when using tokenizer with text_pair
{ "login": "shakabash", "id": 110434758, "node_id": "U_kgDOBpUZxg", "avatar_url": "https://avatars.githubusercontent.com/u/110434758?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shakabash", "html_url": "https://github.com/shakabash", "followers_url": "https://api.github.com/users/shakab...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "I'd like to provide an update on my own ticket. Although I still have no idea what causes this behavior and despite probably not being relevant for most practical applications, it seems like the truncation is enforcing that the shortest of the two texts after the truncation is at least 3 tokens long. The resulting...
1,659
1,662
1,662
NONE
null
### System Info transformers 4.20.1, 4.21.0 (tested with both), MacOS 12.4, Python 3.8.12 ### Who can help? @SaulLu ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18411/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18411/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18410
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18410/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18410/comments
https://api.github.com/repos/huggingface/transformers/issues/18410/events
https://github.com/huggingface/transformers/issues/18410
1,325,091,007
I_kwDOCUB6oc5O-0i_
18,410
Sharded Multi-GPU MT5 training with the Seq2SeqTrainer fails (4.21.0)
{ "login": "shermansiu", "id": 12627125, "node_id": "MDQ6VXNlcjEyNjI3MTI1", "avatar_url": "https://avatars.githubusercontent.com/u/12627125?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shermansiu", "html_url": "https://github.com/shermansiu", "followers_url": "https://api.github.com/use...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
{ "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://api.github.com/users/...
[ { "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://a...
[ "It still fails when I install `transformers` directly from the GitHub repository (as of today).\r\n\r\nHere's the traceback:\r\n```\r\nTraceback (most recent call last):\r\n File \"script.py\", line 102, in <module>\r\n main()\r\n File \"script.py\", line 98, in main\r\n trainer.train()\r\n File \"/mnt/ta...
1,659
1,659
1,659
CONTRIBUTOR
null
### System Info transformers version: 4.21.0 Platform: Linux Python version: 3.7.6 Huggingface_hub version: 0.8.1 PyTorch version (GPU?): 1.10.2 (Yes) Tensorflow version (GPU?): not installed (NA) Flax version (CPU?/GPU?/TPU?): not installed (NA) Jax version: not installed JaxLib version: not installed Usin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18410/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18410/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18409
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18409/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18409/comments
https://api.github.com/repos/huggingface/transformers/issues/18409/events
https://github.com/huggingface/transformers/issues/18409
1,324,976,233
I_kwDOCUB6oc5O-Yhp
18,409
Fine-tuning a pretrained model did not follow as expected from the blog posting
{ "login": "changyeli", "id": 9058204, "node_id": "MDQ6VXNlcjkwNTgyMDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/9058204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/changyeli", "html_url": "https://github.com/changyeli", "followers_url": "https://api.github.com/users/ch...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Please use the [forums](https://discuss.huggingface.co/) to debug your code as we keep issues for feature requests and bugs (in the library) only. It's hard to know what went wrong just from your code since we don't have access to the files you use, but my guess would be that your labels are floats instead of ints...
1,659
1,662
1,662
NONE
null
### System Info - `transformers` version: 4.21.0 - Platform: Linux-5.13.0-52-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.0+cu116 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18409/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18409/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18408
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18408/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18408/comments
https://api.github.com/repos/huggingface/transformers/issues/18408/events
https://github.com/huggingface/transformers/pull/18408
1,324,831,639
PR_kwDOCUB6oc48c8gp
18,408
fix: create a copy for tokenizer object
{ "login": "YBooks", "id": 14153578, "node_id": "MDQ6VXNlcjE0MTUzNTc4", "avatar_url": "https://avatars.githubusercontent.com/u/14153578?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YBooks", "html_url": "https://github.com/YBooks", "followers_url": "https://api.github.com/users/YBooks/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@YBooks , this PR creates another issue since deepcopy of tokenizer object is not possible when a Custom Pretokenizer is used. \r\n\r\n```python \r\ntokenizer.pre_tokenizer = Custom()\r\n```\r\n\r\nSee open issue in tokenizers here: ...
1,659
1,663
1,659
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/18408/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18408/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18408", "html_url": "https://github.com/huggingface/transformers/pull/18408", "diff_url": "https://github.com/huggingface/transformers/pull/18408.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18408.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18407
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18407/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18407/comments
https://api.github.com/repos/huggingface/transformers/issues/18407/events
https://github.com/huggingface/transformers/pull/18407
1,324,828,421
PR_kwDOCUB6oc48c70K
18,407
Add LayoutLMForQuestionAnswering model
{ "login": "ankrgyl", "id": 565363, "node_id": "MDQ6VXNlcjU2NTM2Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/565363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ankrgyl", "html_url": "https://github.com/ankrgyl", "followers_url": "https://api.github.com/users/ankrgyl/fo...
[]
closed
false
null
[]
[ "@Narsil I've left a few TODOs -- (1) supporting tensorflow, (2) filling in docs, (3) filling in tests -- which I'll gladly do. I just wanted to post sooner than later to start getting feedback on the approach.", "_The documentation is not available anymore as the PR was closed or merged._", "Ok, for this part ...
1,659
1,662
1,661
CONTRIBUTOR
null
# What does this PR do? This PR adds a `LayoutLMForQuestionAnswering` class that follows the implementations of `LayoutLMv2ForQuestionAnswering` and `LayoutLMv3ForQuestionAnswering`, so that `LayoutLM` can be fine-tuned for the question answering task. Fixes #18380 ## Before submitting - [ ] This PR fixes ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18407/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18407/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18407", "html_url": "https://github.com/huggingface/transformers/pull/18407", "diff_url": "https://github.com/huggingface/transformers/pull/18407.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18407.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18406
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18406/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18406/comments
https://api.github.com/repos/huggingface/transformers/issues/18406/events
https://github.com/huggingface/transformers/issues/18406
1,324,820,590
I_kwDOCUB6oc5O9yhu
18,406
PreTrainedTokenizerFast with tokenizer object is acting on original tokenizer object
{ "login": "YBooks", "id": 14153578, "node_id": "MDQ6VXNlcjE0MTUzNTc4", "avatar_url": "https://avatars.githubusercontent.com/u/14153578?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YBooks", "html_url": "https://github.com/YBooks", "followers_url": "https://api.github.com/users/YBooks/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
[]
[ "cc @SaulLu ", "Hi @YBooks\r\n\r\nThank you very much for the detailed issue :hugs: ! \r\n\r\nI see that you have already proposed a fix that has been merged and that solves the problem you are pointing out. If you are happy with it, is it ok if we close this issue?", "Hey @SaulLu \r\nYes sure. My pleasure", ...
1,659
1,663
1,660
CONTRIBUTOR
null
### System Info - `transformers` version: 4.21.0 - Platform: Windows-10-10.0.19041-SP0 - Python version: 3.9.2 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.8.1+cpu (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not insta...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18406/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18406/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18405
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18405/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18405/comments
https://api.github.com/repos/huggingface/transformers/issues/18405/events
https://github.com/huggingface/transformers/issues/18405
1,324,716,678
I_kwDOCUB6oc5O9ZKG
18,405
Incorrect assertion in pipeline test test_dbmdz_english()
{ "login": "davidbenton", "id": 1603279, "node_id": "MDQ6VXNlcjE2MDMyNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1603279?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidbenton", "html_url": "https://github.com/davidbenton", "followers_url": "https://api.github.com/us...
[ { "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
[]
[ "@davidbenton \r\n~~Thanks for the info, I was able to reproduce on torch `1.11.0` but this is fixed on `1.12.0`.~~\r\n\r\n~~We're aware of some modifications within the `nn.Linear` between those two versions. The errors are relatively minor actually, but since this is a random model (meaning not trained on real da...
1,659
1,659
1,659
CONTRIBUTOR
null
### System Info - `transformers` version: 4.22.0.dev0 - Platform: macOS-12.4-x86_64-i386-64bit - Python version: 3.9.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.11.0 (False) - Tensorflow version (GPU?): 2.9.1 (False) - Flax version (CPU?/GPU?/TPU?): 0.5.2 (cpu) - Jax version: 0.3.6 - JaxLib...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18405/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/18405/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18404
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18404/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18404/comments
https://api.github.com/repos/huggingface/transformers/issues/18404/events
https://github.com/huggingface/transformers/issues/18404
1,324,698,226
I_kwDOCUB6oc5O9Upy
18,404
GPT-J evaluation with multiple GPUs crashes
{ "login": "manuelciosici", "id": 51477, "node_id": "MDQ6VXNlcjUxNDc3", "avatar_url": "https://avatars.githubusercontent.com/u/51477?v=4", "gravatar_id": "", "url": "https://api.github.com/users/manuelciosici", "html_url": "https://github.com/manuelciosici", "followers_url": "https://api.github.com/user...
[ { "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 issue is probably in the modeling code missing some `.contiguous()` calls.", "I can reproduce the error with GPT-J. This also happens with Salesforce/codegen-16B-nl and EleutherAI/gpt-neox-20b. In all cases the error is RuntimeError: Tensors must be contiguous.\r\n\r\nThe problem doesn't occur with gpt2-xl a...
1,659
1,674
1,664
CONTRIBUTOR
null
### System Info - `transformers` version: 4.21.0 - Platform: Linux-3.10.0-1160.71.1.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.10.4 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.0+cu116 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not install...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18404/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18404/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18403
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18403/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18403/comments
https://api.github.com/repos/huggingface/transformers/issues/18403/events
https://github.com/huggingface/transformers/issues/18403
1,324,677,678
I_kwDOCUB6oc5O9Pou
18,403
Cannot restore `sequences_scores` from `scores` and `beam_indices` returned by `t5-base`
{ "login": "namespace-Pt", "id": 61188463, "node_id": "MDQ6VXNlcjYxMTg4NDYz", "avatar_url": "https://avatars.githubusercontent.com/u/61188463?v=4", "gravatar_id": "", "url": "https://api.github.com/users/namespace-Pt", "html_url": "https://github.com/namespace-Pt", "followers_url": "https://api.github.c...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[ { "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.co...
[ "Hi @namespace-Pt 👋 \r\n\r\nDoes [this function](https://github.com/huggingface/transformers/blob/dbd9641c8c0e146c078cbee11cdefcf556f6c817/src/transformers/generation_utils.py#L804) solve your issue?\r\n\r\nI noticed that it is undocumented, so it is hard to find 😬 ", "@gante Thanks, the function worked. Howeve...
1,659
1,659
1,659
CONTRIBUTOR
null
### System Info - `transformers` version: 4.18.0 - Platform: Linux-5.10.25-nvidia-gpu-x86_64-with-glibc2.31 - Python version: 3.9.12 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.10.1 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - J...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18403/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18403/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18402
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18402/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18402/comments
https://api.github.com/repos/huggingface/transformers/issues/18402/events
https://github.com/huggingface/transformers/pull/18402
1,324,655,375
PR_kwDOCUB6oc48cYRy
18,402
Update pipeline word heuristic to work with whitespace in token offsets
{ "login": "davidbenton", "id": 1603279, "node_id": "MDQ6VXNlcjE2MDMyNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1603279?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidbenton", "html_url": "https://github.com/davidbenton", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "The tests failures seem to have nothing to do with this PR.\r\n\r\n@LysandreJik @ydshieh maybe ?", "@LysandreJik @ydshieh @Narsil I think the test failures are because I set up CircleCI to track my fork, just to see if the tests w...
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? This change checks for whitespace in the input string at either the character preceding the token or in the first character of the token. This works with tokenizers that return offsets excluding whitespace between words or with offsets including whitespace. Fixes #18111 ## Before sub...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18402/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18402/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18402", "html_url": "https://github.com/huggingface/transformers/pull/18402", "diff_url": "https://github.com/huggingface/transformers/pull/18402.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18402.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18401
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18401/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18401/comments
https://api.github.com/repos/huggingface/transformers/issues/18401/events
https://github.com/huggingface/transformers/issues/18401
1,324,601,055
I_kwDOCUB6oc5O887f
18,401
Can't run the example in https://huggingface.co/transformers/v4.9.2/model_doc/blenderbot.html#transformers.BlenderbotModel
{ "login": "OliverZijia", "id": 43709858, "node_id": "MDQ6VXNlcjQzNzA5ODU4", "avatar_url": "https://avatars.githubusercontent.com/u/43709858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/OliverZijia", "html_url": "https://github.com/OliverZijia", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Remove this line:\r\n`inputs.pop(\"token_type_ids\")`\r\nAs for the `inputs.keys()`, the keys aren't assigned to any variable or used for any form of auxiliary calculation, so it effectively does nothing. \r\n\r\nIn other words, just run this:\r\n```python\r\nfrom transformers import BlenderbotSmallTokenizer, Blen...
1,659
1,659
1,659
NONE
null
Hi, I just encountered some issue while running this example code: from transformers import BlenderbotSmallTokenizer, BlenderbotSmallForConditionalGeneration mname = 'facebook/blenderbot_small-90M' model = BlenderbotSmallForConditionalGeneration.from_pretrained(mname) tokenizer = BlenderbotSmallTokenizer.from_pr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18401/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18401/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18400
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18400/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18400/comments
https://api.github.com/repos/huggingface/transformers/issues/18400/events
https://github.com/huggingface/transformers/pull/18400
1,324,552,793
PR_kwDOCUB6oc48cClr
18,400
pytest with --forked
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18400). All of your documentation changes will be reflected on that endpoint." ]
1,659
1,662
1,661
COLLABORATOR
null
# What does this PR do? pytest with --forked
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18400/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18400/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18400", "html_url": "https://github.com/huggingface/transformers/pull/18400", "diff_url": "https://github.com/huggingface/transformers/pull/18400.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18400.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18399
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18399/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18399/comments
https://api.github.com/repos/huggingface/transformers/issues/18399/events
https://github.com/huggingface/transformers/pull/18399
1,324,469,847
PR_kwDOCUB6oc48bw8b
18,399
[LayoutLMv3] Fix docs
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? This PR fixes a non-working link and adds a link to the fine-tuning scripts.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18399/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18399/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18399", "html_url": "https://github.com/huggingface/transformers/pull/18399", "diff_url": "https://github.com/huggingface/transformers/pull/18399.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18399.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18398
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18398/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18398/comments
https://api.github.com/repos/huggingface/transformers/issues/18398/events
https://github.com/huggingface/transformers/pull/18398
1,324,469,525
PR_kwDOCUB6oc48bw4G
18,398
Fix ROUGE add example check and update README
{ "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._", "Failures are flaky, so merging." ]
1,659
1,659
1,659
COLLABORATOR
null
# What does this PR do? This PR contains a few fixes for the examples all linked to #18381 - it adds the version check of Transformers to the `no_trainer` examples, so that the user is not surprised when the example script that uses main fails if they use a different version - it expands the table of examples for...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18398/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18398/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18398", "html_url": "https://github.com/huggingface/transformers/pull/18398", "diff_url": "https://github.com/huggingface/transformers/pull/18398.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18398.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18397
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18397/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18397/comments
https://api.github.com/repos/huggingface/transformers/issues/18397/events
https://github.com/huggingface/transformers/pull/18397
1,324,452,527
PR_kwDOCUB6oc48btNI
18,397
Fix DETR doc test
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? This PR fixes the doc test of `DetrForObjectDetection`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18397/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18397/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18397", "html_url": "https://github.com/huggingface/transformers/pull/18397", "diff_url": "https://github.com/huggingface/transformers/pull/18397.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18397.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18396
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18396/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18396/comments
https://api.github.com/repos/huggingface/transformers/issues/18396/events
https://github.com/huggingface/transformers/pull/18396
1,324,364,421
PR_kwDOCUB6oc48bZ46
18,396
Add evaluate to test dependencies
{ "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
[]
[ "Seem to fix most tests so merging.", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
COLLABORATOR
null
# What does this PR do? This PR should fix all current failures on main coming from the examples being updated to use evaluate for the metrics. The problem is that some tests use those example scripts without installing the test requirements.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18396/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18396/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18396", "html_url": "https://github.com/huggingface/transformers/pull/18396", "diff_url": "https://github.com/huggingface/transformers/pull/18396.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18396.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18395
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18395/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18395/comments
https://api.github.com/repos/huggingface/transformers/issues/18395/events
https://github.com/huggingface/transformers/issues/18395
1,324,142,117
I_kwDOCUB6oc5O7M4l
18,395
GFT: Generative Fundamental Training
{ "login": "wangyi-fudan", "id": 17891453, "node_id": "MDQ6VXNlcjE3ODkxNDUz", "avatar_url": "https://avatars.githubusercontent.com/u/17891453?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wangyi-fudan", "html_url": "https://github.com/wangyi-fudan", "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": "" } ]
open
false
null
[]
[]
1,659
1,659
null
NONE
null
### Model description Hi, It is just an ad of our GFT. It has a novel attention head by fusing attention and mlp layer. It has an ultra-thin, ultra-deep architecture that maximizing model performance with minimal parameters. More interestingly, it equips a novel decoder call top-E(entropy) algorithm. Our model ha...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18395/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18395/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/18394
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18394/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18394/comments
https://api.github.com/repos/huggingface/transformers/issues/18394/events
https://github.com/huggingface/transformers/pull/18394
1,324,135,781
PR_kwDOCUB6oc48aoDS
18,394
Add mt5 onnx config
{ "login": "chainyo", "id": 50595514, "node_id": "MDQ6VXNlcjUwNTk1NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/50595514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chainyo", "html_url": "https://github.com/chainyo", "followers_url": "https://api.github.com/users/chainy...
[]
closed
false
null
[]
[ "I tried to convert the `google/mt5-base` model to Onnx on my local machine and it worked.\r\n\r\n```bash\r\npython -m transformers.onnx --model=google/mt5-base convert-onnx/\r\n\r\n2022-08-01 12:50:24.992612: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart....
1,659
1,660
1,660
CONTRIBUTOR
null
# What does this PR do? - Added MT5 Onnx Config copied from T5 Onnx Config - Updated docs and tests files Related to #16308 , and [optimum#321](https://github.com/huggingface/optimum/issues/321) @patrickvonplaten, @patil-suraj, and @lewtun
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18394/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18394/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18394", "html_url": "https://github.com/huggingface/transformers/pull/18394", "diff_url": "https://github.com/huggingface/transformers/pull/18394.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18394.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18393
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18393/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18393/comments
https://api.github.com/repos/huggingface/transformers/issues/18393/events
https://github.com/huggingface/transformers/pull/18393
1,324,121,438
PR_kwDOCUB6oc48ak_d
18,393
Fix DeiT doc tets
{ "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._", "From the description & the change, it seems to me that Deit has some random OP(s) used in the inference. Is this the case (and if yes, could you share which line that random op is 🙏 ) Thank you.", "Sure :) `DeiTForImageClassificat...
1,659
1,659
1,659
COLLABORATOR
null
# What does this PR do? Fixes failing doctest for DeiT cause by copy-pasta from the PT model. The predicted class is determinstic with the set seed. However, as RNG for pytorch and tensorflow are different, it's a different class than in the pytorch Deit doctest. ## Before submitting - [x] This PR fixes a t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18393/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18393/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18393", "html_url": "https://github.com/huggingface/transformers/pull/18393", "diff_url": "https://github.com/huggingface/transformers/pull/18393.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18393.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18392
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18392/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18392/comments
https://api.github.com/repos/huggingface/transformers/issues/18392/events
https://github.com/huggingface/transformers/pull/18392
1,324,089,266
PR_kwDOCUB6oc48ad7L
18,392
Fixing issue where generic model types wouldn't load properly with the pipeline
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger \r\n\r\nIt seems I had completely misunderstood what was going on there. I thought it was misconfiguration while it's more of a normal state of things (Wasn't aware we had added those generic models for vision too).\r\n\r\nM...
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? When this occurs https://github.com/huggingface/transformers/issues/17929 we can provide a better error message since this is detectable at load time and the fix should happen within `transformers`. Found out 3 odd cases which have been dealt with differently: - `translation` actually...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18392/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18392/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18392", "html_url": "https://github.com/huggingface/transformers/pull/18392", "diff_url": "https://github.com/huggingface/transformers/pull/18392.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18392.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18391
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18391/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18391/comments
https://api.github.com/repos/huggingface/transformers/issues/18391/events
https://github.com/huggingface/transformers/issues/18391
1,324,088,186
I_kwDOCUB6oc5O6_t6
18,391
Is run_clip.py an example of fine-tune or an example of training a vision-text model from scratch?
{ "login": "gongshaojie12", "id": 6407116, "node_id": "MDQ6VXNlcjY0MDcxMTY=", "avatar_url": "https://avatars.githubusercontent.com/u/6407116?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gongshaojie12", "html_url": "https://github.com/gongshaojie12", "followers_url": "https://api.github....
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hey @gongshaojie12, is the README available [here](https://github.com/huggingface/transformers/tree/main/examples/pytorch/contrastive-image-text) answering your questions?\r\n\r\nIn the [code sample](https://github.com/huggingface/transformers/tree/main/examples/pytorch/contrastive-image-text#train-the-model), you...
1,659
1,660
1,660
NONE
null
### System Info - `transformers` version: 4.21.0 - Platform: Linux-3.10.0-957.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.9.12 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.0+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18391/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18391/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18390
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18390/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18390/comments
https://api.github.com/repos/huggingface/transformers/issues/18390/events
https://github.com/huggingface/transformers/issues/18390
1,324,073,865
I_kwDOCUB6oc5O68OJ
18,390
Incorrect learning rate when using 'cosine_with_restarts' scheduler type
{ "login": "tijsg", "id": 5707158, "node_id": "MDQ6VXNlcjU3MDcxNTg=", "avatar_url": "https://avatars.githubusercontent.com/u/5707158?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tijsg", "html_url": "https://github.com/tijsg", "followers_url": "https://api.github.com/users/tijsg/follower...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Could you explain to us how you are seeing the learning rate being constant? Just tried your code and adding a print statement for the learning rate at every step, and I see something that changes.", "I'm using weight and biases at wandb.ai to keep track of my metrics\r\n![image](https://user-images.githubuserco...
1,659
1,662
1,662
NONE
null
### System Info - `transformers` version: 4.20.1 - Platform: Linux-5.4.0-121-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.0+cu116 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18390/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18390/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18389
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18389/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18389/comments
https://api.github.com/repos/huggingface/transformers/issues/18389/events
https://github.com/huggingface/transformers/pull/18389
1,324,047,338
PR_kwDOCUB6oc48aU_G
18,389
Add a check regarding the number of occurrences of ```
{ "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,659
1,662
1,659
COLLABORATOR
null
# What does this PR do? We have `TFOPTForCausalLM` doctest failed due to the wrong expected value. The file `prepare_for_doc_test.py` didn't change that model file. It comes from the existence of **``decoder_input_ids```**. This PR adds a check, and also fixes all problematic places found with this new check.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18389/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18389/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18389", "html_url": "https://github.com/huggingface/transformers/pull/18389", "diff_url": "https://github.com/huggingface/transformers/pull/18389.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18389.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18388
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18388/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18388/comments
https://api.github.com/repos/huggingface/transformers/issues/18388/events
https://github.com/huggingface/transformers/issues/18388
1,324,041,759
I_kwDOCUB6oc5O60Yf
18,388
Mismatch between logits from generate and forward with an attention mask for most GPT models
{ "login": "LaurenceA", "id": 4278594, "node_id": "MDQ6VXNlcjQyNzg1OTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/4278594?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LaurenceA", "html_url": "https://github.com/LaurenceA", "followers_url": "https://api.github.com/users/La...
[ { "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...
[ "cc @gante for generate :)", "Hi @LaurenceA 👋\r\n\r\nWith decoder-only models, such as the ones you mentioned, padding should be done on the left. This is because the output is a continuation of the input prompt -- there would be gaps in the output without left padding. Our code to automatically prepare the posi...
1,659
1,664
1,664
NONE
null
### System Info - `transformers` version: 4.21.0 - Platform: Linux-3.10.0-1160.45.1.el7.x86_64-x86_64-with-glibc2.10 - Python version: 3.8.8 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.10.0+cu113 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not install...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18388/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18388/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18387
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18387/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18387/comments
https://api.github.com/repos/huggingface/transformers/issues/18387/events
https://github.com/huggingface/transformers/pull/18387
1,323,980,497
PR_kwDOCUB6oc48aGrO
18,387
Fix from_pretrained kwargs forward
{ "login": "YouJiacheng", "id": 83971976, "node_id": "MDQ6VXNlcjgzOTcxOTc2", "avatar_url": "https://avatars.githubusercontent.com/u/83971976?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YouJiacheng", "html_url": "https://github.com/YouJiacheng", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
I don't know whether `use_auth_token`, `cache_dir` and `local_files_only` should be passed to `(cls.slow_tokenizer_class)._from_pretrained`, but I guess it should. Please correct me if anything is wrong. # What does this PR do? Fixes #18385 @sgugger @LysandreJik BTW, I find #13523 and #14508 addressing si...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18387/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18387/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18387", "html_url": "https://github.com/huggingface/transformers/pull/18387", "diff_url": "https://github.com/huggingface/transformers/pull/18387.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18387.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18386
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18386/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18386/comments
https://api.github.com/repos/huggingface/transformers/issues/18386/events
https://github.com/huggingface/transformers/issues/18386
1,323,965,266
I_kwDOCUB6oc5O6htS
18,386
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
{ "login": "qiuxia-alone", "id": 52020630, "node_id": "MDQ6VXNlcjUyMDIwNjMw", "avatar_url": "https://avatars.githubusercontent.com/u/52020630?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qiuxia-alone", "html_url": "https://github.com/qiuxia-alone", "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
[]
[ "It's likely that you have a mismatch between your torch and torch-scatter installs. Can you import torch-scatter on its own without the SIGSEGV?\r\n", "> It's likely that you have a mismatch between your torch and torch-scatter installs. Can you import torch-scatter on its own without the SIGSEGV?\r\n\r\nhi, i h...
1,659
1,669
1,659
NONE
null
### System Info macos pycharm python 3.7 transformers 4.20.1 torch 1.12.0 torch-scatter. 2.0.9 tensorflow 2.3.0 ### Who can help? @NielsRogge ### Information - [X] The official example s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18386/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18386/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18385
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18385/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18385/comments
https://api.github.com/repos/huggingface/transformers/issues/18385/events
https://github.com/huggingface/transformers/issues/18385
1,323,931,390
I_kwDOCUB6oc5O6Zb-
18,385
`local_files_only` is not passed to `_from_pretrained` in `PreTrainedTokenizerBase.from_pretrained`
{ "login": "YouJiacheng", "id": 83971976, "node_id": "MDQ6VXNlcjgzOTcxOTc2", "avatar_url": "https://avatars.githubusercontent.com/u/83971976?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YouJiacheng", "html_url": "https://github.com/YouJiacheng", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,659
1,659
1,659
CONTRIBUTOR
null
I run ```python processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32", local_files_only=True) ``` But request is still sent to get etag. https://github.com/huggingface/transformers/blob/b2e4b091f08f1aaf21855d588c6c8d284baba9eb/src/transformers/tokenization_utils_base.py#L1653-L1813 `local_files...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18385/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18385/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18384
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18384/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18384/comments
https://api.github.com/repos/huggingface/transformers/issues/18384/events
https://github.com/huggingface/transformers/issues/18384
1,323,691,246
I_kwDOCUB6oc5O5ezu
18,384
HPO could be enabled by a HPO configuration file(yaml or json) instead of adding code explicitly in example.py
{ "login": "sywangyi", "id": 36058628, "node_id": "MDQ6VXNlcjM2MDU4NjI4", "avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sywangyi", "html_url": "https://github.com/sywangyi", "followers_url": "https://api.github.com/users/syw...
[]
closed
false
null
[]
[ "@sgugger @yao-matrix @kding1 any comment?", "The examples are meant to stay simple and readable so users can change them to their need (cause as mentioned in several places, they are just examples, not production apps). That's why we set the bar at training + evaluation and they don't support hyperparameters se...
1,659
1,662
1,662
CONTRIBUTOR
null
### Feature request now, the HPO should be enabled by adding some code in example.py(like run_glue.py) to indicate the HPO backend, metric, hp space. code like ``` def glue_hp_space(trial): return [ {"bounds": {"min": 1e-6, "max": 1e-4}, "name": "learning_rate", "type": "double"}, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18384/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18384/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18383
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18383/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18383/comments
https://api.github.com/repos/huggingface/transformers/issues/18383/events
https://github.com/huggingface/transformers/issues/18383
1,323,651,975
I_kwDOCUB6oc5O5VOH
18,383
Encoder Decoder Model gives same generation results after finetuning
{ "login": "tqnwhz", "id": 39870399, "node_id": "MDQ6VXNlcjM5ODcwMzk5", "avatar_url": "https://avatars.githubusercontent.com/u/39870399?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tqnwhz", "html_url": "https://github.com/tqnwhz", "followers_url": "https://api.github.com/users/tqnwhz/fo...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!", "> Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests. Could you ask ...
1,659
1,659
1,659
NONE
null
❓ Questions & Help Hi, everyone. I am using transformers(v 4.20.1) and try to build a seq2seq model for multi-label classification. However, I found the model always gives same generation results after finetuning. I found two related issues in github but there seems to exist no solution. Here's the code. Main logi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18383/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18383/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18382
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18382/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18382/comments
https://api.github.com/repos/huggingface/transformers/issues/18382/events
https://github.com/huggingface/transformers/pull/18382
1,323,592,010
PR_kwDOCUB6oc48YycV
18,382
Fix custom config loading for clip model
{ "login": "avinashsai", "id": 22453634, "node_id": "MDQ6VXNlcjIyNDUzNjM0", "avatar_url": "https://avatars.githubusercontent.com/u/22453634?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avinashsai", "html_url": "https://github.com/avinashsai", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18382). All of your documentation changes will be reflected on that endpoint.", "Hey @avinashsai, I don't understand what you're trying to do: two lines above your changes is a `self.config = config`, so you're working with...
1,659
1,662
1,662
NONE
null
# What does this PR do? Fixes # (issue) In the clip model, CLIPTextTransformer and CLIPVisionTransformer loads the original clip config file eventhough custom parameters are given in the new config file.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18382/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18382/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18382", "html_url": "https://github.com/huggingface/transformers/pull/18382", "diff_url": "https://github.com/huggingface/transformers/pull/18382.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18382.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18381
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18381/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18381/comments
https://api.github.com/repos/huggingface/transformers/issues/18381/events
https://github.com/huggingface/transformers/issues/18381
1,323,515,415
I_kwDOCUB6oc5O4z4X
18,381
Summarisation example fails to run on given example. Missing positional argument TypeError
{ "login": "SupreethRao99", "id": 55043035, "node_id": "MDQ6VXNlcjU1MDQzMDM1", "avatar_url": "https://avatars.githubusercontent.com/u/55043035?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SupreethRao99", "html_url": "https://github.com/SupreethRao99", "followers_url": "https://api.githu...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Aha, that's one for @sgugger, linked to https://github.com/huggingface/transformers/pull/18325", "You need to use the main version of Transformers to use the main version of the example scripts. You can find the examples for v4.21.0 [here](https://github.com/huggingface/transformers/tree/v4.21.0/examples).", "...
1,659
1,659
1,659
NONE
null
### System Info ``` - `transformers` version: 4.21.0 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.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/18381/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18381/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18380
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18380/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18380/comments
https://api.github.com/repos/huggingface/transformers/issues/18380/events
https://github.com/huggingface/transformers/issues/18380
1,323,507,420
I_kwDOCUB6oc5O4x7c
18,380
LayoutLM-based visual question answering model, weights, and pipeline
{ "login": "ankrgyl", "id": 565363, "node_id": "MDQ6VXNlcjU2NTM2Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/565363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ankrgyl", "html_url": "https://github.com/ankrgyl", "followers_url": "https://api.github.com/users/ankrgyl/fo...
[]
closed
false
null
[]
[ "cc @Narsil as well as @NielsRogge ", "Thank you for this proposal !\r\n\r\nIt is really well thought out and everything you mention is pertinent.\r\nAdding support would be really awesome !\r\n\r\n- We probably need to use VisualQuestionAnswering for this one. What defines a pipeline is the set of input/output s...
1,659
1,662
1,662
CONTRIBUTOR
null
### Feature request Question answering is an important problem for both text and documents. The question-answering pipeline makes it very easy to work with plain text and includes helpful utilities (like [post-processing start/end candidates](https://github.com/huggingface/transformers/blob/main/src/transformers/pip...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18380/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/18380/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18379
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18379/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18379/comments
https://api.github.com/repos/huggingface/transformers/issues/18379/events
https://github.com/huggingface/transformers/issues/18379
1,323,450,730
I_kwDOCUB6oc5O4kFq
18,379
raise RuntimeError("Failed to load audio from {}".format(filepath))
{ "login": "mehrdad78", "id": 46048846, "node_id": "MDQ6VXNlcjQ2MDQ4ODQ2", "avatar_url": "https://avatars.githubusercontent.com/u/46048846?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mehrdad78", "html_url": "https://github.com/mehrdad78", "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
[]
[ "> feedback response with error code\r\n\r\nI didn't get what do you mean? ", "Hey @mehrdad78, could you share the full stack trace?", "> Hey @mehrdad78, could you share the full stack trace?\r\n\r\nYes,sure.\r\nhere is my colab notebook:[https://colab.research.google.com/drive/1jNdztD-Kkk8MCkzPLlLXVr0Z2jSgpkM8...
1,659
1,691
1,662
NONE
null
### System Info i want to run run_speech_recognition_ctc.py but i got the error when run the Single GPU CTC script. `python run_speech_recognition_ctc.py \ --dataset_name="common_voice" \ --model_name_or_path="facebook/wav2vec2-large-xlsr-53" \ --dataset_config_name="tr" \ --output_dir="./wav2vec2-...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18379/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18379/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18378
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18378/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18378/comments
https://api.github.com/repos/huggingface/transformers/issues/18378/events
https://github.com/huggingface/transformers/issues/18378
1,323,410,602
I_kwDOCUB6oc5O4aSq
18,378
NLLB-200 is too slow
{ "login": "Yakovtam", "id": 23466613, "node_id": "MDQ6VXNlcjIzNDY2NjEz", "avatar_url": "https://avatars.githubusercontent.com/u/23466613?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Yakovtam", "html_url": "https://github.com/Yakovtam", "followers_url": "https://api.github.com/users/Yak...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!", "This issue has been automatically marked as stale because it has not had recent activity. If you think this stil...
1,659
1,662
1,662
NONE
null
### Feature request When I use modle 'facebook/nllb-200-distilled-600M' to translate , it consuming 0.5 second. And it look like not async。 I want make it consuming 0.1 second ,and make it async。 Is there anyone who can help me 。Thanks! ### Motivation When I use modle 'facebook/nllb-200-distilled-600M' to translate...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18378/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18378/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18377
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18377/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18377/comments
https://api.github.com/repos/huggingface/transformers/issues/18377/events
https://github.com/huggingface/transformers/issues/18377
1,323,325,942
I_kwDOCUB6oc5O4Fn2
18,377
Getting Torchvision Transforms of `feature_extractor`s
{ "login": "sachinruk", "id": 1410927, "node_id": "MDQ6VXNlcjE0MTA5Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/1410927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinruk", "html_url": "https://github.com/sachinruk", "followers_url": "https://api.github.com/users/sa...
[ { "id": 4235521865, "node_id": "LA_kwDOCUB6oc78dO9J", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20extractors", "name": "Feature extractors", "color": "c2e0c6", "default": false, "description": "" } ]
closed
false
null
[]
[ "cc @amyeroberts ", "Thanks for adding this request @sachinruk :) \r\n\r\nRegarding the the mean and standard deviation values, can you raise a separate issue? \r\n\r\nWe're currently going through an update of the feature extractor class for images. At the moment, it's not possible to compose the individual tran...
1,659
1,662
1,662
CONTRIBUTOR
null
### Feature request Currently if I was to add any transforms in my training pipeline, it's not quite obvious how to do so. My usual process is to read through the source code and hope to find what I'm after. What I'm after is something like in `timm` where you can do ``` config = resolve_data_config({}, model=mod...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18377/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18377/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18376
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18376/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18376/comments
https://api.github.com/repos/huggingface/transformers/issues/18376/events
https://github.com/huggingface/transformers/issues/18376
1,323,192,153
I_kwDOCUB6oc5O3k9Z
18,376
Potential memory leakage of TensorFlow Swin model on kaggle!
{ "login": "innat", "id": 17668390, "node_id": "MDQ6VXNlcjE3NjY4Mzkw", "avatar_url": "https://avatars.githubusercontent.com/u/17668390?v=4", "gravatar_id": "", "url": "https://api.github.com/users/innat", "html_url": "https://github.com/innat", "followers_url": "https://api.github.com/users/innat/follow...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @innat, thanks for flagging this! \r\n\r\nIn order to help figure out what's causing the problem and possible solutions, could you please answer the following questions: \r\n\r\n* Could you give the version of transformers you're using and any other relevant packages? \r\n* Does the notebook run successfully be...
1,659
1,662
1,662
NONE
null
### System Info Info: ``` Framework: TensorFlow 2 (Keras) Version: 2.6 OS: Kaggle ``` ### Who can help? [Swin Model Card](https://huggingface.co/microsoft/swin-small-patch4-window7-224) @amyeroberts TensorFlow: @Rocketknight1 Vision: @NielsRogge, @sgugger ### Information - [ ] The official ex...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18376/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18376/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18375
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18375/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18375/comments
https://api.github.com/repos/huggingface/transformers/issues/18375/events
https://github.com/huggingface/transformers/pull/18375
1,323,134,256
PR_kwDOCUB6oc48XWRt
18,375
Correct the spelling of bleu metric
{ "login": "ToluClassics", "id": 38908008, "node_id": "MDQ6VXNlcjM4OTA4MDA4", "avatar_url": "https://avatars.githubusercontent.com/u/38908008?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ToluClassics", "html_url": "https://github.com/ToluClassics", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? This PR corrects a simple spelling error. From `blue` to `bleu` <!-- 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 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18375/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18375/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18375", "html_url": "https://github.com/huggingface/transformers/pull/18375", "diff_url": "https://github.com/huggingface/transformers/pull/18375.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18375.patch", "merged_at...