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/16263
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16263/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16263/comments
https://api.github.com/repos/huggingface/transformers/issues/16263/events
https://github.com/huggingface/transformers/pull/16263
1,173,975,482
PR_kwDOCUB6oc40rRjL
16,263
Add type annotations of config for vision models
{ "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...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16263). All of your documentation changes will be reflected on that endpoint." ]
1,647
1,648
1,648
CONTRIBUTOR
null
I added type annotations for config parameters for Beit, ViT and Deit models at PyTorc. Original issue https://github.com/huggingface/transformers/issues/16059 @Rocketknight1 Just completing the #16151 as describe in #16251
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16263/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16263/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16263", "html_url": "https://github.com/huggingface/transformers/pull/16263", "diff_url": "https://github.com/huggingface/transformers/pull/16263.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16263.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16262
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16262/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16262/comments
https://api.github.com/repos/huggingface/transformers/issues/16262/events
https://github.com/huggingface/transformers/issues/16262
1,173,949,903
I_kwDOCUB6oc5F-Q3P
16,262
Do you fine-tunde both encoder and decoder
{ "login": "rafikg", "id": 13174842, "node_id": "MDQ6VXNlcjEzMTc0ODQy", "avatar_url": "https://avatars.githubusercontent.com/u/13174842?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rafikg", "html_url": "https://github.com/rafikg", "followers_url": "https://api.github.com/users/rafikg/fo...
[]
closed
false
null
[]
[ "@rafikg Could you elaborate the question in a bit more detail? Maybe with a minimal code example that demonstrates the issue/question. In particular, could you check what are the keys in `model_inputs` at this line (when you run your example code)\r\n\r\nhttps://github.com/huggingface/transformers/blob/277fc2cc782...
1,647
1,650
1,650
NONE
null
Hi @patil-suraj https://github.com/huggingface/transformers/blob/277fc2cc782d8c5c28ec399b1ee2fc1c6aed7b6e/examples/pytorch/summarization/run_summarization.py#L500 I am not sure why the `input_models` does not take `decoder_attention_mask` into account ? **debugging:** just print the `train_dataset` after ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16262/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16262/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16261
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16261/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16261/comments
https://api.github.com/repos/huggingface/transformers/issues/16261/events
https://github.com/huggingface/transformers/pull/16261
1,173,883,555
PR_kwDOCUB6oc40rBTd
16,261
GPT2 TensorFlow Type Hints
{ "login": "cakiki", "id": 3664563, "node_id": "MDQ6VXNlcjM2NjQ1NjM=", "avatar_url": "https://avatars.githubusercontent.com/u/3664563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cakiki", "html_url": "https://github.com/cakiki", "followers_url": "https://api.github.com/users/cakiki/foll...
[]
closed
false
null
[]
[ "Potential issues (not very sure about those): \r\n- Pytorch GPT2 has a `GPT2ForTokenClassification` class with no equivalent in the TF version.\r\n- TF GPT2 uses `past` for the parameter that other models (e.g. pytorch gpt2 and tf roberta) call `past_key_values`", "_The documentation is not available anymore as...
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? Add type hints to the TF GPT2 model Also remove two unused imports that were breaking `make fixup` <!-- Remove if not applicable --> Addresses https://github.com/huggingface/transformers/issues/16059 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dis...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16261/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16261/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16261", "html_url": "https://github.com/huggingface/transformers/pull/16261", "diff_url": "https://github.com/huggingface/transformers/pull/16261.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16261.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16260
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16260/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16260/comments
https://api.github.com/repos/huggingface/transformers/issues/16260/events
https://github.com/huggingface/transformers/pull/16260
1,173,864,269
PR_kwDOCUB6oc40q9Nz
16,260
TF - update (vision_)encoder_decoder past variable
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,648
1,647
MEMBER
null
# What does this PR do? I missed these 2 in the `past` refactor PR (https://github.com/huggingface/transformers/pull/15944). It reverts the error from as mentioned here (https://github.com/huggingface/transformers/pull/16230) to its previous form, as tracked here (https://github.com/huggingface/transformers/issues/1...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16260/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16260/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16260", "html_url": "https://github.com/huggingface/transformers/pull/16260", "diff_url": "https://github.com/huggingface/transformers/pull/16260.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16260.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16259
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16259/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16259/comments
https://api.github.com/repos/huggingface/transformers/issues/16259/events
https://github.com/huggingface/transformers/pull/16259
1,173,816,737
PR_kwDOCUB6oc40qzGI
16,259
[WIP] add `has_attentions` as done in PyTorch 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._", "So I will merge as it is, and work in a follow up PR to use `has_attentions` to other (TF) test methods like `test_model_outputs_equivalence` etc." ]
1,647
1,647
1,647
COLLABORATOR
null
# What does this PR do? My original intention is to clean up `TFModelTesterMixin.test_pt_tf_model_equivalence`. This is done in this first commit. Would like to hear from @sgugger to see if it is better to apply the same change found in #15909 here.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16259/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16259/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16259", "html_url": "https://github.com/huggingface/transformers/pull/16259", "diff_url": "https://github.com/huggingface/transformers/pull/16259.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16259.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16258
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16258/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16258/comments
https://api.github.com/repos/huggingface/transformers/issues/16258/events
https://github.com/huggingface/transformers/pull/16258
1,173,809,547
PR_kwDOCUB6oc40qxlX
16,258
Update flaubert with TF decorator
{ "login": "Tegzes", "id": 48134725, "node_id": "MDQ6VXNlcjQ4MTM0NzI1", "avatar_url": "https://avatars.githubusercontent.com/u/48134725?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Tegzes", "html_url": "https://github.com/Tegzes", "followers_url": "https://api.github.com/users/Tegzes/fo...
[]
closed
false
null
[]
[ "Report for the pytest run:\r\n\r\n```\r\nRUN_SLOW=1 pytest -vv tests/flaubert/test_modeling_tf_flaubert.py\r\n\r\n========================================================================================= test session starts =========================================================================================\r...
1,647
1,647
1,647
CONTRIBUTOR
null
Unpacks TF model inputs through a decorator, improving code clarity for the FlauBERT model. Linked to issue #16051 @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16258/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16258/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16258", "html_url": "https://github.com/huggingface/transformers/pull/16258", "diff_url": "https://github.com/huggingface/transformers/pull/16258.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16258.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16257
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16257/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16257/comments
https://api.github.com/repos/huggingface/transformers/issues/16257/events
https://github.com/huggingface/transformers/pull/16257
1,173,780,369
PR_kwDOCUB6oc40qrd-
16,257
Added type hints for PyTorch T5 model
{ "login": "yhl48", "id": 25232361, "node_id": "MDQ6VXNlcjI1MjMyMzYx", "avatar_url": "https://avatars.githubusercontent.com/u/25232361?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yhl48", "html_url": "https://github.com/yhl48", "followers_url": "https://api.github.com/users/yhl48/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? Adds type hints for PyTorch T5 model. See #16059. @Rocketknight1
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16257/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16257/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16257", "html_url": "https://github.com/huggingface/transformers/pull/16257", "diff_url": "https://github.com/huggingface/transformers/pull/16257.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16257.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16256
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16256/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16256/comments
https://api.github.com/repos/huggingface/transformers/issues/16256/events
https://github.com/huggingface/transformers/issues/16256
1,173,769,481
I_kwDOCUB6oc5F9k0J
16,256
Cannot replicate the scores from the pipeline
{ "login": "DanieleBarreca", "id": 7959223, "node_id": "MDQ6VXNlcjc5NTkyMjM=", "avatar_url": "https://avatars.githubusercontent.com/u/7959223?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DanieleBarreca", "html_url": "https://github.com/DanieleBarreca", "followers_url": "https://api.gith...
[]
closed
false
null
[]
[ "cc @Narsil ", "Hi @DanieleBarreca ,\r\n\r\nCan you try with `hypothesis_template` as a variable, I think that's the issue.\r\n\r\n@LysandreJik , We're very tolerant on arguments, what do you think about raising errors on pipelines that do not accept `*kwargs` when the passed argument is not understood (would pre...
1,647
1,647
1,647
NONE
null
I am trying to build a custom function that replicates the transfomers' pipeline in order to optimize runtimes for the roberta model, like in [this section of the documentation](https://huggingface.co/joeddav/xlm-roberta-large-xnli#with-manual-pytorch). The blueprint to write my custom function is the [ZeroShotClass...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16256/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16256/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16255
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16255/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16255/comments
https://api.github.com/repos/huggingface/transformers/issues/16255/events
https://github.com/huggingface/transformers/pull/16255
1,173,742,411
PR_kwDOCUB6oc40qjYX
16,255
Add TF ViT MAE
{ "login": "sayakpaul", "id": 22957388, "node_id": "MDQ6VXNlcjIyOTU3Mzg4", "avatar_url": "https://avatars.githubusercontent.com/u/22957388?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sayakpaul", "html_url": "https://github.com/sayakpaul", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "I just have a quick look and left a comment.\r\n\r\nI feel strange that there are style changes like `omega = 1.0 / 10000 ** omega # (D/2,)`. Do you have a previous version of `black`?\r\n\r\nI thought you already updated the version (during your work on `TFConvNext`), via\r\n\r\n```\r\npip install -e .[quality]\r...
1,647
1,648
1,648
MEMBER
null
This PR adds the MAE [1] model in TensorFlow. It was developed by @arig23498 and myself. Fun facts about this PR: * Probably the third pure vision model in TensorFlow in `transformers`. **References**: [1] [Masked Autoencoders Are Scalable Vision Learners](https://arxiv.org/abs/2111.06377) **Update** ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16255/reactions", "total_count": 4, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 3, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16255/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16255", "html_url": "https://github.com/huggingface/transformers/pull/16255", "diff_url": "https://github.com/huggingface/transformers/pull/16255.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16255.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16254
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16254/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16254/comments
https://api.github.com/repos/huggingface/transformers/issues/16254/events
https://github.com/huggingface/transformers/pull/16254
1,173,646,469
PR_kwDOCUB6oc40qPOW
16,254
update jax version and re-enable some tests
{ "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,647
1,647
1,647
MEMBER
null
# What does this PR do? Update the `JAX` version in `setup.py` to not install `jax==0.3.2`. And also re-enable some skipped tests.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16254/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16254/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16254", "html_url": "https://github.com/huggingface/transformers/pull/16254", "diff_url": "https://github.com/huggingface/transformers/pull/16254.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16254.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16253
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16253/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16253/comments
https://api.github.com/repos/huggingface/transformers/issues/16253/events
https://github.com/huggingface/transformers/pull/16253
1,173,592,489
PR_kwDOCUB6oc40qD4e
16,253
Add Slack notification support for doc tests
{ "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._", "I will look this later today. Still learn this kind of things. If it is urgent, don't hesitate to go ahead though.", "LGTM (without looking the notification script in detail).\r\n\r\nJust 2 questions (due to my lack of expertise):\...
1,647
1,647
1,647
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/16253/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16253/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16253", "html_url": "https://github.com/huggingface/transformers/pull/16253", "diff_url": "https://github.com/huggingface/transformers/pull/16253.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16253.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16252
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16252/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16252/comments
https://api.github.com/repos/huggingface/transformers/issues/16252/events
https://github.com/huggingface/transformers/issues/16252
1,173,567,111
I_kwDOCUB6oc5F8zaH
16,252
Weird PanicException when trying to save tokenizer using `tokenizer.save_pretrained`
{ "login": "ashutoshsaboo", "id": 9900945, "node_id": "MDQ6VXNlcjk5MDA5NDU=", "avatar_url": "https://avatars.githubusercontent.com/u/9900945?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ashutoshsaboo", "html_url": "https://github.com/ashutoshsaboo", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "It looks like your issues comes from a problem with the fast tokenizer. A simple reproducer is:\r\n```py\r\nfrom transformers import AutoTokenizer\r\n\r\ntokenizer = AutoTokenizer.from_pretrained(\"YituTech/conv-bert-base\")\r\ntokenizer.save_pretrained(\"test-tok\")\r\n```", "Ohh, what should I do in that case ...
1,647
1,650
1,650
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.17.0 - Platform: Linux-4.14.252-131.483.amzn1.x86_64-x86_64-with-glibc2.9 - Python version: 3.6.13 - PyTor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16252/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16252/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16251
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16251/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16251/comments
https://api.github.com/repos/huggingface/transformers/issues/16251/events
https://github.com/huggingface/transformers/issues/16251
1,173,536,289
I_kwDOCUB6oc5F8r4h
16,251
ViT-mae missing parameter at comments of `copied from`
{ "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...
[]
closed
false
null
[]
[ "Hey,\r\n\r\nYeah you can add the `with ViT->ViTMAE` if you need to." ]
1,647
1,647
1,647
CONTRIBUTOR
null
### Who can help @NielsRogge ## Information As describe in #16151 When i was type annotating the ViT model, i get some problem when running `make fix-copies` for vit-mae. When i annotated the cofig parameter at ViT, and run `make fix-copies` the script fix at deit model (update the type annotation to Deit conf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16251/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16251/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16250
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16250/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16250/comments
https://api.github.com/repos/huggingface/transformers/issues/16250/events
https://github.com/huggingface/transformers/pull/16250
1,173,490,252
PR_kwDOCUB6oc40puT-
16,250
Aggressive PT/TF equivalence test 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._" ]
1,647
1,647
1,647
COLLABORATOR
null
# What does this PR do? Update `test_pt_tf_model_equivalence` in `test_modeling_common.py` to have the same logic in #15839.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16250/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16250/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16250", "html_url": "https://github.com/huggingface/transformers/pull/16250", "diff_url": "https://github.com/huggingface/transformers/pull/16250.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16250.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16249
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16249/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16249/comments
https://api.github.com/repos/huggingface/transformers/issues/16249/events
https://github.com/huggingface/transformers/issues/16249
1,173,449,848
I_kwDOCUB6oc5F8Wx4
16,249
is this a bug in TFTrainer.get_train_tfdataset?
{ "login": "TheHonestBob", "id": 58240629, "node_id": "MDQ6VXNlcjU4MjQwNjI5", "avatar_url": "https://avatars.githubusercontent.com/u/58240629?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TheHonestBob", "html_url": "https://github.com/TheHonestBob", "followers_url": "https://api.github.c...
[]
closed
false
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[ { "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.co...
[ "Hi @TheHonestBob! The `TFTrainer` class was deprecated a while ago, so it is likely that it fails under a few circumstances (and we don't have plans to maintain it).\r\n\r\nHave you tried using the native Keras API? Here are our docs for fine-tuning with Keras: https://huggingface.co/docs/transformers/master/en/tr...
1,647
1,647
1,647
NONE
null
my environment below: transformers==4.0.0 tensorflow-gpu==2.3.0 python==3.7 when I use TFTrainer(model, train_dataset, val_dataset), wether my dataset is tf.data.Dataset.from_generator or tf.data.TFRecordDataset, their dataset.cardinality() always -2, so in TFTrainer.get_train_tfdataset() func, self.num_train_exa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16249/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16249/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16248
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16248/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16248/comments
https://api.github.com/repos/huggingface/transformers/issues/16248/events
https://github.com/huggingface/transformers/issues/16248
1,173,313,272
I_kwDOCUB6oc5F71b4
16,248
NER at the Inference Time
{ "login": "ndenStanford", "id": 45029116, "node_id": "MDQ6VXNlcjQ1MDI5MTE2", "avatar_url": "https://avatars.githubusercontent.com/u/45029116?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ndenStanford", "html_url": "https://github.com/ndenStanford", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hey @ndenStanford !\r\nThanks for the issue but I think the [forum](https://discuss.huggingface.co/) would be the best place to ask such general questions. We use issues to report bugs and for feature request. ", "This issue has been automatically marked as stale because it has not had recent activity. If you th...
1,647
1,650
1,650
NONE
null
Apology in advance if this question might have already been asked. However, I have not been able to find a convincing answer or the optimum way to deal with this issue. To my understanding, NER makes a prediction at a token level. Since BERT is using a sub-word tokenizer, it is entirely possible that some part of t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16248/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16248/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16247
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16247/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16247/comments
https://api.github.com/repos/huggingface/transformers/issues/16247/events
https://github.com/huggingface/transformers/pull/16247
1,173,289,360
PR_kwDOCUB6oc40pHCa
16,247
Update XLM with TF decorator
{ "login": "louisowen6", "id": 53264414, "node_id": "MDQ6VXNlcjUzMjY0NDE0", "avatar_url": "https://avatars.githubusercontent.com/u/53264414?v=4", "gravatar_id": "", "url": "https://api.github.com/users/louisowen6", "html_url": "https://github.com/louisowen6", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "tests results\r\n\r\n```\r\nRUN_SLOW=1 py.test -vv tests/xlm/test_modeling_tf_xlm.py \r\n================================================================================== test session starts ===================================================================================\r\nplatform linux -- Python 3.8.12...
1,647
1,647
1,647
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/16247/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16247/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16247", "html_url": "https://github.com/huggingface/transformers/pull/16247", "diff_url": "https://github.com/huggingface/transformers/pull/16247.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16247.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16246
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16246/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16246/comments
https://api.github.com/repos/huggingface/transformers/issues/16246/events
https://github.com/huggingface/transformers/pull/16246
1,173,225,798
PR_kwDOCUB6oc40o7Fp
16,246
[Constrained Beam Search] Adding Notebook Example & Minor Typo Fix
{ "login": "cwkeam", "id": 8522953, "node_id": "MDQ6VXNlcjg1MjI5NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/8522953?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cwkeam", "html_url": "https://github.com/cwkeam", "followers_url": "https://api.github.com/users/cwkeam/foll...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "The current test fail is unrelated to the PR (cbs is separated from `sample_generate`):\r\n\r\n```\r\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\r\n=========================== short test summary info ====...
1,647
1,647
1,647
CONTRIBUTOR
null
# [CBS] Adding Notebook Example & Minor Typo Fix Very lightweight PR for: - a fix to a somewhat embarrassing copy-and-paste error I made in my initial PR - Thought it'd be nice if the notebook on `huggingface/blog` could be added to the list of Pytorch notebooks as others have done (both the Colab and SageMaker li...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16246/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16246/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16246", "html_url": "https://github.com/huggingface/transformers/pull/16246", "diff_url": "https://github.com/huggingface/transformers/pull/16246.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16246.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16245
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16245/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16245/comments
https://api.github.com/repos/huggingface/transformers/issues/16245/events
https://github.com/huggingface/transformers/issues/16245
1,173,139,750
I_kwDOCUB6oc5F7LEm
16,245
Load local dataset error
{ "login": "TXacs", "id": 60869411, "node_id": "MDQ6VXNlcjYwODY5NDEx", "avatar_url": "https://avatars.githubusercontent.com/u/60869411?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TXacs", "html_url": "https://github.com/TXacs", "followers_url": "https://api.github.com/users/TXacs/follow...
[]
closed
false
null
[]
[]
1,647
1,647
1,647
NONE
null
sorry
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16245/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16245/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16244
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16244/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16244/comments
https://api.github.com/repos/huggingface/transformers/issues/16244/events
https://github.com/huggingface/transformers/pull/16244
1,173,040,171
PR_kwDOCUB6oc40oV_F
16,244
Add missing type hints for PyTorch Longformer models
{ "login": "johnnygreco", "id": 10998105, "node_id": "MDQ6VXNlcjEwOTk4MTA1", "avatar_url": "https://avatars.githubusercontent.com/u/10998105?v=4", "gravatar_id": "", "url": "https://api.github.com/users/johnnygreco", "html_url": "https://github.com/johnnygreco", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,648
1,647
CONTRIBUTOR
null
# What does this PR do? - Adds missing type hints to the PyTorch Longformer model classes. - Issue: #16059 ## Tests / Checks - I ran `make fixup` before my final commit. - `RUN_SLOW=1 py.test -vv tests/longformer/test_modeling_longformer.py` ran without any failures. _This PR is part of the G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16244/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16244/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16244", "html_url": "https://github.com/huggingface/transformers/pull/16244", "diff_url": "https://github.com/huggingface/transformers/pull/16244.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16244.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16243
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16243/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16243/comments
https://api.github.com/repos/huggingface/transformers/issues/16243/events
https://github.com/huggingface/transformers/pull/16243
1,172,989,597
PR_kwDOCUB6oc40oLlH
16,243
Update troubleshoot with more content
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
MEMBER
null
This PR follows up on #16136 to include an `attention_mask` if user outputs are incorrect as a result of not masking the padding tokens. cc @patrickvonplaten @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16243/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16243/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16243", "html_url": "https://github.com/huggingface/transformers/pull/16243", "diff_url": "https://github.com/huggingface/transformers/pull/16243.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16243.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16242
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16242/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16242/comments
https://api.github.com/repos/huggingface/transformers/issues/16242/events
https://github.com/huggingface/transformers/pull/16242
1,172,985,032
PR_kwDOCUB6oc40oKiw
16,242
Add unpack_inputs decorator for ctrl
{ "login": "johko", "id": 2843485, "node_id": "MDQ6VXNlcjI4NDM0ODU=", "avatar_url": "https://avatars.githubusercontent.com/u/2843485?v=4", "gravatar_id": "", "url": "https://api.github.com/users/johko", "html_url": "https://github.com/johko", "followers_url": "https://api.github.com/users/johko/follower...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Going to run the slow tests locally, to confirm they pass", "Can confirm that they pass, merging 👍 " ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? Add the `unpack_inputs` decorator for `ctrl`. It also replaces the `past` parameters in models in and output by `past_key_values` as there was an irregularity in the naming that caused an error with the new input processing. <!-- Remove if not applicable --> Fixes # (issue) #16051 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16242/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16242/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16242", "html_url": "https://github.com/huggingface/transformers/pull/16242", "diff_url": "https://github.com/huggingface/transformers/pull/16242.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16242.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16241
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16241/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16241/comments
https://api.github.com/repos/huggingface/transformers/issues/16241/events
https://github.com/huggingface/transformers/pull/16241
1,172,925,837
PR_kwDOCUB6oc40n96S
16,241
[xtreme-s] Update Minds14 results
{ "login": "anton-l", "id": 26864830, "node_id": "MDQ6VXNlcjI2ODY0ODMw", "avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anton-l", "html_url": "https://github.com/anton-l", "followers_url": "https://api.github.com/users/anton-...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Let's maybe put the new eval code (to do per lang eval) directly into this here as well?", "@patrickvonplaten The per-language results are now reflected in the model card too: https://huggingface.co/anton-l/xtreme_s_xlsr_300m_minds...
1,647
1,647
1,647
MEMBER
null
# What does this PR do? Updated results for the XTREME-S experiments with the new Minds14 splits
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16241/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16241/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16241", "html_url": "https://github.com/huggingface/transformers/pull/16241", "diff_url": "https://github.com/huggingface/transformers/pull/16241.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16241.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16240
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16240/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16240/comments
https://api.github.com/repos/huggingface/transformers/issues/16240/events
https://github.com/huggingface/transformers/pull/16240
1,172,852,839
PR_kwDOCUB6oc40nul5
16,240
add type hints for gpt2 model classes (PyTorch)
{ "login": "KristijanArmeni", "id": 14061041, "node_id": "MDQ6VXNlcjE0MDYxMDQx", "avatar_url": "https://avatars.githubusercontent.com/u/14061041?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KristijanArmeni", "html_url": "https://github.com/KristijanArmeni", "followers_url": "https://api...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16240). All of your documentation changes will be reflected on that endpoint.", "@KristijanArmeni thanks for this PR! I think the types you chose look good. Running `make fixup` can be tricky, though - it depends on having ...
1,647
1,650
1,650
NONE
null
# What does this PR do? 1. This PR adds type hints for GPT2 as mentioned in #16059 (following docs and other PRs for GPT-like model classes). Notes: - I've specified tensor subtypes where I could, e.g. `Optional[torch.LongTensor]`, `Optional[torch.FloatTensor]` as opposed to `Optional[torch.Tensor]` (assuming th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16240/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16240/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16240", "html_url": "https://github.com/huggingface/transformers/pull/16240", "diff_url": "https://github.com/huggingface/transformers/pull/16240.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16240.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16239
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16239/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16239/comments
https://api.github.com/repos/huggingface/transformers/issues/16239/events
https://github.com/huggingface/transformers/pull/16239
1,172,836,969
PR_kwDOCUB6oc40nrRm
16,239
Make `add-new-model-like` work in an env without all frameworks
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
COLLABORATOR
null
# What does this PR do? This PR removes the need for a full dev installed when a user wants to run `add-new-model-like`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16239/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16239/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16239", "html_url": "https://github.com/huggingface/transformers/pull/16239", "diff_url": "https://github.com/huggingface/transformers/pull/16239.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16239.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16238
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16238/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16238/comments
https://api.github.com/repos/huggingface/transformers/issues/16238/events
https://github.com/huggingface/transformers/pull/16238
1,172,832,991
PR_kwDOCUB6oc40nqdQ
16,238
[Deepspeed] non-HF Trainer doc update
{ "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,647
1,647
1,647
CONTRIBUTOR
null
Adding some clarifications that `HfDeepSpeedConfig` is not needed unless Deepspeed ZeRO-3 is used w/o HF Trainer: based on this communication https://github.com/huggingface/transformers/issues/15399#issuecomment-1070364836 @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16238/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16238/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16238", "html_url": "https://github.com/huggingface/transformers/pull/16238", "diff_url": "https://github.com/huggingface/transformers/pull/16238.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16238.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16237
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16237/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16237/comments
https://api.github.com/repos/huggingface/transformers/issues/16237/events
https://github.com/huggingface/transformers/pull/16237
1,172,805,793
PR_kwDOCUB6oc40nmbr
16,237
Draft a guide with our code quirks for new models
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
COLLABORATOR
null
# What does this PR do? This PR adds a few indications on code styling for new model additions. I put the one that I could think of quickly, but there are probably more!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16237/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/16237/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16237", "html_url": "https://github.com/huggingface/transformers/pull/16237", "diff_url": "https://github.com/huggingface/transformers/pull/16237.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16237.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16236
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16236/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16236/comments
https://api.github.com/repos/huggingface/transformers/issues/16236/events
https://github.com/huggingface/transformers/pull/16236
1,172,751,968
PR_kwDOCUB6oc40ndmF
16,236
[FlaxSpeechEncoderDecoderModel] Skip from_encoder_decoder_pretrained
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16236). All of your documentation changes will be reflected on that endpoint." ]
1,647
1,647
1,647
MEMBER
null
# What does this PR do? Skip `test_encoder_decoder_model_from_encoder_decoder_pretrained` until this issue is: https://github.com/google/jax/issues/9941 cc @sanchit-gandhi @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16236/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16236/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16236", "html_url": "https://github.com/huggingface/transformers/pull/16236", "diff_url": "https://github.com/huggingface/transformers/pull/16236.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16236.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16235
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16235/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16235/comments
https://api.github.com/repos/huggingface/transformers/issues/16235/events
https://github.com/huggingface/transformers/issues/16235
1,172,662,606
I_kwDOCUB6oc5F5WlO
16,235
Enable the use of private models in example scripts using use_auth_token
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "cc @sgugger ", "Sure, I believe it's just a matter of passing the token in the right places :-)", "Great thanks @sgugger. Will work on a PR adding those in :)", "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 comm...
1,647
1,651
1,651
CONTRIBUTOR
null
# 🚀 Feature request Currently private models can be used with the examples scripts by setting the `use_auth_token argument` as `True` however this doesn't seem to be an option for private datasets. ## Motivation Enabling the use of private datasets using the example scripts ## Your contribution I'm happ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16235/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16235/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16234
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16234/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16234/comments
https://api.github.com/repos/huggingface/transformers/issues/16234/events
https://github.com/huggingface/transformers/issues/16234
1,172,617,844
I_kwDOCUB6oc5F5Lp0
16,234
Loading from AutoModel gives ValueError: You have to specify either decoder_input_ids or decoder_inputs_embeds
{ "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 problem here is that `AutoModel` does not load the full T5 model wiht a language head. One should use `AutoModelForSeq2SeqLM` inseatd:\r\n\r\n```py\r\nfrom transformers import AutoModelForSeq2SeqLM, AutoTokenizer \r\nmodel_name = \"castorini/t5-base-canard\" \r\n\r\nmodel = AutoModelForSeq2SeqLM.from_pretraine...
1,647
1,683
1,647
MEMBER
null
Executing the following code snippet states that ValueError: You have to specify either decoder_input_ids or decoder_inputs_embeds. ```py from transformers import AutoModel, AutoTokenizer model_name = "castorini/t5-base-canard" model = AutoModel.from_pretrained(model_name) tokenizer = AutoTokenizer.from_pret...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16234/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/16234/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16233
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16233/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16233/comments
https://api.github.com/repos/huggingface/transformers/issues/16233/events
https://github.com/huggingface/transformers/issues/16233
1,172,601,615
I_kwDOCUB6oc5F5HsP
16,233
How to pass args of generate() method via batch_decode
{ "login": "rafikg", "id": 13174842, "node_id": "MDQ6VXNlcjEzMTc0ODQy", "avatar_url": "https://avatars.githubusercontent.com/u/13174842?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rafikg", "html_url": "https://github.com/rafikg", "followers_url": "https://api.github.com/users/rafikg/fo...
[]
closed
false
null
[]
[ "Currently the seq2seq trainer doesn't support `num_return_sequence` argument for generation. \r\n\r\nYou might need to tweak it here:\r\nhttps://github.com/huggingface/transformers/blob/v4.17.0/src/transformers/trainer_seq2seq.py#L158-L162", "Thanks @qqaatw. Because batch_decode cotains **kwargs, I thought maybe...
1,647
1,647
1,647
NONE
null
I want to specify the generate params in the line below: ``` generate(tokenized_input.input_ids, max_length=64, no_repeat_ngram_size=2, early_stopping=True, num_bea...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16233/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16233/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16232
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16232/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16232/comments
https://api.github.com/repos/huggingface/transformers/issues/16232/events
https://github.com/huggingface/transformers/issues/16232
1,172,577,453
I_kwDOCUB6oc5F5Byt
16,232
A question about the cross-attention layer shape in encoder-decoder model
{ "login": "HongkuanZhang", "id": 26157431, "node_id": "MDQ6VXNlcjI2MTU3NDMx", "avatar_url": "https://avatars.githubusercontent.com/u/26157431?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HongkuanZhang", "html_url": "https://github.com/HongkuanZhang", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,647
1,647
1,647
NONE
null
I am trying to intialize a bert2bert model with bert-base-uncased as encoder and bert-large-uncased as decoder with the following codes: ``` from transformers import EncoderDecoderModel, BertTokenizer import torch tokenizer = BertTokenizer.from_pretrained("bert-base-uncased") model = EncoderDecoderModel.from_enc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16232/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16232/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16231
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16231/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16231/comments
https://api.github.com/repos/huggingface/transformers/issues/16231/events
https://github.com/huggingface/transformers/pull/16231
1,172,555,485
PR_kwDOCUB6oc40m7gf
16,231
fix(flax): generate with logits processor/warper
{ "login": "borisdayma", "id": 715491, "node_id": "MDQ6VXNlcjcxNTQ5MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/borisdayma", "html_url": "https://github.com/borisdayma", "followers_url": "https://api.github.com/users/b...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? This PR fixes an issue with flax generate method where the logits processor and warper were not being considered. <!-- 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 mak...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16231/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16231/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16231", "html_url": "https://github.com/huggingface/transformers/pull/16231", "diff_url": "https://github.com/huggingface/transformers/pull/16231.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16231.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16230
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16230/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16230/comments
https://api.github.com/repos/huggingface/transformers/issues/16230/events
https://github.com/huggingface/transformers/pull/16230
1,172,525,623
PR_kwDOCUB6oc40m1EG
16,230
Fix TFBert `past_key_values`
{ "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._", "Here is the code I used for this issue/PR\r\n\r\n```python\r\nfrom transformers import EncoderDecoderModel, AutoTokenizer, TFEncoderDecoderModel\r\ntokenizer = AutoTokenizer.from_pretrained(\"bert-base-uncased\")\r\nmodel = TFEncoder...
1,647
1,651
1,647
COLLABORATOR
null
# What does this PR do? Current `TFBertEncoderDecoderModelTest.test_bert2bert_summarization` on `master` will fail because `past_key_values` received by TF Bert is a tuple of 2 elements: - 1st element: it is just `encoder_hidden_states` - 2nd element: this is the same as the `past_key_values` in Pytorch versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16230/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16230/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16230", "html_url": "https://github.com/huggingface/transformers/pull/16230", "diff_url": "https://github.com/huggingface/transformers/pull/16230.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16230.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16229
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16229/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16229/comments
https://api.github.com/repos/huggingface/transformers/issues/16229/events
https://github.com/huggingface/transformers/pull/16229
1,172,478,866
PR_kwDOCUB6oc40mq7q
16,229
Translate installation.mdx to Spanish
{ "login": "lilianabs", "id": 9678118, "node_id": "MDQ6VXNlcjk2NzgxMTg=", "avatar_url": "https://avatars.githubusercontent.com/u/9678118?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lilianabs", "html_url": "https://github.com/lilianabs", "followers_url": "https://api.github.com/users/li...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks @lilianabs! 🤗", "@omarespejel all of the changes have been added, thank you! :) ", "Thank you @lilianabs! 🤗. @sgugger LGTM 👍 " ]
1,647
1,648
1,648
CONTRIBUTOR
null
# What does this PR do? Adds the translation of [installation.mdx](https://github.com/huggingface/transformers/blob/master/docs/source/installation.mdx) to Spanish. Fixes # [15947](https://github.com/huggingface/transformers/issues/15947) (issue) ## Before submitting - [✓] This PR fixes a typo or improves the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16229/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16229/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16229", "html_url": "https://github.com/huggingface/transformers/pull/16229", "diff_url": "https://github.com/huggingface/transformers/pull/16229.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16229.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16228
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16228/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16228/comments
https://api.github.com/repos/huggingface/transformers/issues/16228/events
https://github.com/huggingface/transformers/pull/16228
1,172,429,039
PR_kwDOCUB6oc40mgRI
16,228
TFLongformer: Add missing type hints and unpack inputs decorator
{ "login": "johnnygreco", "id": 10998105, "node_id": "MDQ6VXNlcjEwOTk4MTA1", "avatar_url": "https://avatars.githubusercontent.com/u/10998105?v=4", "gravatar_id": "", "url": "https://api.github.com/users/johnnygreco", "html_url": "https://github.com/johnnygreco", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Lol just realized I accidentally committed my changes using my work email address 🤦‍♂️", "One thing I note in the docstring changes is that you wrote `Numpy array` rather than `np.ndarray`, which might be causing our doc builder some confusion! Can you try changing that and seeing if we get a green light on the...
1,647
1,648
1,647
CONTRIBUTOR
null
# What does this PR do? 1. Adds missing type hints to the TF Longformer model classes. - Issue: #16059 - Note: I also added `Numpy array` as a possible argument type to parameters listed in `LONGFORMER_INPUTS_DOCSTRING`. 2. Unpacks TF Longformer model inputs using the `unpack_inputs` decorator...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16228/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16228/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16228", "html_url": "https://github.com/huggingface/transformers/pull/16228", "diff_url": "https://github.com/huggingface/transformers/pull/16228.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16228.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16227
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16227/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16227/comments
https://api.github.com/repos/huggingface/transformers/issues/16227/events
https://github.com/huggingface/transformers/pull/16227
1,172,344,826
PR_kwDOCUB6oc40mOh-
16,227
Fix Type Hint of Nan/Inf Logging Filter Arg
{ "login": "Sophylax", "id": 5386496, "node_id": "MDQ6VXNlcjUzODY0OTY=", "avatar_url": "https://avatars.githubusercontent.com/u/5386496?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sophylax", "html_url": "https://github.com/Sophylax", "followers_url": "https://api.github.com/users/Sophy...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16227). All of your documentation changes will be reflected on that endpoint." ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? Nan/Inf Logging Filter Training Argument is type hinted as `str` even though it looks like it is a `bool`. Documentation marks it as a `bool`, the default value is a `bool`, and all the usages that I could see are for a `bool`. We are doing some work involving dependency injection and rely...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16227/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16227/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16227", "html_url": "https://github.com/huggingface/transformers/pull/16227", "diff_url": "https://github.com/huggingface/transformers/pull/16227.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16227.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16226
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16226/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16226/comments
https://api.github.com/repos/huggingface/transformers/issues/16226/events
https://github.com/huggingface/transformers/pull/16226
1,172,322,122
PR_kwDOCUB6oc40mJuU
16,226
add unpack_inputs decorator for marian
{ "login": "johko", "id": 2843485, "node_id": "MDQ6VXNlcjI4NDM0ODU=", "avatar_url": "https://avatars.githubusercontent.com/u/2843485?v=4", "gravatar_id": "", "url": "https://api.github.com/users/johko", "html_url": "https://github.com/johko", "followers_url": "https://api.github.com/users/johko/follower...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "CI is not fully green, but I will merge -- the issue is separated from this PR, and is being tracked internally" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? Add the unpack_inputs decorator to marian model and remove unneeded code Fixes # (issue) ## 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/hugg...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16226/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16226/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16226", "html_url": "https://github.com/huggingface/transformers/pull/16226", "diff_url": "https://github.com/huggingface/transformers/pull/16226.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16226.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16225
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16225/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16225/comments
https://api.github.com/repos/huggingface/transformers/issues/16225/events
https://github.com/huggingface/transformers/issues/16225
1,172,296,451
I_kwDOCUB6oc5F39MD
16,225
Truncation Error is inconsistent between fast and standard (non-fast) tokenizers
{ "login": "dkajtoch", "id": 32985207, "node_id": "MDQ6VXNlcjMyOTg1MjA3", "avatar_url": "https://avatars.githubusercontent.com/u/32985207?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dkajtoch", "html_url": "https://github.com/dkajtoch", "followers_url": "https://api.github.com/users/dka...
[]
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,647
1,653
1,653
NONE
null
## Environment info - `transformers` version: 4.17.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version (GPU?): 1.10.0+cu111 (False) - Tensorflow version (GPU?): 2.8.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - Ja...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16225/reactions", "total_count": 8, "+1": 8, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16225/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16224
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16224/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16224/comments
https://api.github.com/repos/huggingface/transformers/issues/16224/events
https://github.com/huggingface/transformers/pull/16224
1,172,293,118
PR_kwDOCUB6oc40mDeq
16,224
Skip equivalence test for TransfoXL
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
MEMBER
null
Skips the equivalence test for TransfoXL as it does not have the `loss` or `losses` returned.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16224/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16224/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16224", "html_url": "https://github.com/huggingface/transformers/pull/16224", "diff_url": "https://github.com/huggingface/transformers/pull/16224.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16224.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16223
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16223/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16223/comments
https://api.github.com/repos/huggingface/transformers/issues/16223/events
https://github.com/huggingface/transformers/pull/16223
1,172,287,248
PR_kwDOCUB6oc40mCPH
16,223
Add type hints for XLM TensorFlow
{ "login": "elusenji", "id": 87298621, "node_id": "MDQ6VXNlcjg3Mjk4NjIx", "avatar_url": "https://avatars.githubusercontent.com/u/87298621?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elusenji", "html_url": "https://github.com/elusenji", "followers_url": "https://api.github.com/users/elu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16223). All of your documentation changes will be reflected on that endpoint." ]
1,647
1,649
1,649
CONTRIBUTOR
null
# What does this PR do? This PR adds type hints to the XLM model for TensorFlow. Models: - albert, bert, xlm: @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16223/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16223/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16223", "html_url": "https://github.com/huggingface/transformers/pull/16223", "diff_url": "https://github.com/huggingface/transformers/pull/16223.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16223.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16222
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16222/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16222/comments
https://api.github.com/repos/huggingface/transformers/issues/16222/events
https://github.com/huggingface/transformers/pull/16222
1,172,253,416
PR_kwDOCUB6oc40l7Af
16,222
Attention mask is important in the case of batching...
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? Fixes #16221 <!-- 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16222/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16222/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16222", "html_url": "https://github.com/huggingface/transformers/pull/16222", "diff_url": "https://github.com/huggingface/transformers/pull/16222.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16222.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16221
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16221/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16221/comments
https://api.github.com/repos/huggingface/transformers/issues/16221/events
https://github.com/huggingface/transformers/issues/16221
1,172,231,682
I_kwDOCUB6oc5F3tYC
16,221
token classification pipeline does not use attention mask, affects predictions
{ "login": "CallumMcMahon", "id": 29200149, "node_id": "MDQ6VXNlcjI5MjAwMTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/29200149?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CallumMcMahon", "html_url": "https://github.com/CallumMcMahon", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi @CallumMcMahon ,\r\n\r\nThanks you very much for reporting this.\r\n\r\nIt is indeed the case that somehow `return_attention_mask` is deliberately set to `False`. I tried to look back in history why it was there but I couldn't find a very good reason, so I removed it in the fix PR." ]
1,647
1,647
1,647
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.17.0 - Platform: Mac - Python version: 3.7.10 - PyTorch version (GPU?): 1.8.1 no GPU - Using GPU in scrip...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16221/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16221/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16220
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16220/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16220/comments
https://api.github.com/repos/huggingface/transformers/issues/16220/events
https://github.com/huggingface/transformers/pull/16220
1,172,213,504
PR_kwDOCUB6oc40lyj8
16,220
[Flax] remove jax.ops.index
{ "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._", "There seem to be some failing tests still :-) ", "The failing tests are not related to this PR.", "Hi, I am not very into the detail here, but curious about that if this implies from this version, `transformers` will only work wi...
1,647
1,647
1,647
MEMBER
null
# What does this PR do? Remove `jax.ops.index` as this method is removed in latest jax release `v0.3.2`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16220/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16220/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16220", "html_url": "https://github.com/huggingface/transformers/pull/16220", "diff_url": "https://github.com/huggingface/transformers/pull/16220.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16220.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16219
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16219/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16219/comments
https://api.github.com/repos/huggingface/transformers/issues/16219/events
https://github.com/huggingface/transformers/pull/16219
1,172,153,951
PR_kwDOCUB6oc40ll56
16,219
MaskFormer: fix device on test
{ "login": "FrancescoSaverioZuppichini", "id": 15908060, "node_id": "MDQ6VXNlcjE1OTA4MDYw", "avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FrancescoSaverioZuppichini", "html_url": "https://github.com/FrancescoSaverioZuppichini"...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? This PR fixes some failed tests in MaskFormer due to not setting `torch_device`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16219/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16219/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16219", "html_url": "https://github.com/huggingface/transformers/pull/16219", "diff_url": "https://github.com/huggingface/transformers/pull/16219.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16219.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16218
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16218/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16218/comments
https://api.github.com/repos/huggingface/transformers/issues/16218/events
https://github.com/huggingface/transformers/pull/16218
1,172,067,055
PR_kwDOCUB6oc40lTi7
16,218
[Tests] Fix DiT test
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? Fixes the DiT integration test by setting the appropriate device.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16218/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16218/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16218", "html_url": "https://github.com/huggingface/transformers/pull/16218", "diff_url": "https://github.com/huggingface/transformers/pull/16218.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16218.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16217
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16217/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16217/comments
https://api.github.com/repos/huggingface/transformers/issues/16217/events
https://github.com/huggingface/transformers/pull/16217
1,171,981,997
PR_kwDOCUB6oc40lBqS
16,217
Fix readmes
{ "login": "qqaatw", "id": 24835382, "node_id": "MDQ6VXNlcjI0ODM1Mzgy", "avatar_url": "https://avatars.githubusercontent.com/u/24835382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qqaatw", "html_url": "https://github.com/qqaatw", "followers_url": "https://api.github.com/users/qqaatw/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? Removes duplicate items. <!-- 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. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16217/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16217/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16217", "html_url": "https://github.com/huggingface/transformers/pull/16217", "diff_url": "https://github.com/huggingface/transformers/pull/16217.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16217.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16216
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16216/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16216/comments
https://api.github.com/repos/huggingface/transformers/issues/16216/events
https://github.com/huggingface/transformers/issues/16216
1,171,949,721
I_kwDOCUB6oc5F2oiZ
16,216
Question about `query_length` in modeling_t5.py
{ "login": "GeneZC", "id": 24239326, "node_id": "MDQ6VXNlcjI0MjM5MzI2", "avatar_url": "https://avatars.githubusercontent.com/u/24239326?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GeneZC", "html_url": "https://github.com/GeneZC", "followers_url": "https://api.github.com/users/GeneZC/fo...
[]
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,647
1,650
1,650
CONTRIBUTOR
null
https://github.com/huggingface/transformers/blob/0a057201a96565df29984d716f660fd8d634329a/src/transformers/models/t5/modeling_t5.py#L464 If the `past_key_value` is not None, the `query_length` induced from `SelfAttention` can be the length of `past_key_value` + `hidden_states`, which is actually wrong. Luckily, t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16216/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16216/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16215
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16215/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16215/comments
https://api.github.com/repos/huggingface/transformers/issues/16215/events
https://github.com/huggingface/transformers/pull/16215
1,171,918,599
PR_kwDOCUB6oc40k0i6
16,215
Framework split for Spanish version of doc quicktour.mdx
{ "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._", "Sorry for those mistakes! My IDE was formatting MD-style files funny." ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? This PR applies the framework split performed in PR #16030 to the Spanish version of quicktour.mdx.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16215/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16215/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16215", "html_url": "https://github.com/huggingface/transformers/pull/16215", "diff_url": "https://github.com/huggingface/transformers/pull/16215.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16215.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16214
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16214/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16214/comments
https://api.github.com/repos/huggingface/transformers/issues/16214/events
https://github.com/huggingface/transformers/pull/16214
1,171,849,764
PR_kwDOCUB6oc40kmdw
16,214
Add type hints to xlnet
{ "login": "mowafess", "id": 36759376, "node_id": "MDQ6VXNlcjM2NzU5Mzc2", "avatar_url": "https://avatars.githubusercontent.com/u/36759376?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mowafess", "html_url": "https://github.com/mowafess", "followers_url": "https://api.github.com/users/mow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? I added type annotations for xlnet (PT and TF) as described in [#16059] <!-- 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 refle...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16214/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16214/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16214", "html_url": "https://github.com/huggingface/transformers/pull/16214", "diff_url": "https://github.com/huggingface/transformers/pull/16214.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16214.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16213
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16213/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16213/comments
https://api.github.com/repos/huggingface/transformers/issues/16213/events
https://github.com/huggingface/transformers/issues/16213
1,171,699,682
I_kwDOCUB6oc5F1rfi
16,213
ValueError: HFArgumentParser on running run_glue.py
{ "login": "vr25", "id": 22553367, "node_id": "MDQ6VXNlcjIyNTUzMzY3", "avatar_url": "https://avatars.githubusercontent.com/u/22553367?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vr25", "html_url": "https://github.com/vr25", "followers_url": "https://api.github.com/users/vr25/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,647
1,650
1,650
NONE
null
Hi, I get the following error with HFArgumentParser on running run_glue.py. Any help would be appreciated. Thanks! ## 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`...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16213/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16213/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16212
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16212/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16212/comments
https://api.github.com/repos/huggingface/transformers/issues/16212/events
https://github.com/huggingface/transformers/pull/16212
1,171,627,083
PR_kwDOCUB6oc40kDeV
16,212
Adding Unpack Decorator For DPR model
{ "login": "forsc", "id": 26080186, "node_id": "MDQ6VXNlcjI2MDgwMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/26080186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/forsc", "html_url": "https://github.com/forsc", "followers_url": "https://api.github.com/users/forsc/follow...
[]
closed
false
null
[]
[ "` ========================================================================================== test session starts ==========================================================================================platform linux -- Python 3.8.10, pytest-7.1.0, pluggy-1.0.0 -- /usr/bin/python3\r\ncachedir: .pytest_cache\r\nhy...
1,647
1,647
1,647
CONTRIBUTOR
null
## What does this PR do? Unpacks TF model inputs through a decorator, Sepcfically for DPR. In response to #16051 ## 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/huggi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16212/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16212/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16212", "html_url": "https://github.com/huggingface/transformers/pull/16212", "diff_url": "https://github.com/huggingface/transformers/pull/16212.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16212.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16211
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16211/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16211/comments
https://api.github.com/repos/huggingface/transformers/issues/16211/events
https://github.com/huggingface/transformers/issues/16211
1,171,526,561
I_kwDOCUB6oc5F1BOh
16,211
SegFormer Quantized Model (Int8) not loading weights properly.
{ "login": "TimbusCalin", "id": 23454613, "node_id": "MDQ6VXNlcjIzNDU0NjEz", "avatar_url": "https://avatars.githubusercontent.com/u/23454613?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TimbusCalin", "html_url": "https://github.com/TimbusCalin", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Quantized (only background predicted) : \r\n![quantized](https://user-images.githubusercontent.com/23454613/158686845-804e594a-b874-43d1-a52c-d8b3f87f4d11.png)\r\n\r\n", "Initial model:\r\n![normal](https://user-images.githubusercontent.com/23454613/158686978-01e29eae-8efd-4b71-897a-6802c7a773e7.png)\r\n\r\n", ...
1,647
1,650
1,650
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.2 - Platform: Windows 11/Ubuntu 20.04 - Python version: 3.7 - PyTorch version (GPU?): 1.10.2+cu113 - T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16211/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16211/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16210
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16210/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16210/comments
https://api.github.com/repos/huggingface/transformers/issues/16210/events
https://github.com/huggingface/transformers/issues/16210
1,171,470,347
I_kwDOCUB6oc5F0zgL
16,210
Using pooler/hidden states output of an AutoModel vs. XForSequenceClassification for training another classifier?
{ "login": "41241241241", "id": 83098070, "node_id": "MDQ6VXNlcjgzMDk4MDcw", "avatar_url": "https://avatars.githubusercontent.com/u/83098070?v=4", "gravatar_id": "", "url": "https://api.github.com/users/41241241241", "html_url": "https://github.com/41241241241", "followers_url": "https://api.github.com/...
[]
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,647
1,651
1,651
NONE
null
I have a finetuned RobertaForSequenceClassification model that I have already trained and saved to disk. I now want to load it, and instead of using it for classification tasks, extract the embeddings it generates and outputs, or "pooled/pooler output". From my understanding, I can load the model using X.fromPretrained...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16210/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16210/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16209
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16209/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16209/comments
https://api.github.com/repos/huggingface/transformers/issues/16209/events
https://github.com/huggingface/transformers/pull/16209
1,171,445,096
PR_kwDOCUB6oc40jdhd
16,209
Fix reproducibility in Training for PyTorch 1.11
{ "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,647
1,647
1,647
COLLABORATOR
null
# What does this PR do? It used to be that PyTorch called just one random operation in the `RandomSampler` code, so to ensure reproducibility, we only had to get the first batch of a dataloader to have its generator RNG be in the same state as if we had done the whole epoch. Well not anymore... Introducing PyTorc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16209/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16209/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16209", "html_url": "https://github.com/huggingface/transformers/pull/16209", "diff_url": "https://github.com/huggingface/transformers/pull/16209.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16209.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16208
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16208/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16208/comments
https://api.github.com/repos/huggingface/transformers/issues/16208/events
https://github.com/huggingface/transformers/pull/16208
1,171,359,128
PR_kwDOCUB6oc40jOtH
16,208
Fix typos in docstrings of data_collator.py
{ "login": "daysm", "id": 7551272, "node_id": "MDQ6VXNlcjc1NTEyNzI=", "avatar_url": "https://avatars.githubusercontent.com/u/7551272?v=4", "gravatar_id": "", "url": "https://api.github.com/users/daysm", "html_url": "https://github.com/daysm", "followers_url": "https://api.github.com/users/daysm/follower...
[]
closed
false
null
[]
[]
1,647
1,647
1,647
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/16208/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16208/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16208", "html_url": "https://github.com/huggingface/transformers/pull/16208", "diff_url": "https://github.com/huggingface/transformers/pull/16208.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16208.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16207
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16207/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16207/comments
https://api.github.com/repos/huggingface/transformers/issues/16207/events
https://github.com/huggingface/transformers/pull/16207
1,171,296,470
PR_kwDOCUB6oc40jBac
16,207
rembert/splinter (torch) type annotations
{ "login": "jacobdineen", "id": 54680234, "node_id": "MDQ6VXNlcjU0NjgwMjM0", "avatar_url": "https://avatars.githubusercontent.com/u/54680234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jacobdineen", "html_url": "https://github.com/jacobdineen", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "@Rocketknight1 this passed tests - Think I was missing an Optional typing import on Splinter.\r\nNo build on PR though", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16207). All of your documentation changes will be reflected on that endpoint.", "@Rocketknight1 Rem...
1,647
1,647
1,647
CONTRIBUTOR
null
#16059 Type annotations for Rembert & Splinter (Torch) and copies
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16207/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16207/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16207", "html_url": "https://github.com/huggingface/transformers/pull/16207", "diff_url": "https://github.com/huggingface/transformers/pull/16207.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16207.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16206
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16206/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16206/comments
https://api.github.com/repos/huggingface/transformers/issues/16206/events
https://github.com/huggingface/transformers/pull/16206
1,171,263,187
PR_kwDOCUB6oc40i6Uu
16,206
Fix generation min length
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16206). All of your documentation changes will be reflected on that endpoint.", "> LGTM.\r\n> \r\n> If I understand correctly we were almost always adding the min_length logits processor even though it's not needed when min...
1,647
1,647
1,647
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/16206/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16206/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16206", "html_url": "https://github.com/huggingface/transformers/pull/16206", "diff_url": "https://github.com/huggingface/transformers/pull/16206.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16206.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16205
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16205/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16205/comments
https://api.github.com/repos/huggingface/transformers/issues/16205/events
https://github.com/huggingface/transformers/issues/16205
1,171,262,535
I_kwDOCUB6oc5F0AxH
16,205
Clinical longformer - IndexError: index out of range in self
{ "login": "akashindani", "id": 45720833, "node_id": "MDQ6VXNlcjQ1NzIwODMz", "avatar_url": "https://avatars.githubusercontent.com/u/45720833?v=4", "gravatar_id": "", "url": "https://api.github.com/users/akashindani", "html_url": "https://github.com/akashindani", "followers_url": "https://api.github.com/...
[]
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,647
1,650
1,650
NONE
null
**Description:** While using clinical Longformer (AutoModelForSequenceClassification.from_pretrained("yikuan8/Clinical-Longformer", num_labels=3)) and its tokenizer (AutoTokenizer.from_pretrained("yikuan8/Clinical-Longformer")), I am running into the "IndexError: index out of range in self" error. **Source code:**...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16205/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16205/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16204
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16204/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16204/comments
https://api.github.com/repos/huggingface/transformers/issues/16204/events
https://github.com/huggingface/transformers/pull/16204
1,171,254,294
PR_kwDOCUB6oc40i4a0
16,204
Doctests - reporting tool
{ "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,647
1,647
1,647
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/16204/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16204/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16204", "html_url": "https://github.com/huggingface/transformers/pull/16204", "diff_url": "https://github.com/huggingface/transformers/pull/16204.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16204.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16203
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16203/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16203/comments
https://api.github.com/repos/huggingface/transformers/issues/16203/events
https://github.com/huggingface/transformers/issues/16203
1,171,234,440
I_kwDOCUB6oc5Fz56I
16,203
Training MLM model XLM Roberta large on google machine specs not fast
{ "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
[]
[ "You can use the gradient accumulation step. You will find it in the argument by running your script xx.py --help. Also, your GPU is A100 so I think you can use the flag bf16 which is designed for amber GPUs like A100 and 3090. Why do you don't use fairseq? it has a max update argument which you can adjust to fit a...
1,647
1,650
1,650
NONE
null
I am fine tuning masked language model from `XLM Roberta large` on google machine specs. I made couple of experiments and was strange to see few results. ``` "a2-highgpu-4g" ,accelerator_count=4, accelerator_type="NVIDIA_TESLA_A100" on 4,12,672 data batch size 4 Running ( 4 data*4 GPU=16 data points) "a2-highgp...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16203/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16203/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16202
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16202/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16202/comments
https://api.github.com/repos/huggingface/transformers/issues/16202/events
https://github.com/huggingface/transformers/pull/16202
1,171,141,405
PR_kwDOCUB6oc40igIG
16,202
TF: add beam search tests
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,648
1,647
MEMBER
null
# What does this PR do? Adds `generate()` beam search tests, in advance of the beam search refactor.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16202/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/16202/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16202", "html_url": "https://github.com/huggingface/transformers/pull/16202", "diff_url": "https://github.com/huggingface/transformers/pull/16202.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16202.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16201
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16201/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16201/comments
https://api.github.com/repos/huggingface/transformers/issues/16201/events
https://github.com/huggingface/transformers/pull/16201
1,171,101,112
PR_kwDOCUB6oc40iXjc
16,201
VAN: update modules names
{ "login": "FrancescoSaverioZuppichini", "id": 15908060, "node_id": "MDQ6VXNlcjE1OTA4MDYw", "avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FrancescoSaverioZuppichini", "html_url": "https://github.com/FrancescoSaverioZuppichini"...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? This PR updates VAN modules' names to follow our convention and use more extensively the `Config` ## TODO - [x] reupload weights
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16201/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16201/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16201", "html_url": "https://github.com/huggingface/transformers/pull/16201", "diff_url": "https://github.com/huggingface/transformers/pull/16201.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16201.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16200
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16200/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16200/comments
https://api.github.com/repos/huggingface/transformers/issues/16200/events
https://github.com/huggingface/transformers/pull/16200
1,171,091,482
PR_kwDOCUB6oc40iVfI
16,200
Added type hints for Pytorch Marian calls
{ "login": "clefourrier", "id": 22726840, "node_id": "MDQ6VXNlcjIyNzI2ODQw", "avatar_url": "https://avatars.githubusercontent.com/u/22726840?v=4", "gravatar_id": "", "url": "https://api.github.com/users/clefourrier", "html_url": "https://github.com/clefourrier", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@patil-suraj Hm, do I need to change the BART too for consistency? \r\n```\r\nsrc/transformers/models/marian/modeling_marian.py: copy does not match models.bart.modeling_bart.BartAttention at line 144\r\nsrc/transformers/models/mari...
1,647
1,647
1,647
MEMBER
null
As the title suggests, this PR adds type hints to the PyTorch Marian calls. (#16059 ) @Rocketknight1
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16200/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16200/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16200", "html_url": "https://github.com/huggingface/transformers/pull/16200", "diff_url": "https://github.com/huggingface/transformers/pull/16200.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16200.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16199
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16199/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16199/comments
https://api.github.com/repos/huggingface/transformers/issues/16199/events
https://github.com/huggingface/transformers/pull/16199
1,171,074,324
PR_kwDOCUB6oc40iR1x
16,199
Add GLPN
{ "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._", "Ok I've addressed all comments. Waiting for the author to respond such that I can transfer the weights to his name." ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? This PR implements [GLPN](https://arxiv.org/abs/2201.07436), Global Local Path Networks, for state-of-the-art depth estimation (number 2 on paperswithcode for KITTI and NYUv2 benchmarks). To do: - [x] transfer weights to author's username - [x] add tests for GLPNFeatureExtractor - [x]...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16199/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16199/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16199", "html_url": "https://github.com/huggingface/transformers/pull/16199", "diff_url": "https://github.com/huggingface/transformers/pull/16199.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16199.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16198
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16198/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16198/comments
https://api.github.com/repos/huggingface/transformers/issues/16198/events
https://github.com/huggingface/transformers/pull/16198
1,171,061,856
PR_kwDOCUB6oc40iPNZ
16,198
Fix loading CLIPVisionConfig and CLIPTextConfig
{ "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,647
1,647
1,647
MEMBER
null
# What does this PR do? As described in #16185, there's a bug when loading `CLIPVisionModel` from a `CLIPModel` checkpoint. This is because the `CLIPVisionConfig` is not loaded correctly. And all the arguments use default values which correspond to the `openai/clip-vit-base-patch32` model, which results in shape m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16198/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16198/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16198", "html_url": "https://github.com/huggingface/transformers/pull/16198", "diff_url": "https://github.com/huggingface/transformers/pull/16198.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16198.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16197
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16197/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16197/comments
https://api.github.com/repos/huggingface/transformers/issues/16197/events
https://github.com/huggingface/transformers/pull/16197
1,171,057,629
PR_kwDOCUB6oc40iOU7
16,197
Fix-clip-configs
{ "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
[]
[]
1,647
1,647
1,647
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 with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16197/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16197/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16197", "html_url": "https://github.com/huggingface/transformers/pull/16197", "diff_url": "https://github.com/huggingface/transformers/pull/16197.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16197.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16196
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16196/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16196/comments
https://api.github.com/repos/huggingface/transformers/issues/16196/events
https://github.com/huggingface/transformers/pull/16196
1,171,050,528
PR_kwDOCUB6oc40iM0U
16,196
ResNet: update modules names
{ "login": "FrancescoSaverioZuppichini", "id": 15908060, "node_id": "MDQ6VXNlcjE1OTA4MDYw", "avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FrancescoSaverioZuppichini", "html_url": "https://github.com/FrancescoSaverioZuppichini"...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? This PR updates ResNet modules' names to follow our convention and use more extensively the `Config` ## TODO - [x] reupload weights
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16196/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16196/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16196", "html_url": "https://github.com/huggingface/transformers/pull/16196", "diff_url": "https://github.com/huggingface/transformers/pull/16196.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16196.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16195
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16195/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16195/comments
https://api.github.com/repos/huggingface/transformers/issues/16195/events
https://github.com/huggingface/transformers/issues/16195
1,171,036,545
I_kwDOCUB6oc5FzJmB
16,195
Gpt2 large for onnx exportation and int8 quantization
{ "login": "lucasjinreal", "id": 21303438, "node_id": "MDQ6VXNlcjIxMzAzNDM4", "avatar_url": "https://avatars.githubusercontent.com/u/21303438?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucasjinreal", "html_url": "https://github.com/lucasjinreal", "followers_url": "https://api.github.c...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
{ "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...
[ { "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...
[ "Hi @jinfagang as far as I know, the `transformers.onnx` package _should_ work for exporting large models. The only difference is that you'll typically see a number of additional files are created because ONNX uses Protobuf and this can only serialise files in 2GB chunks.\r\n\r\nIt would be helpful to have a reprod...
1,647
1,647
null
NONE
null
Hi, for model big as 7GB, does transformers support export to onnx?? Any tutorial about big model?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16195/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16195/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/16194
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16194/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16194/comments
https://api.github.com/repos/huggingface/transformers/issues/16194/events
https://github.com/huggingface/transformers/pull/16194
1,171,025,581
PR_kwDOCUB6oc40iHsO
16,194
clearer model variable naming: blenderbot_small
{ "login": "utkusaglm", "id": 58150504, "node_id": "MDQ6VXNlcjU4MTUwNTA0", "avatar_url": "https://avatars.githubusercontent.com/u/58150504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/utkusaglm", "html_url": "https://github.com/utkusaglm", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? clearer model variable naming: blenderbot_small <img width="1512" alt="Ekran Resmi 2022-03-16 16 27 40" src="https://user-images.githubusercontent.com/58150504/158600522-808954f1-9519-4a56-9a07-c3649faac819.png"> ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16194/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16194/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16194", "html_url": "https://github.com/huggingface/transformers/pull/16194", "diff_url": "https://github.com/huggingface/transformers/pull/16194.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16194.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16193
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16193/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16193/comments
https://api.github.com/repos/huggingface/transformers/issues/16193/events
https://github.com/huggingface/transformers/pull/16193
1,170,975,753
PR_kwDOCUB6oc40h9Cs
16,193
Minor fixes to XTREME-S
{ "login": "anton-l", "id": 26864830, "node_id": "MDQ6VXNlcjI2ODY0ODMw", "avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anton-l", "html_url": "https://github.com/anton-l", "followers_url": "https://api.github.com/users/anton-...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
MEMBER
null
# What does this PR do? Quick fixes to the xtreme-s example script (target columns and readme)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16193/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16193/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16193", "html_url": "https://github.com/huggingface/transformers/pull/16193", "diff_url": "https://github.com/huggingface/transformers/pull/16193.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16193.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16192
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16192/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16192/comments
https://api.github.com/repos/huggingface/transformers/issues/16192/events
https://github.com/huggingface/transformers/pull/16192
1,170,941,102
PR_kwDOCUB6oc40h1n6
16,192
clearer model variable naming: blenderbot
{ "login": "utkusaglm", "id": 58150504, "node_id": "MDQ6VXNlcjU4MTUwNTA0", "avatar_url": "https://avatars.githubusercontent.com/u/58150504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/utkusaglm", "html_url": "https://github.com/utkusaglm", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? clearer model variable naming: blenderbot <img width="1512" alt="Ekran Resmi 2022-03-16 15 12 18" src="https://user-images.githubusercontent.com/58150504/158587347-5934dc62-b07e-4fa1-b49a-5f3be4b0f250.png"> ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dis...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16192/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16192/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16192", "html_url": "https://github.com/huggingface/transformers/pull/16192", "diff_url": "https://github.com/huggingface/transformers/pull/16192.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16192.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16191
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16191/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16191/comments
https://api.github.com/repos/huggingface/transformers/issues/16191/events
https://github.com/huggingface/transformers/issues/16191
1,170,894,973
I_kwDOCUB6oc5FynB9
16,191
layoutlmv2 visual backbone pretrained on publaynet
{ "login": "gauravlochab", "id": 20882775, "node_id": "MDQ6VXNlcjIwODgyNzc1", "avatar_url": "https://avatars.githubusercontent.com/u/20882775?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gauravlochab", "html_url": "https://github.com/gauravlochab", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nThe LayoutLMv2 authors indeed leveraged a ResNeXT-FPN for the visual backbone. It was taken from this repo: https://github.com/hpanwar08/detectron2.\r\n\r\nHowever, we've just added the [Document Image Transformer (DiT)](https://huggingface.co/docs/transformers/master/en/model_doc/dit), which actually o...
1,647
1,675
1,647
NONE
null
@NielsRogge Amazing work thanks for sharing, Does layoutlmv2's visual backbone utilize ResNeXt-FPN trained on Publaynet as described in the paper? If so, could you please point out where the weights are used to initialize the model in the repo?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16191/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16191/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16190
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16190/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16190/comments
https://api.github.com/repos/huggingface/transformers/issues/16190/events
https://github.com/huggingface/transformers/issues/16190
1,170,822,564
I_kwDOCUB6oc5FyVWk
16,190
Initialized DETR backbone weights do not match with actual pretrained weights
{ "login": "univanxx", "id": 82705858, "node_id": "MDQ6VXNlcjgyNzA1ODU4", "avatar_url": "https://avatars.githubusercontent.com/u/82705858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/univanxx", "html_url": "https://github.com/univanxx", "followers_url": "https://api.github.com/users/uni...
[ { "id": 2392046359, "node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue", "name": "Good Second Issue", "color": "dd935a", "default": false, "description": "Issues that are more difficult to do than \"Good First...
open
false
{ "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...
[ { "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:...
[ "Hello again! Tagged @NielsRogge, maybe you can help? I tried by hand to track the moment when the weights of the backbone change and until [that moment](https://github.com/huggingface/transformers/blob/main/src/transformers/models/detr/modeling_detr.py#:~:text=apply%20final%20processing-,self.post_init(),-%23%20ta...
1,647
1,654
null
NONE
null
Hello everybody! My task is to initialize DETR Object Detection model with my own pretrained backbone (for example, ResNet-50). So, in Detr class (I took the code from [this Hugging Face tutorial](https://github.com/NielsRogge/Transformers-Tutorials/blob/master/DETR/Fine_tuning_DetrForObjectDetection_on_custom_data...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16190/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16190/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/16189
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16189/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16189/comments
https://api.github.com/repos/huggingface/transformers/issues/16189/events
https://github.com/huggingface/transformers/pull/16189
1,170,803,875
PR_kwDOCUB6oc40hYBq
16,189
Update a CI job step name
{ "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,647
1,647
1,647
COLLABORATOR
null
# What does this PR do? Update the step name from `Run all non-slow tests on GPU` to `Run all tests on GPU` for scheduled CI test run.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16189/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16189/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16189", "html_url": "https://github.com/huggingface/transformers/pull/16189", "diff_url": "https://github.com/huggingface/transformers/pull/16189.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16189.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16188
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16188/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16188/comments
https://api.github.com/repos/huggingface/transformers/issues/16188/events
https://github.com/huggingface/transformers/pull/16188
1,170,733,469
PR_kwDOCUB6oc40hJK2
16,188
RegNet
{ "login": "FrancescoSaverioZuppichini", "id": 15908060, "node_id": "MDQ6VXNlcjE1OTA4MDYw", "avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FrancescoSaverioZuppichini", "html_url": "https://github.com/FrancescoSaverioZuppichini"...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Updated the codebase to use `config` when is possible. I had to update `ResNetModel` as well to make `make fixup` happy :)", "Conversion script for the 10B regnet model added + needed changes inside `PretrainedModel._load_pretraine...
1,647
1,649
1,649
CONTRIBUTOR
null
# What does this PR do? This WIP PR adds [RegNet](https://arxiv.org/abs/2003.13678). Currently, the model can be used as follows ```python from transformers import RegNetConfig, RegNetForImageClassification import requests from io import BytesIO res = requests.get('https://github.com/huggingface/transforme...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16188/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16188/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16188", "html_url": "https://github.com/huggingface/transformers/pull/16188", "diff_url": "https://github.com/huggingface/transformers/pull/16188.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16188.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16187
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16187/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16187/comments
https://api.github.com/repos/huggingface/transformers/issues/16187/events
https://github.com/huggingface/transformers/pull/16187
1,170,667,220
PR_kwDOCUB6oc40g7Un
16,187
Fix `LayoutLMv2` tokenization docstrings
{ "login": "qqaatw", "id": 24835382, "node_id": "MDQ6VXNlcjI0ODM1Mzgy", "avatar_url": "https://avatars.githubusercontent.com/u/24835382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qqaatw", "html_url": "https://github.com/qqaatw", "followers_url": "https://api.github.com/users/qqaatw/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Will open a follow-up PR for `LayoutXLM` after accepted and 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 t...
1,647
1,650
1,650
CONTRIBUTOR
null
# What does this PR do? The tokenizers of `LayoutLMv2` don't accept `is_split_into_words` keyword for `__call__`. Thus, I created a dedicated kwargs docstring to replace the one in `src/transformers/tokenization_utils_base.py` being used. <!-- Congratulations! You've made it this far! You're not quite done yet t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16187/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16187/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16187", "html_url": "https://github.com/huggingface/transformers/pull/16187", "diff_url": "https://github.com/huggingface/transformers/pull/16187.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16187.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16186
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16186/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16186/comments
https://api.github.com/repos/huggingface/transformers/issues/16186/events
https://github.com/huggingface/transformers/issues/16186
1,170,618,091
I_kwDOCUB6oc5Fxjbr
16,186
Truncation when tokenizer does not have `max_length` defined
{ "login": "fdalvi", "id": 859719, "node_id": "MDQ6VXNlcjg1OTcxOQ==", "avatar_url": "https://avatars.githubusercontent.com/u/859719?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fdalvi", "html_url": "https://github.com/fdalvi", "followers_url": "https://api.github.com/users/fdalvi/follow...
[]
closed
false
null
[]
[ "Try this\r\n`tokenizer(sentence, truncation=True, max_length=512)`\r\n\r\n`model.config.max_position_embeddings` is the right way to see the max sequence length", "Sounds good, thanks for the confirmation!" ]
1,647
1,648
1,648
NONE
null
Hello, I'm currently writing some code using transformers, and have something similar to: ```python model = AutoModel.from_pretrained(model_name, output_hidden_states=True) tokenizer = AutoTokenizer.from_pretrained(tokenizer_name) ids = tokenizer.encode(sentence, truncation=True) ``` The issue I am facin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16186/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16186/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16185
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16185/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16185/comments
https://api.github.com/repos/huggingface/transformers/issues/16185/events
https://github.com/huggingface/transformers/issues/16185
1,170,572,255
I_kwDOCUB6oc5FxYPf
16,185
CLIPVisionModel errors on trying to load openai/clip-vit-base-patch16
{ "login": "minimaxir", "id": 2179708, "node_id": "MDQ6VXNlcjIxNzk3MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/2179708?v=4", "gravatar_id": "", "url": "https://api.github.com/users/minimaxir", "html_url": "https://github.com/minimaxir", "followers_url": "https://api.github.com/users/mi...
[]
closed
false
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "htt...
[ "Thank you for reporting this! Looking into it.", "Found the issue, `CLIPVisionConfig` does not correctly copy the vision arguments from the `CLIPConfig`. It uses the default values., which are defined for the patch32 model.\r\n\r\nA quick fix to get this working for now is to load `CLIPConfig`, retrieve the `vis...
1,647
1,647
1,647
NONE
null
`CLIPVisionModel` errors on trying to load [openai/clip-vit-base-patch16](https://huggingface.co/openai/clip-vit-base-patch16), which was added to HF (using `CLIPModel` for loading `patch16` as the documentation example for that repo works without error) It appears that the model is architected as the `patch32` conf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16185/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16185/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/16184
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16184/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16184/comments
https://api.github.com/repos/huggingface/transformers/issues/16184/events
https://github.com/huggingface/transformers/pull/16184
1,170,500,715
PR_kwDOCUB6oc40gYty
16,184
Translated version of model_sharing.mdx doc to spanish
{ "login": "Gerard-170", "id": 28499001, "node_id": "MDQ6VXNlcjI4NDk5MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/28499001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Gerard-170", "html_url": "https://github.com/Gerard-170", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks, @Gerard-170! I will review it during the week :)", "Hola @Gerard-170! I just wanted to follow up with your PR 🤗! Please let me know if you need anything else.", "Hi! @omarespejel Well I was waiting the review. whether y...
1,647
1,652
1,652
CONTRIBUTOR
null
# What does this PR do? This PR is related to #15947 issue. This PR translates the model_sharing.mdx file to a spanish version of it and save it into transformers\docs\source_es path. This translation tries to keep the structure and ideas behind each statement, adding some words and translation where there's not s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16184/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16184/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16184", "html_url": "https://github.com/huggingface/transformers/pull/16184", "diff_url": "https://github.com/huggingface/transformers/pull/16184.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16184.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16183
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16183/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16183/comments
https://api.github.com/repos/huggingface/transformers/issues/16183/events
https://github.com/huggingface/transformers/pull/16183
1,170,389,450
PR_kwDOCUB6oc40gByG
16,183
[Xtreme-S] fix some namings
{ "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
[]
[ "@anton-l - merging this now already given the time constraint. Could you please revise this script tomorrow (make sure it works?)", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16183). All of your documentation changes will be reflected on that endpoint." ]
1,647
1,647
1,647
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/16183/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16183/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16183", "html_url": "https://github.com/huggingface/transformers/pull/16183", "diff_url": "https://github.com/huggingface/transformers/pull/16183.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16183.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16182
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16182/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16182/comments
https://api.github.com/repos/huggingface/transformers/issues/16182/events
https://github.com/huggingface/transformers/pull/16182
1,170,343,698
PR_kwDOCUB6oc40f4Rm
16,182
Fix links in guides
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
MEMBER
null
This PR fixes broken links in the how-to guides as a result of incorrect syntax.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16182/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16182/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16182", "html_url": "https://github.com/huggingface/transformers/pull/16182", "diff_url": "https://github.com/huggingface/transformers/pull/16182.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16182.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16181
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16181/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16181/comments
https://api.github.com/repos/huggingface/transformers/issues/16181/events
https://github.com/huggingface/transformers/pull/16181
1,170,296,844
PR_kwDOCUB6oc40fucL
16,181
unpack_input decorator for tf_convnext
{ "login": "johko", "id": 2843485, "node_id": "MDQ6VXNlcjI4NDM0ODU=", "avatar_url": "https://avatars.githubusercontent.com/u/2843485?v=4", "gravatar_id": "", "url": "https://api.github.com/users/johko", "html_url": "https://github.com/johko", "followers_url": "https://api.github.com/users/johko/follower...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Sure, no problem @gante . The tests ran without a problem." ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? Add the unpack_input decorator for convnext (see #16051) <!-- Remove if not applicable --> Fixes # (issue) ## 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](...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16181/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16181/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16181", "html_url": "https://github.com/huggingface/transformers/pull/16181", "diff_url": "https://github.com/huggingface/transformers/pull/16181.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16181.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16180
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16180/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16180/comments
https://api.github.com/repos/huggingface/transformers/issues/16180/events
https://github.com/huggingface/transformers/pull/16180
1,170,285,514
PR_kwDOCUB6oc40fsDN
16,180
Small fixes to the documentation
{ "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,647
1,647
1,647
COLLABORATOR
null
# What does this PR do? This PR fixes a few syntax errors in the doc.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16180/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16180/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16180", "html_url": "https://github.com/huggingface/transformers/pull/16180", "diff_url": "https://github.com/huggingface/transformers/pull/16180.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16180.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16179
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16179/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16179/comments
https://api.github.com/repos/huggingface/transformers/issues/16179/events
https://github.com/huggingface/transformers/pull/16179
1,170,209,307
PR_kwDOCUB6oc40fa9G
16,179
rembert type annotations and dependencies
{ "login": "jacobdineen", "id": 54680234, "node_id": "MDQ6VXNlcjU0NjgwMjM0", "avatar_url": "https://avatars.githubusercontent.com/u/54680234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jacobdineen", "html_url": "https://github.com/jacobdineen", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@Rocketknight1 Any idea on why this is failing?\r\nOnly made modifications to Bert and Rembert, with copies to the other seven models based on make fix-copies.\r\nModel template seems to fail due to a bad import of Optional, from wha...
1,647
1,647
1,647
CONTRIBUTOR
null
Added type annotations to Rembert per the guidelines. Modified Bert where copied from transformers.models.bert.modeling_bert #16059 @Rocketknight1
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16179/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16179/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16179", "html_url": "https://github.com/huggingface/transformers/pull/16179", "diff_url": "https://github.com/huggingface/transformers/pull/16179.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16179.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16178
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16178/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16178/comments
https://api.github.com/repos/huggingface/transformers/issues/16178/events
https://github.com/huggingface/transformers/pull/16178
1,170,150,826
PR_kwDOCUB6oc40fNig
16,178
clearer model variable naming: funnel
{ "login": "utkusaglm", "id": 58150504, "node_id": "MDQ6VXNlcjU4MTUwNTA0", "avatar_url": "https://avatars.githubusercontent.com/u/58150504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/utkusaglm", "html_url": "https://github.com/utkusaglm", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? clearer model variable naming: funnel <img width="1512" alt="Ekran Resmi 2022-03-15 22 59 16" src="https://user-images.githubusercontent.com/58150504/158461148-2dc37be1-e491-49ac-9d0d-a47ee5f2d8b4.png"> ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16178/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16178/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16178", "html_url": "https://github.com/huggingface/transformers/pull/16178", "diff_url": "https://github.com/huggingface/transformers/pull/16178.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16178.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16177
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16177/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16177/comments
https://api.github.com/repos/huggingface/transformers/issues/16177/events
https://github.com/huggingface/transformers/pull/16177
1,169,978,696
PR_kwDOCUB6oc40eoX3
16,177
type annotations for rembert w/ copies from bert (torch)
{ "login": "jacobdineen", "id": 54680234, "node_id": "MDQ6VXNlcjU0NjgwMjM0", "avatar_url": "https://avatars.githubusercontent.com/u/54680234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jacobdineen", "html_url": "https://github.com/jacobdineen", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Note make fixup unable to run in my environment w/ the error message:\r\n\r\n```\r\n/usr/bin/sh: -c: line 2: unexpected EOF while looking for matching `\"'\r\n/usr/bin/sh: -c: line 3: syntax error: unexpected end of file\r\nmake: *** [Makefile:10: modified_only_fixup] Error 2\r\n```\r\n", "_The documentation is ...
1,647
1,647
1,647
CONTRIBUTOR
null
Added type annotations to Rembert per the guidelines. Modified Bert where copied from transformers.models.bert.modeling_bert #16059 @Rocketknight1
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16177/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16177/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16177", "html_url": "https://github.com/huggingface/transformers/pull/16177", "diff_url": "https://github.com/huggingface/transformers/pull/16177.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16177.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16176
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16176/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16176/comments
https://api.github.com/repos/huggingface/transformers/issues/16176/events
https://github.com/huggingface/transformers/pull/16176
1,169,971,932
PR_kwDOCUB6oc40em-n
16,176
Translate accelerate.mdx from english to spanish
{ "login": "Sangohe", "id": 30384089, "node_id": "MDQ6VXNlcjMwMzg0MDg5", "avatar_url": "https://avatars.githubusercontent.com/u/30384089?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sangohe", "html_url": "https://github.com/Sangohe", "followers_url": "https://api.github.com/users/Sangoh...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks, @Sangohe! I will review it during the week :)", "> Muchas gracias! I left some simple comments.\r\n\r\nThank you for your comments. I've added all the suggestions and committed the new version", "Thanks again for the revi...
1,647
1,648
1,648
CONTRIBUTOR
null
# What does this PR do? Add the spanish version of [`accelerate.mdx`](https://github.com/huggingface/transformers/blob/master/docs/source/accelerate.mdx) to [`transformers/docs/source_es`](https://github.com/huggingface/transformers/tree/master/docs/source_es) <!-- Congratulations! You've made it this far! You'r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16176/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16176/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16176", "html_url": "https://github.com/huggingface/transformers/pull/16176", "diff_url": "https://github.com/huggingface/transformers/pull/16176.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16176.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16175
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16175/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16175/comments
https://api.github.com/repos/huggingface/transformers/issues/16175/events
https://github.com/huggingface/transformers/pull/16175
1,169,958,407
PR_kwDOCUB6oc40ekHy
16,175
Add type hints for Reformer PyTorch
{ "login": "Tegzes", "id": 48134725, "node_id": "MDQ6VXNlcjQ4MTM0NzI1", "avatar_url": "https://avatars.githubusercontent.com/u/48134725?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Tegzes", "html_url": "https://github.com/Tegzes", "followers_url": "https://api.github.com/users/Tegzes/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
Adding type hints for forward methods in user-facing class for Reformer model (PyTorch) as mentioned in #16059 @Rocketknight1
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16175/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16175/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16175", "html_url": "https://github.com/huggingface/transformers/pull/16175", "diff_url": "https://github.com/huggingface/transformers/pull/16175.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16175.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16174
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16174/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16174/comments
https://api.github.com/repos/huggingface/transformers/issues/16174/events
https://github.com/huggingface/transformers/pull/16174
1,169,957,687
PR_kwDOCUB6oc40ej-J
16,174
Add type hints for Perceiver Pytorch
{ "login": "jcmc00", "id": 35983171, "node_id": "MDQ6VXNlcjM1OTgzMTcx", "avatar_url": "https://avatars.githubusercontent.com/u/35983171?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jcmc00", "html_url": "https://github.com/jcmc00", "followers_url": "https://api.github.com/users/jcmc00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? Added type annotations for Perceiver Pytorch models as per https://github.com/huggingface/transformers/issues/16059 @Rocketknight1
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16174/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16174/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16174", "html_url": "https://github.com/huggingface/transformers/pull/16174", "diff_url": "https://github.com/huggingface/transformers/pull/16174.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16174.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16173
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16173/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16173/comments
https://api.github.com/repos/huggingface/transformers/issues/16173/events
https://github.com/huggingface/transformers/pull/16173
1,169,911,974
PR_kwDOCUB6oc40eaTM
16,173
Attempt to make load `from_tf=True` more efficiently
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16173). All of your documentation changes will be reflected on that endpoint.", "@sgugger @LysandreJik I think all the tests are passing now. Is there any thing I should be extra careful about with this / test in some form ...
1,647
1,650
1,650
CONTRIBUTOR
null
# What does this PR do? - Remove the need to get 2X RAM when loading from h5 file - Remove the need to have TF present to load `from_tf=True` (This is reduced to h5 only) A much better version (imo) of the finale code resides here: https://github.com/Narsil/transformers/pull/4 Keeping separate PRs since it...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16173/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16173/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16173", "html_url": "https://github.com/huggingface/transformers/pull/16173", "diff_url": "https://github.com/huggingface/transformers/pull/16173.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16173.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16172
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16172/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16172/comments
https://api.github.com/repos/huggingface/transformers/issues/16172/events
https://github.com/huggingface/transformers/pull/16172
1,169,861,092
PR_kwDOCUB6oc40ePtT
16,172
Add type hints for XLM (TensorFlow)
{ "login": "elusenji", "id": 87298621, "node_id": "MDQ6VXNlcjg3Mjk4NjIx", "avatar_url": "https://avatars.githubusercontent.com/u/87298621?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elusenji", "html_url": "https://github.com/elusenji", "followers_url": "https://api.github.com/users/elu...
[]
closed
false
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[ { "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url"...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16172). All of your documentation changes will be reflected on that endpoint." ]
1,647
1,649
1,649
CONTRIBUTOR
null
# What does this PR do? Adds type hints to the TensorFlow implementation of the XLM model.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16172/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16172/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16172", "html_url": "https://github.com/huggingface/transformers/pull/16172", "diff_url": "https://github.com/huggingface/transformers/pull/16172.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16172.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16171
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16171/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16171/comments
https://api.github.com/repos/huggingface/transformers/issues/16171/events
https://github.com/huggingface/transformers/pull/16171
1,169,823,735
PR_kwDOCUB6oc40eH4w
16,171
bert: properly mention deprecation of TF2 conversion script
{ "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi @LysandreJik , unfortunately, there's no working example code for pre-training in the TF models repo yet (I did some experiments, but I was not able to get a working setup). However, there's a Roformer code (https://github.com/ten...
1,647
1,649
1,649
COLLABORATOR
null
Hi, after training some BERT models with the TF2 implementation from the TF models repo, I just made the following observations: The training code was deprecated a while ago, and now lives under the `legacy` namespace. I have trained models with this "legacy" implementation but the TF2 conversion script is no lon...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16171/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16171/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16171", "html_url": "https://github.com/huggingface/transformers/pull/16171", "diff_url": "https://github.com/huggingface/transformers/pull/16171.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16171.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16170
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16170/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16170/comments
https://api.github.com/repos/huggingface/transformers/issues/16170/events
https://github.com/huggingface/transformers/pull/16170
1,169,790,635
PR_kwDOCUB6oc40eA4P
16,170
[MT5Config] add relative_attention_max_distance in config
{ "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._", "Merging. as all mt5 models are crashing on master now." ]
1,647
1,647
1,647
MEMBER
null
# What does this PR do? Add the `relative_attention_max_distance` attribute in `MT5Config`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16170/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16170/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16170", "html_url": "https://github.com/huggingface/transformers/pull/16170", "diff_url": "https://github.com/huggingface/transformers/pull/16170.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16170.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16169
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16169/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16169/comments
https://api.github.com/repos/huggingface/transformers/issues/16169/events
https://github.com/huggingface/transformers/pull/16169
1,169,776,109
PR_kwDOCUB6oc40d92m
16,169
Add missing type hint for XLM (TensorFlow)
{ "login": "elusenji", "id": 87298621, "node_id": "MDQ6VXNlcjg3Mjk4NjIx", "avatar_url": "https://avatars.githubusercontent.com/u/87298621?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elusenji", "html_url": "https://github.com/elusenji", "followers_url": "https://api.github.com/users/elu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
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/16169/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16169/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16169", "html_url": "https://github.com/huggingface/transformers/pull/16169", "diff_url": "https://github.com/huggingface/transformers/pull/16169.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16169.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16168
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16168/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16168/comments
https://api.github.com/repos/huggingface/transformers/issues/16168/events
https://github.com/huggingface/transformers/pull/16168
1,169,742,923
PR_kwDOCUB6oc40d20j
16,168
Fix FlaxRoFormerClassificationHead activation
{ "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
[]
[ "To get more familiar with the library management/maintenance, I would like hear from you regarding: does this count as a breaking change?\r\n", "_The documentation is not available anymore as the PR was closed or merged._", "Merge now since this is clearly a bug, as well as a tiny change" ]
1,647
1,651
1,647
COLLABORATOR
null
# What does this PR do? Current `FlaxRoFormerClassificationHead` use hard-coded activation `nn.tanh`, but the PyTorch version `RoFormerClassificationHead` use `ACT2FN[self.config.hidden_act]` which is by default `gelu` (and this is the one used by the default checkpoint's config). This PR fixes this activation is...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16168/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16168/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16168", "html_url": "https://github.com/huggingface/transformers/pull/16168", "diff_url": "https://github.com/huggingface/transformers/pull/16168.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16168.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16167
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16167/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16167/comments
https://api.github.com/repos/huggingface/transformers/issues/16167/events
https://github.com/huggingface/transformers/pull/16167
1,169,679,407
PR_kwDOCUB6oc40dpSg
16,167
Fix some Flax models' `hidden_states`
{ "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,647
1,647
1,647
COLLABORATOR
null
# What does this PR do? Fix some Flax models where the last element in `hidden_states` is different between PT/Flax version. ## More context Some models have ``` last_hidden_state = self.layer_norm(last_hidden_state) ``` In Pytorch version, the returned `hidden_states` have this `last_hidden_state` (a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16167/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16167/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16167", "html_url": "https://github.com/huggingface/transformers/pull/16167", "diff_url": "https://github.com/huggingface/transformers/pull/16167.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16167.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16166
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16166/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16166/comments
https://api.github.com/repos/huggingface/transformers/issues/16166/events
https://github.com/huggingface/transformers/pull/16166
1,169,623,773
PR_kwDOCUB6oc40ddan
16,166
update transformer XL with tf decorator
{ "login": "infinite-Joy", "id": 9998813, "node_id": "MDQ6VXNlcjk5OTg4MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/9998813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/infinite-Joy", "html_url": "https://github.com/infinite-Joy", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "tests results using pytest 👇 \r\n\r\n```\r\nRUN_SLOW=1 pytest -vv tests/transfo_xl/test_modeling_tf_transfo_xl.py\r\n\r\ntests/transfo_xl/test_modeling_tf_transfo_xl.py::TFTransfoXLModelTest::test_attention_outputs <- tests/test_modeling_tf_common.py PASSED [ 2%]\r\ntests/transf...
1,647
1,647
1,647
CONTRIBUTOR
null
# What does this PR do? Unpacks TF model inputs through a decorator, improving code clarity for the transformer XL model. To be read with issue #16051 , which holds the description of the problem, the proposed solution, and future plan. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you ca...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16166/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16166/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16166", "html_url": "https://github.com/huggingface/transformers/pull/16166", "diff_url": "https://github.com/huggingface/transformers/pull/16166.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16166.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16165
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16165/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16165/comments
https://api.github.com/repos/huggingface/transformers/issues/16165/events
https://github.com/huggingface/transformers/pull/16165
1,169,539,289
PR_kwDOCUB6oc40dLUe
16,165
value check for typical sampling
{ "login": "cimeister", "id": 19957438, "node_id": "MDQ6VXNlcjE5OTU3NDM4", "avatar_url": "https://avatars.githubusercontent.com/u/19957438?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cimeister", "html_url": "https://github.com/cimeister", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,647
1,647
1,647
CONTRIBUTOR
null
Fixes #16080
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16165/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16165/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16165", "html_url": "https://github.com/huggingface/transformers/pull/16165", "diff_url": "https://github.com/huggingface/transformers/pull/16165.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16165.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/16164
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/16164/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/16164/comments
https://api.github.com/repos/huggingface/transformers/issues/16164/events
https://github.com/huggingface/transformers/pull/16164
1,169,515,790
PR_kwDOCUB6oc40dGSd
16,164
Add type hints for Pegasus model (PyTorch)
{ "login": "Tegzes", "id": 48134725, "node_id": "MDQ6VXNlcjQ4MTM0NzI1", "avatar_url": "https://avatars.githubusercontent.com/u/48134725?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Tegzes", "html_url": "https://github.com/Tegzes", "followers_url": "https://api.github.com/users/Tegzes/fo...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16164). All of your documentation changes will be reflected on that endpoint.", "it seems like BART model was not updated yet, hence the inconsistency", "@Tegzes Unfortunately this will have to wait for the BART PR to avo...
1,647
1,647
1,647
CONTRIBUTOR
null
Adding type hints for forward methods in user-facing class for Pegasus model (PyTorch) as mentioned in #16059 @Rocketknight1
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/16164/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/16164/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/16164", "html_url": "https://github.com/huggingface/transformers/pull/16164", "diff_url": "https://github.com/huggingface/transformers/pull/16164.diff", "patch_url": "https://github.com/huggingface/transformers/pull/16164.patch", "merged_at...