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/18374
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18374/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18374/comments
https://api.github.com/repos/huggingface/transformers/issues/18374/events
https://github.com/huggingface/transformers/issues/18374
1,323,011,439
I_kwDOCUB6oc5O241v
18,374
Implement pytorch model with BetterTransformer in pytorch1.12?
{ "login": "luoling1993", "id": 16378228, "node_id": "MDQ6VXNlcjE2Mzc4MjI4", "avatar_url": "https://avatars.githubusercontent.com/u/16378228?v=4", "gravatar_id": "", "url": "https://api.github.com/users/luoling1993", "html_url": "https://github.com/luoling1993", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey @luoling1993, we're currently in talks with PyTorch to see how to best approach this. cc @erichan1", "Hey there @luoling1993! I'm from the PyTorch team - we are working on this. My working PR https://github.com/erichan1/transformers/pull/2", "This issue has been automatically marked as stale because it has...
1,659
1,668
1,662
NONE
null
### Feature request BetterTransformer is a fastpath for the PyTorch Transformer API. The fastpath is a native, specialized implementation of key Transformer functions for CPU and GPU that applies to common Transformer use cases. ### Motivation Faster. ### Your contribution Pytorch official blog: https://pytorch.or...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18374/reactions", "total_count": 3, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/18374/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18373
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18373/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18373/comments
https://api.github.com/repos/huggingface/transformers/issues/18373/events
https://github.com/huggingface/transformers/issues/18373
1,322,962,992
I_kwDOCUB6oc5O2tAw
18,373
Transformers 4.21.0: Can't load XLMRoberta checkpoints
{ "login": "kkie02", "id": 94889693, "node_id": "U_kgDOBafm3Q", "avatar_url": "https://avatars.githubusercontent.com/u/94889693?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kkie02", "html_url": "https://github.com/kkie02", "followers_url": "https://api.github.com/users/kkie02/followers"...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "cc @sgugger ", "We don't support resuming training with a different version of Transformers that initiated it, as it would require just freezing the whole `Trainer` forever: any bug fix or feature added in it won't work with a resumed checkpoint.", "I am facing the same error with Transformers version 4.21.0 -...
1,659
1,659
1,659
NONE
null
### System Info Transformers 4.21.0 ### Who can help? @LysandreJik @sgugger ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Repr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18373/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18373/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18372
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18372/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18372/comments
https://api.github.com/repos/huggingface/transformers/issues/18372/events
https://github.com/huggingface/transformers/pull/18372
1,322,834,158
PR_kwDOCUB6oc48WVHJ
18,372
change shape to support dynamic batch input in tf.function XLA generate for tf serving
{ "login": "nlpcat", "id": 83209776, "node_id": "MDQ6VXNlcjgzMjA5Nzc2", "avatar_url": "https://avatars.githubusercontent.com/u/83209776?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nlpcat", "html_url": "https://github.com/nlpcat", "followers_url": "https://api.github.com/users/nlpcat/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Cc @gante @patrickvonplaten ", "Hi @nlpcat ๐Ÿ‘‹ I see the change is needed because an unknown batch size is specified (hence the need for dynamic shapes). I'm going to double-check a few cases against this branch and, if all goes wel...
1,659
1,671
1,659
CONTRIBUTOR
null
# What does this PR do? support dynamic input for tf.function + generate (XLA). needed for batch tf serving export: ``` import tensorflow as tf from transformers import TFAutoModelForSeq2SeqLM class MyOwnModel(tf.Module): def __init__(self, model_path="t5-small"): super(MyOwnModel, self).__ini...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18372/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18372/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18372", "html_url": "https://github.com/huggingface/transformers/pull/18372", "diff_url": "https://github.com/huggingface/transformers/pull/18372.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18372.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18371
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18371/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18371/comments
https://api.github.com/repos/huggingface/transformers/issues/18371/events
https://github.com/huggingface/transformers/pull/18371
1,322,796,416
PR_kwDOCUB6oc48WNRh
18,371
Bump mistune from 0.8.4 to 2.0.3 in /examples/research_projects/visual_bert
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
Bumps [mistune](https://github.com/lepture/mistune) from 0.8.4 to 2.0.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lepture/mistune/releases">mistune's releases</a>.</em></p> <blockquote> <h2>Version 2.0.2</h2> <p>Fix <code>escape_url </code> via <a href="https://github-r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18371/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18371/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18371", "html_url": "https://github.com/huggingface/transformers/pull/18371", "diff_url": "https://github.com/huggingface/transformers/pull/18371.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18371.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18370
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18370/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18370/comments
https://api.github.com/repos/huggingface/transformers/issues/18370/events
https://github.com/huggingface/transformers/pull/18370
1,322,788,851
PR_kwDOCUB6oc48WLjq
18,370
Bump mistune from 0.8.4 to 2.0.3 in /examples/research_projects/lxmert
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
Bumps [mistune](https://github.com/lepture/mistune) from 0.8.4 to 2.0.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lepture/mistune/releases">mistune's releases</a>.</em></p> <blockquote> <h2>Version 2.0.2</h2> <p>Fix <code>escape_url </code> via <a href="https://github-r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18370/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18370/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18370", "html_url": "https://github.com/huggingface/transformers/pull/18370", "diff_url": "https://github.com/huggingface/transformers/pull/18370.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18370.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18369
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18369/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18369/comments
https://api.github.com/repos/huggingface/transformers/issues/18369/events
https://github.com/huggingface/transformers/pull/18369
1,322,766,749
PR_kwDOCUB6oc48WHDe
18,369
Migrate metric to Evaluate in Pytorch examples
{ "login": "atturaioe", "id": 76523524, "node_id": "MDQ6VXNlcjc2NTIzNTI0", "avatar_url": "https://avatars.githubusercontent.com/u/76523524?v=4", "gravatar_id": "", "url": "https://api.github.com/users/atturaioe", "html_url": "https://github.com/atturaioe", "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? As metrics are being deprecated in Datasets, they need to be moved to Evaluate. This PR migrates function calls of `load_metric` from Datasets to `load` in Evaluate in Pytorch examples. Fixes #18306 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismis...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18369/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18369/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18369", "html_url": "https://github.com/huggingface/transformers/pull/18369", "diff_url": "https://github.com/huggingface/transformers/pull/18369.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18369.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18368
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18368/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18368/comments
https://api.github.com/repos/huggingface/transformers/issues/18368/events
https://github.com/huggingface/transformers/pull/18368
1,322,669,673
PR_kwDOCUB6oc48VyEa
18,368
Fix uninitialized parameter in conformer relative attention.
{ "login": "PiotrDabkowski", "id": 4052440, "node_id": "MDQ6VXNlcjQwNTI0NDA=", "avatar_url": "https://avatars.githubusercontent.com/u/4052440?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PiotrDabkowski", "html_url": "https://github.com/PiotrDabkowski", "followers_url": "https://api.gith...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hey @PiotrDabkowski, won't these be overridden by the weights when loaded with `from_pretrained`?\r\n\r\nEdit: ah, understood - you'd like to have a better initialization at zeros instead of random.\r\n\r\nWill let @patrickvonplaten ...
1,659
1,659
1,659
CONTRIBUTOR
null
`torch.Tensor` creates an unitialized tensor (as via `torch.empty`), this leads to undeterministic behavior, poor initialization, and nans if you have unlucky init. The paper does not specify the initialization for bias terms, so I guess zero seems like a good choice - no bias initially. `torch.Tensor` is usually popul...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18368/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18368/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18368", "html_url": "https://github.com/huggingface/transformers/pull/18368", "diff_url": "https://github.com/huggingface/transformers/pull/18368.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18368.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18367
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18367/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18367/comments
https://api.github.com/repos/huggingface/transformers/issues/18367/events
https://github.com/huggingface/transformers/issues/18367
1,322,603,477
I_kwDOCUB6oc5O1VPV
18,367
UnicodeDecodeError when using run_mlm_flax.py
{ "login": "hazalturkmen", "id": 42860397, "node_id": "MDQ6VXNlcjQyODYwMzk3", "avatar_url": "https://avatars.githubusercontent.com/u/42860397?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hazalturkmen", "html_url": "https://github.com/hazalturkmen", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "If you first serialize your dataset to local files, and then use that path as a dataset name; does it work then?", "Thank you for answer. I am new for using Huggingface dataset libary. My corpus only contains sentences with each line being a sentence. How can I serialize my dataset?", "Let me cc @albertvillano...
1,659
1,659
1,659
NONE
null
Hi, I want to develop BERT model from scratch using Turkish text corpus. First I created tokenizer and I load text data from my local as seen below ``` from tokenizers import BertWordPieceTokenizer import glob tokenizer = BertWordPieceTokenizer( clean_text=True, handle_chinese_chars=False, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18367/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18367/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18366
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18366/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18366/comments
https://api.github.com/repos/huggingface/transformers/issues/18366/events
https://github.com/huggingface/transformers/pull/18366
1,322,572,170
PR_kwDOCUB6oc48VdXq
18,366
Rewrite push_to_hub to use upload_files
{ "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? As asked in #18299 this PR rewrites the `PushToHubMixin` completely to use `upload_file` behind the scenes. This is breaking since there is no more git repository involved, so while the user might have been left with a proper repository in the past, this is not the case anymore. The trade-off...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18366/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/18366/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18366", "html_url": "https://github.com/huggingface/transformers/pull/18366", "diff_url": "https://github.com/huggingface/transformers/pull/18366.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18366.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18365
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18365/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18365/comments
https://api.github.com/repos/huggingface/transformers/issues/18365/events
https://github.com/huggingface/transformers/pull/18365
1,322,485,853
PR_kwDOCUB6oc48VLZu
18,365
Fix OPT doc tests
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi @ArthurZucker Do you know why the expected value has extra ``` ? `OPTForCausalLM` has the same expected value, but it doesn't have test failure. Seems strange to me ๐Ÿ˜• \r\n\r\n```\r\n 1003 >>> # Generate\r\n 1004 >...
1,659
1,659
1,659
COLLABORATOR
null
# What does this PR do? Fixes the doctest for OPT by adding slight modifications.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18365/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18365/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18365", "html_url": "https://github.com/huggingface/transformers/pull/18365", "diff_url": "https://github.com/huggingface/transformers/pull/18365.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18365.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18364
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18364/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18364/comments
https://api.github.com/repos/huggingface/transformers/issues/18364/events
https://github.com/huggingface/transformers/pull/18364
1,322,468,868
PR_kwDOCUB6oc48VH2x
18,364
[WIP] Accelerate gpt2
{ "login": "thomasw21", "id": 24695242, "node_id": "MDQ6VXNlcjI0Njk1MjQy", "avatar_url": "https://avatars.githubusercontent.com/u/24695242?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasw21", "html_url": "https://github.com/thomasw21", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18364). All of your documentation changes will be reflected on that endpoint.", "Hope you will also check how will it convert to onnx and will be optimized by onnxruntime after these changes in Attention. \r\n\r\nN. B.: Att...
1,659
1,662
1,662
CONTRIBUTOR
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18364/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18364/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18364", "html_url": "https://github.com/huggingface/transformers/pull/18364", "diff_url": "https://github.com/huggingface/transformers/pull/18364.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18364.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18363
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18363/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18363/comments
https://api.github.com/repos/huggingface/transformers/issues/18363/events
https://github.com/huggingface/transformers/pull/18363
1,322,380,298
PR_kwDOCUB6oc48U04E
18,363
Add FX support for torch.baddbmm and torch.Tensor.baddbmm
{ "login": "thomasw21", "id": 24695242, "node_id": "MDQ6VXNlcjI0Njk1MjQy", "avatar_url": "https://avatars.githubusercontent.com/u/24695242?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasw21", "html_url": "https://github.com/thomasw21", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
This doesn't quite fix the issue where the model isn't torch scriptable on torch 1.10, but this will help fx support on torch 1.10 at the very least. I'll merge this after #18344
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18363/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18363/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18363", "html_url": "https://github.com/huggingface/transformers/pull/18363", "diff_url": "https://github.com/huggingface/transformers/pull/18363.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18363.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18362
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18362/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18362/comments
https://api.github.com/repos/huggingface/transformers/issues/18362/events
https://github.com/huggingface/transformers/pull/18362
1,322,305,214
PR_kwDOCUB6oc48UlTN
18,362
Fix TFSegformerForSemanticSegmentation doctest
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The 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 `TFSegformerForSemanticSegmentation` doctest. With @amyeroberts uploading `nvidia/mit-b0`, all doctests for TF Segformer pass now. (I was waiting for a TF checkpoint and not fixed this one in the previous PR. This model (SemanticSegmentation) already had a TF checkpoint however)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18362/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/18362/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18362", "html_url": "https://github.com/huggingface/transformers/pull/18362", "diff_url": "https://github.com/huggingface/transformers/pull/18362.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18362.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18361
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18361/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18361/comments
https://api.github.com/repos/huggingface/transformers/issues/18361/events
https://github.com/huggingface/transformers/pull/18361
1,322,201,628
PR_kwDOCUB6oc48UPeU
18,361
[JAX] Replace all jax.tree_* calls with jax.tree_util.tree_*
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Sorry for being so late here! Let's merge it " ]
1,659
1,687
1,662
CONTRIBUTOR
null
# What does this PR do? Newer versions of JAX moved all tree utility methods to `jax.tree_util` and emit warnings for using the old locations under `jax`. This PR refactors all `jax.tree_*` calls to `jax.tree_util.tree_*`, thus disabling the warnings with no changes to the code functionality. ```python import ja...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18361/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18361/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18361", "html_url": "https://github.com/huggingface/transformers/pull/18361", "diff_url": "https://github.com/huggingface/transformers/pull/18361.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18361.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18360
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18360/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18360/comments
https://api.github.com/repos/huggingface/transformers/issues/18360/events
https://github.com/huggingface/transformers/issues/18360
1,322,053,836
I_kwDOCUB6oc5OzPDM
18,360
How can I use DDP mode without `torch.distributed.launch` command when I use transformers.Trainer
{ "login": "EeyoreLee", "id": 49790022, "node_id": "MDQ6VXNlcjQ5NzkwMDIy", "avatar_url": "https://avatars.githubusercontent.com/u/49790022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EeyoreLee", "html_url": "https://github.com/EeyoreLee", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "cc @sgugger", "No, you need to launch your Python script with the torch/DeepSpeed launcher.", "> \r\n\r\nThank you. I got it. " ]
1,659
1,659
1,659
NONE
null
I checked the historical issues and readed a part of source code. But I didn't find the way out to use DDP without `torch.distributed.launch`. Is there a way to use deepspeed or ddp without modifying the command? Like a field named `strategy: str` to select the way weather I use DDP.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18360/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18360/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18359
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18359/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18359/comments
https://api.github.com/repos/huggingface/transformers/issues/18359/events
https://github.com/huggingface/transformers/pull/18359
1,322,041,291
PR_kwDOCUB6oc48TsjE
18,359
Fix some doctests
{ "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? The doctests is back running, and we have 16 test failures now. This PR fixes 3 of them.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18359/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18359/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18359", "html_url": "https://github.com/huggingface/transformers/pull/18359", "diff_url": "https://github.com/huggingface/transformers/pull/18359.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18359.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18358
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18358/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18358/comments
https://api.github.com/repos/huggingface/transformers/issues/18358/events
https://github.com/huggingface/transformers/pull/18358
1,322,023,149
PR_kwDOCUB6oc48TorX
18,358
fix FSDP ShardedGradScaler
{ "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? 1. Fixes #18350 by renaming the import for FSDP ShardedGradScaler so that it doesn't change the scope of globally imported Fairscale ShardedGradScaler 2. Another minor change of raising error when transformer auto wrap class name is not found in the model. ## Before submitting - [ ] This...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18358/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18358/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18358", "html_url": "https://github.com/huggingface/transformers/pull/18358", "diff_url": "https://github.com/huggingface/transformers/pull/18358.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18358.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18357
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18357/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18357/comments
https://api.github.com/repos/huggingface/transformers/issues/18357/events
https://github.com/huggingface/transformers/issues/18357
1,322,016,089
I_kwDOCUB6oc5OzF1Z
18,357
generate with tf.function (xla) not working for tf model export
{ "login": "nlpcat", "id": 83209776, "node_id": "MDQ6VXNlcjgzMjA5Nzc2", "avatar_url": "https://avatars.githubusercontent.com/u/83209776?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nlpcat", "html_url": "https://github.com/nlpcat", "followers_url": "https://api.github.com/users/nlpcat/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
{ "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...
[]
1,659
1,659
1,659
CONTRIBUTOR
null
### System Info using the latest version with tf.function for generate still doesn't work for tensorflow model export which would be useful for serving. ### Who can help? @gante @patrickvonplaten ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18357/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18357/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18356
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18356/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18356/comments
https://api.github.com/repos/huggingface/transformers/issues/18356/events
https://github.com/huggingface/transformers/pull/18356
1,322,010,954
PR_kwDOCUB6oc48TmDw
18,356
[FX] Symbolic trace for Bloom
{ "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._", "Alright, I will make sure I review the PR once it's ready." ]
1,659
1,659
1,659
MEMBER
null
# What does this PR do? This PR adds `torch.fx` symbolic tracing support for Bloom. It also enables this feature for XLNet.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18356/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18356/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18356", "html_url": "https://github.com/huggingface/transformers/pull/18356", "diff_url": "https://github.com/huggingface/transformers/pull/18356.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18356.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18355
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18355/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18355/comments
https://api.github.com/repos/huggingface/transformers/issues/18355/events
https://github.com/huggingface/transformers/issues/18355
1,321,902,768
I_kwDOCUB6oc5OyqKw
18,355
Unable to set up developer environment on Mac M1
{ "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...
[ { "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! Thanks for the issue. I managed to get it work doing the following : \r\n\r\n1. Replace `tensorflow` with `tensorflow-macos` in the setup.py file. \r\n2. Install particular dependencies manually \r\n```\r\nbrew install llvm\r\nconda install -c apple tensorflow-deps\r\npython -m pip install tensorflow-macos\r...
1,659
1,683
1,659
CONTRIBUTOR
null
### System Info As MacBooks with the M1 chip need `tensorflow-macos` installed instead of` tensorflow>=2.3` (as listed in the setup.py) file trying to set up a developer environment on a M1 MacBook produces the following error: ``` ERROR: Could not find a version that satisfies the requirement tensorflow>=2.3; ext...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18355/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18355/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18354
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18354/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18354/comments
https://api.github.com/repos/huggingface/transformers/issues/18354/events
https://github.com/huggingface/transformers/issues/18354
1,321,900,925
I_kwDOCUB6oc5Oypt9
18,354
Add hallucination filter in generate()
{ "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...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
closed
false
null
[]
[ "WDYT of this request @gante ?", "Hi @KMFODA ๐Ÿ‘‹\r\n\r\nI'm not sure if I got the proposal right, let me try to explain in my own words to double-check :) You would like some sort of filter that prevents a large number of different tokens (that are not present in the input prompt) from being generated. Taking your...
1,659
1,693
1,674
CONTRIBUTOR
null
### Feature request Adding a filter of some sorts in the generate function to prevent x number of words from outside of the input from appearing in a generated text. This could work in a number of ways. It could be a filter on the number of out of source words appearing in the generated text (e.g 2 would mean that...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18354/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18354/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18353
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18353/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18353/comments
https://api.github.com/repos/huggingface/transformers/issues/18353/events
https://github.com/huggingface/transformers/pull/18353
1,321,818,116
PR_kwDOCUB6oc48S9Qv
18,353
Adding fine-tuning models to LUKE
{ "login": "ikuyamada", "id": 426342, "node_id": "MDQ6VXNlcjQyNjM0Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/426342?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ikuyamada", "html_url": "https://github.com/ikuyamada", "followers_url": "https://api.github.com/users/ikuy...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger Thank you so much for your detailed comments!\r\n\r\n> you force return_dict=True for the base model, but we have this flag because some optimization modules do not support dict outputs, the flag should be passed along and t...
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? This pull request adds the following four fine-tuning models to LUKE: * `LukeForMultipleChoice` * `LukeForQuestionAnswering` * `LukeForSequenceClassification` * `LukeForTokenClassification` LUKE was initially developed to solve entity-related NLP tasks, however, the model can also be...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18353/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18353/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18353", "html_url": "https://github.com/huggingface/transformers/pull/18353", "diff_url": "https://github.com/huggingface/transformers/pull/18353.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18353.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18352
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18352/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18352/comments
https://api.github.com/repos/huggingface/transformers/issues/18352/events
https://github.com/huggingface/transformers/pull/18352
1,321,755,725
PR_kwDOCUB6oc48Sv8s
18,352
Refactor `TFSwinLayer` to increase serving compatibility
{ "login": "harrydrippin", "id": 5152494, "node_id": "MDQ6VXNlcjUxNTI0OTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/5152494?v=4", "gravatar_id": "", "url": "https://api.github.com/users/harrydrippin", "html_url": "https://github.com/harrydrippin", "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
# What does this PR do? This PR refactors two parts of `TFSwinLayer` like below, to increase serving compatibility on multiple accelerators. ### Fix incompatible type cast on several serving architecture On the `window_reverse` function, there is incompatible computation on the graph when restoring batch size:...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18352/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18352/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18352", "html_url": "https://github.com/huggingface/transformers/pull/18352", "diff_url": "https://github.com/huggingface/transformers/pull/18352.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18352.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18351
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18351/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18351/comments
https://api.github.com/repos/huggingface/transformers/issues/18351/events
https://github.com/huggingface/transformers/pull/18351
1,321,730,719
PR_kwDOCUB6oc48Sqj4
18,351
Allow user-managed Pool in Wav2Vec2ProcessorWithLM.batch_decode
{ "login": "falcaopetri", "id": 8387736, "node_id": "MDQ6VXNlcjgzODc3MzY=", "avatar_url": "https://avatars.githubusercontent.com/u/8387736?v=4", "gravatar_id": "", "url": "https://api.github.com/users/falcaopetri", "html_url": "https://github.com/falcaopetri", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@anton-l are you looking into this? I'm not super familiar with the `pyctcdecode` backend, but can get up to speed and take a look for @falcaopetri if need be :)", "Hi @falcaopetri! Looks like `test_decoder_batch_1` indeed fails on...
1,659
1,666
1,666
CONTRIBUTOR
null
# What does this PR do? There are two issues being attacked: 1. Always creating a fresh pool within `Wav2Vec2ProcessorWithLM.batch_decode` generates a big overhead if it's called multiple times (this PR fixes #17879) 2. `pyctcdecode` can't use `spawn` Pools (this PR supersedes #17070) Changes: - adds a `pool` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18351/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18351/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18351", "html_url": "https://github.com/huggingface/transformers/pull/18351", "diff_url": "https://github.com/huggingface/transformers/pull/18351.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18351.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18350
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18350/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18350/comments
https://api.github.com/repos/huggingface/transformers/issues/18350/events
https://github.com/huggingface/transformers/issues/18350
1,321,412,127
I_kwDOCUB6oc5OwyYf
18,350
Global/local import with replicated name in the Trainer leading to UnboundLocalError
{ "login": "JingyaHuang", "id": 44135271, "node_id": "MDQ6VXNlcjQ0MTM1Mjcx", "avatar_url": "https://avatars.githubusercontent.com/u/44135271?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JingyaHuang", "html_url": "https://github.com/JingyaHuang", "followers_url": "https://api.github.com/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
{ "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...
[ "Hello @JingyaHuang, thank you for bringing this to the notice with detailed steps and possible solutions ๐Ÿค—. Can you try the above draft PR and see if that fixes the issue?" ]
1,659
1,659
1,659
CONTRIBUTOR
null
### System Info - `transformers` version: 4.21.0 - 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.11.0+cu113 (True) ### Who can help? @pacman100 @sgugger ### Information - [ ] The official example scripts...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18350/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18350/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18349
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18349/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18349/comments
https://api.github.com/repos/huggingface/transformers/issues/18349/events
https://github.com/huggingface/transformers/pull/18349
1,321,388,288
PR_kwDOCUB6oc48RgbI
18,349
Add balanced strategies for device_map in from_pretrained
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
COLLABORATOR
null
# What does this PR do? This PR brings to Transformers the functionality introduced in https://github.com/huggingface/accelerate/pull/534 . Basically `device_map` can now take several options: - `"sequential"` which corresponds to the current auto: fill each GPU sequentially (and if the user has lots of GPU spaces...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18349/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18349/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18349", "html_url": "https://github.com/huggingface/transformers/pull/18349", "diff_url": "https://github.com/huggingface/transformers/pull/18349.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18349.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18348
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18348/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18348/comments
https://api.github.com/repos/huggingface/transformers/issues/18348/events
https://github.com/huggingface/transformers/pull/18348
1,321,343,162
PR_kwDOCUB6oc48RWp5
18,348
Migrate metrics used in flax examples to Evaluate
{ "login": "VijayKalmath", "id": 20517962, "node_id": "MDQ6VXNlcjIwNTE3OTYy", "avatar_url": "https://avatars.githubusercontent.com/u/20517962?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VijayKalmath", "html_url": "https://github.com/VijayKalmath", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "@sgugger , run_examples_flax successful ! Should be good to merge. ", "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger , I was wondering if you could point me at a good first issue I can try contributing to next. I looked at the issues and most of them seem to have fo...
1,659
1,659
1,659
CONTRIBUTOR
null
Currently, tensorflow examples use the `load_metric` function from Datasets library, commit migrates function call to `load` function in from Evaluate library for flax examples. Fix for #18306 # What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18348/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18348/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18348", "html_url": "https://github.com/huggingface/transformers/pull/18348", "diff_url": "https://github.com/huggingface/transformers/pull/18348.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18348.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18347
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18347/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18347/comments
https://api.github.com/repos/huggingface/transformers/issues/18347/events
https://github.com/huggingface/transformers/pull/18347
1,321,273,520
PR_kwDOCUB6oc48RHdr
18,347
Fix OwlViT torchscript tests
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
COLLABORATOR
null
# What does this PR do? Fix `OwlViTForObjectDetection` torchscript tests. The main problem comes from the fact that we provide ```python traced_model = torch.jit.trace(model, (input_ids, pixel_values)) ``` but `OwlViTForObjectDetection` has different order of arguments. I could simply change the order in th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18347/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18347/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18347", "html_url": "https://github.com/huggingface/transformers/pull/18347", "diff_url": "https://github.com/huggingface/transformers/pull/18347.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18347.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18346
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18346/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18346/comments
https://api.github.com/repos/huggingface/transformers/issues/18346/events
https://github.com/huggingface/transformers/pull/18346
1,321,259,445
PR_kwDOCUB6oc48REah
18,346
[Docs] Fix Speech Encoder Decoder doc sample
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? Fixes #18343 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18346/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18346/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18346", "html_url": "https://github.com/huggingface/transformers/pull/18346", "diff_url": "https://github.com/huggingface/transformers/pull/18346.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18346.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18345
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18345/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18345/comments
https://api.github.com/repos/huggingface/transformers/issues/18345/events
https://github.com/huggingface/transformers/pull/18345
1,321,168,668
PR_kwDOCUB6oc48Qwo0
18,345
Include tensorflow-aarch64 as a candidate
{ "login": "ankrgyl", "id": 565363, "node_id": "MDQ6VXNlcjU2NTM2Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/565363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ankrgyl", "html_url": "https://github.com/ankrgyl", "followers_url": "https://api.github.com/users/ankrgyl/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "(I'm waiting for the tests to pass before merging)", "Thank you! What is the next step -- do I close it or merge it somehow? Apologies for my unfamiliarity with the process.", "I'll merge it as soon as everything is green :)", ...
1,659
1,659
1,659
CONTRIBUTOR
null
# Include tensorflow-aarch64 as a candidate Fixes # 18323 @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18345/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18345/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18345", "html_url": "https://github.com/huggingface/transformers/pull/18345", "diff_url": "https://github.com/huggingface/transformers/pull/18345.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18345.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18344
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18344/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18344/comments
https://api.github.com/repos/huggingface/transformers/issues/18344/events
https://github.com/huggingface/transformers/pull/18344
1,321,126,182
PR_kwDOCUB6oc48Qnjr
18,344
[BLOOM] Clean modeling code
{ "login": "thomasw21", "id": 24695242, "node_id": "MDQ6VXNlcjI0Njk1MjQy", "avatar_url": "https://avatars.githubusercontent.com/u/24695242?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasw21", "html_url": "https://github.com/thomasw21", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Ran quick test on the generation speed:\r\n```python\r\nfrom transformers import AutoTokenizer, AutoModelForCausalLM\r\nfrom timeit import timeit\r\n\r\ndef main():\r\n model_name = \"bigscience/bloom-350m\"\r\n max_length = 50...
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? **THERE'S A BREAKING CHANGE**: `past_key_values` changes in terms of format, is that acceptable @sgugger @patrickvonplaten ? ## Changes Make a pass at cleaning up some code: - convert `causal_mask` to bool tensor and use it via mask. - simplify `causal_mask` creation function. - r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18344/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18344/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18344", "html_url": "https://github.com/huggingface/transformers/pull/18344", "diff_url": "https://github.com/huggingface/transformers/pull/18344.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18344.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18343
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18343/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18343/comments
https://api.github.com/repos/huggingface/transformers/issues/18343/events
https://github.com/huggingface/transformers/issues/18343
1,321,065,203
I_kwDOCUB6oc5Ovdrz
18,343
The doc sample for training on Speech Encoder Decoder does not work
{ "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
[]
[ "Hey @sgugger, thanks for flagging this!\r\n\r\n> First the call to from_encoder_decoder_pretrained does not load the pretrained BERT (there is a huge warning all weights are discarded)\r\n\r\nI've double checked this, and the `from_encoder_decoder_pretrained` does load all the **pre-trained** BERT weights! The wei...
1,659
1,659
1,659
COLLABORATOR
null
I'm working on updating the doc to remove the use of `as_target_xxx` context managers and noticed the code sample [here](https://github.com/huggingface/transformers/blob/main/docs/source/en/model_doc/speech-encoder-decoder.mdx#training) does not work. First the call to `from_encoder_decoder_pretrained` does not loa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18343/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18343/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18342
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18342/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18342/comments
https://api.github.com/repos/huggingface/transformers/issues/18342/events
https://github.com/huggingface/transformers/pull/18342
1,321,057,089
PR_kwDOCUB6oc48QaIi
18,342
[BLOOM] Deprecate `position_ids`
{ "login": "thomasw21", "id": 24695242, "node_id": "MDQ6VXNlcjI0Njk1MjQy", "avatar_url": "https://avatars.githubusercontent.com/u/24695242?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasw21", "html_url": "https://github.com/thomasw21", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "With @NouamaneTazi we discovered that this actually breaks scripting for torch 1.11 (and seems to work fine in torch 1.12) . In particular, the `**` operator breaks it, should we revert back to set `position_ids=None` in the signatu...
1,659
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? Deprecate `position_ids` as they never made sense for BLOOM.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18342/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18342/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18342", "html_url": "https://github.com/huggingface/transformers/pull/18342", "diff_url": "https://github.com/huggingface/transformers/pull/18342.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18342.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18341
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18341/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18341/comments
https://api.github.com/repos/huggingface/transformers/issues/18341/events
https://github.com/huggingface/transformers/pull/18341
1,321,047,369
PR_kwDOCUB6oc48QYOH
18,341
[Flax] Add scan_with_axes
{ "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...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18341). All of your documentation changes will be reflected on that endpoint.", "### Update\r\n\r\nCurrent API:\r\n\r\n1. With automatic init:\r\n```python\r\nmodel.scan_enable() # to enable scan\r\nmodel.scan_disable() #...
1,659
1,661
null
CONTRIBUTOR
null
# What does this PR do? Adds `scan_with_axes` to Flax Bert and its derived models. TODO: - [ ] Fix cookie cutter template - [ ] Run `make fix-copies` (after review) Fixes [#17399](https://github.com/huggingface/transformers/issues/17399) ## Before submitting - [ ] This PR fixes a typo or improves the doc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18341/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/18341/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18341", "html_url": "https://github.com/huggingface/transformers/pull/18341", "diff_url": "https://github.com/huggingface/transformers/pull/18341.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18341.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18340
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18340/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18340/comments
https://api.github.com/repos/huggingface/transformers/issues/18340/events
https://github.com/huggingface/transformers/issues/18340
1,320,956,898
I_kwDOCUB6oc5OvDPi
18,340
Efficient Attention
{ "login": "kacwin", "id": 19871333, "node_id": "MDQ6VXNlcjE5ODcxMzMz", "avatar_url": "https://avatars.githubusercontent.com/u/19871333?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kacwin", "html_url": "https://github.com/kacwin", "followers_url": "https://api.github.com/users/kacwin/fo...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nLoved reading that :D thanks for your interest in ViTMAE. It would definitely be nice to have one of these more efficient attention models in the library. However, we usually only add models that have dedicated pre-trained weights.\r\n\r\nAs Transformers is not really a modular toolbox, we treat each mo...
1,659
1,662
1,662
NONE
null
### Feature request The authors of https://openaccess.thecvf.com/content/WACV2021/papers/Shen_Efficient_Attention_Attention_With_Linear_Complexities_WACV_2021_paper.pdf propose to change the attention module in transformers to achieve linear complexity in the number of processed tokens (instead of the feared quadrat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18340/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18340/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18339
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18339/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18339/comments
https://api.github.com/repos/huggingface/transformers/issues/18339/events
https://github.com/huggingface/transformers/pull/18339
1,320,937,881
PR_kwDOCUB6oc48QBDK
18,339
fix(typo): Update automatic_speech_recognition.py
{ "login": "bofenghuang", "id": 38185248, "node_id": "MDQ6VXNlcjM4MTg1MjQ4", "avatar_url": "https://avatars.githubusercontent.com/u/38185248?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bofenghuang", "html_url": "https://github.com/bofenghuang", "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
@sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18339/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18339/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18339", "html_url": "https://github.com/huggingface/transformers/pull/18339", "diff_url": "https://github.com/huggingface/transformers/pull/18339.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18339.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18338
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18338/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18338/comments
https://api.github.com/repos/huggingface/transformers/issues/18338/events
https://github.com/huggingface/transformers/pull/18338
1,320,899,187
PR_kwDOCUB6oc48P4rs
18,338
Remove Flax OPT from `documentation_tests.txt`
{ "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._", "@ArthurZucker This file is used to test the docstrings in model files and some documentation files. It is something different from the usual model testing." ]
1,659
1,662
1,659
COLLABORATOR
null
# What does this PR do? Remove Flax OPT from `documentation_tests.txt` for now. The test uses the docker image `huggingface/transformers-all-latest-gpu` which has no JAX/Flax installed. [Failed job run](https://github.com/huggingface/transformers/runs/7551001967?check_suite_focus=true) Error: ```python src...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18338/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/18338/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18338", "html_url": "https://github.com/huggingface/transformers/pull/18338", "diff_url": "https://github.com/huggingface/transformers/pull/18338.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18338.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18337
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18337/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18337/comments
https://api.github.com/repos/huggingface/transformers/issues/18337/events
https://github.com/huggingface/transformers/pull/18337
1,320,884,294
PR_kwDOCUB6oc48P1eS
18,337
fixed _toctree.yml
{ "login": "nickprock", "id": 11136646, "node_id": "MDQ6VXNlcjExMTM2NjQ2", "avatar_url": "https://avatars.githubusercontent.com/u/11136646?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nickprock", "html_url": "https://github.com/nickprock", "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? I update the _toctree.yml after the [last fixes and review on training.mdx](https://github.com/huggingface/transformers/pull/18333#event-7080871662) ![immagine](https://user-images.githubusercontent.com/11136646/181508592-a7336f29-52de-4f01-baf9-e8b0a8b70741.png) See issue: [#17459](h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18337/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18337/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18337", "html_url": "https://github.com/huggingface/transformers/pull/18337", "diff_url": "https://github.com/huggingface/transformers/pull/18337.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18337.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18336
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18336/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18336/comments
https://api.github.com/repos/huggingface/transformers/issues/18336/events
https://github.com/huggingface/transformers/pull/18336
1,320,759,694
PR_kwDOCUB6oc48PaoC
18,336
Fix breaking change in `onnxruntime` for ONNX quantization
{ "login": "severinsimmler", "id": 16133277, "node_id": "MDQ6VXNlcjE2MTMzMjc3", "avatar_url": "https://avatars.githubusercontent.com/u/16133277?v=4", "gravatar_id": "", "url": "https://api.github.com/users/severinsimmler", "html_url": "https://github.com/severinsimmler", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@JingyaHuang @lewtun @michaelbenayoun Happy to implement changes if you have any suggestions ๐Ÿ˜Š ", "Thanks @lewtun :pray: All tests are passing on my machine:\r\n\r\n![image](https://user-images.githubusercontent.com/16133277/18541...
1,659
1,660
1,660
CONTRIBUTOR
null
Using `onnxruntime.quantization.quantize` has been deprecated since a while: ``` WARNING:root:onnxruntime.quantization.quantize is deprecated. Please use quantize_static for static quantization, quantize_dynamic for dynamic quantization. ``` and has been removed from `onnxruntime` in v1.12.0 (released...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18336/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 3, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18336/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18336", "html_url": "https://github.com/huggingface/transformers/pull/18336", "diff_url": "https://github.com/huggingface/transformers/pull/18336.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18336.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18335
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18335/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18335/comments
https://api.github.com/repos/huggingface/transformers/issues/18335/events
https://github.com/huggingface/transformers/issues/18335
1,320,743,976
I_kwDOCUB6oc5OuPQo
18,335
AutoTokenizer behavior changing when enable_full_determinism is set to zero
{ "login": "clefourrier", "id": 22726840, "node_id": "MDQ6VXNlcjIyNzI2ODQw", "avatar_url": "https://avatars.githubusercontent.com/u/22726840?v=4", "gravatar_id": "", "url": "https://api.github.com/users/clefourrier", "html_url": "https://github.com/clefourrier", "followers_url": "https://api.github.com/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @clefourrier ,\r\n\r\nFrom your description, I agree with you that the output should always be 512. However, I can't reproduce your problem (I tried with the same version of `transformers` and `torch`), I let you see my attempt to reproduce your error in this [google colab notebook](https://colab.research.googl...
1,659
1,659
1,659
MEMBER
null
### System Info - `transformers` version: 4.20.1 - Platform: Linux-5.14.0-1045-oem-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.11.0+cu102 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18335/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18335/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18334
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18334/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18334/comments
https://api.github.com/repos/huggingface/transformers/issues/18334/events
https://github.com/huggingface/transformers/issues/18334
1,320,723,474
I_kwDOCUB6oc5OuKQS
18,334
Fail to reproduce tf2 bert-large f1-score on SQuADv1.1
{ "login": "zhuango", "id": 5491519, "node_id": "MDQ6VXNlcjU0OTE1MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/5491519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhuango", "html_url": "https://github.com/zhuango", "followers_url": "https://api.github.com/users/zhuango/...
[ { "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 @zhuango, it's possible there's a bug here, but there is also always some variation between runs. Can you run the training a couple of times for both PyTorch and TensorFlow and report the range of F1-scores you get for both? ", "@Rocketknight1 Sure, I willl try more runs with exactly the same hyper-parameters...
1,659
1,660
1,660
NONE
null
### System Info transformers=4.20.1, python=3.7, tensorflow-gpu=2.9.1. ### Who can help? @Rocketknight1 @sgugger @patil-suraj ### Information - [x] The official example scripts - [ ] My own modified scripts ### Tasks - [x] An officially supported task in the `examples` folder (such as GLUE/SQuAD,...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18334/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18334/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18333
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18333/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18333/comments
https://api.github.com/repos/huggingface/transformers/issues/18333/events
https://github.com/huggingface/transformers/pull/18333
1,320,705,082
PR_kwDOCUB6oc48PO2i
18,333
updated translation
{ "login": "banda-larga", "id": 49756048, "node_id": "MDQ6VXNlcjQ5NzU2MDQ4", "avatar_url": "https://avatars.githubusercontent.com/u/49756048?v=4", "gravatar_id": "", "url": "https://api.github.com/users/banda-larga", "html_url": "https://github.com/banda-larga", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi @banda-larga @sgugger we discuss a lot with @mfumanelli for the better italian translation. For me this version is ok, you can merge the PR" ]
1,659
1,659
1,659
CONTRIBUTOR
null
Left the term fine-tuning since there is no correct translation into Italian and the English term is generally used. The same was done with some terms like "learning rate"
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18333/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18333/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18333", "html_url": "https://github.com/huggingface/transformers/pull/18333", "diff_url": "https://github.com/huggingface/transformers/pull/18333.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18333.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18332
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18332/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18332/comments
https://api.github.com/repos/huggingface/transformers/issues/18332/events
https://github.com/huggingface/transformers/pull/18332
1,320,665,383
PR_kwDOCUB6oc48PGaZ
18,332
fix run_clip README
{ "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 `run_clip` example's README. The path should be the absolute path to the downloaded data directory (using relative path will make `load_dataset` look for the data directory on the Hub). From slack discussion: - _basically the base path used to resolve relative path corresponds to w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18332/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18332/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18332", "html_url": "https://github.com/huggingface/transformers/pull/18332", "diff_url": "https://github.com/huggingface/transformers/pull/18332.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18332.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18331
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18331/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18331/comments
https://api.github.com/repos/huggingface/transformers/issues/18331/events
https://github.com/huggingface/transformers/pull/18331
1,320,652,102
PR_kwDOCUB6oc48PDkr
18,331
fixed typo
{ "login": "banda-larga", "id": 49756048, "node_id": "MDQ6VXNlcjQ5NzU2MDQ4", "avatar_url": "https://avatars.githubusercontent.com/u/49756048?v=4", "gravatar_id": "", "url": "https://api.github.com/users/banda-larga", "html_url": "https://github.com/banda-larga", "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
# What does this PR do? Fixes a typo on the italian translation
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18331/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18331/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18331", "html_url": "https://github.com/huggingface/transformers/pull/18331", "diff_url": "https://github.com/huggingface/transformers/pull/18331.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18331.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18330
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18330/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18330/comments
https://api.github.com/repos/huggingface/transformers/issues/18330/events
https://github.com/huggingface/transformers/issues/18330
1,320,381,039
I_kwDOCUB6oc5Os2pv
18,330
DeepSpeed Stage 2, Gradient computed twice for this partition.
{ "login": "lkm2835", "id": 30465912, "node_id": "MDQ6VXNlcjMwNDY1OTEy", "avatar_url": "https://avatars.githubusercontent.com/u/30465912?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lkm2835", "html_url": "https://github.com/lkm2835", "followers_url": "https://api.github.com/users/lkm283...
[ { "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,658
1,683
1,662
CONTRIBUTOR
null
### System Info transformers == 4.20.1 python == 3.8.13 OS == ubuntu 20.4 DeepSpeed == 0.6.7 ### Who can help? @stas00 ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18330/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18330/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18329
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18329/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18329/comments
https://api.github.com/repos/huggingface/transformers/issues/18329/events
https://github.com/huggingface/transformers/issues/18329
1,320,287,530
I_kwDOCUB6oc5Osf0q
18,329
T5 Tokenizer misses a space
{ "login": "ari9dam", "id": 14134882, "node_id": "MDQ6VXNlcjE0MTM0ODgy", "avatar_url": "https://avatars.githubusercontent.com/u/14134882?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ari9dam", "html_url": "https://github.com/ari9dam", "followers_url": "https://api.github.com/users/ari9da...
[ { "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
[]
[ "One workaround is adding `clean_up_tokenization_spaces=False` in tokenizer.decode", "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 [contributi...
1,658
1,662
1,662
NONE
null
### System Info ``` tokenizer = AutoTokenizer.from_pretrained("t5-3b", use_fast=False)#metrics_util.tokenizer tokenizer.decode(tokenizer("Intel unveils Project Alloy 'merged reality' headset")["input_ids"], skip_special_tokens=True) Output: Intel unveils Project Alloy'merged reality' headset ``` Note that th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18329/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18329/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18328
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18328/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18328/comments
https://api.github.com/repos/huggingface/transformers/issues/18328/events
https://github.com/huggingface/transformers/pull/18328
1,320,189,925
PR_kwDOCUB6oc48Ni-L
18,328
Split model list on modality
{ "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...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This requires more work than just splitting the navigation bar (as seen with the failing quality test). There are scripts that format this model ToC/check all models are documented which then need to be adapted.\r\n\r\nLikewise split...
1,658
1,659
1,659
MEMBER
null
This PR splits the model API list on modality because it was becoming difficult for users to discover what vision or audio models are supported because they just disappear in the long list. I set these sections to not expand by default since users are more likely interested in going straight to a modality and then expa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18328/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18328/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18328", "html_url": "https://github.com/huggingface/transformers/pull/18328", "diff_url": "https://github.com/huggingface/transformers/pull/18328.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18328.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18327
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18327/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18327/comments
https://api.github.com/repos/huggingface/transformers/issues/18327/events
https://github.com/huggingface/transformers/pull/18327
1,320,123,886
PR_kwDOCUB6oc48NU49
18,327
Migrate metric to Evaluate library for tensorflow examples
{ "login": "VijayKalmath", "id": 20517962, "node_id": "MDQ6VXNlcjIwNTE3OTYy", "avatar_url": "https://avatars.githubusercontent.com/u/20517962?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VijayKalmath", "html_url": "https://github.com/VijayKalmath", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger, Working on the other examples. \r\n\r\nIn contrast to pytorch examples, in the tensorflow examples, some of the different tasks (summarization, translation token-classification ) are missing requirements.txt. \r\n\r\n\r\nS...
1,658
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? Currently, tensorflow examples use the `load_metric` function from Datasets library, commit migrates function call to `load` function to Evaluate library. Fix for #18306 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18327/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18327/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18327", "html_url": "https://github.com/huggingface/transformers/pull/18327", "diff_url": "https://github.com/huggingface/transformers/pull/18327.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18327.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18326
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18326/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18326/comments
https://api.github.com/repos/huggingface/transformers/issues/18326/events
https://github.com/huggingface/transformers/pull/18326
1,320,087,004
PR_kwDOCUB6oc48NNDJ
18,326
add t5 for text generation
{ "login": "sam-h-bean", "id": 43734688, "node_id": "MDQ6VXNlcjQzNzM0Njg4", "avatar_url": "https://avatars.githubusercontent.com/u/43734688?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sam-h-bean", "html_url": "https://github.com/sam-h-bean", "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_18326). All of your documentation changes will be reflected on that endpoint.", "Thanks for opening the PR @sam-h-bean, can you explain a bit more why you require this change? Can't you use the text-to-text pipeline in your...
1,658
1,662
1,662
CONTRIBUTOR
null
# What does this PR do? Add support for `T5ForConditionalGeneration` to the text generation pipeline ## Who can review? @LysandreJik @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18326/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18326/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18326", "html_url": "https://github.com/huggingface/transformers/pull/18326", "diff_url": "https://github.com/huggingface/transformers/pull/18326.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18326.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18325
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18325/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18325/comments
https://api.github.com/repos/huggingface/transformers/issues/18325/events
https://github.com/huggingface/transformers/pull/18325
1,320,051,835
PR_kwDOCUB6oc48NFnA
18,325
Replace `as_target` context managers by direct calls
{ "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,658
1,659
1,659
COLLABORATOR
null
# What does this PR do? This PR deprecates the context managers `as_target_tokenizer` and `as_target_processor` to the profit of passing more arguments to the `__call__` method (or the `pad` method for certain processors). Let's look at one example for a tokenizer in a seq2seq task. The current workflow is: ```p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18325/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18325/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18325", "html_url": "https://github.com/huggingface/transformers/pull/18325", "diff_url": "https://github.com/huggingface/transformers/pull/18325.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18325.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18324
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18324/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18324/comments
https://api.github.com/repos/huggingface/transformers/issues/18324/events
https://github.com/huggingface/transformers/pull/18324
1,319,987,063
PR_kwDOCUB6oc48M37C
18,324
Update feature extractor docs
{ "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,658
1,658
1,658
MEMBER
null
As pointed out by @NielsRogge, a feature extractor is used to prepare inputs for a model with a single modality rather than multimodal models.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18324/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18324/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18324", "html_url": "https://github.com/huggingface/transformers/pull/18324", "diff_url": "https://github.com/huggingface/transformers/pull/18324.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18324.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18323
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18323/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18323/comments
https://api.github.com/repos/huggingface/transformers/issues/18323/events
https://github.com/huggingface/transformers/issues/18323
1,319,888,672
I_kwDOCUB6oc5Oq-cg
18,323
tensorflow-aarch64 is not a viable candidate tensorflow version
{ "login": "ankrgyl", "id": 565363, "node_id": "MDQ6VXNlcjU2NTM2Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/565363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ankrgyl", "html_url": "https://github.com/ankrgyl", "followers_url": "https://api.github.com/users/ankrgyl/fo...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hey @ankrgyl, would you like to open a PR to enable that candidate?", "Happy to! I am a bit rusty on the PR process but here it is: https://github.com/huggingface/transformers/pull/18345", "Closed in https://github.com/huggingface/transformers/pull/18345\r\n\r\nThanks for your contribution!" ]
1,658
1,659
1,659
CONTRIBUTOR
null
### System Info On ARM64 machines, the official tensorflow package is named `tensorflow-aarch64`. On transformers==4.20.1, in `utils/import_utils.py`, there is a list of `candidates` for tensorflow packages which does not include this package. As a result, you cannot use TF+transformers on arm64 machines that have ins...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18323/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18323/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18322
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18322/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18322/comments
https://api.github.com/repos/huggingface/transformers/issues/18322/events
https://github.com/huggingface/transformers/issues/18322
1,319,750,069
I_kwDOCUB6oc5Oqcm1
18,322
Transformers documentation translation to French
{ "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...
open
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...
[ "I'd love to help you for these tasks ! \r\n\r\nune bonne idรฉe pour adopter un ton sympa et pรฉdagogue, serait d'utiliser la **1ere personne du pluriel** (NOUS) le plus souvent quand c'est possible. Par exemple : \r\n\r\n\" Start by creating a virtual environment in your project directory: \"\r\nโ€”โ€บ \"**Commenรงons** ...
1,658
1,692
null
CONTRIBUTOR
null
Hi! Let's bring the documentation to all the French-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 to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18322/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 1, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18322/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/18321
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18321/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18321/comments
https://api.github.com/repos/huggingface/transformers/issues/18321/events
https://github.com/huggingface/transformers/pull/18321
1,319,536,742
PR_kwDOCUB6oc48LeVb
18,321
Fix sacremoses sof dependency for Transformers XL
{ "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,658
1,658
1,658
COLLABORATOR
null
# What does this PR do? `sacremoses` is not a hard dependency of Transformers, but is used without protection the tokenization module of Transformers XL. This PR fixes that.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18321/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18321/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18321", "html_url": "https://github.com/huggingface/transformers/pull/18321", "diff_url": "https://github.com/huggingface/transformers/pull/18321.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18321.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18320
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18320/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18320/comments
https://api.github.com/repos/huggingface/transformers/issues/18320/events
https://github.com/huggingface/transformers/pull/18320
1,319,530,069
PR_kwDOCUB6oc48Lc3K
18,320
sentencepiece shouldn't be required for the fast LayoutXLM tokenizer
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,658
1,658
1,658
MEMBER
null
This PR duplicates the `LAYOUTXLM_ENCODE_KWARGS_DOCSTRING` variable which is currently imported from a file that is behind a `sentencepiece` requirement.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18320/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18320/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18320", "html_url": "https://github.com/huggingface/transformers/pull/18320", "diff_url": "https://github.com/huggingface/transformers/pull/18320.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18320.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18319
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18319/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18319/comments
https://api.github.com/repos/huggingface/transformers/issues/18319/events
https://github.com/huggingface/transformers/issues/18319
1,319,498,571
I_kwDOCUB6oc5OpfNL
18,319
FeatureExtractor in Multimodal & ViT based models
{ "login": "pikaduck", "id": 29567308, "node_id": "MDQ6VXNlcjI5NTY3MzA4", "avatar_url": "https://avatars.githubusercontent.com/u/29567308?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pikaduck", "html_url": "https://github.com/pikaduck", "followers_url": "https://api.github.com/users/pik...
[]
closed
false
null
[]
[ "cc @NielsRogge @amyeroberts ", "Thanks for raising @pikaduck! \r\n\r\nI have a few questions to make sure I understand the issue and your proposal. \r\n* When you say that the normalization may produce `bbox[i] > 1000`, can you confirm at least one of the bboxes coordinates for the image `(x0, y0)` or `(x1, y1)`...
1,658
1,662
1,662
NONE
null
### Feature request Customisable factor for normalisation in FeatureExtractor, i.e., currently 1000/w & 1000/h is used so internally 1000 is being used. If this (1000) can be made customisable, apply_ocr=True can be used without worrying about model training being interrupted due to bbox[I] > 1000. ### Motivation C...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18319/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18319/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18318
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18318/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18318/comments
https://api.github.com/repos/huggingface/transformers/issues/18318/events
https://github.com/huggingface/transformers/pull/18318
1,319,485,278
PR_kwDOCUB6oc48LTLu
18,318
Remove all uses of six
{ "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,658
1,658
1,658
COLLABORATOR
null
# What does this PR do? This PR removes all uses of the `six` package since Python 2 is dead and Transformers never had support for it. Those slipped through the crack during review.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18318/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18318/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18318", "html_url": "https://github.com/huggingface/transformers/pull/18318", "diff_url": "https://github.com/huggingface/transformers/pull/18318.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18318.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18317
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18317/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18317/comments
https://api.github.com/repos/huggingface/transformers/issues/18317/events
https://github.com/huggingface/transformers/issues/18317
1,319,484,463
I_kwDOCUB6oc5Opbwv
18,317
Decouple inference from preprocessing and postprocessing steps from pipeline
{ "login": "jspablo", "id": 9164573, "node_id": "MDQ6VXNlcjkxNjQ1NzM=", "avatar_url": "https://avatars.githubusercontent.com/u/9164573?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jspablo", "html_url": "https://github.com/jspablo", "followers_url": "https://api.github.com/users/jspablo/...
[]
closed
false
null
[]
[ "cc @Narsil ", "@jspablo ,\r\n\r\nThis is a very sound request which does make sense.\r\n\r\nI think it's going to be tricky to implement in a streamlined fashion since a lot of postprocessing actually uses the model (to get the config). We could have the config be on its own but that require real care since then...
1,658
1,662
1,662
NONE
null
### Feature request Each pipeline under the pipeline abstraction has a preprocessing, forward and postprocessing method. In order to use any pipeline it should be initiliazed providing a model so preprocessing and postprocessing methods cannot be easily used by other services. It would be great to provide the model j...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18317/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18317/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18316
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18316/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18316/comments
https://api.github.com/repos/huggingface/transformers/issues/18316/events
https://github.com/huggingface/transformers/issues/18316
1,319,282,209
I_kwDOCUB6oc5OoqYh
18,316
"AttributeError: cls.seq_relationship.weight not found in PyTorch model" when converting pytorch to tensorflow
{ "login": "BramVanroy", "id": 2779410, "node_id": "MDQ6VXNlcjI3Nzk0MTA=", "avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BramVanroy", "html_url": "https://github.com/BramVanroy", "followers_url": "https://api.github.com/users...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @BramVanroy, you shouldn't ever need to directly call `convert_pt_checkpoint_to_tf`. If you want to make a native TensorFlow checkpoint for that model, then the easiest way would be just:\r\n\r\n```\r\nmodel = TFAutoModelForSequenceClassification.from_pretrained(\"BramVanroy/bert-base-dutch-cased-hebban-reviews...
1,658
1,662
1,662
COLLABORATOR
null
### System Info - `transformers` version: 4.21.0.dev0 - Platform: Linux-5.15.0-41-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.0+cu113 (True) - Tensorflow version (GPU?): 2.9.1 (True) ### Who can help? @Rocketknight1 @sgugger ##...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18316/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18316/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18315
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18315/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18315/comments
https://api.github.com/repos/huggingface/transformers/issues/18315/events
https://github.com/huggingface/transformers/pull/18315
1,319,278,719
PR_kwDOCUB6oc48Knz8
18,315
[bugfix] Loading sharded model with torch_dtype='auto' causes TypeError
{ "login": "koreyou", "id": 5196226, "node_id": "MDQ6VXNlcjUxOTYyMjY=", "avatar_url": "https://avatars.githubusercontent.com/u/5196226?v=4", "gravatar_id": "", "url": "https://api.github.com/users/koreyou", "html_url": "https://github.com/koreyou", "followers_url": "https://api.github.com/users/koreyou/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi there, thanks for the fix! This is a duplicate of #18061 so we will merge this one as it came first :-)", "Hi. Sorry for dup and thanks for the fix! I am closing this PR (and the issue) as it is no longer necessary." ]
1,658
1,658
1,658
CONTRIBUTOR
null
# What does this PR do? Fixes #18314 ## Before submitting - [n] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [y] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18315/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18315/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18315", "html_url": "https://github.com/huggingface/transformers/pull/18315", "diff_url": "https://github.com/huggingface/transformers/pull/18315.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18315.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18314
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18314/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18314/comments
https://api.github.com/repos/huggingface/transformers/issues/18314/events
https://github.com/huggingface/transformers/issues/18314
1,319,261,862
I_kwDOCUB6oc5Oolam
18,314
Loading sharded model with torch_dtype='auto' causes TypeError
{ "login": "koreyou", "id": 5196226, "node_id": "MDQ6VXNlcjUxOTYyMjY=", "avatar_url": "https://avatars.githubusercontent.com/u/5196226?v=4", "gravatar_id": "", "url": "https://api.github.com/users/koreyou", "html_url": "https://github.com/koreyou", "followers_url": "https://api.github.com/users/koreyou/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "I've created PR to fix the problem as it is an easy fix. The variable names clearly suggest the intended behavior, so I just followed it.", "#18061 fixes this problem. Closing the issue." ]
1,658
1,658
1,658
CONTRIBUTOR
null
### System Info - `transformers` version: 4.20.1 - Platform: macOS-12.4-arm64-arm-64bit - Python version: 3.9.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.0 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not instal...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18314/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18314/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18313
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18313/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18313/comments
https://api.github.com/repos/huggingface/transformers/issues/18313/events
https://github.com/huggingface/transformers/pull/18313
1,319,221,985
PR_kwDOCUB6oc48Kbw5
18,313
Fixes torch jit tracing for LayoutLMv2 model (re-open)
{ "login": "mikkeldenker", "id": 16692368, "node_id": "MDQ6VXNlcjE2NjkyMzY4", "avatar_url": "https://avatars.githubusercontent.com/u/16692368?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mikkeldenker", "html_url": "https://github.com/mikkeldenker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,658
1,658
1,658
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18313/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18313/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18313", "html_url": "https://github.com/huggingface/transformers/pull/18313", "diff_url": "https://github.com/huggingface/transformers/pull/18313.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18313.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18312
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18312/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18312/comments
https://api.github.com/repos/huggingface/transformers/issues/18312/events
https://github.com/huggingface/transformers/pull/18312
1,319,186,676
PR_kwDOCUB6oc48KUSC
18,312
BLOOM fix module order
{ "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._" ]
1,658
1,661
1,658
CONTRIBUTOR
null
# What does this PR do This PR addresses a small issue where the operations of `BloomMLP` are not displayed in the correct order. This is a bit confusing for users, see the related issue: https://huggingface.co/bigscience/bloom/discussions/64 cc @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18312/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18312/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18312", "html_url": "https://github.com/huggingface/transformers/pull/18312", "diff_url": "https://github.com/huggingface/transformers/pull/18312.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18312.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18311
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18311/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18311/comments
https://api.github.com/repos/huggingface/transformers/issues/18311/events
https://github.com/huggingface/transformers/issues/18311
1,319,173,910
I_kwDOCUB6oc5OoP8W
18,311
Only use one gpu when generating the hidden states (text embeddings) by "Model output" api
{ "login": "zyddora", "id": 12815760, "node_id": "MDQ6VXNlcjEyODE1NzYw", "avatar_url": "https://avatars.githubusercontent.com/u/12815760?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zyddora", "html_url": "https://github.com/zyddora", "followers_url": "https://api.github.com/users/zyddor...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hello, 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\nAs an aside, we recommend looking into the [accelerate](https://github.com/huggingface/accelerate) package for multi-GPU usag...
1,658
1,662
1,662
NONE
null
### System Info Report an issue about model output efficiency. I want to get the certain hidden states from the fine-tuned roberta model, then I chose Model Output api([link](https://huggingface.co/docs/transformers/main_classes/output#transformers.utils.ModelOutput)) to get those dense embeddings. However, when e...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18311/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18311/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18310
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18310/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18310/comments
https://api.github.com/repos/huggingface/transformers/issues/18310/events
https://github.com/huggingface/transformers/pull/18310
1,318,788,122
PR_kwDOCUB6oc48JAtO
18,310
Remove duplicated line
{ "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...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,658
1,658
1,658
CONTRIBUTOR
null
# What does this PR do? Removes a duplicated instantiation of `device`. I removed the second instance of the line to maintain code alignment with the GPT-J implementation of forward. <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18310/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18310/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18310", "html_url": "https://github.com/huggingface/transformers/pull/18310", "diff_url": "https://github.com/huggingface/transformers/pull/18310.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18310.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18309
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18309/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18309/comments
https://api.github.com/repos/huggingface/transformers/issues/18309/events
https://github.com/huggingface/transformers/issues/18309
1,318,784,095
I_kwDOCUB6oc5Omwxf
18,309
`activation_dropout` in OPT is never used
{ "login": "shijie-wu", "id": 2987758, "node_id": "MDQ6VXNlcjI5ODc3NTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shijie-wu", "html_url": "https://github.com/shijie-wu", "followers_url": "https://api.github.com/users/sh...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "cc @ArthurZucker ", "Will have a look asap ๐Ÿ˜€", "Okay I think we should just remove it, we don't use it in either the flax or the tf version and it is probably a typo. ๐Ÿ˜„ I will open a PR soon to fix that !", "I'm happy to contribute if removing is what we want ๐Ÿ˜Š", "Feel free to open a PR and tag me when...
1,658
1,662
1,662
CONTRIBUTOR
null
### System Info main ### Who can help? @patil-suraj, @patrickvonplaten, @LysandreJik ### Information - [X] The official example scripts - [X] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (give details below) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18309/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18309/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18308
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18308/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18308/comments
https://api.github.com/repos/huggingface/transformers/issues/18308/events
https://github.com/huggingface/transformers/issues/18308
1,318,766,529
I_kwDOCUB6oc5OmsfB
18,308
Extracting embeddings through 'pipeline' and 'feature-extraction' not outputting correct length of values.
{ "login": "abal6725", "id": 43524364, "node_id": "MDQ6VXNlcjQzNTI0MzY0", "avatar_url": "https://avatars.githubusercontent.com/u/43524364?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abal6725", "html_url": "https://github.com/abal6725", "followers_url": "https://api.github.com/users/aba...
[ { "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, this is perfectly normal. you tokenizer most likely has 3 input_ids when tokenizing this string (most likely BOS, \"zelle\", EOS).\r\n\r\nThen the output of the model is actually (3, 768). 3 is the sequence_length and is perfectly normal. You're probably more interested in some locations that others so you ca...
1,658
1,662
1,662
NONE
null
### System Info transformers==4.20.1 Python3.7 ### Who can help? @Narsil ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (give details below) ### Reprodu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18308/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18308/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18307
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18307/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18307/comments
https://api.github.com/repos/huggingface/transformers/issues/18307/events
https://github.com/huggingface/transformers/issues/18307
1,318,553,596
I_kwDOCUB6oc5Ol4f8
18,307
layoutlmv3-base-chinese tokenizer could not be loaded.
{ "login": "pogevip", "id": 27748841, "node_id": "MDQ6VXNlcjI3NzQ4ODQx", "avatar_url": "https://avatars.githubusercontent.com/u/27748841?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pogevip", "html_url": "https://github.com/pogevip", "followers_url": "https://api.github.com/users/pogevi...
[ { "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 same problem, can you please solve it", "**The problem still exists.**\r\n\r\nprocessor = AutoProcessor.from_pretrained(\"microsoft/layoutlmv3-base\", apply_ocr=False)\r\nIt can run successfully๏ผŒfail to load \"microsoft/layoutlmv3-base-chinese\", such as: \r\nprocessor = AutoProcessor.from_pretrained(\"micro...
1,658
1,663
1,658
NONE
null
### System Info ``` File ~/anaconda3/envs/paddle_env/lib/python3.8/site-packages/transformers/models/layoutlmv3/tokenization_layoutlmv3.py:325, in LayoutLMv3Tokenizer.__init__(self, vocab_file, merges_file, errors, bos_token, eos_token, sep_token, cls_token, unk_token, pad_token, mask_token, add_prefix_space, cls_tok...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18307/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18307/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18306
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18306/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18306/comments
https://api.github.com/repos/huggingface/transformers/issues/18306/events
https://github.com/huggingface/transformers/issues/18306
1,318,500,631
I_kwDOCUB6oc5OlrkX
18,306
Migrate metrics used in all examples from Datasets to Evaluate
{ "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...
[ { "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
[]
[ "Hi, I would like to try to move Pytorch examples.", "Please go ahead and make a PR when you're ready then @atturaioe. You can check our [contributing guide](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) to get started.", "@sgugger , I would like to work on the tensorflow examples. \r\...
1,658
1,659
1,659
COLLABORATOR
null
The metrics are slowly leaving [Datasets](https://github.com/huggingface/datasets) (they are being deprecated as we speak) to move to the [Evaluate](https://github.com/huggingface/evaluate) library. We are looking for contributors to help us with the move. Normally, the migration should be as easy as replacing the i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18306/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18306/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18305
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18305/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18305/comments
https://api.github.com/repos/huggingface/transformers/issues/18305/events
https://github.com/huggingface/transformers/pull/18305
1,318,452,359
PR_kwDOCUB6oc48H6JX
18,305
Add ONNX support for Pegasus
{ "login": "pramodith", "id": 16939722, "node_id": "MDQ6VXNlcjE2OTM5NzIy", "avatar_url": "https://avatars.githubusercontent.com/u/16939722?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pramodith", "html_url": "https://github.com/pramodith", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hey @pramodith, this PR looks excellent! Did you try to convert a `Pegasus` model with this config?\r\n\r\nI'm pinging @lewtun for reviewing.", "@ChainYo besides the pytests, I also tried executing the Onnx export and validation u...
1,658
1,662
1,662
NONE
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18305/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/18305/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18305", "html_url": "https://github.com/huggingface/transformers/pull/18305", "diff_url": "https://github.com/huggingface/transformers/pull/18305.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18305.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18304
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18304/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18304/comments
https://api.github.com/repos/huggingface/transformers/issues/18304/events
https://github.com/huggingface/transformers/pull/18304
1,318,328,941
PR_kwDOCUB6oc48HgVx
18,304
Ignore small batches of examples for CLM training
{ "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 was thinking to throw an error with some information. But since this has been discussed several times and the decision is made, I am going to close this PR.", "If you throw an error later on if the dataset is empty, that fix then...
1,658
1,658
1,658
COLLABORATOR
null
# What does this PR do? Fix #17875. In https://github.com/huggingface/transformers/blob/a5d504834d01dd1c7edf7c46d93c080cb5274eec/examples/pytorch/language-modeling/run_clm.py#L440 we drop remainder when `if total_length >= block_size`. However, If a batch of examples is too small to have long enough length, th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18304/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18304/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18304", "html_url": "https://github.com/huggingface/transformers/pull/18304", "diff_url": "https://github.com/huggingface/transformers/pull/18304.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18304.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18303
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18303/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18303/comments
https://api.github.com/repos/huggingface/transformers/issues/18303/events
https://github.com/huggingface/transformers/pull/18303
1,318,225,315
PR_kwDOCUB6oc48HKIL
18,303
Owlvit test fixes
{ "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,658
1,658
1,658
CONTRIBUTOR
null
# What does this PR do? - Fixes assertion error in slow OWL-ViT integration tests - Fixes incompatible cpu/gpu test errors caused by `OwlViTForObjectDetection.normalize_grid_corner_coordinates()` - Sets `attention_mask` input argument as optional
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18303/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18303/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18303", "html_url": "https://github.com/huggingface/transformers/pull/18303", "diff_url": "https://github.com/huggingface/transformers/pull/18303.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18303.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18302
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18302/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18302/comments
https://api.github.com/repos/huggingface/transformers/issues/18302/events
https://github.com/huggingface/transformers/pull/18302
1,318,184,271
PR_kwDOCUB6oc48HBXs
18,302
Add PyTorch 1.11 to past CI
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,658
1,658
1,658
COLLABORATOR
null
# What does this PR do? Add PyTorch 1.11 to past CI (as PyTorch 1.12 is the current latest version). I will re-run past CI once this PR is merged (for [this comment](https://github.com/huggingface/transformers/issues/18181#issuecomment-1189047657)).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18302/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18302/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18302", "html_url": "https://github.com/huggingface/transformers/pull/18302", "diff_url": "https://github.com/huggingface/transformers/pull/18302.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18302.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18301
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18301/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18301/comments
https://api.github.com/repos/huggingface/transformers/issues/18301/events
https://github.com/huggingface/transformers/pull/18301
1,318,158,744
PR_kwDOCUB6oc48G7yH
18,301
Added italian translation for parallelism.mdx
{ "login": "Xpiri", "id": 62800094, "node_id": "MDQ6VXNlcjYyODAwMDk0", "avatar_url": "https://avatars.githubusercontent.com/u/62800094?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Xpiri", "html_url": "https://github.com/Xpiri", "followers_url": "https://api.github.com/users/Xpiri/follow...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18301). All of your documentation changes will be reflected on that endpoint.", "Thank you, @Xpiri, for the translation!\r\n\r\n@sgugger it seems this doc no longer exists in the current documentation (it used to be in the ...
1,658
1,662
1,662
CONTRIBUTOR
null
## What does this PR do? Italian translation of parallelism.mdx See issue: https://github.com/huggingface/transformers/issues/17459 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18301/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18301/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18301", "html_url": "https://github.com/huggingface/transformers/pull/18301", "diff_url": "https://github.com/huggingface/transformers/pull/18301.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18301.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18300
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18300/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18300/comments
https://api.github.com/repos/huggingface/transformers/issues/18300/events
https://github.com/huggingface/transformers/pull/18300
1,318,133,423
PR_kwDOCUB6oc48G2V1
18,300
Fix Sylvain's nits on the original KerasMetricCallback PR
{ "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._" ]
1,658
1,658
1,658
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18300/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18300/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18300", "html_url": "https://github.com/huggingface/transformers/pull/18300", "diff_url": "https://github.com/huggingface/transformers/pull/18300.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18300.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18299
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18299/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18299/comments
https://api.github.com/repos/huggingface/transformers/issues/18299/events
https://github.com/huggingface/transformers/issues/18299
1,318,084,132
I_kwDOCUB6oc5OkF4k
18,299
Update push_to_hub to leverage HTTP API
{ "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
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "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,658
1,661
1,661
CONTRIBUTOR
null
### Feature request Would be great to update the current `model.push_to_hub`, `tokenizer.push_to_hub`, `processor.push_to_hub`, etc. functionalities to leverage the new `upload_file` method of the `huggingface_hub` library, which only leverages HTTP calls instead of git, making the user experience much, much nicer. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18299/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18299/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18298
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18298/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18298/comments
https://api.github.com/repos/huggingface/transformers/issues/18298/events
https://github.com/huggingface/transformers/pull/18298
1,318,028,608
PR_kwDOCUB6oc48Gfxh
18,298
Fix failing tests for XLA generation in TF
{ "login": "dsuess", "id": 5870291, "node_id": "MDQ6VXNlcjU4NzAyOTE=", "avatar_url": "https://avatars.githubusercontent.com/u/5870291?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dsuess", "html_url": "https://github.com/dsuess", "followers_url": "https://api.github.com/users/dsuess/foll...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi @dsuess! Thank you so much for looking into this -- I can confirm that the tests are passing after these changes. \r\n\r\nThis implies two things:\r\n1. The models are indeed XLA-ready, so I will tick their boxes in the original i...
1,658
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? This PR fixes the failing tests for text generation in XLA mentioned in #17935. The issue was that the failing models had additional settings limiting the sequence length, which werenโ€™t updated when creating the config-objects for the tests. Fixes # 17935 ## Before submitting - [ ] T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18298/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18298/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18298", "html_url": "https://github.com/huggingface/transformers/pull/18298", "diff_url": "https://github.com/huggingface/transformers/pull/18298.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18298.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18297
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18297/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18297/comments
https://api.github.com/repos/huggingface/transformers/issues/18297/events
https://github.com/huggingface/transformers/pull/18297
1,318,008,025
PR_kwDOCUB6oc48GbX0
18,297
Add Flax BART pretraining script
{ "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._", "This looks very nice to me! Just a small question, why is the file called `run_bart_dlm_flax.py`, *i.e.* why the `dlm` and not just `lm` ?", "@patil-suraj could you take a look here as well ?", "> This looks very nice to me! Just...
1,658
1,670
1,659
CONTRIBUTOR
null
# What does this PR do? Fixes #6743 #18030 #4151 #5096. Adds Flax script for BART pretraining. Inspired by @patil-suraj's [suggestion](https://github.com/huggingface/transformers/issues/6743#issuecomment-1046717336), I modified the @morganmcg1's [DataCollatorForDenoisingTasks](https://github.com/morganmcg1/rotoba...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18297/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18297/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18297", "html_url": "https://github.com/huggingface/transformers/pull/18297", "diff_url": "https://github.com/huggingface/transformers/pull/18297.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18297.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18296
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18296/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18296/comments
https://api.github.com/repos/huggingface/transformers/issues/18296/events
https://github.com/huggingface/transformers/pull/18296
1,318,002,329
PR_kwDOCUB6oc48GaKH
18,296
[WIP] Add Efficientformer
{ "login": "novice03", "id": 44259234, "node_id": "MDQ6VXNlcjQ0MjU5MjM0", "avatar_url": "https://avatars.githubusercontent.com/u/44259234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/novice03", "html_url": "https://github.com/novice03", "followers_url": "https://api.github.com/users/nov...
[]
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,658
1,669
1,662
CONTRIBUTOR
null
# What does this PR do? This PR adds Efficientformer, a model that has similar latency as MobileNets, but achieves better accuracy on ImageNet. Paper: https://arxiv.org/abs/2206.01191 Code and weights: https://github.com/snap-research/EfficientFormer To-do: - [ ] Improve documentation - [ ] Verify tests p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18296/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/18296/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18296", "html_url": "https://github.com/huggingface/transformers/pull/18296", "diff_url": "https://github.com/huggingface/transformers/pull/18296.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18296.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18295
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18295/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18295/comments
https://api.github.com/repos/huggingface/transformers/issues/18295/events
https://github.com/huggingface/transformers/pull/18295
1,317,934,775
PR_kwDOCUB6oc48GLvI
18,295
Apply type correction to `TFSwinModelOutput`
{ "login": "harrydrippin", "id": 5152494, "node_id": "MDQ6VXNlcjUxNTI0OTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/5152494?v=4", "gravatar_id": "", "url": "https://api.github.com/users/harrydrippin", "html_url": "https://github.com/harrydrippin", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,658
1,658
1,658
CONTRIBUTOR
null
# What does this PR do? ## Problem & Fix This PR fixes small type error on `TFSwinModelOutput`. `TFSwinModelOutput`'s `pooler_output` is actually optional, which can be disabled by using `add_pooling_layer=False` option on `TFSwinModel` or `TFSwinMainLayer`. This fix applies `Optional` type on `pooler_output` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18295/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18295/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18295", "html_url": "https://github.com/huggingface/transformers/pull/18295", "diff_url": "https://github.com/huggingface/transformers/pull/18295.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18295.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18294
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18294/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18294/comments
https://api.github.com/repos/huggingface/transformers/issues/18294/events
https://github.com/huggingface/transformers/issues/18294
1,317,906,041
I_kwDOCUB6oc5OjaZ5
18,294
Support NLLB's LID model
{ "login": "xia0nan", "id": 2216266, "node_id": "MDQ6VXNlcjIyMTYyNjY=", "avatar_url": "https://avatars.githubusercontent.com/u/2216266?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xia0nan", "html_url": "https://github.com/xia0nan", "followers_url": "https://api.github.com/users/xia0nan/...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[ "I figured out how to use it. No issue now.", "First download model\r\n`wget https://dl.fbaipublicfiles.com/nllb/lid/lid218e.bin`\r\nThen use it for inference\r\n```python\r\nimport fasttext\r\npretrained_lang_model = \"lid218e.bin\"\r\nmodel = fasttext.load_model(pretrained_lang_model)\r\ntext = \"ใ“ใ‚Œใ€ๆต…่‰ใซใ€่กŒใใพใ™ใ‹\"...
1,658
1,659
1,659
NONE
null
### Model description Thanks for supporting NLLB and closing this issue https://github.com/huggingface/transformers/issues/18043. I'm wondering if huggingface can further support the language identification model of NLLB? "LID (Language IDentification) model to predict the language of the input text." ### Open sourc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18294/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18294/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18293
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18293/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18293/comments
https://api.github.com/repos/huggingface/transformers/issues/18293/events
https://github.com/huggingface/transformers/issues/18293
1,317,900,356
I_kwDOCUB6oc5OjZBE
18,293
Error while loading a pre-trained wav2vec2 model
{ "login": "Aaryan369", "id": 51906812, "node_id": "MDQ6VXNlcjUxOTA2ODEy", "avatar_url": "https://avatars.githubusercontent.com/u/51906812?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Aaryan369", "html_url": "https://github.com/Aaryan369", "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
[]
[ "Hey @Aaryan369, \r\n\r\nIs there any way you could upload the checkpoint to the Hub (maybe as a private one if the weights are sensitive?) Happy to take a deeper look then, but in short the above error message shouldn't happen. There seems to be a mismatch with the config and the model weights", "This issue has ...
1,658
1,664
1,664
NONE
null
### System Info - `transformers` version: 4.20.1 - Platform: Linux-5.4.0-1085-azure-x86_64-with-glibc2.10 - Python version: 3.8.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.9.1+cu111 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18293/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18293/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18292
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18292/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18292/comments
https://api.github.com/repos/huggingface/transformers/issues/18292/events
https://github.com/huggingface/transformers/pull/18292
1,317,823,999
PR_kwDOCUB6oc48F0ci
18,292
Add TFAutoModelForImageClassification to pipelines.py
{ "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,658
1,658
1,658
COLLABORATOR
null
# What does this PR do? Add `TFAutoModelForImageClassification` to `pipelines.py`. Fix the test failure mentioned [here](https://github.com/huggingface/transformers/pull/18079#issuecomment-1194352739). Here is the [failed job run](https://github.com/huggingface/transformers/runs/7492640649?check_suite_focus=tr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18292/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18292/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18292", "html_url": "https://github.com/huggingface/transformers/pull/18292", "diff_url": "https://github.com/huggingface/transformers/pull/18292.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18292.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18291
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18291/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18291/comments
https://api.github.com/repos/huggingface/transformers/issues/18291/events
https://github.com/huggingface/transformers/issues/18291
1,317,820,950
I_kwDOCUB6oc5OjFoW
18,291
Couldn't run the run_clip.py successfully
{ "login": "lchustc", "id": 27990344, "node_id": "MDQ6VXNlcjI3OTkwMzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/27990344?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lchustc", "html_url": "https://github.com/lchustc", "followers_url": "https://api.github.com/users/lchust...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
{ "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...
[ "cc @ydshieh :)", "Hi, @lchwhut \r\n\r\nI believe you already download the (real) coco datasets into `COCO_DIR = \"data\"`. In this case, \r\n`--data_dir ./data` should be changed to the **absolute path** of the data directory, instead of `./data`.\r\n\r\nPlease let me know if this solves the issue, thank you.\r\...
1,658
1,661
1,659
NONE
null
### System Info I couldn't run the code successfully following the README.md (https://github.com/huggingface/transformers/tree/main/examples/pytorch/contrastive-image-text#readme)ใ€‚ """ COCO_DIR = "data" ds = datasets.load_dataset("ydshieh/coco_dataset_script", "2017", data_dir=COCO_DIR) """ """ python examples/p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18291/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18291/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18290
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18290/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18290/comments
https://api.github.com/repos/huggingface/transformers/issues/18290/events
https://github.com/huggingface/transformers/issues/18290
1,317,450,626
I_kwDOCUB6oc5OhrOC
18,290
Converting facebook/opt-13b to onnx
{ "login": "kargarisaac", "id": 24753756, "node_id": "MDQ6VXNlcjI0NzUzNzU2", "avatar_url": "https://avatars.githubusercontent.com/u/24753756?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kargarisaac", "html_url": "https://github.com/kargarisaac", "followers_url": "https://api.github.com/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "@mfuntowicz Maybe for visibility on ONNX export.", "I think the problem was memory. Now it works but I get the same output about use_cache which I assume is just a warning. Anyway the model is now converted. I have another problem now. I quantize the model using:\r\n```python\r\nfrom onnxruntime.quantization.cal...
1,658
1,662
1,662
NONE
null
### System Info - `transformers` version: 4.21.0.dev0 - Platform: Linux-5.4.0-72-generic-x86_64-with-debian-buster-sid - Python version: 3.7.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.0 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18290/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18290/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18289
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18289/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18289/comments
https://api.github.com/repos/huggingface/transformers/issues/18289/events
https://github.com/huggingface/transformers/issues/18289
1,317,279,442
I_kwDOCUB6oc5OhBbS
18,289
Converting batch into jax arrays during training is inefficient
{ "login": "isunitha98selvan", "id": 25410832, "node_id": "MDQ6VXNlcjI1NDEwODMy", "avatar_url": "https://avatars.githubusercontent.com/u/25410832?v=4", "gravatar_id": "", "url": "https://api.github.com/users/isunitha98selvan", "html_url": "https://github.com/isunitha98selvan", "followers_url": "https://...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @isunitha98selvan. In the example linked, we actually force the batch indices to `numpy` arrays:\r\nhttps://github.com/huggingface/transformers/blob/286a18fa0080dd39bd373008d11d831fbb1a77f1/examples/flax/summarization/run_summarization_flax.py#L345-L346\r\n\r\nAnd then slice the dataset according to these `nump...
1,658
1,659
1,659
NONE
null
### System Info The Flax Transformers examples use a custom dataloader which yields batches. This includes converting the batch into jax arrays: https://github.com/huggingface/transformers/blob/main/examples/flax/summarization/run_summarization_flax.py#L355 This operation is inefficient, it can take about 700ms...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18289/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18289/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18288
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18288/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18288/comments
https://api.github.com/repos/huggingface/transformers/issues/18288/events
https://github.com/huggingface/transformers/pull/18288
1,317,235,103
PR_kwDOCUB6oc48D5XI
18,288
[XLA] Improve t5 model performance
{ "login": "ymwangg", "id": 19481308, "node_id": "MDQ6VXNlcjE5NDgxMzA4", "avatar_url": "https://avatars.githubusercontent.com/u/19481308?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ymwangg", "html_url": "https://github.com/ymwangg", "followers_url": "https://api.github.com/users/ymwang...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger I've removed this check completely. I think maybe it's fine to skip it since `nn.Embed` will throw an error for negative indices.", "Makes sense, LGTM! Wdyt @patrickvonplaten ?", "Ok to skip this check for me!" ]
1,658
1,658
1,658
CONTRIBUTOR
null
This PR improves the performance of t5 model on XLA device. I tested T5ForConditionalGeneration with t5-small config on both GPU and colab TPU and the performance on GPU was improved by >10% while the speedup on TPU is not significant (<1%). I'm not sure if it's ok to skip the `shifted_input_ids` checking on XLA dev...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18288/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18288/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18288", "html_url": "https://github.com/huggingface/transformers/pull/18288", "diff_url": "https://github.com/huggingface/transformers/pull/18288.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18288.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18287
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18287/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18287/comments
https://api.github.com/repos/huggingface/transformers/issues/18287/events
https://github.com/huggingface/transformers/issues/18287
1,317,181,613
I_kwDOCUB6oc5Ogpit
18,287
Numpy arrays used instead of jax array in example
{ "login": "isunitha98selvan", "id": 25410832, "node_id": "MDQ6VXNlcjI1NDEwODMy", "avatar_url": "https://avatars.githubusercontent.com/u/25410832?v=4", "gravatar_id": "", "url": "https://api.github.com/users/isunitha98selvan", "html_url": "https://github.com/isunitha98selvan", "followers_url": "https://...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Answered in https://github.com/huggingface/transformers/issues/18289#issuecomment-1198216304" ]
1,658
1,659
1,659
NONE
null
### System Info The example[ here](https://github.com/huggingface/transformers/blob/main/examples/flax/text-classification/run_flax_glue.py#L286) should yield jax device arrays instead of numpy arrays. @patil-suraj ### Who can help? _No response_ ### Information - [X] The official example scripts - [ ] My own ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18287/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18287/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18286
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18286/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18286/comments
https://api.github.com/repos/huggingface/transformers/issues/18286/events
https://github.com/huggingface/transformers/pull/18286
1,317,091,463
PR_kwDOCUB6oc48Da_E
18,286
Fix TF bad words filter with XLA
{ "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._", "And thank you for having a look at this issue <3 " ]
1,658
1,658
1,658
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18286/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18286/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18286", "html_url": "https://github.com/huggingface/transformers/pull/18286", "diff_url": "https://github.com/huggingface/transformers/pull/18286.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18286.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18285
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18285/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18285/comments
https://api.github.com/repos/huggingface/transformers/issues/18285/events
https://github.com/huggingface/transformers/issues/18285
1,316,947,705
I_kwDOCUB6oc5Ofwb5
18,285
Run_mlm.py for fine-tuning generator(mlm) of electra
{ "login": "ToanKGO", "id": 105092354, "node_id": "U_kgDOBkOVAg", "avatar_url": "https://avatars.githubusercontent.com/u/105092354?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ToanKGO", "html_url": "https://github.com/ToanKGO", "followers_url": "https://api.github.com/users/ToanKGO/foll...
[]
closed
false
null
[]
[ "Hi @ToanKGO,\r\n\r\nI think the latest update on the ELECTRA pretraining/fine-tuning is this comment from @LysandreJik :+1: \r\nhttps://github.com/huggingface/transformers/pull/4656#issuecomment-711082850\r\n\r\nSo you could use e.g. this implementation: https://github.com/richarddwang/electra_pytorch", "This is...
1,658
1,662
1,662
NONE
null
Hi, I have a new corpus and want to fine-tune ELECTRA for better result. ELECTRA used generator as generator after that used discriminator. Can run file run_mlm.py makes my pre-trained electra works better ?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18285/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18285/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18284
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18284/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18284/comments
https://api.github.com/repos/huggingface/transformers/issues/18284/events
https://github.com/huggingface/transformers/issues/18284
1,316,929,468
I_kwDOCUB6oc5Ofr-8
18,284
Initializing attention weights in T5
{ "login": "Arij-Aladel", "id": 68355048, "node_id": "MDQ6VXNlcjY4MzU1MDQ4", "avatar_url": "https://avatars.githubusercontent.com/u/68355048?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Arij-Aladel", "html_url": "https://github.com/Arij-Aladel", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "It also confuses me.\r\n\r\n@patrickvonplaten @patil-suraj @craffel", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines]...
1,658
1,667
1,667
NONE
null
@patrickvonplaten @patil-suraj @craffel Excuse me if this question is repeated but I did not find an answer for it In these lines ``` elif isinstance(module, (LongT5Attention, LongT5LocalAttention, LongT5TransientGlobalAttention)): # Mesh TensorFlow attention initialization to avoid scal...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18284/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18284/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18283
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18283/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18283/comments
https://api.github.com/repos/huggingface/transformers/issues/18283/events
https://github.com/huggingface/transformers/pull/18283
1,316,916,718
PR_kwDOCUB6oc48C2SZ
18,283
Add Italian translation of converting_tensorflow_models.mdx
{ "login": "Xpiri", "id": 62800094, "node_id": "MDQ6VXNlcjYyODAwMDk0", "avatar_url": "https://avatars.githubusercontent.com/u/62800094?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Xpiri", "html_url": "https://github.com/Xpiri", "followers_url": "https://api.github.com/users/Xpiri/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi @Xpiri you started a new line many times, could you check?\r\n\r\ne.g. A partire dalla versione 2.3.0 lo script di conversione รจ parte di transformers CLI (**transformers-cli**), disponibile in ogni installazione \r\ndi transforme...
1,658
1,658
1,658
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18283/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18283/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18283", "html_url": "https://github.com/huggingface/transformers/pull/18283", "diff_url": "https://github.com/huggingface/transformers/pull/18283.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18283.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18282
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18282/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18282/comments
https://api.github.com/repos/huggingface/transformers/issues/18282/events
https://github.com/huggingface/transformers/issues/18282
1,316,872,756
I_kwDOCUB6oc5OfeI0
18,282
How to freeze GPT-2 model layers with Tensorflow/Keras?
{ "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...
[]
closed
false
null
[]
[ "cc @Rocketknight1 @gante ", "Hi @kmkarakaya ๐Ÿ‘‹ \r\n\r\nโš ๏ธ Disclaimer: this is untested with `.fit()`, please let me know if it works! I'll edit the comment afterwards depending on your answer.\r\n\r\nThe weights can be frozen by setting a `Layer` attribute to `False`, as per [Keras' docs](https://keras.io/guides...
1,658
1,678
1,663
NONE
null
### Feature request I read the post https://github.com/huggingface/transformers/issues/12881. It seems that no progress on feezing GPT layers with keras has been reported. Are there any updates or work around for freezing GPT-2 model layers at Tensorflow? Thank you ### Motivation For finetuning, I want to up...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18282/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18282/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18281
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18281/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18281/comments
https://api.github.com/repos/huggingface/transformers/issues/18281/events
https://github.com/huggingface/transformers/issues/18281
1,316,788,904
I_kwDOCUB6oc5OfJqo
18,281
T5 generate with do_sample doesn't work on DeepSpeed Stage 3
{ "login": "lkm2835", "id": 30465912, "node_id": "MDQ6VXNlcjMwNDY1OTEy", "avatar_url": "https://avatars.githubusercontent.com/u/30465912?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lkm2835", "html_url": "https://github.com/lkm2835", "followers_url": "https://api.github.com/users/lkm283...
[ { "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 @stas00 ", "@lkm2835, looking at your code you linked to, you must use `generate(..., synced_gpus=True)` when using ZeRO stage-3", "@stas00, Thank you for your advice!\r\n\r\nIt works using `synced_gpus`!\r\n\r\nhttps://huggingface.co/docs/transformers/v4.20.1/en/main_classes/text_generation#transformers.ge...
1,658
1,658
1,658
CONTRIBUTOR
null
### System Info transformers == 4.20.1 python == 3.8.13 OS == ubuntu 20.4 DeepSpeed == 0.6.7 ### Who can help? @patrickvonplaten ### 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/18281/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18281/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18280
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18280/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18280/comments
https://api.github.com/repos/huggingface/transformers/issues/18280/events
https://github.com/huggingface/transformers/pull/18280
1,316,767,062
PR_kwDOCUB6oc48CWEU
18,280
Raise a TF-specific error when importing Torch classes
{ "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._", "@LysandreJik I'm not sure! I think it's more obvious that \"TFAutoModel\" is TF-specific, and it's only the PyTorch classes that don't specify the framework in their names. But I guess it's okay to add the inverse error too, one sec!...
1,658
1,659
1,658
MEMBER
null
We've had a couple of reports from users that the class naming is confusing - they import `AutoModel` but don't realize that it's a PyTorch-only class, and the error message doesn't give them any guidance except to tell them to install PyTorch. This PR adds a check to `requires_backends`, so that if the user tries t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18280/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18280/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/18280", "html_url": "https://github.com/huggingface/transformers/pull/18280", "diff_url": "https://github.com/huggingface/transformers/pull/18280.diff", "patch_url": "https://github.com/huggingface/transformers/pull/18280.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/18279
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18279/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18279/comments
https://api.github.com/repos/huggingface/transformers/issues/18279/events
https://github.com/huggingface/transformers/issues/18279
1,316,532,759
I_kwDOCUB6oc5OeLIX
18,279
'FlavaModelOutput' object has no attribute 'contrastive_logits_per_image'
{ "login": "ans92", "id": 51845963, "node_id": "MDQ6VXNlcjUxODQ1OTYz", "avatar_url": "https://avatars.githubusercontent.com/u/51845963?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ans92", "html_url": "https://github.com/ans92", "followers_url": "https://api.github.com/users/ans92/follow...
[]
closed
false
null
[]
[ "Hey @ans92! It seems there's an error in the documentation indeed. This code example works with the `FlavaForPreTraining` model, rather than the `FlavaModel.\r\n\r\nWould you like to open a Pr to fix this?", "This issue has been automatically marked as stale because it has not had recent activity. If you think t...
1,658
1,682
1,662
NONE
null
Hi, I have used a code of Flava model from this link: ``` https://huggingface.co/docs/transformers/model_doc/flava#transformers.FlavaModel.forward.example ``` But I am getting the following error: ``` 'FlavaModelOutput' object has no attribute 'contrastive_logits_per_image' ``` Could you please help me in solvi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18279/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18279/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18278
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18278/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18278/comments
https://api.github.com/repos/huggingface/transformers/issues/18278/events
https://github.com/huggingface/transformers/issues/18278
1,316,513,959
I_kwDOCUB6oc5OeGin
18,278
Kindly provide a sample dataset used in layoutlmv3.
{ "login": "abinash15th", "id": 95739043, "node_id": "U_kgDOBbTcow", "avatar_url": "https://avatars.githubusercontent.com/u/95739043?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abinash15th", "html_url": "https://github.com/abinash15th", "followers_url": "https://api.github.com/users/ab...
[]
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,658
1,661
1,661
NONE
null
### Feature request Need a dataset sample to explore and know how it's been prepared. ### Motivation @NielsRogge ### Your contribution @NielsRogge
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18278/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18278/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18277
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18277/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18277/comments
https://api.github.com/repos/huggingface/transformers/issues/18277/events
https://github.com/huggingface/transformers/issues/18277
1,316,388,088
I_kwDOCUB6oc5Odnz4
18,277
Does 'convert_data2vec_text_original_pytorch_checkpoint_to_pytorch.py' transfer data2vec-text model's parameter well?
{ "login": "qwer4107", "id": 71030815, "node_id": "MDQ6VXNlcjcxMDMwODE1", "avatar_url": "https://avatars.githubusercontent.com/u/71030815?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qwer4107", "html_url": "https://github.com/qwer4107", "followers_url": "https://api.github.com/users/qwe...
[]
closed
false
null
[]
[ "cc @patrickvonplaten ", "I myself solve this issue by tweaking the codes, leaving pooler parameters blank but others to be transferred. \r\n\r\nIn my opinion, however, there's no MLM task in data2vec Text model's pretraining procedure, so imported model should be 'Data2VecTextModel' not 'Data2VecTextForMaskedLM'...
1,658
1,663
1,663
NONE
null
### System Info ```shell - `transformers` version: 4.21.0.dev0 - Platform: Linux-3.10.0-1160.42.2.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.8.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.10.1+cu111 (False) ``` ### Information - [X] The official example scripts - [ ] My ow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18277/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18277/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18276
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18276/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18276/comments
https://api.github.com/repos/huggingface/transformers/issues/18276/events
https://github.com/huggingface/transformers/issues/18276
1,316,072,655
I_kwDOCUB6oc5OcazP
18,276
Debertav2 debertav3 TPU : socket closed
{ "login": "Shiro-LK", "id": 26505641, "node_id": "MDQ6VXNlcjI2NTA1NjQx", "avatar_url": "https://avatars.githubusercontent.com/u/26505641?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Shiro-LK", "html_url": "https://github.com/Shiro-LK", "followers_url": "https://api.github.com/users/Shi...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @Shiro-LK, we're seeing other reports of issues with DeBERTa running slowly on TPU with TF - see #18239. I'm not sure what the cause of the \"socket closed\" error is though - the other user got it to run, but just had a lot of slowdown on one of the layers.", "@Rocketknight1 Thank for the reply. Yes I have ...
1,658
1,662
1,662
NONE
null
### System Info - `transformers` version: 4.20.1 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.0+cu113 (False) - Tensorflow version (GPU?): 2.8.2 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Ja...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18276/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18276/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/18275
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/18275/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/18275/comments
https://api.github.com/repos/huggingface/transformers/issues/18275/events
https://github.com/huggingface/transformers/issues/18275
1,315,928,894
I_kwDOCUB6oc5Ob3s-
18,275
My model's Hosted Inference API is returning "Internal Server Error" and when fetching the API it eternally loads.
{ "login": "CakeCrusher", "id": 37946988, "node_id": "MDQ6VXNlcjM3OTQ2OTg4", "avatar_url": "https://avatars.githubusercontent.com/u/37946988?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CakeCrusher", "html_url": "https://github.com/CakeCrusher", "followers_url": "https://api.github.com/...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
[ "Its working again, seems like something did happen with the servers." ]
1,658
1,658
1,658
CONTRIBUTOR
null
### System Info - `transformers` version: 4.6.1 - Platform: Windows-10-10.0.19043-SP0 - Python version: 3.8.10 - PyTorch version (GPU?): 1.8.1 (True) - Tensorflow version (GPU?): 2.6.0 (False) - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No ### Who can help? _No ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/18275/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/18275/timeline
completed
null
null