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/16769
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16769/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16769/comments
https://api.github.com/repos/huggingface/transformers/issues/16769/events
https://github.com/huggingface/transformers/issues/16769
1,203,793,444
I_kwDOCUB6oc5HwG4k
16,769
Invalid CLS masking in question answer pipelines top K calculation
{ "login": "antonyscerri", "id": 881190, "node_id": "MDQ6VXNlcjg4MTE5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/881190?v=4", "gravatar_id": "", "url": "https://api.github.com/users/antonyscerri", "html_url": "https://github.com/antonyscerri", "followers_url": "https://api.github.com/u...
[]
closed
false
null
[]
[ "Hi @antonyscerri ,\r\n\r\nThank you very much for the report ! \r\n\r\nThis definitely seems like a legitimate issue.\r\n\r\nDo you have an example where this triggers an error really in the pipeline ? (This is to craft a test to make sure this is tested against.)\r\nI will try to find one on a dummy example, but ...
1,649
1,650
1,650
NONE
null
## Environment info - `transformers` version: 4.18.0 - Platform: Linux-5.10.102-99.473.amzn2.x86_64-x86_64-with-glibc2.10 - Python version: 3.8.12 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.10.0 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16769/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16769/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16768
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16768/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16768/comments
https://api.github.com/repos/huggingface/transformers/issues/16768/events
https://github.com/huggingface/transformers/pull/16768
1,203,790,560
PR_kwDOCUB6oc42M7ey
16,768
Missing commas causing concatenation fix
{ "login": "code-review-doctor", "id": 72647856, "node_id": "MDQ6VXNlcjcyNjQ3ODU2", "avatar_url": "https://avatars.githubusercontent.com/u/72647856?v=4", "gravatar_id": "", "url": "https://api.github.com/users/code-review-doctor", "html_url": "https://github.com/code-review-doctor", "followers_url": "ht...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
CONTRIBUTOR
null
Fixes #16767
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16768/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16768/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16768", "html_url": "https://github.com/huggingface/transformers/pull/16768", "diff_url": "https://github.com/huggingface/transformers/pull/16768.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16768.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16767
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16767/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16767/comments
https://api.github.com/repos/huggingface/transformers/issues/16767/events
https://github.com/huggingface/transformers/issues/16767
1,203,789,893
I_kwDOCUB6oc5HwGBF
16,767
Missing commas causing concatenation
{ "login": "code-review-doctor", "id": 72647856, "node_id": "MDQ6VXNlcjcyNjQ3ODU2", "avatar_url": "https://avatars.githubusercontent.com/u/72647856?v=4", "gravatar_id": "", "url": "https://api.github.com/users/code-review-doctor", "html_url": "https://github.com/code-review-doctor", "followers_url": "ht...
[]
closed
false
null
[]
[]
1,649
1,649
1,649
CONTRIBUTOR
null
Missing comma on results in strings being implicitly concatenated together. Probably not what was intended This is the affected line: https://github.com/huggingface/transformers/blob/main/tests/bert_japanese/test_tokenization_bert_japanese.py#L176 https://github.com/huggingface/transformers/blob/main/tests/bert_japan...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16767/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16767/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16766
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16766/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16766/comments
https://api.github.com/repos/huggingface/transformers/issues/16766/events
https://github.com/huggingface/transformers/pull/16766
1,203,683,762
PR_kwDOCUB6oc42Mkjg
16,766
Fix PT TF ViTMAE
{ "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
[]
[ "Let's merge since CI fails quite a lot on this one", "> Let's merge since CI fails quite a lot on this one\r\n\r\nOk! " ]
1,649
1,649
1,649
COLLABORATOR
null
# What does this PR do? Fix PT TF ViTMAE: just use some settings both in PT/TF (instead of in only one model). Otherwise, the PT/TF equivalence tests for them won't use something like `std = 0.02` , and gets larger (init) weights --> larger diff in outputs. Also, **the `eps` for `layer norm` layers should be the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16766/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/16766/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16766", "html_url": "https://github.com/huggingface/transformers/pull/16766", "diff_url": "https://github.com/huggingface/transformers/pull/16766.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16766.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16765
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16765/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16765/comments
https://api.github.com/repos/huggingface/transformers/issues/16765/events
https://github.com/huggingface/transformers/pull/16765
1,203,646,211
PR_kwDOCUB6oc42McjN
16,765
Fixup no_trainer examples scripts and add more tests
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "id": 1834053813, "node_id": "MDU6TGFiZWwxODM0MDUzODEz", "url": "https://api.github.com/repos/huggingface/transformers/labels/PyTorch", "name": "PyTorch", "color": "a12bef", "default": false, "description": "Anything PyTorch" }, { "id": 1834083927, "node_id": "MDU6TGFiZWwxO...
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
CONTRIBUTOR
null
# Fixup `no_trainer` Examples and Bolster their tests ## What does this add? This changes the logging behavior inside the `no_trainer` scripts, slightly changes how the initial configuration is stored, and adds tests for the tracking API. ## Who is it for? Users of `transformers` who want to try out `Accelerate` qu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16765/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16765/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16765", "html_url": "https://github.com/huggingface/transformers/pull/16765", "diff_url": "https://github.com/huggingface/transformers/pull/16765.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16765.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16764
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16764/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16764/comments
https://api.github.com/repos/huggingface/transformers/issues/16764/events
https://github.com/huggingface/transformers/issues/16764
1,203,619,437
I_kwDOCUB6oc5HvcZt
16,764
NER training crash
{ "login": "yananchen1989", "id": 26405281, "node_id": "MDQ6VXNlcjI2NDA1Mjgx", "avatar_url": "https://avatars.githubusercontent.com/u/26405281?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yananchen1989", "html_url": "https://github.com/yananchen1989", "followers_url": "https://api.githu...
[]
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,649
1,658
1,653
NONE
null
transformers version: 4.17.0 Hi, I run the script for NER task for [few-nerd](https://huggingface.co/datasets/dfki-nlp/few-nerd) dataset https://github.com/huggingface/transformers/blob/main/examples/pytorch/token-classification/run_ner_no_trainer.py ``` CUDA_VISIBLE_DEVICES=3 python -u run_ner_no_trainer.p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16764/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16764/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16763
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16763/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16763/comments
https://api.github.com/repos/huggingface/transformers/issues/16763/events
https://github.com/huggingface/transformers/pull/16763
1,203,576,111
PR_kwDOCUB6oc42MNwY
16,763
Fix batch size in evaluation loop
{ "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,649
1,649
1,649
COLLABORATOR
null
# What does this PR do? The batch size used in the evaluation loop is wrong: it's using the per device batch size, which is different from the actual batch size when using DataParallel with more than one GPU. As a result, the `test_evaluate` test is failing for 2 GPUs (see #16716). This PR fixes that.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16763/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16763/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16763", "html_url": "https://github.com/huggingface/transformers/pull/16763", "diff_url": "https://github.com/huggingface/transformers/pull/16763.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16763.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16762
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16762/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16762/comments
https://api.github.com/repos/huggingface/transformers/issues/16762/events
https://github.com/huggingface/transformers/pull/16762
1,203,564,326
PR_kwDOCUB6oc42MLRp
16,762
[Flax `.from_pretrained`] Raise a warning if model weights are not in float32
{ "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._", "As an example, loading a set of PyTorch float16 Bart model weights into a FlaxBartForCausalLM model produces the following warning:\r\n```python\r\nfrom transformers import FlaxBartForCausalLM\r\nmodel = FlaxBartForCausalLM.from_pret...
1,649
1,687
1,649
CONTRIBUTOR
null
The Flax `.from_pretrained` method respects the dtype of the model weights from which it is loaded. For model weights stored in bfloat16/float16, Flax models are instantiated with parameter weights in bfloat16/float16 respectively (see #16736). The general assumption is that all Flax model weights are in float32. Loadi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16762/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16762/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16762", "html_url": "https://github.com/huggingface/transformers/pull/16762", "diff_url": "https://github.com/huggingface/transformers/pull/16762.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16762.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16761
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16761/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16761/comments
https://api.github.com/repos/huggingface/transformers/issues/16761/events
https://github.com/huggingface/transformers/pull/16761
1,203,553,466
PR_kwDOCUB6oc42MI_z
16,761
CI: pip install now updates
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "This PR actually needs further changes, the adding `-U` doesn't solve it (possibly because of other version requirements in the packages installed in the image). \r\n\r\nShould I update the dependencies of click (to `click>=8.0`, required by black) and protobuf (to `protobuf>=3.8.0`, required by tensorflow)? cc @L...
1,649
1,650
1,649
MEMBER
null
# What does this PR do? Follow up from https://github.com/huggingface/transformers/pull/16751: `pip install` in non-remote GHA workflows now updates packages, to allow us to override pre-installed versions.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16761/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16761/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16761", "html_url": "https://github.com/huggingface/transformers/pull/16761", "diff_url": "https://github.com/huggingface/transformers/pull/16761.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16761.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16760
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16760/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16760/comments
https://api.github.com/repos/huggingface/transformers/issues/16760/events
https://github.com/huggingface/transformers/pull/16760
1,203,549,280
PR_kwDOCUB6oc42MIIb
16,760
[Data2Vec] Add data2vec vision
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Uploaded checkpoints are here: https://huggingface.co/models?other=data2vec-vision . Will add a README to those ones and all other data2vec ones after this PR is merged" ]
1,649
1,650
1,650
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16760/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16760/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16760", "html_url": "https://github.com/huggingface/transformers/pull/16760", "diff_url": "https://github.com/huggingface/transformers/pull/16760.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16760.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16759
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16759/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16759/comments
https://api.github.com/repos/huggingface/transformers/issues/16759/events
https://github.com/huggingface/transformers/issues/16759
1,203,545,122
I_kwDOCUB6oc5HvKQi
16,759
How to use Wav2Vec2ProcessorWithLM in pipeline?
{ "login": "gxbag", "id": 10001642, "node_id": "MDQ6VXNlcjEwMDAxNjQy", "avatar_url": "https://avatars.githubusercontent.com/u/10001642?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gxbag", "html_url": "https://github.com/gxbag", "followers_url": "https://api.github.com/users/gxbag/follow...
[]
closed
false
null
[]
[ "cc @patrickvonplaten ", "Hey @gxbag,\r\n\r\nPlease make sure to provide a reproducible code snippet. I cannot run the above snippet because I don't have access to `\"language_model/vocabulary.txt\"`.\r\n\r\nRegarding the issue, you should not pass a processor object as the model object. The model object should o...
1,649
1,661
1,654
NONE
null
I created a `Wav2Vec2ProcessorWithLM` as described in the blog post (https://huggingface.co/blog/wav2vec2-with-ngram). How can I use it in the `pipeline`? ```python from transformers import AutoProcessor processor = AutoProcessor.from_pretrained("facebook/wav2vec2-large-960h-lv60-self") vocab_dict = processor....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16759/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16759/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16758
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16758/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16758/comments
https://api.github.com/repos/huggingface/transformers/issues/16758/events
https://github.com/huggingface/transformers/pull/16758
1,203,536,355
PR_kwDOCUB6oc42MFZt
16,758
Add onnx export of models with a multiple choice classification head
{ "login": "echarlaix", "id": 80481427, "node_id": "MDQ6VXNlcjgwNDgxNDI3", "avatar_url": "https://avatars.githubusercontent.com/u/80481427?v=4", "gravatar_id": "", "url": "https://api.github.com/users/echarlaix", "html_url": "https://github.com/echarlaix", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for the review as well as the reminder @sgugger !", "Thanks for the reviews @lewtun and @michaelbenayoun. \r\nI have added some comments to make things clearer as well as the BigBird, Data2VecText, Electra and FlauBERT mode...
1,649
1,650
1,650
COLLABORATOR
null
This PR adds the export support of models with a multiple-choice classification head, resolving [#16695](https://github.com/huggingface/transformers/issues/16695) This includes the following additions: * The `"multiple-choice"` feature was added to the corresponding model topologies * The dummy inputs are generate...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16758/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16758/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16758", "html_url": "https://github.com/huggingface/transformers/pull/16758", "diff_url": "https://github.com/huggingface/transformers/pull/16758.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16758.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16757
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16757/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16757/comments
https://api.github.com/repos/huggingface/transformers/issues/16757/events
https://github.com/huggingface/transformers/pull/16757
1,203,517,591
PR_kwDOCUB6oc42MBYy
16,757
[self-scheduled ci] explain where dependencies are
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
CONTRIBUTOR
null
as discussed on slack, explain where deps are when docker images are used. @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16757/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16757/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16757", "html_url": "https://github.com/huggingface/transformers/pull/16757", "diff_url": "https://github.com/huggingface/transformers/pull/16757.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16757.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16756
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16756/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16756/comments
https://api.github.com/repos/huggingface/transformers/issues/16756/events
https://github.com/huggingface/transformers/pull/16756
1,203,496,746
PR_kwDOCUB6oc42L8-j
16,756
Add warning when using older version of torch for ViltFeatureExtractor
{ "login": "xhluca", "id": 21180505, "node_id": "MDQ6VXNlcjIxMTgwNTA1", "avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xhluca", "html_url": "https://github.com/xhluca", "followers_url": "https://api.github.com/users/xhluca/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I'd update to use `logging.warning` instead of `warnings.warn`, but other than that it looks like a sound approach.", "Ok I made the change", "Sorry should have been clearer, in this instance you should move the `logger` instanti...
1,649
1,654
1,654
CONTRIBUTOR
null
Closes https://github.com/huggingface/transformers/issues/16637
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16756/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/16756/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16756", "html_url": "https://github.com/huggingface/transformers/pull/16756", "diff_url": "https://github.com/huggingface/transformers/pull/16756.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16756.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16755
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16755/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16755/comments
https://api.github.com/repos/huggingface/transformers/issues/16755/events
https://github.com/huggingface/transformers/pull/16755
1,203,491,402
PR_kwDOCUB6oc42L72N
16,755
Kill async pushes when calling push_to_hub with blocking=True
{ "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._", "I think this is the right solution, but I wonder if we can't test it in a reproducible manner. Maybe we could do something like the following:\r\n\r\n- Commit a largish file, and push that\r\n- Reset the head without keeping the chan...
1,649
1,649
1,649
COLLABORATOR
null
# What does this PR do? This PR fixes a bug that sometimes appear in the `Trainer` when `push_to_hub=True`: if one of the async pushes finishes after a regular non-async push, the history gets messed up and we end up with an error like this: ``` The push command with PID 1468 failed. remote: error: cannot lock ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16755/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/16755/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16755", "html_url": "https://github.com/huggingface/transformers/pull/16755", "diff_url": "https://github.com/huggingface/transformers/pull/16755.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16755.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16754
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16754/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16754/comments
https://api.github.com/repos/huggingface/transformers/issues/16754/events
https://github.com/huggingface/transformers/pull/16754
1,203,476,381
PR_kwDOCUB6oc42L4qo
16,754
Update GPT2 I/O definition to be recognized by ORT optimizer.
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "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_16754). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,649
1,655
1,655
MEMBER
null
This PR aims at making the GPT2 + past more compatible with ONNX Runtime optimizer (especially attention fusion). Past key values should be presented as a single tensor with both key and value stacked on the leading axis. It also provide a concat mecanism to merge the resulting past key values so it's a single tens...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16754/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16754/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16754", "html_url": "https://github.com/huggingface/transformers/pull/16754", "diff_url": "https://github.com/huggingface/transformers/pull/16754.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16754.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16753
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16753/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16753/comments
https://api.github.com/repos/huggingface/transformers/issues/16753/events
https://github.com/huggingface/transformers/issues/16753
1,203,434,877
I_kwDOCUB6oc5HuvV9
16,753
ValueError: Reference at 'refs/heads/master' does not exist
{ "login": "deema-A", "id": 60605574, "node_id": "MDQ6VXNlcjYwNjA1NTc0", "avatar_url": "https://avatars.githubusercontent.com/u/60605574?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deema-A", "html_url": "https://github.com/deema-A", "followers_url": "https://api.github.com/users/deema-...
[]
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,649
1,680
1,653
NONE
null
Hi, in the RAG example. I got the error (ValueError: Reference at 'refs/heads/master' does not exist) in opt/anaconda3/envs/chatbotper/lib/python3.7/site-packages/git/refs/symbolic.py", line 184, in_get_ref_info_helper raise ValueError("Reference at %r does not exist" % ref_path) after running: python ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16753/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16753/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16752
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16752/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16752/comments
https://api.github.com/repos/huggingface/transformers/issues/16752/events
https://github.com/huggingface/transformers/issues/16752
1,203,387,760
I_kwDOCUB6oc5Huj1w
16,752
`translation_XX_to_YY` pipeline warnings about no max_length when both max_length and truncation are provided
{ "login": "erip", "id": 2348806, "node_id": "MDQ6VXNlcjIzNDg4MDY=", "avatar_url": "https://avatars.githubusercontent.com/u/2348806?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erip", "html_url": "https://github.com/erip", "followers_url": "https://api.github.com/users/erip/followers", ...
[]
closed
false
null
[]
[ "Hi @erip ,\r\n\r\nIt seems the tokenizer does not define itself `tokenizer.model_max_length` which is usually used to set the max length (so `truncation=True` can have a meaning).\r\n\r\nThe problem with passing `max_length` as you do, is that this is actually passed to the `generate(..)` function, which **also** ...
1,649
1,653
1,653
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.18.0 - Platform: Linux-3.10.0-1160.59.1.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.9.12 - Huggin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16752/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16752/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16751
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16751/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16751/comments
https://api.github.com/repos/huggingface/transformers/issues/16751/events
https://github.com/huggingface/transformers/pull/16751
1,203,374,732
PR_kwDOCUB6oc42LjFA
16,751
CI: setup-dependent pip cache
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Cool, porting the changes to the other two files as well then 👍 ", "@gante: to learn more from you: how you figured out the cause for the error you mentioned:\r\n\r\nhttps://github.com/huggingface/transformers/runs/6007067240?che...
1,649
1,649
1,649
MEMBER
null
# What does this PR do? This PR makes two changes to the way we cache our pip dependencies in the `add-model-like.yml` GH actions workflow: 1. The name of the cache depends on the hash of `setup.py`; 2. We do not restore the cache from partial name matches. (this pattern exists in one of our CI files, `github-t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16751/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16751/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16751", "html_url": "https://github.com/huggingface/transformers/pull/16751", "diff_url": "https://github.com/huggingface/transformers/pull/16751.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16751.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16750
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16750/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16750/comments
https://api.github.com/repos/huggingface/transformers/issues/16750/events
https://github.com/huggingface/transformers/issues/16750
1,203,360,682
I_kwDOCUB6oc5HudOq
16,750
Batch size < GPU number when training with Trainer and deepspeed.
{ "login": "zhaowei-wang-nlp", "id": 22047467, "node_id": "MDQ6VXNlcjIyMDQ3NDY3", "avatar_url": "https://avatars.githubusercontent.com/u/22047467?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhaowei-wang-nlp", "html_url": "https://github.com/zhaowei-wang-nlp", "followers_url": "https://...
[]
closed
false
null
[]
[ "cc @sgugger ", "cc @stas00 for DeepSpeed ;-)", "@zhaowei-wang98, could you please try again explaining what is the problem that you're running into? Please show the actual command line / config you're running as I have a hard time understanding your Issue.\r\n\r\n> So when I use more GPUs, the batch size must ...
1,649
1,653
1,653
NONE
null
# 🚀 Feature request Hi, I am fine-tuning T5-11b using Trainer with deepspeed feature. I use the deepspeed zero3 stage to split T5-11b and its gradients to different GPUs. However, when I try to use multi GPUs, I found that the argument `per_device_train_batch_size` must be an integer, which means it at least is 1. So...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16750/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16750/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16749
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16749/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16749/comments
https://api.github.com/repos/huggingface/transformers/issues/16749/events
https://github.com/huggingface/transformers/issues/16749
1,203,359,334
I_kwDOCUB6oc5Huc5m
16,749
Large differences between T5 weight initialization in TF and torch
{ "login": "jorgemcgomes", "id": 3987574, "node_id": "MDQ6VXNlcjM5ODc1NzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/3987574?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jorgemcgomes", "html_url": "https://github.com/jorgemcgomes", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "cc @gante @Rocketknight1 ", "Thanks a lot for the issue @jorgemcgomes! I think for PyTorch and Tensorflow we actually never really made sure that the init is correct because we mostly focused on fine-tuning. But we should correct this! \r\n\r\nI think I made sure that the init is correct in Flax's T5 implementat...
1,649
1,652
1,652
CONTRIBUTOR
null
- `transformers` version: 4.18.0, master branch ### Who can help @patrickvonplaten I found some significant differences in weight init between the PT and TF implementations of T5. The **embeddings** (model.shared): - In PT, according to `T5PreTrainedModel._init_weights`, they are initialized with random no...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16749/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16749/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16748
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16748/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16748/comments
https://api.github.com/repos/huggingface/transformers/issues/16748/events
https://github.com/huggingface/transformers/pull/16748
1,203,306,291
PR_kwDOCUB6oc42LUj_
16,748
[SpeechEncoderDecoderModel] Fix bug in reshaping labels
{ "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._", "Sounds good! ", "If I remember correctly `reshape()` == `view()` if the tensor does not need to call `contiguous()`, so good for me!", "> If I remember correctly `reshape()` == `view()` if the tensor does not need to call `contig...
1,649
1,687
1,649
CONTRIBUTOR
null
Currently, the target `labels` are reshaped using the `view` method before being passed into the loss function: https://github.com/huggingface/transformers/blob/06b4aac9ebab77a0065ec2cab40a8085ad71946f/src/transformers/models/speech_encoder_decoder/modeling_speech_encoder_decoder.py#L560 The `view` method requires th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16748/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16748/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16748", "html_url": "https://github.com/huggingface/transformers/pull/16748", "diff_url": "https://github.com/huggingface/transformers/pull/16748.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16748.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16747
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16747/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16747/comments
https://api.github.com/repos/huggingface/transformers/issues/16747/events
https://github.com/huggingface/transformers/issues/16747
1,203,290,627
I_kwDOCUB6oc5HuMID
16,747
pointer to transformer (big) model
{ "login": "anirudt", "id": 5916149, "node_id": "MDQ6VXNlcjU5MTYxNDk=", "avatar_url": "https://avatars.githubusercontent.com/u/5916149?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anirudt", "html_url": "https://github.com/anirudt", "followers_url": "https://api.github.com/users/anirudt/...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[ "@anirudt Can I work on this issue?", "Any leads on this?\r\n" ]
1,649
1,681
null
NONE
null
# 🌟 New model addition ## Model description <!-- Important information --> Hi, needed a pointer on how to instantiate a Transformer-big from the original Vaswani et. al. paper (Attention Is All You Need). I could only find versions of Transformer-like architectures, so would be useful if this could also be adde...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16747/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16747/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/16746
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16746/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16746/comments
https://api.github.com/repos/huggingface/transformers/issues/16746/events
https://github.com/huggingface/transformers/issues/16746
1,203,228,057
I_kwDOCUB6oc5Ht82Z
16,746
Tensor size mismatch in RoBERTa
{ "login": "d-miketa", "id": 320321, "node_id": "MDQ6VXNlcjMyMDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/320321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/d-miketa", "html_url": "https://github.com/d-miketa", "followers_url": "https://api.github.com/users/d-miket...
[]
closed
false
null
[]
[ "I found out what it was:\r\n```\r\nToken indices sequence length is longer than the specified maximum sequence length for this model (746 > 512). Running this sequence through the model will result in indexing errors\r\n```\r\nIt would've been easier to diagnose if whatever triggered this message had also emitted ...
1,649
1,693
1,653
CONTRIBUTOR
null
The following error pops up while running a `TranslationPipeline` using a PyTorch `EncoderDecoderModel` (@patrickvonplaten) consisting of two `RoBERTas`. (@LysandreJik) Curiously it happens on a very specific datapoint in a large-ish dataset, but I'm having trouble digging it out. (It does well on tens of thousands of ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16746/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16746/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16745
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16745/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16745/comments
https://api.github.com/repos/huggingface/transformers/issues/16745/events
https://github.com/huggingface/transformers/issues/16745
1,203,184,118
I_kwDOCUB6oc5HtyH2
16,745
KeyError when using AutoTokenizer for facebook/detr-resnet-*
{ "login": "grassjelly", "id": 5070395, "node_id": "MDQ6VXNlcjUwNzAzOTU=", "avatar_url": "https://avatars.githubusercontent.com/u/5070395?v=4", "gravatar_id": "", "url": "https://api.github.com/users/grassjelly", "html_url": "https://github.com/grassjelly", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nDETR is a vision model, not a text model, hence it doesn't have a tokenizer, but a so-called feature extractor (useful for preparing images for the model). You can load it using the AutoFeatureExtractor API:\r\n\r\n```\r\nfrom transformers import AutoFeatureExtractor\r\n\r\nfeature_extractor = AutoFeatu...
1,649
1,649
1,649
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.16.0 - Platform: Ubuntu 20.04 - Python version: 3.8.12 - PyTorch version (GPU?): 1.11.0 - Tensorflow vers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16745/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16745/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16744
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16744/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16744/comments
https://api.github.com/repos/huggingface/transformers/issues/16744/events
https://github.com/huggingface/transformers/pull/16744
1,203,037,714
PR_kwDOCUB6oc42KbQQ
16,744
Reduce Funnel PT/TF diff
{ "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,649
1,649
1,649
COLLABORATOR
null
# What does this PR do? Same as #15684, but on PT test side. As mentioned in #15684, this is not a real bug in model. Just a setting in the test configuration. ## Comment The change in `modeling_tf_funnel.py` is to address **a real issue** regarding **weight initialization**, see https://github.com/huggi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16744/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16744/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16744", "html_url": "https://github.com/huggingface/transformers/pull/16744", "diff_url": "https://github.com/huggingface/transformers/pull/16744.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16744.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16743
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16743/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16743/comments
https://api.github.com/repos/huggingface/transformers/issues/16743/events
https://github.com/huggingface/transformers/pull/16743
1,203,010,170
PR_kwDOCUB6oc42KVvo
16,743
[TAPEX] Update drop_rows_to_fit
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu...
1,649
1,652
1,652
CONTRIBUTOR
null
# What does this PR do? This PR makes `drop_rows_to_fit` an attribute of `TapexTokenizer`, rather than a standalone `TruncationStrategy`. The truncation strategies that can be used are the same as those of BART (as TAPEX is a BART model), meaning `truncation=True` will truncate to the maximum length. However, one...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16743/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16743/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16743", "html_url": "https://github.com/huggingface/transformers/pull/16743", "diff_url": "https://github.com/huggingface/transformers/pull/16743.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16743.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16742
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16742/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16742/comments
https://api.github.com/repos/huggingface/transformers/issues/16742/events
https://github.com/huggingface/transformers/issues/16742
1,202,804,225
I_kwDOCUB6oc5HsVYB
16,742
Some weights of the model checkpoint at microsoft/layoutlmv2-base-uncased were not used when initializing LayoutLMv2Model
{ "login": "baoyuxu", "id": 18047650, "node_id": "MDQ6VXNlcjE4MDQ3NjUw", "avatar_url": "https://avatars.githubusercontent.com/u/18047650?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baoyuxu", "html_url": "https://github.com/baoyuxu", "followers_url": "https://api.github.com/users/baoyux...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nYes this is expected, as you can see the warning only prints \"num_batches_tracked\", these are statistics for batch norm layers, these aren't trainable parameters.", "@NielsRogge I understand now, thank you for your reply🤗 " ]
1,649
1,649
1,649
NONE
null
## Environment info - `transformers` version: 4.18.0 - Platform: Linux-5.13.0-39-generic-x86_64-with-glibc2.17 - Python version: 3.8.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.8.2+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/16742/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16742/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16741
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16741/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16741/comments
https://api.github.com/repos/huggingface/transformers/issues/16741/events
https://github.com/huggingface/transformers/pull/16741
1,202,683,580
PR_kwDOCUB6oc42JWvx
16,741
[modeling_utils] better explanation of ignore keys
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
CONTRIBUTOR
null
Integrating the improved explanation of ignore keys by @sgugger at https://github.com/huggingface/transformers/issues/16719#issuecomment-1096878395 with some tweaks from myself. It's still unclear whether they should include the base model prefix or not, but we can sort it out when https://github.com/huggingface/tra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16741/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16741/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16741", "html_url": "https://github.com/huggingface/transformers/pull/16741", "diff_url": "https://github.com/huggingface/transformers/pull/16741.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16741.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16740
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16740/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16740/comments
https://api.github.com/repos/huggingface/transformers/issues/16740/events
https://github.com/huggingface/transformers/pull/16740
1,202,668,867
PR_kwDOCUB6oc42JTvB
16,740
[trainer / deepspeed] fix hyperparameter_search
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
CONTRIBUTOR
null
This PR: - fixes `hyperparameter_search` deepspeed config reset fix up that got out of sync with the normal code path - adds a test so that will not happen in the future. - adds a new group of pip deps: `deepspeed-testing` @sgugger Fixes: https://github.com/huggingface/transformers/pull/11966#issuecomment-105...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16740/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16740/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16740", "html_url": "https://github.com/huggingface/transformers/pull/16740", "diff_url": "https://github.com/huggingface/transformers/pull/16740.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16740.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16739
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16739/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16739/comments
https://api.github.com/repos/huggingface/transformers/issues/16739/events
https://github.com/huggingface/transformers/pull/16739
1,202,444,414
PR_kwDOCUB6oc42IiHF
16,739
Replace assertion with exception
{ "login": "anmolsjoshi", "id": 17307490, "node_id": "MDQ6VXNlcjE3MzA3NDkw", "avatar_url": "https://avatars.githubusercontent.com/u/17307490?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anmolsjoshi", "html_url": "https://github.com/anmolsjoshi", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16739). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,649
1,654
1,654
CONTRIBUTOR
null
# What does this PR do? Replaces assert with Exceptions as per https://github.com/huggingface/transformers/issues/12789. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16739/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16739/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16739", "html_url": "https://github.com/huggingface/transformers/pull/16739", "diff_url": "https://github.com/huggingface/transformers/pull/16739.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16739.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16738
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16738/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16738/comments
https://api.github.com/repos/huggingface/transformers/issues/16738/events
https://github.com/huggingface/transformers/pull/16738
1,202,416,116
PR_kwDOCUB6oc42Ib2A
16,738
Add self training code for text classification
{ "login": "tuvuumass", "id": 23730882, "node_id": "MDQ6VXNlcjIzNzMwODgy", "avatar_url": "https://avatars.githubusercontent.com/u/23730882?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tuvuumass", "html_url": "https://github.com/tuvuumass", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Very nice, thanks a lot for adding this new example! Just to be sure, the empty strata file is intended? I didn't get why it's there.\r\n\r\nGood catch, @sgugger. Just removed the empty strata file. Thanks!" ]
1,649
1,649
1,649
CONTRIBUTOR
null
This is an implementation of the self-training algorithm (without task augmentation) for classification tasks proposed in the [EMNLP 2021](https://2021.emnlp.org/) paper: [STraTA: Self-Training with Task Augmentation for Better Few-shot Learning](https://arxiv.org/abs/2109.06270). For the original codebase, please che...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16738/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16738/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16738", "html_url": "https://github.com/huggingface/transformers/pull/16738", "diff_url": "https://github.com/huggingface/transformers/pull/16738.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16738.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16737
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16737/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16737/comments
https://api.github.com/repos/huggingface/transformers/issues/16737/events
https://github.com/huggingface/transformers/pull/16737
1,202,279,551
PR_kwDOCUB6oc42H-74
16,737
Fix the Conda package build
{ "login": "bryant1410", "id": 3905501, "node_id": "MDQ6VXNlcjM5MDU1MDE=", "avatar_url": "https://avatars.githubusercontent.com/u/3905501?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bryant1410", "html_url": "https://github.com/bryant1410", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger I saw you have worked on the Conda packaging of this repo before. Can you look into it? IMHO this PR doesn't take a lot of time to review.", "@LysandreJik friendly ping!", "This issue has been automatically marked as sta...
1,649
1,656
1,656
CONTRIBUTOR
null
I saw that [the Conda builds are failing since v4.12](https://github.com/huggingface/transformers/actions/workflows/release-conda.yml). The main problem is that, for some reason, [the build tries to install `setuptools` but Conda build forbids it](https://github.com/huggingface/transformers/runs/5853294684?check_suite_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16737/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16737/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16737", "html_url": "https://github.com/huggingface/transformers/pull/16737", "diff_url": "https://github.com/huggingface/transformers/pull/16737.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16737.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16736
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16736/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16736/comments
https://api.github.com/repos/huggingface/transformers/issues/16736/events
https://github.com/huggingface/transformers/issues/16736
1,202,222,688
I_kwDOCUB6oc5HqHZg
16,736
[Flax] Torch fp16 model weights not upcast when loaded in Flax
{ "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
[]
[ "cc @patrickvonplaten @patil-suraj ", "Great catch! Gosh, we should have never uploaded `bart-large` with fp16 weights - I think this happened accidentally and a long time ago :-/ Usually we want all weights to be stored as full fp32 weights. \r\n\r\nTo be honest, for now I think this is really an edge-case - I d...
1,649
1,649
1,649
CONTRIBUTOR
null
In some scenarios, one may want to load a Flax model directly from pre-trained PyTorch model weights. In this process, the original dtype of the PyTorch model weights is maintained when loaded into Flax. For models such as [bart-large](https://huggingface.co/facebook/bart-large), which has it's PyTorch weights stored i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16736/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16736/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16735
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16735/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16735/comments
https://api.github.com/repos/huggingface/transformers/issues/16735/events
https://github.com/huggingface/transformers/issues/16735
1,202,211,812
I_kwDOCUB6oc5HqEvk
16,735
[PegasusConfig] wrong default vocab_size
{ "login": "yaozhaogoogle", "id": 60202961, "node_id": "MDQ6VXNlcjYwMjAyOTYx", "avatar_url": "https://avatars.githubusercontent.com/u/60202961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yaozhaogoogle", "html_url": "https://github.com/yaozhaogoogle", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hey @yaozhaogoogle,\r\n\r\nThanks for the issue, could you maybe link to the original configuration that shows a default vocab size of 96000?", "from the github https://github.com/google-research/pegasus , there is a link to the checkpoints and vocabs, https://pantheon.corp.google.com/storage/browser/pegasus_ckp...
1,649
1,650
1,650
NONE
null
In PegasusConfig (https://github.com/huggingface/transformers/blob/v4.18.0/src/transformers/models/pegasus/configuration_pegasus.py#L108), the default vocab size should be 96000 instead of 50265. @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16735/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16735/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16734
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16734/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16734/comments
https://api.github.com/repos/huggingface/transformers/issues/16734/events
https://github.com/huggingface/transformers/pull/16734
1,202,153,166
PR_kwDOCUB6oc42HjiL
16,734
Partial checkpoint support for SMP
{ "login": "cavdard", "id": 44590949, "node_id": "MDQ6VXNlcjQ0NTkwOTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/44590949?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cavdard", "html_url": "https://github.com/cavdard", "followers_url": "https://api.github.com/users/cavdar...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16734). All of your documentation changes will be reflected on that endpoint.", "@cavdard could you please run `make style` to apply the correct coding formatting? ", "> @cavdard could you please run `make style` to apply...
1,649
1,653
1,653
CONTRIBUTOR
null
# What does this PR do? - Adds 3 new training args(`smp_save_partial` and `smp_load_partial`) to support partial checkpointing with SMP. `smp_tensor_parallel_full_model` to apply tensor parallelism to whole model. - Uses the right ranks for partial checkpoint saving in should_save. - Uses `local_state_dict()` wit...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16734/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16734/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16734", "html_url": "https://github.com/huggingface/transformers/pull/16734", "diff_url": "https://github.com/huggingface/transformers/pull/16734.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16734.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16733
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16733/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16733/comments
https://api.github.com/repos/huggingface/transformers/issues/16733/events
https://github.com/huggingface/transformers/issues/16733
1,202,083,988
I_kwDOCUB6oc5HpliU
16,733
[FlaxBartForCausalLM] Embed tokens not loaded in Flax decoder model from encoder-decoder weights
{ "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
[]
[ "In the PyTorch Bart modelling script, we first define a 'shared' nn.Embedding module, which we then directly pass to the encoder and decoder modules to explicitly tie their word embeddings:\r\nhttps://github.com/huggingface/transformers/blob/14daa6102a0e8a35ef734dd21bfcf31d9b0207d1/src/transformers/models/bart/mod...
1,649
1,655
1,655
CONTRIBUTOR
null
The embeddings module `embed_tokens` is not loaded from pre-trained Flax model weights when a FlaxBartForCausalLM model is instantiated in isolation. As a consequence, these embedding weights are randomly initialised. The following code snippet demonstrates this fact by comparing the FlaxBartForCausalLM model to its Py...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16733/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16733/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16732
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16732/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16732/comments
https://api.github.com/repos/huggingface/transformers/issues/16732/events
https://github.com/huggingface/transformers/pull/16732
1,202,030,086
PR_kwDOCUB6oc42HIx8
16,732
Remove duplicate header in doc
{ "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
[]
[]
1,649
1,649
1,649
COLLABORATOR
null
# What does this PR do? <s>`doc-builder` doesn't accept duplicated headers anymore, this PR should fix the doc build. Will merge as soon as the Build Doc PR job is green to fix the main branch :-)</s> The change has been reverted on the `doc-builder` side, but this was a mistake worth fixing anyway.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16732/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16732/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16732", "html_url": "https://github.com/huggingface/transformers/pull/16732", "diff_url": "https://github.com/huggingface/transformers/pull/16732.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16732.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16731
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16731/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16731/comments
https://api.github.com/repos/huggingface/transformers/issues/16731/events
https://github.com/huggingface/transformers/pull/16731
1,202,027,732
PR_kwDOCUB6oc42HIRp
16,731
Improve test_pt_tf_model_equivalence on PT side
{ "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._", "Merged (after a rebase)" ]
1,649
1,650
1,650
COLLABORATOR
null
# What does this PR do? Same as in #16557, but on PT test side. Now we only have 2 `def test_pt_tf_model_equivalence` in the common test files 💯
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16731/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16731/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16731", "html_url": "https://github.com/huggingface/transformers/pull/16731", "diff_url": "https://github.com/huggingface/transformers/pull/16731.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16731.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16730
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16730/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16730/comments
https://api.github.com/repos/huggingface/transformers/issues/16730/events
https://github.com/huggingface/transformers/pull/16730
1,201,950,098
PR_kwDOCUB6oc42G36I
16,730
Change the chunk_iter function to handle
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "Very nice - thanks for fixing it!", "@sgugger - I think the build doc failing test is unrelated here no?", "Yes, will look into that." ]
1,649
1,649
1,649
CONTRIBUTOR
null
the subtle cases where the last chunk gets ignored since all the data is in the `left_strided` data. We need to remove the right striding on the previous item. # What does this PR do? Change the chunk_iter function to handle the subtle cases where the last chunk gets ignored since all the data is in the `left_stri...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16730/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16730/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16730", "html_url": "https://github.com/huggingface/transformers/pull/16730", "diff_url": "https://github.com/huggingface/transformers/pull/16730.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16730.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16729
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16729/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16729/comments
https://api.github.com/repos/huggingface/transformers/issues/16729/events
https://github.com/huggingface/transformers/pull/16729
1,201,934,829
PR_kwDOCUB6oc42G0ok
16,729
TF: remove set_tensor_by_indices_to_value
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger The last diff belongs to @patrickvonplaten, but because the function was moved (from [here](https://github.com/huggingface/transformers/blame/a3dbbc346763c8eaa49577a448e5b5a2da1428ed/src/transformers/generation_tf_utils.py#L...
1,649
1,649
1,649
MEMBER
null
# What does this PR do? Removes our TF `set_tensor_by_indices_to_value` function and replaces all its uses by `tf.where`. They are the same, but with a different input order -- removing it means one fewer function to test while making the code easier for TF users.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16729/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16729/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16729", "html_url": "https://github.com/huggingface/transformers/pull/16729", "diff_url": "https://github.com/huggingface/transformers/pull/16729.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16729.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16728
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16728/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16728/comments
https://api.github.com/repos/huggingface/transformers/issues/16728/events
https://github.com/huggingface/transformers/pull/16728
1,201,818,328
PR_kwDOCUB6oc42Gb9E
16,728
[FlaxSpeechEncoderDecoder] Fix input shape bug in weights init
{ "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,649
1,649
1,649
CONTRIBUTOR
null
The tuple `input_shape` is required in the `init` method of the FlaxSpeechEncoderDecoderModel in order to initialise the model weights - one must specify these input shapes to enable JAX to trace through the model dimensions. This tuple consists of two entries: the encoder and decoder input lengths. Speech encoders al...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16728/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16728/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16728", "html_url": "https://github.com/huggingface/transformers/pull/16728", "diff_url": "https://github.com/huggingface/transformers/pull/16728.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16728.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16727
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16727/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16727/comments
https://api.github.com/repos/huggingface/transformers/issues/16727/events
https://github.com/huggingface/transformers/pull/16727
1,201,757,881
PR_kwDOCUB6oc42GO18
16,727
Add image classification script, no trainer
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger not sure why, but the test for the script fails:\r\n```\r\nWARNING datasets.builder:builder.py:388 Using custom data configuration huggingface--image-classification-test-sample-b7448dc7ae37f2cf\r\nINFO run_image_classif...
1,649
1,650
1,650
CONTRIBUTOR
null
# What does this PR do? This PR adds an example script for image classification that leverages Accelerate instead of the HuggingFace Trainer. To do: - [x] verify local `train_dir` and `validation_dir` - [x] update README - [x] add log fixes (Tensorboard) Both can be updated after #16585 is merged.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16727/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16727/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16727", "html_url": "https://github.com/huggingface/transformers/pull/16727", "diff_url": "https://github.com/huggingface/transformers/pull/16727.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16727.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16726
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16726/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16726/comments
https://api.github.com/repos/huggingface/transformers/issues/16726/events
https://github.com/huggingface/transformers/pull/16726
1,201,730,972
PR_kwDOCUB6oc42GI_w
16,726
[ASR pipeline] fix chunking
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Superseded by https://github.com/huggingface/transformers/pull/16730" ]
1,649
1,649
1,649
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16726/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16726/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16726", "html_url": "https://github.com/huggingface/transformers/pull/16726", "diff_url": "https://github.com/huggingface/transformers/pull/16726.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16726.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16725
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16725/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16725/comments
https://api.github.com/repos/huggingface/transformers/issues/16725/events
https://github.com/huggingface/transformers/pull/16725
1,201,710,030
PR_kwDOCUB6oc42GEcw
16,725
[FlaxWav2Vec2Model] Fix bug in attention mask
{ "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,649
1,687
1,649
CONTRIBUTOR
null
Currently, the FlaxWav2Vec2 reduced attention mask is computed by calling the function `_get_feat_extract_output_lengths`, without explicit specification of whether an (optional) adapter module is used: https://github.com/huggingface/transformers/blob/924484ee4a6ebc79426d27eef31a1ee7d13cbb9a/src/transformers/models/wa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16725/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16725/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16725", "html_url": "https://github.com/huggingface/transformers/pull/16725", "diff_url": "https://github.com/huggingface/transformers/pull/16725.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16725.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16724
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16724/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16724/comments
https://api.github.com/repos/huggingface/transformers/issues/16724/events
https://github.com/huggingface/transformers/pull/16724
1,201,708,958
PR_kwDOCUB6oc42GENh
16,724
Add type hints GPT-J pytorch
{ "login": "ChTauchmann", "id": 35799429, "node_id": "MDQ6VXNlcjM1Nzk5NDI5", "avatar_url": "https://avatars.githubusercontent.com/u/35799429?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ChTauchmann", "html_url": "https://github.com/ChTauchmann", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
NONE
null
# What does this PR do? Added type hints for GPT-J pytorch following #16059 @Rocketknight1
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16724/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16724/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16724", "html_url": "https://github.com/huggingface/transformers/pull/16724", "diff_url": "https://github.com/huggingface/transformers/pull/16724.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16724.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16723
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16723/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16723/comments
https://api.github.com/repos/huggingface/transformers/issues/16723/events
https://github.com/huggingface/transformers/pull/16723
1,201,687,597
PR_kwDOCUB6oc42F_lV
16,723
[Quicktour Audio] Improve && remove ffmpeg dependency
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,650
1,650
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16723/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16723/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16723", "html_url": "https://github.com/huggingface/transformers/pull/16723", "diff_url": "https://github.com/huggingface/transformers/pull/16723.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16723.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16722
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16722/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16722/comments
https://api.github.com/repos/huggingface/transformers/issues/16722/events
https://github.com/huggingface/transformers/pull/16722
1,201,305,981
PR_kwDOCUB6oc42ErPF
16,722
[Bart] correct doc test
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16722/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16722/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16722", "html_url": "https://github.com/huggingface/transformers/pull/16722", "diff_url": "https://github.com/huggingface/transformers/pull/16722.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16722.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16721
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16721/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16721/comments
https://api.github.com/repos/huggingface/transformers/issues/16721/events
https://github.com/huggingface/transformers/issues/16721
1,201,028,598
I_kwDOCUB6oc5Hlj32
16,721
ResumableUploadAbortException: 409 The object has already been created in an earlier attempt and was overwritten, possibly due to a race condition.
{ "login": "pratikchhapolika", "id": 11159549, "node_id": "MDQ6VXNlcjExMTU5NTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pratikchhapolika", "html_url": "https://github.com/pratikchhapolika", "followers_url": "https://...
[]
closed
false
null
[]
[ "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,649
1,653
1,653
NONE
null
I am fine tuning masked language model from XLM Roberta large on google machine specs. When I copy the model using `gsutil and subprocess` from container to GCP bucket it gives me error. ### Versions Versions torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0+cu113 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16721/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16721/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16720
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16720/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16720/comments
https://api.github.com/repos/huggingface/transformers/issues/16720/events
https://github.com/huggingface/transformers/pull/16720
1,201,020,152
PR_kwDOCUB6oc42DqFt
16,720
Replace assertion with exception
{ "login": "anmolsjoshi", "id": 17307490, "node_id": "MDQ6VXNlcjE3MzA3NDkw", "avatar_url": "https://avatars.githubusercontent.com/u/17307490?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anmolsjoshi", "html_url": "https://github.com/anmolsjoshi", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger @LysandreJik thanks for the review! I have incorporated all the requested changes. ", "@sgugger unsure why the PR Documentation check is failing", "Failure is unrelated to this PR and is fixed independently.\r\nThanks a ...
1,649
1,649
1,649
CONTRIBUTOR
null
# What does this PR do? Replaces assert with Exceptions as per https://github.com/huggingface/transformers/issues/12789. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16720/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16720/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16720", "html_url": "https://github.com/huggingface/transformers/pull/16720", "diff_url": "https://github.com/huggingface/transformers/pull/16720.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16720.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16719
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16719/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16719/comments
https://api.github.com/repos/huggingface/transformers/issues/16719/events
https://github.com/huggingface/transformers/issues/16719
1,201,016,641
I_kwDOCUB6oc5Hlg9B
16,719
[modeling] keys to ignore revisited
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "I'll address point 4 for now. It looks like you are just missing an `ignore_mismatched_sizes=True`. `_keys_to_ignore_on_save` does not impact the loading, as its name indicates, and there is no `_keys_to_ignore_on_load` as if a weight should be ignored on load, it shouldn't be in the checkpoint in the first place....
1,649
1,658
1,658
CONTRIBUTOR
null
If possible let's please revisit: 1. `_keys_to_ignore_on_save ` 2. `_keys_to_ignore_on_load_unexpected` 3. `_keys_to_ignore_on_load_missing` I'm trying to debug a key that refuses to be ignored on load and I'm not sure if I'm not setting it correctly in all those `keys_to_ignore_*` patterns. ----------...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16719/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/16719/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16718
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16718/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16718/comments
https://api.github.com/repos/huggingface/transformers/issues/16718/events
https://github.com/huggingface/transformers/pull/16718
1,200,977,656
PR_kwDOCUB6oc42Dgat
16,718
[WIP]-Add Fast Pitch 1.1
{ "login": "ArEnSc", "id": 6252325, "node_id": "MDQ6VXNlcjYyNTIzMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6252325?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArEnSc", "html_url": "https://github.com/ArEnSc", "followers_url": "https://api.github.com/users/ArEnSc/foll...
[]
closed
false
null
[]
[ "Thanks for the PR @ArEnSc!\r\n\r\nLet us know if you need assistance at any point!", "> Thanks for the PR @ArEnSc!\r\n> \r\n> Let us know if you need assistance at any point!\r\n\r\nWill do! have been lagging on this due to family and my day job =)", "update: going to continue to work on this soon", "This is...
1,649
1,659
1,659
CONTRIBUTOR
null
# What does this PR do? Adds FastPitch 1.1# (issue)[https://github.com/huggingface/transformers/issues/16349] ## Before submitting - [ ] 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/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16718/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16718/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16718", "html_url": "https://github.com/huggingface/transformers/pull/16718", "diff_url": "https://github.com/huggingface/transformers/pull/16718.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16718.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16717
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16717/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16717/comments
https://api.github.com/repos/huggingface/transformers/issues/16717/events
https://github.com/huggingface/transformers/pull/16717
1,200,735,956
PR_kwDOCUB6oc42Co0E
16,717
[deepspeed / m2m_100] make deepspeed zero-3 work with layerdrop
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2659267025, "node_id": "MDU6TGFiZWwyNjU5MjY3MDI1", "url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed", "name": "DeepSpeed", "color": "4D34F7", "default": false, "description": "" } ]
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
CONTRIBUTOR
null
Same as I had to fix in `wav2vec2` it looks that this fix should eventually go to all models that use `LayerDrop`. At least at the moment Deepspeed is not capable of randomly skipping layers, so this PR uses the same now well tested workaround I used in `wav2vec2`, where all layers always run when deepspeed zero-3 is d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16717/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16717/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16717", "html_url": "https://github.com/huggingface/transformers/pull/16717", "diff_url": "https://github.com/huggingface/transformers/pull/16717.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16717.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16716
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16716/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16716/comments
https://api.github.com/repos/huggingface/transformers/issues/16716/events
https://github.com/huggingface/transformers/issues/16716
1,200,723,750
I_kwDOCUB6oc5HkZcm
16,716
Predicting incorrect loss when eval data size is not a multiple of batch size
{ "login": "ajindal1", "id": 32752809, "node_id": "MDQ6VXNlcjMyNzUyODA5", "avatar_url": "https://avatars.githubusercontent.com/u/32752809?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ajindal1", "html_url": "https://github.com/ajindal1", "followers_url": "https://api.github.com/users/aji...
[]
closed
false
null
[]
[ "No, the evaluation loss is properly computed thanks to this line actually. Repeating it the number of times then truncating to the length of the dataset [here](https://github.com/huggingface/transformers/blob/924484ee4a6ebc79426d27eef31a1ee7d13cbb9a/src/transformers/trainer.py#L2551) makes the final evaluation los...
1,649
1,653
1,653
NONE
null
## Environment info - `transformers` version: 4.18.0.dev0 - Platform: Linux-5.4.0-96-generic-x86_64-with-debian-buster-sid - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.12.0.dev20220411+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16716/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16716/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16715
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16715/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16715/comments
https://api.github.com/repos/huggingface/transformers/issues/16715/events
https://github.com/huggingface/transformers/pull/16715
1,200,655,165
PR_kwDOCUB6oc42CW_x
16,715
fix image type DETR feature extraction for panoptic segmentation
{ "login": "johnnv1", "id": 20444345, "node_id": "MDQ6VXNlcjIwNDQ0MzQ1", "avatar_url": "https://avatars.githubusercontent.com/u/20444345?v=4", "gravatar_id": "", "url": "https://api.github.com/users/johnnv1", "html_url": "https://github.com/johnnv1", "followers_url": "https://api.github.com/users/johnnv...
[ { "id": 4235521865, "node_id": "LA_kwDOCUB6oc78dO9J", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20extractors", "name": "Feature extractors", "color": "c2e0c6", "default": false, "description": "" } ]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16715). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,649
1,655
1,653
CONTRIBUTOR
null
# What does this PR do? The __call__ function of the DETR, expects an object with a `shape` when `pad_and_return_pixel_mask=True` If try to use the extract feature with `do_resize=False` and `do_normalize=False` will crash on https://github.com/huggingface/transformers/blob/69233cf03be5fbce0492f3997e139c4d05499e27/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16715/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16715/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16715", "html_url": "https://github.com/huggingface/transformers/pull/16715", "diff_url": "https://github.com/huggingface/transformers/pull/16715.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16715.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16714
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16714/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16714/comments
https://api.github.com/repos/huggingface/transformers/issues/16714/events
https://github.com/huggingface/transformers/issues/16714
1,200,650,451
I_kwDOCUB6oc5HkHjT
16,714
ValueError if answer in truncated table rows and columns in Tapas tokenization
{ "login": "kolk", "id": 9049591, "node_id": "MDQ6VXNlcjkwNDk1OTE=", "avatar_url": "https://avatars.githubusercontent.com/u/9049591?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kolk", "html_url": "https://github.com/kolk", "followers_url": "https://api.github.com/users/kolk/followers", ...
[]
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,649
1,653
1,653
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.17.0 - Platform: Ubuntu 20 LTS - Python version: 3.8.10 - PyTorch version (GPU?): 1.9.0 - Tensorflow ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16714/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16714/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16713
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16713/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16713/comments
https://api.github.com/repos/huggingface/transformers/issues/16713/events
https://github.com/huggingface/transformers/pull/16713
1,200,586,802
PR_kwDOCUB6oc42CIAC
16,713
TF generate refactor - XLA sample
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@patrickvonplaten the `stateless` TF functions accept a `seed` argument that is a tuple of two integers 😅 Not very intuitive, I agree. They correspond to the `key` and `counter` used in the internal RNG algorithms ([source](https://...
1,649
1,650
1,650
MEMBER
null
# What does this PR do? This PR brings XLA to `sample`, in `generate`. Four important details before reviewing: 1. The diff has the changes of https://github.com/huggingface/transformers/pull/16704, review that PR first plz :) It fixes a test from `beam_search`. I will rebase as soon as the other PR gets merged (th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16713/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16713/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16713", "html_url": "https://github.com/huggingface/transformers/pull/16713", "diff_url": "https://github.com/huggingface/transformers/pull/16713.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16713.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16712
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16712/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16712/comments
https://api.github.com/repos/huggingface/transformers/issues/16712/events
https://github.com/huggingface/transformers/pull/16712
1,200,543,780
PR_kwDOCUB6oc42B-u4
16,712
Run the scheduled tests
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16712). All of your documentation changes will be reflected on that endpoint." ]
1,649
1,664
null
MEMBER
null
:warning: Do not merge this PR! PR 2/2: in order to finish running suite, rebase this PR on [`test-tokenizers-main`](https://github.com/huggingface/transformers/tree/test-tokenizers-main), branch of PR https://github.com/huggingface/transformers/pull/16708. --- This PR builds on top of https://github.com/hugg...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16712/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16712/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16712", "html_url": "https://github.com/huggingface/transformers/pull/16712", "diff_url": "https://github.com/huggingface/transformers/pull/16712.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16712.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16711
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16711/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16711/comments
https://api.github.com/repos/huggingface/transformers/issues/16711/events
https://github.com/huggingface/transformers/issues/16711
1,200,515,615
I_kwDOCUB6oc5Hjmof
16,711
AutoModelForMaskedLM produces NaN if no token is masked
{ "login": "nreimers", "id": 10706961, "node_id": "MDQ6VXNlcjEwNzA2OTYx", "avatar_url": "https://avatars.githubusercontent.com/u/10706961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nreimers", "html_url": "https://github.com/nreimers", "followers_url": "https://api.github.com/users/nre...
[]
closed
false
null
[]
[ "Hey @nreimers, thanks for the issue! I think the propositions are sensible, what do you think @sgugger ?", "I think this should be solved in the `MaskedLM` directly to return a loss of 0.0 and no NaNs.", "This issue has been automatically marked as stale because it has not had recent activity. If you think thi...
1,649
1,681
1,653
CONTRIBUTOR
null
This is a more for discussion if a bugfix is wanted (and if yes, how it should look like). I already fixed it locally for my training script. **Background** I currently run MLM pre-training for large models where each batch can only consist of a single example. In some cases, the text can be rather short, for exa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16711/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/16711/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16710
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16710/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16710/comments
https://api.github.com/repos/huggingface/transformers/issues/16710/events
https://github.com/huggingface/transformers/issues/16710
1,200,372,910
I_kwDOCUB6oc5HjDyu
16,710
AutoConfig.from_pretrained can fail with Tokenizers
{ "login": "d-miketa", "id": 320321, "node_id": "MDQ6VXNlcjMyMDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/320321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/d-miketa", "html_url": "https://github.com/d-miketa", "followers_url": "https://api.github.com/users/d-miket...
[]
closed
false
null
[]
[ "The `AutoConfig` utility is a utility for models only, it's the tool one can use to instantiate a model. \r\n\r\nWhat would you like to do by instantiating a configuration for a tokenizer? The `AutoTokenizer` class should handle everything on its own.", "Ahh I was under the impression that you needed to provide ...
1,649
1,649
1,649
CONTRIBUTOR
null
`tokenizer_config = AutoConfig.from_pretrained("/path/to/tokenizer_config.json")` resolves the Auto Class by checking the `model_type` key, which is not always included for tokenizers, see e.g. https://huggingface.co/seyonec/ChemBERTa-zinc-base-v1/blob/main/tokenizer_config.json. Perhaps `model_type` should be expor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16710/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16710/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16709
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16709/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16709/comments
https://api.github.com/repos/huggingface/transformers/issues/16709/events
https://github.com/huggingface/transformers/pull/16709
1,200,332,235
PR_kwDOCUB6oc42BRzS
16,709
Add defensive check for config num_labels and id2label
{ "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._", "Might I suggest to add an example in the error message? Especially for regression where num_labels=1, it might not be obvious to users what the id2label map has to look like. Suggestion:\r\n\r\n```\r\nf\"You passed along `num_labels=...
1,649
1,649
1,649
COLLABORATOR
null
# What does this PR do? As seen in #16600, there can be some unclear errors when the user tries to pass together an inconsistent `num_labels` and `id2label`. This PR addresses that with a clear error message.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16709/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16709/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16709", "html_url": "https://github.com/huggingface/transformers/pull/16709", "diff_url": "https://github.com/huggingface/transformers/pull/16709.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16709.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16708
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16708/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16708/comments
https://api.github.com/repos/huggingface/transformers/issues/16708/events
https://github.com/huggingface/transformers/pull/16708
1,200,284,611
PR_kwDOCUB6oc42BKOA
16,708
Build docker images for tokenizers main branch
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16708). All of your documentation changes will be reflected on that endpoint." ]
1,649
1,664
null
MEMBER
null
:warning: Do not merge this PR! PR 1/2: in order to run the full test suite (slow tests included), with the `main` branch of the `tokenizers` library, rebase this PR on `main`. Once the workflows have finished, head to PR 2/2 here: https://github.com/huggingface/transformers/pull/16712 --- This PR is one of tw...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16708/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16708/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16708", "html_url": "https://github.com/huggingface/transformers/pull/16708", "diff_url": "https://github.com/huggingface/transformers/pull/16708.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16708.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16707
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16707/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16707/comments
https://api.github.com/repos/huggingface/transformers/issues/16707/events
https://github.com/huggingface/transformers/pull/16707
1,200,233,857
PR_kwDOCUB6oc42A_Yg
16,707
Private repo TrainingArgument
{ "login": "nbroad1881", "id": 24982805, "node_id": "MDQ6VXNlcjI0OTgyODA1", "avatar_url": "https://avatars.githubusercontent.com/u/24982805?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nbroad1881", "html_url": "https://github.com/nbroad1881", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
CONTRIBUTOR
null
# What does this PR do? Creates a new argument for `TrainingArguments` called `hub_private_repo`. If True, the hub repo created by `Trainer` will be set to private. Defaults to False (public). ## 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/16707/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16707/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16707", "html_url": "https://github.com/huggingface/transformers/pull/16707", "diff_url": "https://github.com/huggingface/transformers/pull/16707.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16707.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16706
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16706/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16706/comments
https://api.github.com/repos/huggingface/transformers/issues/16706/events
https://github.com/huggingface/transformers/pull/16706
1,200,205,878
PR_kwDOCUB6oc42A5cx
16,706
[from_pretrained] refactor find_mismatched_keys
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
CONTRIBUTOR
null
This PR refactors 2 large identical code copies introduced by the recent sharded checkpoint PR into a helper function which is then called from 2 places. There is no change in functionality. It's an intermediary step for this PR: https://github.com/huggingface/transformers/pull/16657 which revamps `low_cpu_mem_usage...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16706/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16706/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16706", "html_url": "https://github.com/huggingface/transformers/pull/16706", "diff_url": "https://github.com/huggingface/transformers/pull/16706.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16706.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16705
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16705/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16705/comments
https://api.github.com/repos/huggingface/transformers/issues/16705/events
https://github.com/huggingface/transformers/issues/16705
1,200,202,665
I_kwDOCUB6oc5HiaOp
16,705
Cuda Memory leak (OOM) when using HF Trainer DDP mode
{ "login": "Smu-Tan", "id": 79228128, "node_id": "MDQ6VXNlcjc5MjI4MTI4", "avatar_url": "https://avatars.githubusercontent.com/u/79228128?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Smu-Tan", "html_url": "https://github.com/Smu-Tan", "followers_url": "https://api.github.com/users/Smu-Ta...
[]
closed
false
null
[]
[ "@Smu-Tan \r\n\r\nHow were you able to get around this?" ]
1,649
1,704
1,649
NONE
null
## Environment info - `transformers` version: 4.12.0 - Platform: Linux-5.4.0-1073-azure-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GPU?): 1.10.0+cu102 (True) - Tensorflow version (GPU?): 2.6.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16705/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 1, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/16705/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16704
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16704/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16704/comments
https://api.github.com/repos/huggingface/transformers/issues/16704/events
https://github.com/huggingface/transformers/pull/16704
1,200,186,753
PR_kwDOCUB6oc42A1VW
16,704
TF beam search: handle case without past
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "(merging as Patrick has approved #16713, which also contains these changes)" ]
1,649
1,649
1,649
MEMBER
null
# What does this PR do? Fixes `tests/vision_encoder_decoder/test_modeling_tf_vision_encoder_decoder.py::TFViT2GPT2ModelIntegrationTest::test_inference_coco_en`, whose root cause was in `beam_search` (it was not handling correctly cases without cache). This one slipped through the cracks, I probably forgot to run a f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16704/reactions", "total_count": 4, "+1": 1, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 1, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16704/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16704", "html_url": "https://github.com/huggingface/transformers/pull/16704", "diff_url": "https://github.com/huggingface/transformers/pull/16704.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16704.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16703
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16703/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16703/comments
https://api.github.com/repos/huggingface/transformers/issues/16703/events
https://github.com/huggingface/transformers/pull/16703
1,200,153,762
PR_kwDOCUB6oc42Auuz
16,703
Don't push checkpoints to hub in `no_trainer` scripts
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "id": 1834053813, "node_id": "MDU6TGFiZWwxODM0MDUzODEz", "url": "https://api.github.com/repos/huggingface/transformers/labels/PyTorch", "name": "PyTorch", "color": "a12bef", "default": false, "description": "Anything PyTorch" }, { "id": 1834083927, "node_id": "MDU6TGFiZWwxO...
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
CONTRIBUTOR
null
# Don't push checkpoints to the Hub in `no_trainer` scripts ## What does this add? - Creates a `gitignore` file in the base folder if `push_to_hub` was passed and one does not exist - During each call to `save_state`, if `push_to_hub` was passed then then directory is added to the .gitignore ## Why is it needed? Us...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16703/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16703/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16703", "html_url": "https://github.com/huggingface/transformers/pull/16703", "diff_url": "https://github.com/huggingface/transformers/pull/16703.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16703.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16702
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16702/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16702/comments
https://api.github.com/repos/huggingface/transformers/issues/16702/events
https://github.com/huggingface/transformers/issues/16702
1,200,028,480
I_kwDOCUB6oc5HhvtA
16,702
group_texts function in language-modeling seems get wrong
{ "login": "zheyuye", "id": 37728728, "node_id": "MDQ6VXNlcjM3NzI4NzI4", "avatar_url": "https://avatars.githubusercontent.com/u/37728728?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zheyuye", "html_url": "https://github.com/zheyuye", "followers_url": "https://api.github.com/users/zheyuy...
[]
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,649
1,677
1,652
NONE
null
During preprocssing of language-modeling, function `group_texts` as https://github.com/huggingface/transformers/blob/main/examples/pytorch/language-modeling/run_mlm.py#L447-L460 seeems ingore the special tokens like [CLS] and [SEP], and just concatenated them together. An obvious bug would appear that one example ma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16702/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16702/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16701
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16701/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16701/comments
https://api.github.com/repos/huggingface/transformers/issues/16701/events
https://github.com/huggingface/transformers/issues/16701
1,200,018,869
I_kwDOCUB6oc5HhtW1
16,701
Optional keys in TrainingArguments aren't always labelled as such
{ "login": "d-miketa", "id": 320321, "node_id": "MDQ6VXNlcjMyMDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/320321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/d-miketa", "html_url": "https://github.com/d-miketa", "followers_url": "https://api.github.com/users/d-miket...
[]
closed
false
null
[]
[ "cc @sgugger " ]
1,649
1,652
1,652
CONTRIBUTOR
null
Inside `TrainingArguments` there are a few keys such as [tf32](https://github.com/huggingface/transformers/blob/098b0026447271a340d2d7e6bff428c82cb6d744/src/transformers/training_args.py#L594) which are optional and have a default of `None`, but aren't explicitly labelled as such. This can cause problems downstream; fo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16701/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16701/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16700
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16700/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16700/comments
https://api.github.com/repos/huggingface/transformers/issues/16700/events
https://github.com/huggingface/transformers/pull/16700
1,199,906,044
PR_kwDOCUB6oc41_52B
16,700
update decoder_vocab_size when resizing embeds
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
MEMBER
null
# What does this PR do? - Update the `config.decoder_vocab_size` when resizing embeds if the enc, dec embeds are shared. - Use `config.decoder_vocab_size` to reshape the `lm_logits` Fixes #16670
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16700/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16700/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16700", "html_url": "https://github.com/huggingface/transformers/pull/16700", "diff_url": "https://github.com/huggingface/transformers/pull/16700.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16700.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16699
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16699/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16699/comments
https://api.github.com/repos/huggingface/transformers/issues/16699/events
https://github.com/huggingface/transformers/pull/16699
1,199,864,443
PR_kwDOCUB6oc41_w6C
16,699
Fix drop_path_rates argument passed to ConvNextStage
{ "login": "alex-coniasse", "id": 60103599, "node_id": "MDQ6VXNlcjYwMTAzNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/60103599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alex-coniasse", "html_url": "https://github.com/alex-coniasse", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16699). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,649
1,654
1,654
NONE
null
# What does this PR do? - Pass a sub-list of `drop_path_rates` to ConvNextStage instead of a single element. - Fix the following issue: Argument `drop_path_rates (List[float])` passed to `ConvNextStage` is a single float when `drop_path_rate` is specified by the config. Reproducer: ``` from transformers ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16699/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16699/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16699", "html_url": "https://github.com/huggingface/transformers/pull/16699", "diff_url": "https://github.com/huggingface/transformers/pull/16699.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16699.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16698
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16698/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16698/comments
https://api.github.com/repos/huggingface/transformers/issues/16698/events
https://github.com/huggingface/transformers/pull/16698
1,199,805,133
PR_kwDOCUB6oc41_kCO
16,698
Fix TF_MASKED_LM_SAMPLE
{ "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,649
1,649
1,649
COLLABORATOR
null
# What does this PR do? Fix `TF_MASKED_LM_SAMPLE`: there is currently a dimension issue regarding `mask_token_index` and `predicted_token_id`, which gives different results between PT/TF masked LM code samples PT: `paris` TF: `p a r i s` See below for details. (This is related to #16523) ## ### PT_MA...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16698/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16698/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16698", "html_url": "https://github.com/huggingface/transformers/pull/16698", "diff_url": "https://github.com/huggingface/transformers/pull/16698.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16698.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16697
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16697/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16697/comments
https://api.github.com/repos/huggingface/transformers/issues/16697/events
https://github.com/huggingface/transformers/issues/16697
1,199,655,313
I_kwDOCUB6oc5HgUmR
16,697
ViLT vs VIT Classifier heads question
{ "login": "PrithivirajDamodaran", "id": 7071019, "node_id": "MDQ6VXNlcjcwNzEwMTk=", "avatar_url": "https://avatars.githubusercontent.com/u/7071019?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PrithivirajDamodaran", "html_url": "https://github.com/PrithivirajDamodaran", "followers_url":...
[]
closed
false
null
[]
[ "Hi, thanks for your interest in ViLT. \r\n\r\nThat was the decision of the authors. Maybe you can ask them 😉 ", "Ok :-)" ]
1,649
1,650
1,650
NONE
null
Is there any specific reason for the classifier head on the ViLT model for tasks say ```ViltForImagesAndTextClassification``` or ```ViltForQuestionAnswering ``` has a ```LayerNorm and GELU``` and not just a Linear Input and output Layers (Like below) whereas classifier head on the VIT for ```ViTForImageClassification...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16697/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16697/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16696
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16696/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16696/comments
https://api.github.com/repos/huggingface/transformers/issues/16696/events
https://github.com/huggingface/transformers/pull/16696
1,199,653,455
PR_kwDOCUB6oc41_DKk
16,696
Handle image_embeds in ViltModel
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Thanks for improving this!\r\n> \r\n> Out of interest: were you experimenting with ViLT?\r\n\r\nNot for this PR. I tried to fix a CI (vit-mae), which was about `test_torchscript`.\r\nIt turns out to be related to model main input -...
1,649
1,649
1,649
COLLABORATOR
null
# What does this PR do? Handle `image_embeds` in `ViltModel` / `ViltForImagesAndTextClassification`. (looks like `Vilt` is the first model introducing `image_embeds` argument.) ## More Info The `image_embeds` in `ViltForImagesAndTextClassification` should have `num_images` dimension as `pixel_values` has, a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16696/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16696/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16696", "html_url": "https://github.com/huggingface/transformers/pull/16696", "diff_url": "https://github.com/huggingface/transformers/pull/16696.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16696.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16695
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16695/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16695/comments
https://api.github.com/repos/huggingface/transformers/issues/16695/events
https://github.com/huggingface/transformers/issues/16695
1,199,621,980
I_kwDOCUB6oc5HgMdc
16,695
Enable ONNX support for multiple-choice classification heads
{ "login": "lewtun", "id": 26859204, "node_id": "MDQ6VXNlcjI2ODU5MjA0", "avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewtun", "html_url": "https://github.com/lewtun", "followers_url": "https://api.github.com/users/lewtun/fo...
[]
closed
false
{ "login": "echarlaix", "id": 80481427, "node_id": "MDQ6VXNlcjgwNDgxNDI3", "avatar_url": "https://avatars.githubusercontent.com/u/80481427?v=4", "gravatar_id": "", "url": "https://api.github.com/users/echarlaix", "html_url": "https://github.com/echarlaix", "followers_url": "https://api.github.com/users/...
[ { "login": "echarlaix", "id": 80481427, "node_id": "MDQ6VXNlcjgwNDgxNDI3", "avatar_url": "https://avatars.githubusercontent.com/u/80481427?v=4", "gravatar_id": "", "url": "https://api.github.com/users/echarlaix", "html_url": "https://github.com/echarlaix", "followers_url": "https://a...
[ "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,649
1,652
1,652
MEMBER
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> Currently, the `transformers.onnx` package doesn't support the export of models with a multiple-choice classification head, i.e. all `ModelForMultiplChoice` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16695/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16695/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16694
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16694/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16694/comments
https://api.github.com/repos/huggingface/transformers/issues/16694/events
https://github.com/huggingface/transformers/issues/16694
1,199,613,729
I_kwDOCUB6oc5HgKch
16,694
Question: Add Embedding layer to BERT
{ "login": "KyungHyunLim", "id": 72729802, "node_id": "MDQ6VXNlcjcyNzI5ODAy", "avatar_url": "https://avatars.githubusercontent.com/u/72729802?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KyungHyunLim", "html_url": "https://github.com/KyungHyunLim", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "self.token_type_embeddings(entity_loc_ids)\r\n-> self.entity_type_embeddings(entity_loc_ids)\r\n\r\nthere was typo" ]
1,649
1,649
1,649
NONE
null
I am going to add a BERT embedding layer. ```python class CustomBertEmbeddings(nn.Module): def __init__(self, config): super().__init__() self.word_embeddings = nn.Embedding(config.vocab_size, config.hidden_size, padding_idx=config.pad_token_id) self.position_embeddings = nn.Embeddin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16694/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16694/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16693
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16693/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16693/comments
https://api.github.com/repos/huggingface/transformers/issues/16693/events
https://github.com/huggingface/transformers/pull/16693
1,199,543,698
PR_kwDOCUB6oc41-ylW
16,693
Rename the method test_torchscript
{ "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,649
1,649
1,649
COLLABORATOR
null
# What does this PR do? `class ModelTesterMixin` has attribute `test_torchscript` as well as method named `def test_torchscript`. In a few model specific test files, we have `test_torchscript = True` defined, for example, `T5ModelTest`: https://github.com/huggingface/transformers/blob/7c5d79912a21880ce13d778...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16693/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16693/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16693", "html_url": "https://github.com/huggingface/transformers/pull/16693", "diff_url": "https://github.com/huggingface/transformers/pull/16693.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16693.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16692
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16692/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16692/comments
https://api.github.com/repos/huggingface/transformers/issues/16692/events
https://github.com/huggingface/transformers/issues/16692
1,199,529,016
I_kwDOCUB6oc5Hf1w4
16,692
ViLT Fine-tuning Bug: ValueError: operands could not be broadcast together with shapes
{ "login": "ZhihaoZhang97", "id": 31653817, "node_id": "MDQ6VXNlcjMxNjUzODE3", "avatar_url": "https://avatars.githubusercontent.com/u/31653817?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZhihaoZhang97", "html_url": "https://github.com/ZhihaoZhang97", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nThanks for your interest in ViLT! Could you try adding `.convert(\"RGB\")` when reading an image in the getitem method of the PyTorch dataset?", "> Hi,\r\n> \r\n> Thanks for your interest in ViLT! Could you try adding `.convert(\"RGB\")` when reading an image in the getitem method of the PyTorch datas...
1,649
1,649
1,649
NONE
null
## Environment info - `transformers` version: 4.19.0.dev0 - Platform: Linux-5.13.0-39-generic-x86_64-with-glibc2.31 - Python version: 3.9.12 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): GPU - Jax versi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16692/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16692/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16691
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16691/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16691/comments
https://api.github.com/repos/huggingface/transformers/issues/16691/events
https://github.com/huggingface/transformers/pull/16691
1,199,516,161
PR_kwDOCUB6oc41-szf
16,691
Reduce the memory leak caused by `torch.jit.trace`
{ "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,649
1,649
1,649
COLLABORATOR
null
# What does this PR do? Reduce the memory leak caused by `torch.jit.trace`. Without this fix, each call to `_create_and_check_torchscript` increases RAM usage by ~20MB. (Even with this call, there are still memory leak by ~0.04MB) ## Remark Since our torchscript tests are slow tests, they are run only in s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16691/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16691/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16691", "html_url": "https://github.com/huggingface/transformers/pull/16691", "diff_url": "https://github.com/huggingface/transformers/pull/16691.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16691.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16690
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16690/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16690/comments
https://api.github.com/repos/huggingface/transformers/issues/16690/events
https://github.com/huggingface/transformers/issues/16690
1,199,441,600
I_kwDOCUB6oc5HfgbA
16,690
A question about the position of language indicator tokens of mBART
{ "login": "speedcell4", "id": 3585459, "node_id": "MDQ6VXNlcjM1ODU0NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/3585459?v=4", "gravatar_id": "", "url": "https://api.github.com/users/speedcell4", "html_url": "https://github.com/speedcell4", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "I noticed there is [a relevant issue](https://github.com/huggingface/transformers/issues/16583), @patil-suraj has mentioned\r\n> In BART `eos` (`</s>`) token is used as the `decoder_start_token_id`\r\n\r\nBut why do we need `</s>` to be the `decoder_start_token_id`? In my understanding of the original paper, the `...
1,649
1,650
1,650
NONE
null
## Environment info - `transformers` version: 4.17.0 - Platform: Linux-3.10.0-1160.49.1.el7.x86_64-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GPU?): 1.11.0+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16690/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16690/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16689
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16689/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16689/comments
https://api.github.com/repos/huggingface/transformers/issues/16689/events
https://github.com/huggingface/transformers/issues/16689
1,199,218,575
I_kwDOCUB6oc5Hep-P
16,689
`"histogram_cpu" not implemented for 'BFloat16'` when using deepspeed and reporting to wandb
{ "login": "jncasey", "id": 31020859, "node_id": "MDQ6VXNlcjMxMDIwODU5", "avatar_url": "https://avatars.githubusercontent.com/u/31020859?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jncasey", "html_url": "https://github.com/jncasey", "followers_url": "https://api.github.com/users/jncase...
[]
closed
false
null
[]
[ "Hey @jncasey, thanks for the report.\r\n\r\n> since everything is working without deepspeed, maybe there's something different about how the deepspeed integration is reporting to wandb?\r\n\r\nCould you check that the script still breaks when you set `\"bf16\"` to `\"enabled\": false` in the DeepSpeed config? Also...
1,649
1,689
1,649
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.18.0 - Platform: Linux-5.13.0-20-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16689/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16689/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16688
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16688/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16688/comments
https://api.github.com/repos/huggingface/transformers/issues/16688/events
https://github.com/huggingface/transformers/issues/16688
1,199,169,001
I_kwDOCUB6oc5Hed3p
16,688
Cannot train M2M100 using run_translation.py and DeepSpeed ZeRO stage 3
{ "login": "evros-chris", "id": 37453466, "node_id": "MDQ6VXNlcjM3NDUzNDY2", "avatar_url": "https://avatars.githubusercontent.com/u/37453466?v=4", "gravatar_id": "", "url": "https://api.github.com/users/evros-chris", "html_url": "https://github.com/evros-chris", "followers_url": "https://api.github.com/...
[ { "id": 2659267025, "node_id": "MDU6TGFiZWwyNjU5MjY3MDI1", "url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed", "name": "DeepSpeed", "color": "4D34F7", "default": false, "description": "" } ]
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "Thank you, @evros-chris \r\n\r\nI can reproduce this and I think this might be related to the peculiarity of this model that creates a new Parameter in `forward`, which currently Deepspeed isn't equipped to deal with. It somehow needs to be repartition its flattened tensors with the new Parameter. I have reported ...
1,649
1,649
1,649
NONE
null
## Environment info - `transformers` version: 4.18.0 - Platform: Linux - Python version: 3.8.12 - PyTorch version (GPU?): 1.10 - Tensorflow version (GPU?): - - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: Deepspeed ZeRO stage 3 Library Versions: - deepspeed 0.6.1 - transforme...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16688/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16688/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16687
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16687/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16687/comments
https://api.github.com/repos/huggingface/transformers/issues/16687/events
https://github.com/huggingface/transformers/issues/16687
1,198,821,794
I_kwDOCUB6oc5HdJGi
16,687
Can't load pretrained TrOCR model
{ "login": "NouamaneTazi", "id": 29777165, "node_id": "MDQ6VXNlcjI5Nzc3MTY1", "avatar_url": "https://avatars.githubusercontent.com/u/29777165?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NouamaneTazi", "html_url": "https://github.com/NouamaneTazi", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "I have exactly the same problem. If anyone finds a solution, it would be appreciated. If I manage to solve it, I will post it here ASAP.\r\n\r\nEDIT: \r\nI have not been able to follow the code trace exactly but I believe the error is as follows. When the model is created from the `hub.py` file, the model class is...
1,649
1,653
1,653
MEMBER
null
@NielsRogge I get this error when I try to load a local TrOCR checkpoint. ```python >>> processor = TrOCRProcessor.from_pretrained("./checkpoint-2") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/users/gpupro/gpu_tazi/.local/lib/python3.8/site-packages/transformers/processing...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16687/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16687/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16686
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16686/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16686/comments
https://api.github.com/repos/huggingface/transformers/issues/16686/events
https://github.com/huggingface/transformers/pull/16686
1,198,819,669
PR_kwDOCUB6oc418mzY
16,686
fixed crash when deleting older checkpoint and files with name f"{checkpoint_prefix}-*" exist
{ "login": "sadransh", "id": 12527824, "node_id": "MDQ6VXNlcjEyNTI3ODI0", "avatar_url": "https://avatars.githubusercontent.com/u/12527824?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sadransh", "html_url": "https://github.com/sadransh", "followers_url": "https://api.github.com/users/sad...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger" ]
1,649
1,649
1,649
CONTRIBUTOR
null
What does this PR do? I create an archive of older checkpoints during training the checkpoint has a name with `f"{checkpoint_prefix}-*.zip/.tar ` previously `glob(f"{checkpoint_prefix}-*")` takes all files/folders starting with the name checkpoint, and later `shutil.rmtree(checkpoint)` takes a folder name; sinc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16686/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16686/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16686", "html_url": "https://github.com/huggingface/transformers/pull/16686", "diff_url": "https://github.com/huggingface/transformers/pull/16686.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16686.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16685
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16685/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16685/comments
https://api.github.com/repos/huggingface/transformers/issues/16685/events
https://github.com/huggingface/transformers/pull/16685
1,198,785,962
PR_kwDOCUB6oc418h5W
16,685
Translate index.mdx (to ES) and add Spanish models to quicktour.mdx examples
{ "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...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger, I ran `make style` and made some manual debug but cannot get `check_code_quality` to pass. Any idea why could it be? \r\n\r\nI think the error is in[ these lines](https://github.com/huggingface/transformers/pull/16685/files...
1,649
1,652
1,652
CONTRIBUTOR
null
# What does this PR do? Related to issue #15947 1. Translate `index.mdx` to Spanish 2. Replace English models and a dataset in `quicktour.mdx` with Spanish versions. ## Relevant - Translation of `index.mdx` included the list of compatible models (not the papers´ and models´ names). Since this should not be upda...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16685/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/16685/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16685", "html_url": "https://github.com/huggingface/transformers/pull/16685", "diff_url": "https://github.com/huggingface/transformers/pull/16685.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16685.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16684
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16684/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16684/comments
https://api.github.com/repos/huggingface/transformers/issues/16684/events
https://github.com/huggingface/transformers/issues/16684
1,198,699,539
I_kwDOCUB6oc5HcrQT
16,684
`FlaxBartForConditionalGeneration` has a `.encode` method but `BartForConditionalGeneration` does not
{ "login": "ayaka14732", "id": 68557794, "node_id": "MDQ6VXNlcjY4NTU3Nzk0", "avatar_url": "https://avatars.githubusercontent.com/u/68557794?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ayaka14732", "html_url": "https://github.com/ayaka14732", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi! The `encode` method does not exist in PT model because it's possible to access the encoder using `model.get_encoder` and then call it to run the encoder. Flax does not allow accessing modules like this so we need to expose explicit methods like `encode`. This is not required for PT.", "Thanks for the explana...
1,649
1,649
1,649
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.18.0 - Platform: Linux-5.11.0-1018-gcp-x86_64-with-glibc2.31 - Python version: 3.10.4 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu102 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): 0.4.1 (tpu) - J...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16684/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16684/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16683
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16683/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16683/comments
https://api.github.com/repos/huggingface/transformers/issues/16683/events
https://github.com/huggingface/transformers/issues/16683
1,198,600,311
I_kwDOCUB6oc5HcTB3
16,683
Option to change Ray's gridsearch scope
{ "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...
[]
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,649
1,655
1,655
COLLABORATOR
null
# 🚀 Feature request It would be great if we can get more control over how Ray is selecting the best trial in a hyperparameter search. Currently, the default value for [`get_best_trial`](https://docs.ray.io/en/latest/tune/api_docs/analysis.html#ray.tune.ExperimentAnalysis.get_best_trial) is used here: https://git...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16683/reactions", "total_count": 5, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16683/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16682
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16682/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16682/comments
https://api.github.com/repos/huggingface/transformers/issues/16682/events
https://github.com/huggingface/transformers/pull/16682
1,198,542,707
PR_kwDOCUB6oc417vpW
16,682
Type hint complete Albert model file.
{ "login": "karthikrangasai", "id": 39360170, "node_id": "MDQ6VXNlcjM5MzYwMTcw", "avatar_url": "https://avatars.githubusercontent.com/u/39360170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/karthikrangasai", "html_url": "https://github.com/karthikrangasai", "followers_url": "https://api...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi, I'm sorry for the delay with this one! We really appreciate it, and I'm trying to get a chance to look through it all ASAP!", "Thanks a lot and I am glad that you liked the work.\r\nMore of these will be coming in a few days fo...
1,649
1,651
1,651
CONTRIBUTOR
null
# What does this PR do? Type hint the Albert Model file for PyTorch Model. <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your aw...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16682/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16682/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16682", "html_url": "https://github.com/huggingface/transformers/pull/16682", "diff_url": "https://github.com/huggingface/transformers/pull/16682.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16682.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16681
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16681/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16681/comments
https://api.github.com/repos/huggingface/transformers/issues/16681/events
https://github.com/huggingface/transformers/issues/16681
1,198,511,312
I_kwDOCUB6oc5Hb9TQ
16,681
`LongT5`: Efficient Text-To-Text Transformer for Long Sequences
{ "login": "stancld", "id": 46073029, "node_id": "MDQ6VXNlcjQ2MDczMDI5", "avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stancld", "html_url": "https://github.com/stancld", "followers_url": "https://api.github.com/users/stancl...
[ { "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
[]
[ "Thanks a lot for opening the issue @stancld ! I'm quite busy with other projects at the moment so I'd be more than happy to guide you here! Do you want to give it a try?", "Also cc @stefan-it @peregilk @versae ", "This might also be helpful: https://github.com/patrickvonplaten/t5-mtf-to-hf-converter", "Here ...
1,649
1,655
1,655
CONTRIBUTOR
null
# 🌟 New model addition -- LongT5: Efficient Text-To-Text Transformer for Long Sequences ## Model description LongT5 is an extension of the [T5 model](https://github.com/google-research/text-to-text-transfer-transformer) that handles long sequence inputs more efficiently. We integrated attention ideas from long-i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16681/reactions", "total_count": 11, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 7, "rocket": 0, "eyes": 4 }
https://api.github.com/repos/huggingface/transformers/issues/16681/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16680
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16680/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16680/comments
https://api.github.com/repos/huggingface/transformers/issues/16680/events
https://github.com/huggingface/transformers/issues/16680
1,198,477,750
I_kwDOCUB6oc5Hb1G2
16,680
Trying to Train Lonformer but from standard transfomer file, error AttributeError: module 'wandb' has no attribute 'run'. Even when I have not install Wandb
{ "login": "nabarunbaruaAIML", "id": 64695833, "node_id": "MDQ6VXNlcjY0Njk1ODMz", "avatar_url": "https://avatars.githubusercontent.com/u/64695833?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nabarunbaruaAIML", "html_url": "https://github.com/nabarunbaruaAIML", "followers_url": "https://...
[]
closed
false
null
[]
[ "Got the Solution In previous Development I had set Wandb Global Environment Variable as True. And I suppose Transformer Library checks for the Variable and if found it will try for Integration because of which this Issue happened. To fix if you're not using Wandb then execute \r\n\r\n> export WANDB_DISABLED=true\r...
1,649
1,649
1,649
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.18.0 - Platform: Windows - Python version: 3.7.13 - PyTorch version (GPU?): Yes - Tensorflow version (GPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16680/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16680/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16679
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16679/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16679/comments
https://api.github.com/repos/huggingface/transformers/issues/16679/events
https://github.com/huggingface/transformers/pull/16679
1,198,414,062
PR_kwDOCUB6oc417XNb
16,679
Enable more test_torchscript
{ "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,649
1,649
1,649
COLLABORATOR
null
# What does this PR do? Enable more `test_torchscript` (in 30 files) by updating `_create_and_check_torchscript`. (There are still 21 files with 23 places being `False` at this moment - they still give errors.) The main place to review is in `test_modeling_common.py`. The changes in model specific test files ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16679/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16679/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16679", "html_url": "https://github.com/huggingface/transformers/pull/16679", "diff_url": "https://github.com/huggingface/transformers/pull/16679.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16679.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16678
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16678/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16678/comments
https://api.github.com/repos/huggingface/transformers/issues/16678/events
https://github.com/huggingface/transformers/issues/16678
1,198,343,443
I_kwDOCUB6oc5HbUUT
16,678
`FlaxBartForConditionalGeneration` should not require `input_ids` when `encoder_output` is provided
{ "login": "ayaka14732", "id": 68557794, "node_id": "MDQ6VXNlcjY4NTU3Nzk0", "avatar_url": "https://avatars.githubusercontent.com/u/68557794?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ayaka14732", "html_url": "https://github.com/ayaka14732", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "ping @patil-suraj", "Hey @ayaka14732 ! The flax generate method does not support passing in `encoder_outputs`, so `input_ids` is a required input.", "Thanks! Why does the flax generate method not support passing in `encoder_outputs`? Is that a bug or a feature?\r\n\r\nI am trying to generate with `encoder_outp...
1,649
1,655
1,655
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.18.0 - Platform: Linux-5.11.0-1018-gcp-x86_64-with-glibc2.31 - Python version: 3.10.4 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu102 (False) - Tensorflow version (GPU?): 2.8.0 (False) - Flax version (CPU?/GPU?/TPU?): 0.4.1 (cpu) - Jax ve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16678/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16678/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16677
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16677/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16677/comments
https://api.github.com/repos/huggingface/transformers/issues/16677/events
https://github.com/huggingface/transformers/issues/16677
1,198,214,778
I_kwDOCUB6oc5Ha056
16,677
The accuracy of test set is different in training and evaluating Bert
{ "login": "klyuhang9", "id": 39409233, "node_id": "MDQ6VXNlcjM5NDA5MjMz", "avatar_url": "https://avatars.githubusercontent.com/u/39409233?v=4", "gravatar_id": "", "url": "https://api.github.com/users/klyuhang9", "html_url": "https://github.com/klyuhang9", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!", "This issue has been automatically marked as stale because it has not had recent activity. If you think this stil...
1,649
1,652
1,652
NONE
null
Hi,friends, I meet a problem which puzzled me for couple of days. I want to training a Bert for two classification task on my custom data. I choose BertForSequenceClassification model. And I use the 'Trainer' from 'transformers', the tokenizer, model, metrics and Trainer code as follows: ` tokenizer=BertToke...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16677/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16677/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16676
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16676/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16676/comments
https://api.github.com/repos/huggingface/transformers/issues/16676/events
https://github.com/huggingface/transformers/issues/16676
1,197,978,892
I_kwDOCUB6oc5HZ7UM
16,676
Adding new tokens to RobertaTokenizer gives very strange results - probably a bug.
{ "login": "Oxi84", "id": 25420033, "node_id": "MDQ6VXNlcjI1NDIwMDMz", "avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Oxi84", "html_url": "https://github.com/Oxi84", "followers_url": "https://api.github.com/users/Oxi84/follow...
[]
closed
false
null
[]
[ "For additional context, the non-fast `RobertaTokenizer` returns the following results.\r\n\r\n```python\r\n>>> print(tokenizer.tokenize(\"Apples are too_big for turtles.\"))\r\n['App', 'les', 'Ġare', 'Ġtoo', '_', 'big', 'Ġfor', 'Ġturtles', '.']\r\n>>> tokenizer.add_tokens([\"too_big\",\"turtles\"])\r\n>>> print(to...
1,649
1,654
1,654
NONE
null
I am trying to add new tokens to Roberta tokenizer, but the results are rather strange. from transformers import RobertaTokenizerFast t = RobertaTokenizerFast.from_pretrained('roberta-base') print(t.tokenize("Apples are too_big for turtles.")) t.add_tokens(["too_big","turtles"]) print(t.to...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16676/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16676/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16675
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16675/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16675/comments
https://api.github.com/repos/huggingface/transformers/issues/16675/events
https://github.com/huggingface/transformers/pull/16675
1,197,695,518
PR_kwDOCUB6oc415B_Q
16,675
[Doctest] added doctest changes for electra
{ "login": "bhadreshpsavani", "id": 26653468, "node_id": "MDQ6VXNlcjI2NjUzNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhadreshpsavani", "html_url": "https://github.com/bhadreshpsavani", "followers_url": "https://api...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi, I also got an error for `ElectraForPreTraining`.\r\n\r\n~~I am still checking it.~~\r\n\r\nRegarding `ElectraForPreTraining`, could you update that part with\r\n\r\n```\r\n>>> from transformers import ElectraForPreTraining, Elect...
1,649
1,649
1,649
CONTRIBUTOR
null
# What does this PR do? Adds Doctest fo Electra Pytorch Issue: #16292 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16675/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16675/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16675", "html_url": "https://github.com/huggingface/transformers/pull/16675", "diff_url": "https://github.com/huggingface/transformers/pull/16675.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16675.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16674
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16674/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16674/comments
https://api.github.com/repos/huggingface/transformers/issues/16674/events
https://github.com/huggingface/transformers/pull/16674
1,197,578,454
PR_kwDOCUB6oc414wCq
16,674
[Trainer] tf32 arg doc
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
CONTRIBUTOR
null
As discussed at https://github.com/huggingface/transformers/issues/16588#issuecomment-1093056995 expanding the TF32 Trainer arg doc to define the default value and where to find more information. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16674/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16674/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16674", "html_url": "https://github.com/huggingface/transformers/pull/16674", "diff_url": "https://github.com/huggingface/transformers/pull/16674.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16674.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16673
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16673/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16673/comments
https://api.github.com/repos/huggingface/transformers/issues/16673/events
https://github.com/huggingface/transformers/pull/16673
1,197,563,448
PR_kwDOCUB6oc414sz_
16,673
Load finetuned state dict without loading pretrained weights
{ "login": "laurahanu", "id": 32672979, "node_id": "MDQ6VXNlcjMyNjcyOTc5", "avatar_url": "https://avatars.githubusercontent.com/u/32672979?v=4", "gravatar_id": "", "url": "https://api.github.com/users/laurahanu", "html_url": "https://github.com/laurahanu", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,649
1,649
1,649
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/16673/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16673/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16673", "html_url": "https://github.com/huggingface/transformers/pull/16673", "diff_url": "https://github.com/huggingface/transformers/pull/16673.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16673.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16672
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16672/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16672/comments
https://api.github.com/repos/huggingface/transformers/issues/16672/events
https://github.com/huggingface/transformers/issues/16672
1,197,538,612
I_kwDOCUB6oc5HYP00
16,672
Can't load a local finetuned state dict anymore without loading the official pretrained weights first
{ "login": "laurahanu", "id": 32672979, "node_id": "MDQ6VXNlcjMyNjcyOTc5", "avatar_url": "https://avatars.githubusercontent.com/u/32672979?v=4", "gravatar_id": "", "url": "https://api.github.com/users/laurahanu", "html_url": "https://github.com/laurahanu", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,649
1,649
1,649
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.18.0 - Platform: Ubuntu & Mac - Python version: 3.9.7 ### Who can help @sgugger ## Information Iss...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16672/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16672/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16671
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16671/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16671/comments
https://api.github.com/repos/huggingface/transformers/issues/16671/events
https://github.com/huggingface/transformers/issues/16671
1,197,517,480
I_kwDOCUB6oc5HYKqo
16,671
ASR Pipeline: End of transcripts missing when chunking enabled
{ "login": "nkaenzig-aifund", "id": 93617195, "node_id": "U_kgDOBZR8Kw", "avatar_url": "https://avatars.githubusercontent.com/u/93617195?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nkaenzig-aifund", "html_url": "https://github.com/nkaenzig-aifund", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "Hey @nkaenzig-aifund,\r\n\r\nThanks a lot for the reproducible bug report! I'm looking into it and will try to submit a fix today. cc @Narsil \r\n\r\n```python\r\n#!/usr/bin/env python3\r\nfrom transformers import pipeline\r\n\r\npipe = pipeline(model='facebook/wav2vec2-large-960h-lv60-self')\r\n\r\nresult_1 = pip...
1,649
1,649
1,649
NONE
null
## Environment info - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.10.0+cu111 (False) - Tensorflow version (GPU?): 2.8.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16671/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/16671/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16670
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16670/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16670/comments
https://api.github.com/repos/huggingface/transformers/issues/16670/events
https://github.com/huggingface/transformers/issues/16670
1,197,457,920
I_kwDOCUB6oc5HX8IA
16,670
Bug in Marian model (or tokenizer) in transformers==4.18.0
{ "login": "MorenoLaQuatra", "id": 10062811, "node_id": "MDQ6VXNlcjEwMDYyODEx", "avatar_url": "https://avatars.githubusercontent.com/u/10062811?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MorenoLaQuatra", "html_url": "https://github.com/MorenoLaQuatra", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Good catch! Fix is here #16700", "Thank you!" ]
1,649
1,649
1,649
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.18.0 - Platform: Google Colab / Linux & Conda - Python version: 3.7.13 - PyTorch version (GPU?): 1.10.0 -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16670/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16670/timeline
completed
null
null