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/15963
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15963/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15963/comments
https://api.github.com/repos/huggingface/transformers/issues/15963/events
https://github.com/huggingface/transformers/pull/15963
1,161,060,822
PR_kwDOCUB6oc40Bl-U
15,963
Speedup T5 Flax training by using Numpy instead of JAX for batch shuffling
{ "login": "yhavinga", "id": 3098618, "node_id": "MDQ6VXNlcjMwOTg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/3098618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yhavinga", "html_url": "https://github.com/yhavinga", "followers_url": "https://api.github.com/users/yhavi...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15963). All of your documentation changes will be reflected on that endpoint.", "Think I'm in favor of this. However could we also set a numpy random seed in the script to make the runs reproducible? \r\n\r\ncc @patil-suraj...
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? The example Flax T5 MLM script was modified to not use JAX for batch shuffling. With this change, training time per step decreased from 0.246 s to 0.185 s, a speedup of 1.3 (t5-base model trained on TPU v3-8 VM, batch size 64, Adafactor optimizer). Shuffling on CPU also prevents using m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15963/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15963/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15963", "html_url": "https://github.com/huggingface/transformers/pull/15963", "diff_url": "https://github.com/huggingface/transformers/pull/15963.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15963.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15962
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15962/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15962/comments
https://api.github.com/repos/huggingface/transformers/issues/15962/events
https://github.com/huggingface/transformers/issues/15962
1,161,013,209
I_kwDOCUB6oc5FM6fZ
15,962
longformer-large's hidden_states and last_hidden_states have different size in sequence_length
{ "login": "ddf62", "id": 49627605, "node_id": "MDQ6VXNlcjQ5NjI3NjA1", "avatar_url": "https://avatars.githubusercontent.com/u/49627605?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ddf62", "html_url": "https://github.com/ddf62", "followers_url": "https://api.github.com/users/ddf62/follow...
[]
closed
false
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[ { "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.githu...
[ "sorry,should be the hidden_states[-1].shape and last_hidden_states.shape", "Hi @ddf62 ! Could you post a shot code snippet so we can reproduce this ? Thanks!", "```python\r\n\r\nclass MyModel(tez.Model):\r\n def __init__(self, freeze_bert=False, model_name='longformer-large', hidden_size=1024, num_classes=2...
1,646
1,646
1,646
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: - Platform: - Python version: 3.7 - PyTorch version (GPU?): GPU - Tensorflow version (GPU?): - Using GPU ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15962/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15962/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15961
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15961/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15961/comments
https://api.github.com/repos/huggingface/transformers/issues/15961/events
https://github.com/huggingface/transformers/pull/15961
1,160,980,439
PR_kwDOCUB6oc40BVF-
15,961
Seed _get_train_sampler's generator with arg seed to improve reproducibility
{ "login": "dlwh", "id": 9633, "node_id": "MDQ6VXNlcjk2MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/9633?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dlwh", "html_url": "https://github.com/dlwh", "followers_url": "https://api.github.com/users/dlwh/followers", "followi...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15961). All of your documentation changes will be reflected on that endpoint.", "No. As mentioned in the other issues, this code is intended to be this way. The torch RNG has been seeded so this is completely deterministic....
1,646
1,646
1,646
CONTRIBUTOR
null
... and make the world_size<=1 code path more similar to the others # What does this PR do? Seed the generator that is (sometimes) used in _get_train_sampler with self.args.seed to improve reproducibility/control over randomness. https://github.com/huggingface/transformers/pull/11582/files introduced using tor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15961/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15961/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15961", "html_url": "https://github.com/huggingface/transformers/pull/15961", "diff_url": "https://github.com/huggingface/transformers/pull/15961.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15961.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15960
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15960/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15960/comments
https://api.github.com/repos/huggingface/transformers/issues/15960/events
https://github.com/huggingface/transformers/issues/15960
1,160,975,634
I_kwDOCUB6oc5FMxUS
15,960
How to get T5 encoder&decoder's hidden states and keep requires_grad=True
{ "login": "scarydemon2", "id": 33051998, "node_id": "MDQ6VXNlcjMzMDUxOTk4", "avatar_url": "https://avatars.githubusercontent.com/u/33051998?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scarydemon2", "html_url": "https://github.com/scarydemon2", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,646
1,646
1,646
NONE
null
transformers version: 4.15.0 Hi! I am making a custom T5 generation model, and I have some problems. In my model, I want to take out the decoder's last hidden states and encoder's last hidden states to do some other operations, and these operations will be used to fine-tune the encoder and decoder. So I need last_h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15960/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15960/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15959
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15959/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15959/comments
https://api.github.com/repos/huggingface/transformers/issues/15959/events
https://github.com/huggingface/transformers/issues/15959
1,160,968,771
I_kwDOCUB6oc5FMvpD
15,959
ValueError: DebertaV2Model does not support gradient checkpointing.
{ "login": "shilida", "id": 39895844, "node_id": "MDQ6VXNlcjM5ODk1ODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/39895844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shilida", "html_url": "https://github.com/shilida", "followers_url": "https://api.github.com/users/shilid...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[ "Hi,\r\n\r\nDebertaV2 supports gradient checkpointing as per #14175.\r\n\r\nCan you provide a code snippet to reproduce your issue?", "`config = AutoConfig.from_pretrained(model_name)\r\n\r\n config.update(\r\n {\r\n \"gradient_checkpointing\":True,\r\n \"output_hid...
1,646
1,650
1,650
NONE
null
ValueError: DebertaV2Model does not support gradient checkpointing!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15959/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15959/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15958
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15958/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15958/comments
https://api.github.com/repos/huggingface/transformers/issues/15958/events
https://github.com/huggingface/transformers/issues/15958
1,160,892,224
I_kwDOCUB6oc5FMc9A
15,958
Blenderbot 1.0B Distilled eats up memory over many inferences
{ "login": "alu13", "id": 12601917, "node_id": "MDQ6VXNlcjEyNjAxOTE3", "avatar_url": "https://avatars.githubusercontent.com/u/12601917?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alu13", "html_url": "https://github.com/alu13", "followers_url": "https://api.github.com/users/alu13/follow...
[]
closed
false
null
[]
[ "It's hard to say anything without looking at the code. Also for such general question, [forum](https://discuss.huggingface.co/) would be the best place to ask. Thank you!", "Hi, thank you! I'll definitely post in the forum. Also some extra information, the inferences work for the first few hundred posts, but the...
1,646
1,650
1,650
NONE
null
Hi, I've noticed that over the course of many inferences, the Blenderbot 1.0B Distilled model continuously allocates GPU memory and eventually causes the GPU to crash. My project only uses single-turn inferences, and I was wondering how to prevent Blenderbot from continuously allocating memory. Thanks <img width="120...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15958/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15958/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15957
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15957/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15957/comments
https://api.github.com/repos/huggingface/transformers/issues/15957/events
https://github.com/huggingface/transformers/issues/15957
1,160,872,387
I_kwDOCUB6oc5FMYHD
15,957
mBART tokenizer not following expected target token order
{ "login": "zijwang", "id": 25057983, "node_id": "MDQ6VXNlcjI1MDU3OTgz", "avatar_url": "https://avatars.githubusercontent.com/u/25057983?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zijwang", "html_url": "https://github.com/zijwang", "followers_url": "https://api.github.com/users/zijwan...
[]
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...
[ "Hey @zijwang ! Thank you for reporting this.\r\n\r\nHere actually the doc is wrong. Here the target tokens actually refer to `decoder_input_ids` for which the format should be\r\n`[tgt_lang_code] x [eos]`\r\n\r\nBut it's not required to directly pass `decoder_input_ids`, we can instead just pass `labels` which is...
1,646
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 - Platform: linux - Python version: 3.8.12 - PyTorch version (GPU?): 1.10.2+cu113 - Tensorflow version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15957/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15957/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15956
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15956/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15956/comments
https://api.github.com/repos/huggingface/transformers/issues/15956/events
https://github.com/huggingface/transformers/issues/15956
1,160,724,417
I_kwDOCUB6oc5FLz_B
15,956
clean_up_tokenization_spaces=False does not behave correctly in AutoTokenizer's decode function
{ "login": "bugface", "id": 16659741, "node_id": "MDQ6VXNlcjE2NjU5NzQx", "avatar_url": "https://avatars.githubusercontent.com/u/16659741?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bugface", "html_url": "https://github.com/bugface", "followers_url": "https://api.github.com/users/bugfac...
[]
closed
false
null
[]
[ "cc @SaulLu ", "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/C...
1,646
1,657
1,657
CONTRIBUTOR
null
input example: ```python tok_ids = [ 101, 2632, 1011, 7110, 1010, 2142, 5424, 14041, 2727, 1011, 2260, 1011, 5757, 102, 0] ``` if we do decode ```python tokenizer = BertTokenizer.from_pretrained("bert-base-uncased") tokenizer.decode(tok_ids, clean_up_tokenization_spaces=False) # output is '...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15956/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15956/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15955
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15955/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15955/comments
https://api.github.com/repos/huggingface/transformers/issues/15955/events
https://github.com/huggingface/transformers/issues/15955
1,160,686,166
I_kwDOCUB6oc5FLqpW
15,955
Unable to run PPLM potato example
{ "login": "bnriiitb", "id": 12771349, "node_id": "MDQ6VXNlcjEyNzcxMzQ5", "avatar_url": "https://avatars.githubusercontent.com/u/12771349?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bnriiitb", "html_url": "https://github.com/bnriiitb", "followers_url": "https://api.github.com/users/bnr...
[]
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,646
1,650
1,650
NONE
null
I am following the instructions mentioned in the below page to run PPLM examples. Unfortunately the code is throwing error. PPLM Page : https://github.com/huggingface/transformers/tree/master/examples/research_projects/pplm **Environment:** Python 3.9.7 pytorch-lightning==1.0.4 Error Log: ``` python r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15955/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15955/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15954
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15954/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15954/comments
https://api.github.com/repos/huggingface/transformers/issues/15954/events
https://github.com/huggingface/transformers/pull/15954
1,160,597,378
PR_kwDOCUB6oc40AH9c
15,954
Make is_thing_map in Feature Extractor post_process_panoptic_segmentation defaults to all instances
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15954). All of your documentation changes will be reflected on that endpoint.", "> Not particularly fond of the names `thing` vs `stuff` but I imagine this is the standards ?\r\n\r\nMore or less :) \r\n", "Thanks @Narsil ...
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? Following a discussion with @Narsil , argument `is_thing_map` in `FeatureExtractor.post_process_panoptic_segmentation` will default to consider all instances `thing`. Thus, it won't perform instances merging. The user should always provide a correct `is_thing_map` if he wants to merge ins...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15954/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15954/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15954", "html_url": "https://github.com/huggingface/transformers/pull/15954", "diff_url": "https://github.com/huggingface/transformers/pull/15954.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15954.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15953
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15953/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15953/comments
https://api.github.com/repos/huggingface/transformers/issues/15953/events
https://github.com/huggingface/transformers/pull/15953
1,160,455,540
PR_kwDOCUB6oc4z_t_9
15,953
add simple multi gpu complet
{ "login": "liyongsea", "id": 6381544, "node_id": "MDQ6VXNlcjYzODE1NDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/6381544?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liyongsea", "html_url": "https://github.com/liyongsea", "followers_url": "https://api.github.com/users/li...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15953). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? Multi-GPU evaluation <!-- 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,...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15953/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15953/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15953", "html_url": "https://github.com/huggingface/transformers/pull/15953", "diff_url": "https://github.com/huggingface/transformers/pull/15953.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15953.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15952
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15952/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15952/comments
https://api.github.com/repos/huggingface/transformers/issues/15952/events
https://github.com/huggingface/transformers/pull/15952
1,160,394,275
PR_kwDOCUB6oc4z_iwD
15,952
Set scale_embedding to False in some TF tests
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15952). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
COLLABORATOR
null
# What does this PR do? This PR set `scale_embedding=False` in `TFSpeech2TextModelTester` to avoid `inputs_embeds` and the PT/TF difference being scaled by 4 - the objective is to keep a low tolerance `1e-5` in the PT/TF test, as we see several times this is a strong safe guard! (This is not a real bug. It's also...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15952/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15952/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15952", "html_url": "https://github.com/huggingface/transformers/pull/15952", "diff_url": "https://github.com/huggingface/transformers/pull/15952.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15952.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15951
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15951/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15951/comments
https://api.github.com/repos/huggingface/transformers/issues/15951/events
https://github.com/huggingface/transformers/pull/15951
1,160,376,472
PR_kwDOCUB6oc4z_fZK
15,951
Support modern list type hints in HfArgumentParser
{ "login": "konstantinjdobler", "id": 28780372, "node_id": "MDQ6VXNlcjI4NzgwMzcy", "avatar_url": "https://avatars.githubusercontent.com/u/28780372?v=4", "gravatar_id": "", "url": "https://api.github.com/users/konstantinjdobler", "html_url": "https://github.com/konstantinjdobler", "followers_url": "https...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15951). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? Support modern list type hint syntax ([PEP 585](https://www.python.org/dev/peps/pep-0585/), introduced in Python 3.9) in the HfArgumentParser. This change keeps backwards compatibility, e.g. the old `typing.List[...]` works just as well as the newer `list[...]`. Fixes #15950 ## Befor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15951/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15951/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15951", "html_url": "https://github.com/huggingface/transformers/pull/15951", "diff_url": "https://github.com/huggingface/transformers/pull/15951.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15951.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15950
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15950/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15950/comments
https://api.github.com/repos/huggingface/transformers/issues/15950/events
https://github.com/huggingface/transformers/issues/15950
1,160,372,827
I_kwDOCUB6oc5FKeJb
15,950
HfArgumentParser doesn't recognize new list type hint syntax
{ "login": "konstantinjdobler", "id": 28780372, "node_id": "MDQ6VXNlcjI4NzgwMzcy", "avatar_url": "https://avatars.githubusercontent.com/u/28780372?v=4", "gravatar_id": "", "url": "https://api.github.com/users/konstantinjdobler", "html_url": "https://github.com/konstantinjdobler", "followers_url": "https...
[]
closed
false
null
[]
[ "I was able to pretty easily find the relevant piece of code and submitted a PR to fix it #15951 " ]
1,646
1,646
1,646
CONTRIBUTOR
null
Since Python 3.9 we can use generic types as type hints (e.g. `list[str]` instead of `typing.List[str]`), see also [PEP 585](https://www.python.org/dev/peps/pep-0585/). Currently this does not seem to work with the `HfArgumentParser`, but using the old `typing.List[str]` works. Minimal example for an arguments data ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15950/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15950/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15949
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15949/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15949/comments
https://api.github.com/repos/huggingface/transformers/issues/15949/events
https://github.com/huggingface/transformers/pull/15949
1,160,292,880
PR_kwDOCUB6oc4z_Phl
15,949
[Tests] Fix ViTMAE integration 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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15949). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? This PR fixes the integration test of ViTMAE, which only passed on CPU. ViTMAE uses randomness inside (it creates a random boolean mask to indicate which patches to mask). I used `torch.manual_seed(2)` to make this deterministic, however I [learned](https://discuss.pytorch.org/t/random-see...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15949/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/15949/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15949", "html_url": "https://github.com/huggingface/transformers/pull/15949", "diff_url": "https://github.com/huggingface/transformers/pull/15949.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15949.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15948
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15948/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15948/comments
https://api.github.com/repos/huggingface/transformers/issues/15948/events
https://github.com/huggingface/transformers/issues/15948
1,160,273,113
I_kwDOCUB6oc5FKFzZ
15,948
is_index_masked and is_index_global_attn in Longformer
{ "login": "lightxu", "id": 1535333, "node_id": "MDQ6VXNlcjE1MzUzMzM=", "avatar_url": "https://avatars.githubusercontent.com/u/1535333?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lightxu", "html_url": "https://github.com/lightxu", "followers_url": "https://api.github.com/users/lightxu/...
[]
closed
false
null
[]
[ "cc @patrickvonplaten ", "Hey @lightxu,\r\n\r\nWhat we usually do in `transformers` is to convert an attention_mask which looks like:\r\n\r\n```python\r\nattention_mask = [[1, 1, 1, 1], [1, 0, 0, 0]]\r\n```\r\n\r\nto something like:\r\n\r\n```python\r\nattention_mask = torch.broadcast_to([[0.0, 0.0, 0.0, 0.0], [0...
1,646
1,646
1,646
NONE
null
I noticed that in [LongformerEncoder](https://github.com/huggingface/transformers/blob/master/src/transformers/models/longformer/modeling_longformer.py#L1255), is_index_masked and is_index_global_attn is set like this: ``` is_index_masked = attention_mask < 0 is_index_global_attn = attention_mask > 0 ``` Can a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15948/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15948/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15947
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15947/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15947/comments
https://api.github.com/repos/huggingface/transformers/issues/15947/events
https://github.com/huggingface/transformers/issues/15947
1,160,254,585
I_kwDOCUB6oc5FKBR5
15,947
Tranformers documentation translation to Spanish
{ "login": "omarespejel", "id": 4755430, "node_id": "MDQ6VXNlcjQ3NTU0MzA=", "avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omarespejel", "html_url": "https://github.com/omarespejel", "followers_url": "https://api.github.com/us...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" }, { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2N...
closed
false
{ "login": "omarespejel", "id": 4755430, "node_id": "MDQ6VXNlcjQ3NTU0MzA=", "avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omarespejel", "html_url": "https://github.com/omarespejel", "followers_url": "https://api.github.com/us...
[ { "login": "omarespejel", "id": 4755430, "node_id": "MDQ6VXNlcjQ3NTU0MzA=", "avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omarespejel", "html_url": "https://github.com/omarespejel", "followers_url": "https...
[ "Hi, I can do the translation of **quicktour.mdx** in two days at the latest. ", "I'll translate \"Fine-tune a pretrained model\" into Spanish to file [training.mdx](https://github.com/huggingface/transformers/blob/master/docs/source/training.mdx).", "Thanks, @Duedme and @yharyarias! That would be great. Please...
1,646
1,701
1,701
CONTRIBUTOR
null
Hi! Let's bring the documentation to all the Spanish-speaking community :) Who would want to translate? **Please follow the instructions in the [Translating guide](https://github.com/huggingface/transformers/blob/main/docs/TRANSLATING.md)**. Here is a list of the files ready for translation. Let us know here if y...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15947/reactions", "total_count": 12, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 12, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15947/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15946
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15946/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15946/comments
https://api.github.com/repos/huggingface/transformers/issues/15946/events
https://github.com/huggingface/transformers/pull/15946
1,160,156,128
PR_kwDOCUB6oc4z-zz1
15,946
[HELP NEEDED] Use target tokenizer for all functionality in target side
{ "login": "AmitMY", "id": 5757359, "node_id": "MDQ6VXNlcjU3NTczNTk=", "avatar_url": "https://avatars.githubusercontent.com/u/5757359?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AmitMY", "html_url": "https://github.com/AmitMY", "followers_url": "https://api.github.com/users/AmitMY/foll...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15946). All of your documentation changes will be reflected on that endpoint.", "Hi @AmitMY ,\r\n\r\nI am not 100% sure not knowing all the internals here, but it's pretty frequent that researchers add code on top of SPM an...
1,646
1,650
1,650
NONE
null
# What does this PR do? When using the MarianTokenizer with a different source and target SPMs, it is expected to get the length of the target vocabulary when performing: ```python with tokenizer.as_target_tokenizer(): print(len(tokenizer)) ``` Along with the expectation to be able to get the target vocabul...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15946/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15946/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15946", "html_url": "https://github.com/huggingface/transformers/pull/15946", "diff_url": "https://github.com/huggingface/transformers/pull/15946.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15946.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15945
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15945/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15945/comments
https://api.github.com/repos/huggingface/transformers/issues/15945/events
https://github.com/huggingface/transformers/issues/15945
1,160,076,690
I_kwDOCUB6oc5FJV2S
15,945
Unable to run run_glue.py offline
{ "login": "Nithanaroy", "id": 670556, "node_id": "MDQ6VXNlcjY3MDU1Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/670556?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Nithanaroy", "html_url": "https://github.com/Nithanaroy", "followers_url": "https://api.github.com/users/N...
[]
closed
false
null
[]
[ "You need to set the env variable `HF_DATASETS_OFFLINE=1 TRANSFORMERS_OFFLINE=1` to be able to use the libraries in offline mode, as pointed out in the [documentation](https://huggingface.co/docs/transformers/installation#offline-mode)", "@sgugger thanks for the blazing fast response! I forgot to add that I set `...
1,646
1,646
1,646
NONE
null
## Environment info An host without internet access but with ~/.cache/huggingface pre-populated ### Who can help @sgugger @LysandreJik @SaulLu ## Information Model I am using (Bert, XLNet ...): ``` --model_name_or_path bert-base-uncased --task_name mrpc --do_train --output_dir /home/jobuser/output_bart_t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15945/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15945/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15944
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15944/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15944/comments
https://api.github.com/repos/huggingface/transformers/issues/15944/events
https://github.com/huggingface/transformers/pull/15944
1,160,025,957
PR_kwDOCUB6oc4z-Yo9
15,944
TF generate refactor - past without encoder outputs
{ "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
[]
[ "Let's merge this? cc @Rocketknight1 ?" ]
1,646
1,647
1,646
MEMBER
null
# What does this PR do? As discussed in the original TF generate refactor plan (https://github.com/huggingface/transformers/pull/15562), removes the `encoder_outputs` from `past`. In practice, these changes consist mostly in: 1. Delete the lines flagged by Patrick; 2. Adapt `prepare_inputs_for_generation` and `_re...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15944/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15944/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15944", "html_url": "https://github.com/huggingface/transformers/pull/15944", "diff_url": "https://github.com/huggingface/transformers/pull/15944.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15944.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15943
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15943/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15943/comments
https://api.github.com/repos/huggingface/transformers/issues/15943/events
https://github.com/huggingface/transformers/pull/15943
1,159,899,256
PR_kwDOCUB6oc4z990i
15,943
MarianTokenizer: get vocab length in `as_target_tokenizer` mode
{ "login": "AmitMY", "id": 5757359, "node_id": "MDQ6VXNlcjU3NTczNTk=", "avatar_url": "https://avatars.githubusercontent.com/u/5757359?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AmitMY", "html_url": "https://github.com/AmitMY", "followers_url": "https://api.github.com/users/AmitMY/foll...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15943). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
NONE
null
# What does this PR do? When using the MarianTokenizer with a different source and target SPMs, it is expected to get the length of the target vocabulary when performing: ```python with tokenizer.as_target_tokenizer(): print(len(tokenizer)) ``` This PR introduces a minimal change to get the correct size d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15943/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15943/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15943", "html_url": "https://github.com/huggingface/transformers/pull/15943", "diff_url": "https://github.com/huggingface/transformers/pull/15943.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15943.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15942
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15942/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15942/comments
https://api.github.com/repos/huggingface/transformers/issues/15942/events
https://github.com/huggingface/transformers/pull/15942
1,159,878,651
PR_kwDOCUB6oc4z95gh
15,942
Made MaskFormerModelTest faster
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15942). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? This PR changes the configuration inside `tests/maskformer/test_modeling_maskformer.py::MaskFormerModelTest` creating a smaller model to make the test run faster
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15942/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15942/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15942", "html_url": "https://github.com/huggingface/transformers/pull/15942", "diff_url": "https://github.com/huggingface/transformers/pull/15942.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15942.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15941
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15941/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15941/comments
https://api.github.com/repos/huggingface/transformers/issues/15941/events
https://github.com/huggingface/transformers/pull/15941
1,159,865,123
PR_kwDOCUB6oc4z93Ff
15,941
[LayoutLMv2] Update requires_backends of feature extractor
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15941). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? This PR moves the `requires_backends` to the call method instead of the init of `LayoutLMv2FeatureExtractor`. Fixes #15269
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15941/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15941/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15941", "html_url": "https://github.com/huggingface/transformers/pull/15941", "diff_url": "https://github.com/huggingface/transformers/pull/15941.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15941.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15940
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15940/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15940/comments
https://api.github.com/repos/huggingface/transformers/issues/15940/events
https://github.com/huggingface/transformers/pull/15940
1,159,791,919
PR_kwDOCUB6oc4z9nsU
15,940
Override _pad in LEDTokenizer to deal with global_attention_mask
{ "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._", "## Results before/after this PR\r\n\r\n```python\r\nimport numpy as np\r\nfrom transformers import LEDTokenizer, LEDTokenizerFast\r\n\r\ntokenizer_slow = LEDTokenizer.from_pretrained(\"allenai/led-base-16384\")\r\ntokenizer_fast = LE...
1,646
1,647
1,647
COLLABORATOR
null
# What does this PR do? Fix #14648. This PR allows `LEDTokenizer._pad` to treat `global_attention_mask` if it is provided in `encoded_inputs`. Without this, `global_attention_mask` won't be padded, while other tensors will be padded (if users specify padding), and causes the following error (if `return_tensors` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15940/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15940/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15940", "html_url": "https://github.com/huggingface/transformers/pull/15940", "diff_url": "https://github.com/huggingface/transformers/pull/15940.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15940.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15939
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15939/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15939/comments
https://api.github.com/repos/huggingface/transformers/issues/15939/events
https://github.com/huggingface/transformers/pull/15939
1,159,675,055
PR_kwDOCUB6oc4z9O8L
15,939
Fix LayoutLMv2 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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15939). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? This PR fixes a failing LayoutLMv2 test, `test_torch_encode_plus_sent_to_model`. It also removes `requires_scatter`, because LayoutLMv2 doesn't depend on it.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15939/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15939/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15939", "html_url": "https://github.com/huggingface/transformers/pull/15939", "diff_url": "https://github.com/huggingface/transformers/pull/15939.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15939.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15938
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15938/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15938/comments
https://api.github.com/repos/huggingface/transformers/issues/15938/events
https://github.com/huggingface/transformers/pull/15938
1,159,612,290
PR_kwDOCUB6oc4z9BcX
15,938
Backprop Test for Freeze FlaxWav2Vec2 Feature Encoder
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15938). All of your documentation changes will be reflected on that endpoint.", "If @patil-suraj is happy with this test I'll merge!" ]
1,646
1,646
1,646
CONTRIBUTOR
null
This PR correctly implements a back propagation test to verify the functionality of the `freeze_feature_encoder` argument added to the FlaxWav2Vec2 Model in #15873. It tests: 1. That the computed loss for the frozen feature encoder model and unfrozen model are **equal**. 2. That the gradients of the frozen feature ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15938/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15938/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15938", "html_url": "https://github.com/huggingface/transformers/pull/15938", "diff_url": "https://github.com/huggingface/transformers/pull/15938.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15938.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15937
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15937/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15937/comments
https://api.github.com/repos/huggingface/transformers/issues/15937/events
https://github.com/huggingface/transformers/pull/15937
1,159,540,333
PR_kwDOCUB6oc4z8yI4
15,937
Add `ForInstanceSegmentation` models to `image-segmentation` pipelines
{ "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_15937). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? Add `ForInstanceSegmentation` models to `image-segmentation` pipelines - Requires: https://github.com/huggingface/transformers/pull/15936 - Requires: https://github.com/huggingface/transformers/pull/15934 Marking it as draft in the meantime. <!-- Congratulations! You've made it thi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15937/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15937/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15937", "html_url": "https://github.com/huggingface/transformers/pull/15937", "diff_url": "https://github.com/huggingface/transformers/pull/15937.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15937.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15936
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15936/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15936/comments
https://api.github.com/repos/huggingface/transformers/issues/15936/events
https://github.com/huggingface/transformers/pull/15936
1,159,494,885
PR_kwDOCUB6oc4z8oiB
15,936
Returning outputs only when asked for for MaskFormer.
{ "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_15936). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? Change the return output from `()` to `None` which seems more aligned with the rest of the library. Also `auxiliary_logits` seem optional and don't seem to be used by the feature extractor, so this PR makes them optional too. Note: I couldn't test the modeling tests, there seem to be ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15936/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15936/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15936", "html_url": "https://github.com/huggingface/transformers/pull/15936", "diff_url": "https://github.com/huggingface/transformers/pull/15936.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15936.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15935
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15935/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15935/comments
https://api.github.com/repos/huggingface/transformers/issues/15935/events
https://github.com/huggingface/transformers/issues/15935
1,159,464,731
I_kwDOCUB6oc5FHAcb
15,935
parm:logging_dir not works when
{ "login": "chenjinhongv", "id": 44344942, "node_id": "MDQ6VXNlcjQ0MzQ0OTQy", "avatar_url": "https://avatars.githubusercontent.com/u/44344942?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chenjinhongv", "html_url": "https://github.com/chenjinhongv", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "How do you launch the script? In particular if you launch it from another directory, the logging dir will appear there.", "thanks very much,I found it is because I launch the script with Environment without Tensorflow installed(by the way, I get no warning about this during the process, haha)", "I have same pr...
1,646
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:linux - Python version:3.7.11 - PyTorch version (GPU?):1.10.2 GPU - Tensorflow version (GP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15935/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15935/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15934
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15934/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15934/comments
https://api.github.com/repos/huggingface/transformers/issues/15934/events
https://github.com/huggingface/transformers/pull/15934
1,159,448,785
PR_kwDOCUB6oc4z8ew9
15,934
Adding `MODEL_FOR_INSTANCE_SEGMENTATION_MAPPING`
{ "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
[]
[]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? Adding `MODEL_FOR_INSTANCE_SEGMENTATION_MAPPING` with MaskFormerForInstanceSegmentation in it. And `AutoModelForInstanceSegmentation`. <!-- 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 th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15934/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15934/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15934", "html_url": "https://github.com/huggingface/transformers/pull/15934", "diff_url": "https://github.com/huggingface/transformers/pull/15934.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15934.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15933
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15933/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15933/comments
https://api.github.com/repos/huggingface/transformers/issues/15933/events
https://github.com/huggingface/transformers/issues/15933
1,159,308,213
I_kwDOCUB6oc5FGaO1
15,933
TypeError: meshgrid() got an unexpected keyword argument 'indexing'
{ "login": "F-Yuan303", "id": 59601450, "node_id": "MDQ6VXNlcjU5NjAxNDUw", "avatar_url": "https://avatars.githubusercontent.com/u/59601450?v=4", "gravatar_id": "", "url": "https://api.github.com/users/F-Yuan303", "html_url": "https://github.com/F-Yuan303", "followers_url": "https://api.github.com/users/...
[]
closed
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:...
[ "Hi,\r\n\r\nYou may need to upgrade to PyTorch 1.10 for this to work.", "Sorry i'm new in nlp, I changed the pytorch to 1.10 and it comes another problem.\r\n\r\nSome weights of the model checkpoint at dandelin/vilt-b32-mlm were not used when initializing ViltModel: ['mlm_score.transform.LayerNorm.bias', 'mlm_sco...
1,646
1,646
1,646
NONE
null
when i tried to run the example given in ViLTModel below. I encountered problem"TypeError: meshgrid() got an unexpected keyword argument 'indexing'" `from transformers import ViltProcessor, ViltModel from PIL import Image import requests url = "http://images.cocodataset.org/val2017/000000039769.jpg" image = ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15933/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15933/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15932
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15932/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15932/comments
https://api.github.com/repos/huggingface/transformers/issues/15932/events
https://github.com/huggingface/transformers/pull/15932
1,159,193,412
PR_kwDOCUB6oc4z7qVU
15,932
Update comments in class BatchEncoding
{ "login": "basicv8vc", "id": 11628637, "node_id": "MDQ6VXNlcjExNjI4NjM3", "avatar_url": "https://avatars.githubusercontent.com/u/11628637?v=4", "gravatar_id": "", "url": "https://api.github.com/users/basicv8vc", "html_url": "https://github.com/basicv8vc", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,646
1,648
1,648
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/15932/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15932/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15932", "html_url": "https://github.com/huggingface/transformers/pull/15932", "diff_url": "https://github.com/huggingface/transformers/pull/15932.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15932.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15931
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15931/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15931/comments
https://api.github.com/repos/huggingface/transformers/issues/15931/events
https://github.com/huggingface/transformers/pull/15931
1,159,094,977
PR_kwDOCUB6oc4z7WWf
15,931
Update training scripts docs
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15931). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
MEMBER
null
This PR updates the [Examples](https://huggingface.co/docs/transformers/examples) docs with examples for running a training script on distributed setups, with mixed precision, TPUs and Accelerate. It also adds examples for helpful options like using your own custom dataset, resume training from a checkpoint, and upload...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15931/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15931/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15931", "html_url": "https://github.com/huggingface/transformers/pull/15931", "diff_url": "https://github.com/huggingface/transformers/pull/15931.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15931.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15930
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15930/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15930/comments
https://api.github.com/repos/huggingface/transformers/issues/15930/events
https://github.com/huggingface/transformers/issues/15930
1,158,899,065
I_kwDOCUB6oc5FE2V5
15,930
issues in `generate()`
{ "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/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[ { "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.githu...
[ "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,646
1,655
null
COLLABORATOR
null
## A collection of issues for `generate()` method that we need to address (**I don't assign these issues to anyone yet. I might work on some of these later. The purpose here is to make these issues transparent to the community, and to serve as a TODO list so we won't forget.**) As an extension to the model equiva...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15930/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/15930/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/15929
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15929/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15929/comments
https://api.github.com/repos/huggingface/transformers/issues/15929/events
https://github.com/huggingface/transformers/pull/15929
1,158,822,476
PR_kwDOCUB6oc4z6aVi
15,929
Tests for MaskFormerFeatureExtractor's post_process*** methods
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15929). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? This PR adds more tests for `MaskFormerFeatureExtractor` `post_process***` methods
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15929/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15929/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15929", "html_url": "https://github.com/huggingface/transformers/pull/15929", "diff_url": "https://github.com/huggingface/transformers/pull/15929.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15929.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15928
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15928/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15928/comments
https://api.github.com/repos/huggingface/transformers/issues/15928/events
https://github.com/huggingface/transformers/pull/15928
1,158,800,055
PR_kwDOCUB6oc4z6Vqs
15,928
Fix #15898
{ "login": "davidleonfdez", "id": 45669232, "node_id": "MDQ6VXNlcjQ1NjY5MjMy", "avatar_url": "https://avatars.githubusercontent.com/u/45669232?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidleonfdez", "html_url": "https://github.com/davidleonfdez", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15928). All of your documentation changes will be reflected on that endpoint.", "Yes, that's enforced in all the model outputs. The `past_index` is not going to temper with that :-)\r\nThanks a lot for fixing!" ]
1,646
1,646
1,646
CONTRIBUTOR
null
Fixes #15898 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests), Pull Request sect...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15928/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15928/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15928", "html_url": "https://github.com/huggingface/transformers/pull/15928", "diff_url": "https://github.com/huggingface/transformers/pull/15928.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15928.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15927
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15927/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15927/comments
https://api.github.com/repos/huggingface/transformers/issues/15927/events
https://github.com/huggingface/transformers/issues/15927
1,158,728,046
I_kwDOCUB6oc5FEMlu
15,927
Privacy&Security: Network Contact Every Model Load
{ "login": "xloem", "id": 279585, "node_id": "MDQ6VXNlcjI3OTU4NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/279585?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xloem", "html_url": "https://github.com/xloem", "followers_url": "https://api.github.com/users/xloem/followers"...
[]
closed
false
null
[]
[ "cc @LysandreJik @Narsil This relates to things we talked about internally.\r\n\r\nI agree with the first point, the second and third point deserve their debate so thank you for writing this issue!\r\n\r\nFor the fourth point, the situation is a bit more complicated as every user would need to download the whole re...
1,646
1,649
1,649
CONTRIBUTOR
null
I decided to add this after commenting on https://github.com/deepset-ai/haystack/issues/2118 ### Who can help @sgugger ## Information The problem arises when using: * [x] the official example scripts: (give details below) * [x] my own modified scripts: (give details below) The tasks I am working on is:...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15927/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15927/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15926
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15926/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15926/comments
https://api.github.com/repos/huggingface/transformers/issues/15926/events
https://github.com/huggingface/transformers/pull/15926
1,158,725,117
PR_kwDOCUB6oc4z6Flq
15,926
Update doc test readme
{ "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_15926). All of your documentation changes will be reflected on that endpoint.", "> Thanks, for some reason it passed for me for the xxxForMaskedImageModeling models without doing this trick\r\n\r\nThere was another problem ...
1,646
1,646
1,646
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/15926/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15926/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15926", "html_url": "https://github.com/huggingface/transformers/pull/15926", "diff_url": "https://github.com/huggingface/transformers/pull/15926.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15926.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15925
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15925/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15925/comments
https://api.github.com/repos/huggingface/transformers/issues/15925/events
https://github.com/huggingface/transformers/issues/15925
1,158,676,519
I_kwDOCUB6oc5FEAAn
15,925
Non-unique `local` in toctree
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
{ "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...
[ { "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.git...
[ "Thanks for this! I think we can actually remove the first `multilingual` page since it is outdated now. On a related note, can we also remove the `custom_datasets` [page](https://huggingface.co/docs/transformers/master/en/custom_datasets) since it has also been replaced by the fine-tune for downstream tasks sectio...
1,646
1,649
1,649
CONTRIBUTOR
null
`local` field in toctree is treated as an id; therefore, it has to be unique. Because of this, in https://huggingface.co/docs/transformers/multilingual, you cannot reach the second `multilingual` page I will work on the doc-builder that checks locals are unique; [line here](https://github.com/huggingface/transfor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15925/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15925/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15924
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15924/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15924/comments
https://api.github.com/repos/huggingface/transformers/issues/15924/events
https://github.com/huggingface/transformers/pull/15924
1,158,654,682
PR_kwDOCUB6oc4z52i8
15,924
Re-enabling all fast pipeline tests.
{ "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_15924). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
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 with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15924/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15924/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15924", "html_url": "https://github.com/huggingface/transformers/pull/15924", "diff_url": "https://github.com/huggingface/transformers/pull/15924.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15924.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15923
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15923/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15923/comments
https://api.github.com/repos/huggingface/transformers/issues/15923/events
https://github.com/huggingface/transformers/pull/15923
1,158,625,666
PR_kwDOCUB6oc4z5wZm
15,923
Large change to enable MaskFormerForInstanceSegmentation
{ "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_15923). All of your documentation changes will be reflected on that endpoint.", "closing in favor of https://github.com/huggingface/transformers/pull/15937" ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? Changing the goal of this PR. I'll split this PR into more manageable chunks instead: - Adding the AutoDicts : https://github.com/huggingface/transformers/pull/15934 - Making modifications for FeatureExtractor https://github.com/huggingface/transformers/pull/15916 - Making modificatio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15923/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15923/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15923", "html_url": "https://github.com/huggingface/transformers/pull/15923", "diff_url": "https://github.com/huggingface/transformers/pull/15923.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15923.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15922
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15922/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15922/comments
https://api.github.com/repos/huggingface/transformers/issues/15922/events
https://github.com/huggingface/transformers/pull/15922
1,158,557,592
PR_kwDOCUB6oc4z5h5_
15,922
Do a pull in case docs were updated during build
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15922). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
COLLABORATOR
null
# What does this PR do? Now that the build of the documentation takes a long time, it can happen that the doc has changed when trying to update the doc-build repo in the case of a release (for instance there was a failure with the v4.17.0 release doc update since the master doc was updated during its build). This P...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15922/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15922/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15922", "html_url": "https://github.com/huggingface/transformers/pull/15922", "diff_url": "https://github.com/huggingface/transformers/pull/15922.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15922.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15921
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15921/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15921/comments
https://api.github.com/repos/huggingface/transformers/issues/15921/events
https://github.com/huggingface/transformers/pull/15921
1,158,552,432
PR_kwDOCUB6oc4z5gzq
15,921
Simplify release utils
{ "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,646
1,646
1,646
COLLABORATOR
null
# What does this PR do? This removes parts of the release util script that are now obsolete.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15921/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15921/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15921", "html_url": "https://github.com/huggingface/transformers/pull/15921", "diff_url": "https://github.com/huggingface/transformers/pull/15921.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15921.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15920
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15920/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15920/comments
https://api.github.com/repos/huggingface/transformers/issues/15920/events
https://github.com/huggingface/transformers/pull/15920
1,158,542,401
PR_kwDOCUB6oc4z5eqc
15,920
Fix Embedding Module Bug in Flax Models
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15920). All of your documentation changes will be reflected on that endpoint.", "@sanchit-gandhi thanks for the PR - could you add a code snippet that shows how this design leads to an error? Not a big fan in general of add...
1,646
1,646
1,646
CONTRIBUTOR
null
This PR fixes a widespread bug relating to the way in which Embedding Modules are defined for a number of different Flax Modules. In all of these instances, `embed_tokens` is defined as an optional `nn.Embed` attribute in the corresponding Flax Module: https://github.com/huggingface/transformers/blob/b693cbf99c5a180dd...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15920/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15920/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15920", "html_url": "https://github.com/huggingface/transformers/pull/15920", "diff_url": "https://github.com/huggingface/transformers/pull/15920.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15920.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15919
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15919/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15919/comments
https://api.github.com/repos/huggingface/transformers/issues/15919/events
https://github.com/huggingface/transformers/issues/15919
1,158,511,478
I_kwDOCUB6oc5FDXt2
15,919
camembert tokinizer
{ "login": "ElleuchMed2022", "id": 95525954, "node_id": "U_kgDOBbGcQg", "avatar_url": "https://avatars.githubusercontent.com/u/95525954?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ElleuchMed2022", "html_url": "https://github.com/ElleuchMed2022", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "Make sure you install `sentencepiece`!", "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/huggingfa...
1,646
1,649
1,649
NONE
null
# Initialize CamemBERT tokenizer tokenizer=CamembertTokenizer.from_pretrained('camembert-base',do_lower_case=True) TypeError: 'NoneType' object is not callable
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15919/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15919/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15918
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15918/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15918/comments
https://api.github.com/repos/huggingface/transformers/issues/15918/events
https://github.com/huggingface/transformers/pull/15918
1,158,490,242
PR_kwDOCUB6oc4z5Tiq
15,918
Do not change the output from tuple to list - to match PT's version
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15918). All of your documentation changes will be reflected on that endpoint.", "I can't think of any general TF reason to prefer lists to tuples, so if the tests pass and nothing broke then LGTM!", "Would like to hear fr...
1,646
1,646
1,646
COLLABORATOR
null
# What does this PR do? Current `TFPegasusDecoder` change `all_self_attns` and `all_cross_attns` from `tuple` to `list` before return the outputs: https://github.com/huggingface/transformers/blob/3c4fbc616f74120c3900d07c772b7d2d9c7a53dd/src/transformers/models/pegasus/modeling_tf_pegasus.py#L1061-L1065 Pytorch...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15918/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15918/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15918", "html_url": "https://github.com/huggingface/transformers/pull/15918", "diff_url": "https://github.com/huggingface/transformers/pull/15918.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15918.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15917
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15917/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15917/comments
https://api.github.com/repos/huggingface/transformers/issues/15917/events
https://github.com/huggingface/transformers/pull/15917
1,158,462,514
PR_kwDOCUB6oc4z5NtD
15,917
Enabling MaskFormer in pipelines
{ "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
[]
[ "I'll go ahead and merge this, and create another PR for the dict." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? Enabling MaskFormer in pipelines. ```python pipeline = pipeline( model=MaskFormerForInstanceSegmentation.from_pretrained(".."), feature_extractor=AutoFeatureExtractor.from_pretrained("..."), task="image-segmentation", ) ``` However `pipeline(model="...")` doesn't work yet: - We n...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15917/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15917/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15917", "html_url": "https://github.com/huggingface/transformers/pull/15917", "diff_url": "https://github.com/huggingface/transformers/pull/15917.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15917.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15916
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15916/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15916/comments
https://api.github.com/repos/huggingface/transformers/issues/15916/events
https://github.com/huggingface/transformers/pull/15916
1,158,457,504
PR_kwDOCUB6oc4z5MpH
15,916
Minor fixes for MaskFormer
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15916). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? Fix a bug found by @Narsil in the `feature_extractor.post_process_panoptic_segmentation`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15916/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15916/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15916", "html_url": "https://github.com/huggingface/transformers/pull/15916", "diff_url": "https://github.com/huggingface/transformers/pull/15916.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15916.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15915
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15915/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15915/comments
https://api.github.com/repos/huggingface/transformers/issues/15915/events
https://github.com/huggingface/transformers/pull/15915
1,158,448,747
PR_kwDOCUB6oc4z5Kzw
15,915
Maskformer
{ "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
[]
[]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? Fix a bug found by @Narsil in the `feature_extractor.post_process_panoptic_segmentation`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15915/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15915/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15915", "html_url": "https://github.com/huggingface/transformers/pull/15915", "diff_url": "https://github.com/huggingface/transformers/pull/15915.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15915.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15914
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15914/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15914/comments
https://api.github.com/repos/huggingface/transformers/issues/15914/events
https://github.com/huggingface/transformers/issues/15914
1,158,442,359
I_kwDOCUB6oc5FDG13
15,914
query() of generator `max_length` being succeeded
{ "login": "danielbellhv", "id": 84714841, "node_id": "MDQ6VXNlcjg0NzE0ODQx", "avatar_url": "https://avatars.githubusercontent.com/u/84714841?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danielbellhv", "html_url": "https://github.com/danielbellhv", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi @danielbellhv ,\r\n\r\nThis is actually working as intended.\r\n`max_length` is expressed in number of tokens (which is not necessarily obvious I admit).\r\n\r\nFirst of all I would recommend using `max_new_tokens=200` which are the number of \"additional\" tokens which is easier for you to control. `max_length...
1,646
1,646
1,646
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: - Platform: Visual Studio Code, Windows 10, WSL 2 Bash - Python version: 3.8.8 - PyTorch CUDA: 10.2 ### W...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15914/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15914/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15913
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15913/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15913/comments
https://api.github.com/repos/huggingface/transformers/issues/15913/events
https://github.com/huggingface/transformers/pull/15913
1,158,385,039
PR_kwDOCUB6oc4z49N6
15,913
Support CLIPTokenizerFast for CLIPProcessor
{ "login": "cosmoquester", "id": 30718444, "node_id": "MDQ6VXNlcjMwNzE4NDQ0", "avatar_url": "https://avatars.githubusercontent.com/u/30718444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cosmoquester", "html_url": "https://github.com/cosmoquester", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15913). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? Fixes #15888 Support CLIPTokenizerFast for CLIPProcessor. Update CLIPProcessor test code for saving and loading CLIPProcessor with fast tokenizer. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did yo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15913/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15913/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15913", "html_url": "https://github.com/huggingface/transformers/pull/15913", "diff_url": "https://github.com/huggingface/transformers/pull/15913.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15913.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15912
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15912/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15912/comments
https://api.github.com/repos/huggingface/transformers/issues/15912/events
https://github.com/huggingface/transformers/pull/15912
1,158,380,695
PR_kwDOCUB6oc4z48Tg
15,912
[WIP]Resnet with variants
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15912). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,646
1,650
1,650
CONTRIBUTOR
null
# What does this PR do? This PR shows how including the required changes to make `resnet-d` variant look but also to quickly decide to use one embedding type over another. Usage: ```python # normal embeddings config = ResNetConfig(embedding_type='basic') # embeddings is replace by 3 3x3 convs config = ResNet...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15912/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15912/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15912", "html_url": "https://github.com/huggingface/transformers/pull/15912", "diff_url": "https://github.com/huggingface/transformers/pull/15912.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15912.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15911
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15911/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15911/comments
https://api.github.com/repos/huggingface/transformers/issues/15911/events
https://github.com/huggingface/transformers/pull/15911
1,158,366,432
PR_kwDOCUB6oc4z45Rl
15,911
[Doctests] Fix ignore bug and add more 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
[]
[]
1,646
1,646
1,646
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/15911/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15911/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15911", "html_url": "https://github.com/huggingface/transformers/pull/15911", "diff_url": "https://github.com/huggingface/transformers/pull/15911.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15911.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15910
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15910/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15910/comments
https://api.github.com/repos/huggingface/transformers/issues/15910/events
https://github.com/huggingface/transformers/issues/15910
1,158,333,683
I_kwDOCUB6oc5FCsTz
15,910
Flax XLM-RoBERTa
{ "login": "versae", "id": 173537, "node_id": "MDQ6VXNlcjE3MzUzNw==", "avatar_url": "https://avatars.githubusercontent.com/u/173537?v=4", "gravatar_id": "", "url": "https://api.github.com/users/versae", "html_url": "https://github.com/versae", "followers_url": "https://api.github.com/users/versae/follow...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[]
1,646
1,646
1,646
CONTRIBUTOR
null
# 🌟 New model addition: Flax XLM-RoBERTa ## Model description The Flax version of RoBERTa and PyTorch and TF XLM-RoBERTa have been there for a while, but some pieces were missing that prevented us from doing pre-training and other tasks on Flask XLM-RoBERTa. In this PR #15900, I am adding those parts that were n...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15910/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/15910/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15909
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15909/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15909/comments
https://api.github.com/repos/huggingface/transformers/issues/15909/events
https://github.com/huggingface/transformers/pull/15909
1,158,329,271
PR_kwDOCUB6oc4z4xQu
15,909
[Tests] Add attentions_option to ModelTesterMixin
{ "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._", "You'll need to fix the failing tests as well.", "Thanks for this work @NielsRogge !\r\n\r\nI left a review comment (question) about `test_forward_signature`.\r\n\r\nAnd then a minor question here:\r\n\r\nhttps://github.com/huggingf...
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? The library is called HuggingFace Transformers, I know.. but we recently have additions of non-Transformer based models, that don't use attention (namely ConvNeXT and PoolFormer). Soon, we'll also have ResNet in the library (which will back Transformer-based models such as DETR). As these ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15909/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15909/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15909", "html_url": "https://github.com/huggingface/transformers/pull/15909", "diff_url": "https://github.com/huggingface/transformers/pull/15909.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15909.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15908
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15908/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15908/comments
https://api.github.com/repos/huggingface/transformers/issues/15908/events
https://github.com/huggingface/transformers/issues/15908
1,158,301,540
I_kwDOCUB6oc5FCkdk
15,908
RFC -- TF: unpack model inputs through a decorator
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "This is a really good idea, I think! The loss of type hinting might be an issue, though - I think our models are almost totally type-hinted in PT, though that's probably just to get them to compile with Torchscript and isn't strictly necessary for TF.\r\n\r\nProbably there's some way to salvage this, though - Py3....
1,646
1,646
1,646
MEMBER
null
# RFC This is an RFC concerning how model/layer inputs are handled in TF. The details are below and it includes a working demo with the proposed solution -- comments (and concerns) are deeply appreciated. cc @Rocketknight1 @LysandreJik @sgugger ## Motivation In all TF models and main layers, in their `ca...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15908/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15908/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15907
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15907/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15907/comments
https://api.github.com/repos/huggingface/transformers/issues/15907/events
https://github.com/huggingface/transformers/pull/15907
1,158,256,078
PR_kwDOCUB6oc4z4hsb
15,907
TF: Unpack model inputs through a decorator
{ "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._", "As suggested by @sgugger in #15908, I've opened the PR :)", "This looks great! Also pinging @patrickvonplaten for review as it's quite central", "Thanks for running the tests on it. It is way more readable like that indeed.", "...
1,646
1,646
1,646
MEMBER
null
# What does this PR do? Unpacks TF model inputs through a decorator, improving code clarity. To be read with issue https://github.com/huggingface/transformers/issues/15908, which holds the description of the problem, the proposed solution, and future plan. Closes https://github.com/huggingface/transformers/issues...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15907/reactions", "total_count": 3, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15907/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15907", "html_url": "https://github.com/huggingface/transformers/pull/15907", "diff_url": "https://github.com/huggingface/transformers/pull/15907.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15907.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15906
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15906/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15906/comments
https://api.github.com/repos/huggingface/transformers/issues/15906/events
https://github.com/huggingface/transformers/pull/15906
1,158,204,527
PR_kwDOCUB6oc4z4W0T
15,906
[Fix link in pipeline doc]
{ "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_15906). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
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/15906/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15906/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15906", "html_url": "https://github.com/huggingface/transformers/pull/15906", "diff_url": "https://github.com/huggingface/transformers/pull/15906.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15906.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15905
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15905/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15905/comments
https://api.github.com/repos/huggingface/transformers/issues/15905/events
https://github.com/huggingface/transformers/pull/15905
1,158,099,653
PR_kwDOCUB6oc4z4BOr
15,905
Add vision models to doc tests
{ "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
[]
[]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? This PR adds all vision models to the doc tests (and fixes the code examples of `xxxForMaskedImageModeling` models). Thanks @patrickvonplaten for reviving these.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15905/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15905/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15905", "html_url": "https://github.com/huggingface/transformers/pull/15905", "diff_url": "https://github.com/huggingface/transformers/pull/15905.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15905.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15904
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15904/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15904/comments
https://api.github.com/repos/huggingface/transformers/issues/15904/events
https://github.com/huggingface/transformers/issues/15904
1,158,097,421
I_kwDOCUB6oc5FByoN
15,904
Incomplete padding support for Funnel Transformer.
{ "login": "Fraser-Greenlee", "id": 8402500, "node_id": "MDQ6VXNlcjg0MDI1MDA=", "avatar_url": "https://avatars.githubusercontent.com/u/8402500?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Fraser-Greenlee", "html_url": "https://github.com/Fraser-Greenlee", "followers_url": "https://api.g...
[]
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,646
1,649
1,649
CONTRIBUTOR
null
Looks like there's a tiny bug in the funnel transformer implementation. https://github.com/huggingface/transformers/blob/39249c9589f5eb9677807e74221e2eb3ea1b4a35/src/transformers/models/funnel/modeling_funnel.py#L783 Should be: ```python module.word_embeddings.weight.data[module.word_embeddings.padding_idx].zero_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15904/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15904/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15903
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15903/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15903/comments
https://api.github.com/repos/huggingface/transformers/issues/15903/events
https://github.com/huggingface/transformers/pull/15903
1,157,774,489
PR_kwDOCUB6oc4z2-Lr
15,903
Fix doc links in release utils
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15903). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
COLLABORATOR
null
# What does this PR do? This PR fixes the link replacements in the release utils, since the links changed with the new doc front.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15903/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15903/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15903", "html_url": "https://github.com/huggingface/transformers/pull/15903", "diff_url": "https://github.com/huggingface/transformers/pull/15903.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15903.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15902
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15902/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15902/comments
https://api.github.com/repos/huggingface/transformers/issues/15902/events
https://github.com/huggingface/transformers/pull/15902
1,157,618,314
PR_kwDOCUB6oc4z2dHY
15,902
[WIP] Add Fusion-in-Decoder
{ "login": "bhavitvyamalik", "id": 19718818, "node_id": "MDQ6VXNlcjE5NzE4ODE4", "avatar_url": "https://avatars.githubusercontent.com/u/19718818?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhavitvyamalik", "html_url": "https://github.com/bhavitvyamalik", "followers_url": "https://api.gi...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15902). All of your documentation changes will be reflected on that endpoint.", "In their [model](https://github.com/facebookresearch/FiD/blob/main/src/model.py) code, they are using `EncoderWrapper` and `CheckpointWrapper`...
1,646
1,650
null
CONTRIBUTOR
null
# What does this PR do? This PR adds the Fusion-in-Decoder model to the repository. Paper: https://arxiv.org/abs/2007.01282 Code: https://github.com/facebookresearch/FiD ## Who can review? Anyone in the community is free to review the PR once the tests have passed. @patil-suraj, @patrickvonplaten, @qqaatw
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15902/reactions", "total_count": 6, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 3, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15902/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15902", "html_url": "https://github.com/huggingface/transformers/pull/15902", "diff_url": "https://github.com/huggingface/transformers/pull/15902.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15902.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15901
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15901/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15901/comments
https://api.github.com/repos/huggingface/transformers/issues/15901/events
https://github.com/huggingface/transformers/pull/15901
1,157,611,545
PR_kwDOCUB6oc4z2btI
15,901
tiny tweak to allow BatchEncoding.token_to_char when token doesn't correspond to chars
{ "login": "garyhlai", "id": 22721482, "node_id": "MDQ6VXNlcjIyNzIxNDgy", "avatar_url": "https://avatars.githubusercontent.com/u/22721482?v=4", "gravatar_id": "", "url": "https://api.github.com/users/garyhlai", "html_url": "https://github.com/garyhlai", "followers_url": "https://api.github.com/users/gar...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu...
1,646
1,650
1,650
CONTRIBUTOR
null
Tagging @n1t0 @thomwolf @sgugger but this PR should be extremely quick to review for anyone. # Problem `BatchEncoding.token_to_char` is supposed to return the char spans in the original string; however, right now, for tokens such as "\<s>, \</s>, \<CLS>" that don't correspond to any chars in the original string, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15901/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15901/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15901", "html_url": "https://github.com/huggingface/transformers/pull/15901", "diff_url": "https://github.com/huggingface/transformers/pull/15901.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15901.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15900
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15900/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15900/comments
https://api.github.com/repos/huggingface/transformers/issues/15900/events
https://github.com/huggingface/transformers/pull/15900
1,157,459,080
PR_kwDOCUB6oc4z17gv
15,900
Add missing support for Flax XLM-RoBERTa
{ "login": "versae", "id": 173537, "node_id": "MDQ6VXNlcjE3MzUzNw==", "avatar_url": "https://avatars.githubusercontent.com/u/173537?v=4", "gravatar_id": "", "url": "https://api.github.com/users/versae", "html_url": "https://github.com/versae", "followers_url": "https://api.github.com/users/versae/follow...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15900). All of your documentation changes will be reflected on that endpoint.", "Thanks a lot @versae !", "I run the test using the PyTorch weights and it seems to work. I'm also already training a model using a TPUv3-8 w...
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? The PyTorch and TF XLM-RoBERTa model and the Flax model for RoBERTa were added a while ago, but there were still a few missing pieces in order to be able to run pre-training and other tasks using Flax XLM-RoBERTa. This PR adds those parts. Fixes #15910. ## Before submitting - [ ] This ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15900/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15900/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15900", "html_url": "https://github.com/huggingface/transformers/pull/15900", "diff_url": "https://github.com/huggingface/transformers/pull/15900.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15900.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15899
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15899/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15899/comments
https://api.github.com/repos/huggingface/transformers/issues/15899/events
https://github.com/huggingface/transformers/issues/15899
1,157,450,508
I_kwDOCUB6oc5E_UsM
15,899
Missing tags on Docker Hub after version 4.9.1
{ "login": "AdrienDS", "id": 1977281, "node_id": "MDQ6VXNlcjE5NzcyODE=", "avatar_url": "https://avatars.githubusercontent.com/u/1977281?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AdrienDS", "html_url": "https://github.com/AdrienDS", "followers_url": "https://api.github.com/users/Adrie...
[]
closed
false
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "cc'ing @mfuntowicz (among others)", "Hey! We indeed stopped pushing images a while back, but we've started doing so again a few weeks ago. It makes sense to push images with the versions.\r\n\r\nWill try to make some time and do so.", "This issue has been automatically marked as stale because it has not had re...
1,646
1,649
1,649
CONTRIBUTOR
null
## Environment info - `transformers` version: > 4.9.1 ### Who can help @mfuntowicz ? ## Information https://hub.docker.com/r/huggingface/transformers-pytorch-gpu/tags I was expecting 1 tag per transformers version on the docker hub, but the most recent tag (aside from `latest`) is for 4.9.1 and was pu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15899/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15899/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15898
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15898/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15898/comments
https://api.github.com/repos/huggingface/transformers/issues/15898/events
https://github.com/huggingface/transformers/issues/15898
1,157,415,026
I_kwDOCUB6oc5E_MBy
15,898
Error using evaluation in run_clm.py
{ "login": "andstor", "id": 21249611, "node_id": "MDQ6VXNlcjIxMjQ5NjEx", "avatar_url": "https://avatars.githubusercontent.com/u/21249611?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andstor", "html_url": "https://github.com/andstor", "followers_url": "https://api.github.com/users/andsto...
[]
closed
false
{ "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...
[ { "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.git...
[ "Most likely this PR https://github.com/huggingface/transformers/pull/15473 introduced the breakage, since this code didn't exist before:\r\n\r\nhttps://github.com/huggingface/transformers/blob/130b987880a9b1ade5c76dc1413c12c8924fda50/examples/pytorch/language-modeling/run_clm.py#L456-L457\r\n\r\nMost likely the ne...
1,646
1,646
1,646
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.17.0.dev0 - Platform: Linux-4.18.0-193.el8.x86_64-x86_64-with-glibc2.10 - Python version: 3.8.3 - PyTorch ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15898/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15898/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15897
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15897/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15897/comments
https://api.github.com/repos/huggingface/transformers/issues/15897/events
https://github.com/huggingface/transformers/pull/15897
1,157,411,026
PR_kwDOCUB6oc4z1xf6
15,897
Update readme with how to train offline and fix BPE command
{ "login": "ncoop57", "id": 7613470, "node_id": "MDQ6VXNlcjc2MTM0NzA=", "avatar_url": "https://avatars.githubusercontent.com/u/7613470?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ncoop57", "html_url": "https://github.com/ncoop57", "followers_url": "https://api.github.com/users/ncoop57/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15897). All of your documentation changes will be reflected on that endpoint.", "@lvwerra thanks for the edits, it reads a lot better!", "A...
1,646
1,648
1,648
CONTRIBUTOR
null
# What does this PR do? Just some minor updates to the README with how to do offline training and fixed the BPE command to allow for easy copy and paste. @lvwerra
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15897/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15897/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15897", "html_url": "https://github.com/huggingface/transformers/pull/15897", "diff_url": "https://github.com/huggingface/transformers/pull/15897.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15897.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15896
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15896/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15896/comments
https://api.github.com/repos/huggingface/transformers/issues/15896/events
https://github.com/huggingface/transformers/pull/15896
1,157,410,539
PR_kwDOCUB6oc4z1xal
15,896
Fix a TF Vision Encoder Decoder test
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15896). All of your documentation changes will be reflected on that endpoint.", "Probably wait @patrickvonplaten too, but once ready, should I merge this PR myself ? (or still should be one of you to do so?)", "You can me...
1,646
1,646
1,646
COLLABORATOR
null
# What does this PR do? Simple fix for the following CI failure: ``` tests.vision_encoder_decoder.test_modeling_tf_vision_encoder_decoder.TFViT2GPT2EncoderDecoderModelTest.test_pt_tf_equivalence ``` This is due to a few PyTorch device issue (need `pt_inputs` to be on the correct device). Tested on GCP GPU ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15896/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15896/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15896", "html_url": "https://github.com/huggingface/transformers/pull/15896", "diff_url": "https://github.com/huggingface/transformers/pull/15896.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15896.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15895
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15895/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15895/comments
https://api.github.com/repos/huggingface/transformers/issues/15895/events
https://github.com/huggingface/transformers/pull/15895
1,157,390,472
PR_kwDOCUB6oc4z1tQw
15,895
Fix SegformerForImageClassification
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15895). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? After #15889 and removing the deprecated `reshape_last_stage` attribute for 6 checkpoints on the hub, this PR makes sure `SegformerForImageClassification` properly uses the features from the backbone in order to compute the image class.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15895/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15895/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15895", "html_url": "https://github.com/huggingface/transformers/pull/15895", "diff_url": "https://github.com/huggingface/transformers/pull/15895.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15895.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15894
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15894/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15894/comments
https://api.github.com/repos/huggingface/transformers/issues/15894/events
https://github.com/huggingface/transformers/pull/15894
1,157,354,348
PR_kwDOCUB6oc4z1lj3
15,894
testing github pr
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15894). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
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/15894/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15894/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15894", "html_url": "https://github.com/huggingface/transformers/pull/15894", "diff_url": "https://github.com/huggingface/transformers/pull/15894.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15894.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15893
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15893/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15893/comments
https://api.github.com/repos/huggingface/transformers/issues/15893/events
https://github.com/huggingface/transformers/pull/15893
1,157,343,719
PR_kwDOCUB6oc4z1jUS
15,893
Updating the slow tests:
{ "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_15893). All of your documentation changes will be reflected on that endpoint.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15893). All of your documentation changes will be re...
1,646
1,646
1,646
CONTRIBUTOR
null
Linked to https://github.com/huggingface/transformers/pull/15826 # 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 exten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15893/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15893/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15893", "html_url": "https://github.com/huggingface/transformers/pull/15893", "diff_url": "https://github.com/huggingface/transformers/pull/15893.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15893.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15892
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15892/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15892/comments
https://api.github.com/repos/huggingface/transformers/issues/15892/events
https://github.com/huggingface/transformers/pull/15892
1,157,341,815
PR_kwDOCUB6oc4z1i6v
15,892
[XGLM] run sampling test on CPU to be deterministic
{ "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
[]
[ "Think you can rebase to master to solve the failing test" ]
1,646
1,646
1,646
MEMBER
null
# What does this PR do? This PR makes `test_xglm_sample` run on CPU to make it deterministic and pass.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15892/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15892/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15892", "html_url": "https://github.com/huggingface/transformers/pull/15892", "diff_url": "https://github.com/huggingface/transformers/pull/15892.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15892.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15891
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15891/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15891/comments
https://api.github.com/repos/huggingface/transformers/issues/15891/events
https://github.com/huggingface/transformers/pull/15891
1,157,340,497
PR_kwDOCUB6oc4z1ipi
15,891
Update delete-dev-doc job to match build-dev-doc
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15891). All of your documentation changes will be reflected on that endpoint.", "Were you able to fix them? I was trying to fix the `delete_doc_job` as well in https://github.com/huggingface/transformers/pull/15894/files wi...
1,646
1,646
1,646
COLLABORATOR
null
# What does this PR do? This PR fixes the `delete-dev-doc` job to use the same runner as `buld-dev-doc`. It also fixes the `build-dev-doc` job failures that happen if the `doc-build-dev` repo got an update during the time the doc is built while not doing the stash if not necessary (which was the bug #15882 was tryin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15891/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15891/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15891", "html_url": "https://github.com/huggingface/transformers/pull/15891", "diff_url": "https://github.com/huggingface/transformers/pull/15891.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15891.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15890
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15890/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15890/comments
https://api.github.com/repos/huggingface/transformers/issues/15890/events
https://github.com/huggingface/transformers/pull/15890
1,157,330,817
PR_kwDOCUB6oc4z1glu
15,890
The tests were not updated after the addition of `torch.diag`
{ "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_15890). All of your documentation changes will be reflected on that endpoint.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15890). All of your documentation changes will be re...
1,646
1,646
1,646
CONTRIBUTOR
null
in the scoring (which is more correct) # What does this PR do? Fixes 2 slow tests. <!-- 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 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15890/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15890/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15890", "html_url": "https://github.com/huggingface/transformers/pull/15890", "diff_url": "https://github.com/huggingface/transformers/pull/15890.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15890.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15889
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15889/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15889/comments
https://api.github.com/repos/huggingface/transformers/issues/15889/events
https://github.com/huggingface/transformers/pull/15889
1,157,267,534
PR_kwDOCUB6oc4z1TBW
15,889
[SegFormer] Add deprecation warning
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15889). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? This PR takes it a bit more light compared to #15748. Rather than removing the `reshape_last_stage` argument right away, this PR instead tells users that this argument is deprecated and will soon be removed. After some weeks, we can then merge #15748.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15889/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15889/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15889", "html_url": "https://github.com/huggingface/transformers/pull/15889", "diff_url": "https://github.com/huggingface/transformers/pull/15889.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15889.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15888
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15888/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15888/comments
https://api.github.com/repos/huggingface/transformers/issues/15888/events
https://github.com/huggingface/transformers/issues/15888
1,157,086,320
I_kwDOCUB6oc5E97xw
15,888
CLIPProcessor with CLIPTokenizerFast
{ "login": "cosmoquester", "id": 30718444, "node_id": "MDQ6VXNlcjMwNzE4NDQ0", "avatar_url": "https://avatars.githubusercontent.com/u/30718444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cosmoquester", "html_url": "https://github.com/cosmoquester", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hey @cosmoquester !\r\nThe `CLIPTokenizerFast` was not used in the processor because there was an issue with it which is now fixed, cf #15067\r\n\r\nSo yes, we can now support `CLIPTokenizerFast` for `CLIPProcessor`. Feel free to open a PR!" ]
1,646
1,646
1,646
CONTRIBUTOR
null
# 🚀 Feature request Current `CLIPProcessor` doesn't support `CLIPTokenizerFast` requiring `CLIPTokenizer`. In my thinking, there is no reason not to support `CLIPTokenizerFast` for `CLIPProcessor` ## Motivation <!-- Please outline the motivation for the proposal. Is your feature request related to a pr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15888/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15888/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15887
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15887/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15887/comments
https://api.github.com/repos/huggingface/transformers/issues/15887/events
https://github.com/huggingface/transformers/pull/15887
1,157,010,823
PR_kwDOCUB6oc4z0buB
15,887
Fix Bug in FlaxWav2Vec2 Slow Test
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[]
1,646
1,646
1,646
CONTRIBUTOR
null
This PR fixes a small bug the `test_inference_ctc_robust_batched` FlaxWav2Vec2 slow test. Currently, the input processor is run with `return_tensors="pt"` and `trunctation=True`: https://github.com/huggingface/transformers/blob/05c237ea94e08786abbac6c6185cfdfa262a8c53/tests/wav2vec2/test_modeling_flax_wav2vec2.py#L387...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15887/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15887/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15887", "html_url": "https://github.com/huggingface/transformers/pull/15887", "diff_url": "https://github.com/huggingface/transformers/pull/15887.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15887.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15886
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15886/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15886/comments
https://api.github.com/repos/huggingface/transformers/issues/15886/events
https://github.com/huggingface/transformers/pull/15886
1,156,972,673
PR_kwDOCUB6oc4z0Tiv
15,886
Update CLIPFeatureExtractor to convert PIL image to RGB
{ "login": "hengkuanwee", "id": 49215650, "node_id": "MDQ6VXNlcjQ5MjE1NjUw", "avatar_url": "https://avatars.githubusercontent.com/u/49215650?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hengkuanwee", "html_url": "https://github.com/hengkuanwee", "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_15886). All of your documentation changes will be reflected on that endpoint.", "@patil-suraj @sgugger any idea why the `Build dev documentation / build_and_package` check failed? based on the error log, I initially suspect...
1,646
1,650
1,650
CONTRIBUTOR
null
# What does this PR do? <!-- - Converts PIL image to `RGB` if processed by CLIPFeatureExtractor. --> Currently PIL images with `RGBA` format throws an error when being processed by CLIPFeatureExtractor. CLIPFeatureExtractor.normalize() throws the following error: `.../sentence-transformer/lib/python3.9...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15886/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15886/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15886", "html_url": "https://github.com/huggingface/transformers/pull/15886", "diff_url": "https://github.com/huggingface/transformers/pull/15886.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15886.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15885
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15885/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15885/comments
https://api.github.com/repos/huggingface/transformers/issues/15885/events
https://github.com/huggingface/transformers/issues/15885
1,156,882,113
I_kwDOCUB6oc5E9J7B
15,885
After vocabulary extension the tokenizer keeps on running.
{ "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
[]
[ "Hi @pratikchhapolika ! The best place to ask this question would be to use the [forum](https://discuss.huggingface.co/). We use issues for bug reports and feature requests.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed p...
1,646
1,649
1,649
NONE
null
I am training a simple binary classification model using Hugging face models using pytorch. Bert PyTorch HuggingFace. `keyword_lst` has `20k` new token which I add to tokenizer. `I take mean of old tokenizer to update new tokenizers.` I am training this model for `4,00,000 data points.` Here is the co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15885/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15885/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15884
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15884/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15884/comments
https://api.github.com/repos/huggingface/transformers/issues/15884/events
https://github.com/huggingface/transformers/pull/15884
1,156,823,158
PR_kwDOCUB6oc4zzx0L
15,884
Fix tiny typo in docs
{ "login": "rhjohnstone", "id": 19284097, "node_id": "MDQ6VXNlcjE5Mjg0MDk3", "avatar_url": "https://avatars.githubusercontent.com/u/19284097?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rhjohnstone", "html_url": "https://github.com/rhjohnstone", "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_15884). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
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/15884/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15884/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15884", "html_url": "https://github.com/huggingface/transformers/pull/15884", "diff_url": "https://github.com/huggingface/transformers/pull/15884.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15884.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15883
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15883/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15883/comments
https://api.github.com/repos/huggingface/transformers/issues/15883/events
https://github.com/huggingface/transformers/issues/15883
1,156,490,976
I_kwDOCUB6oc5E7qbg
15,883
Failed to find input with name: attention_mask in the model input def list
{ "login": "imVParashar", "id": 87163900, "node_id": "MDQ6VXNlcjg3MTYzOTAw", "avatar_url": "https://avatars.githubusercontent.com/u/87163900?v=4", "gravatar_id": "", "url": "https://api.github.com/users/imVParashar", "html_url": "https://github.com/imVParashar", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "cc @lewtun ", "Hey @imVParashar thanks for raising the issue. We recently had to fix the (deprecated) TensorFlow exporter in #15856, so if you install from `master` the following should work:\r\n\r\n```python\r\nfrom pathlib import Path\r\n\r\nimport numpy as np\r\nimport onnxruntime\r\n\r\nfrom transformers imp...
1,646
1,646
1,646
NONE
null
There's something wrong while using ONNX Runtime for the `TFDistilBertForSequenceClassification` model. It throws the following error while using the TensorFlow model, `Failed to find input with the name: attention_mask in the model input def list`. However, if I only pass `input_ids`, then it works. For Pytor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15883/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15883/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15882
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15882/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15882/comments
https://api.github.com/repos/huggingface/transformers/issues/15882/events
https://github.com/huggingface/transformers/pull/15882
1,156,292,881
PR_kwDOCUB6oc4zx43Z
15,882
Remove stash for now
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15882). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
MEMBER
null
Remove stash application to prevent failures on master.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15882/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15882/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15882", "html_url": "https://github.com/huggingface/transformers/pull/15882", "diff_url": "https://github.com/huggingface/transformers/pull/15882.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15882.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15881
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15881/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15881/comments
https://api.github.com/repos/huggingface/transformers/issues/15881/events
https://github.com/huggingface/transformers/pull/15881
1,156,120,511
PR_kwDOCUB6oc4zxR-p
15,881
fix deepspeed tests
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15881). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
Making deepspeed tests work again after the big tests structure reshuffle. @LysandreJik - we can't have `tests/deepspeed/__init__.py` as then it conflicts with the actual `deepspeed` package, please see: https://github.com/huggingface/transformers/pull/15725#issuecomment-1056027398 Additionally I don't think we s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15881/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15881/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15881", "html_url": "https://github.com/huggingface/transformers/pull/15881", "diff_url": "https://github.com/huggingface/transformers/pull/15881.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15881.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15880
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15880/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15880/comments
https://api.github.com/repos/huggingface/transformers/issues/15880/events
https://github.com/huggingface/transformers/issues/15880
1,155,926,409
I_kwDOCUB6oc5E5gmJ
15,880
Broken link error when using the CLIPTokenizerFast class
{ "login": "AntreasAntoniou", "id": 10792502, "node_id": "MDQ6VXNlcjEwNzkyNTAy", "avatar_url": "https://avatars.githubusercontent.com/u/10792502?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AntreasAntoniou", "html_url": "https://github.com/AntreasAntoniou", "followers_url": "https://api...
[]
closed
false
null
[]
[ "@AntreasAntoniou , I'm so sorry you had this problem. Part of the Hub was briefly unavailable on March 1st around 11pm UTC. I just tested again on my side and your snippet works fine. :smile: \r\n\r\n", "Yeah, it works fine now. Thanks for the response! :)" ]
1,646
1,646
1,646
NONE
null
## Environment info - `transformers` version: 4.17.0.dev0 - Platform: Linux-5.13.0-30-generic-x86_64-with-glibc2.10 - Python version: 3.8.12 - PyTorch version (GPU?): 1.11.0.dev20220116 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: n...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15880/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15880/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15879
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15879/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15879/comments
https://api.github.com/repos/huggingface/transformers/issues/15879/events
https://github.com/huggingface/transformers/pull/15879
1,155,909,588
PR_kwDOCUB6oc4zwh8n
15,879
[Bart] Fix implementation note doc
{ "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_15879). All of your documentation changes will be reflected on that endpoint.", "Please rebase on master to remove the dev documentation failure." ]
1,646
1,646
1,646
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/15879/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15879/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15879", "html_url": "https://github.com/huggingface/transformers/pull/15879", "diff_url": "https://github.com/huggingface/transformers/pull/15879.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15879.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15878
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15878/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15878/comments
https://api.github.com/repos/huggingface/transformers/issues/15878/events
https://github.com/huggingface/transformers/issues/15878
1,155,793,637
I_kwDOCUB6oc5E5ALl
15,878
label_attention_mask in Bart for conditional sequence generation and other seq2seq models.
{ "login": "JulesGM", "id": 3231217, "node_id": "MDQ6VXNlcjMyMzEyMTc=", "avatar_url": "https://avatars.githubusercontent.com/u/3231217?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JulesGM", "html_url": "https://github.com/JulesGM", "followers_url": "https://api.github.com/users/JulesGM/...
[]
closed
false
null
[]
[ "Hi @JulesGM ! \r\nThere is already an argument for that. Every seq2seq model has the `decoder_attention_mask` argument with which you can specify the attention mask for `decode_input_ids` which are fed to the decoder.", "Thanks.\n\"For translation and summarization training, decoder_input_ids should be\nprovided...
1,646
1,649
1,649
NONE
null
I find it very counterintuitive that the Bart class for conditional generation doesn't take label_attention_masks as an input, and that people are left to manually convert their padding tokens to values of -100. -> I think many new users are likely getting bitten by this, and will also be in the future. -> I think...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15878/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15878/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15877
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15877/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15877/comments
https://api.github.com/repos/huggingface/transformers/issues/15877/events
https://github.com/huggingface/transformers/pull/15877
1,155,749,875
PR_kwDOCUB6oc4zwAJM
15,877
Updates in Trainer to support new features in SM Model Parallel library
{ "login": "rahul003", "id": 3457240, "node_id": "MDQ6VXNlcjM0NTcyNDA=", "avatar_url": "https://avatars.githubusercontent.com/u/3457240?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rahul003", "html_url": "https://github.com/rahul003", "followers_url": "https://api.github.com/users/rahul...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15877). All of your documentation changes will be reflected on that endpoint.", "Lot of TF tests seem to fail, and there are a couple of strange errors. Could you take a look?\r\n", "Thanks for your PR! Please rebase on m...
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? - Calls state dict on rdp_rank==0 to fix hang for SMP when using tensor parallelism - Reorders wrapping of optimizer to happen after wrapping of model, which is a requirement for the newer version of SMP. - Uses the right ranks for data loading when using TP based on whether we are using ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15877/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15877/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15877", "html_url": "https://github.com/huggingface/transformers/pull/15877", "diff_url": "https://github.com/huggingface/transformers/pull/15877.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15877.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15876
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15876/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15876/comments
https://api.github.com/repos/huggingface/transformers/issues/15876/events
https://github.com/huggingface/transformers/issues/15876
1,155,748,301
I_kwDOCUB6oc5E41HN
15,876
Passing in num_labels to ConvNextForImageClassification.from_pretrained raises size mismatch error
{ "login": "davanstrien", "id": 8995957, "node_id": "MDQ6VXNlcjg5OTU5NTc=", "avatar_url": "https://avatars.githubusercontent.com/u/8995957?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davanstrien", "html_url": "https://github.com/davanstrien", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "This is because the checkpoint you are using has 1,000 labels. To ignore the pretrained weights of the classifier, you have to pass along `ignore_mismatched_sizes=True`.\r\n\r\nYou don't need this for other models if the pretrained model does not have a classifier head.", "> This is because the checkpoint you ar...
1,646
1,646
1,646
MEMBER
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.dev0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch ve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15876/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15876/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15875
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15875/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15875/comments
https://api.github.com/repos/huggingface/transformers/issues/15875/events
https://github.com/huggingface/transformers/pull/15875
1,155,600,039
PR_kwDOCUB6oc4zvgSw
15,875
Add ONNX support for Blenderbot and BlenderbotSmall
{ "login": "lewtun", "id": 26859204, "node_id": "MDQ6VXNlcjI2ODU5MjA0", "avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewtun", "html_url": "https://github.com/lewtun", "followers_url": "https://api.github.com/users/lewtun/fo...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15875). All of your documentation changes will be reflected on that endpoint.", "How's the work going for this PR?", "> How's the work going for this PR?\r\n\r\nThe export for `BlenderbotSmall` works well, but `Blenderbot...
1,646
1,648
1,648
MEMBER
null
# What does this PR do? This PR adds support to export `blenderbot` and `blenderbot-small` model types. For the `blenderbot` case, I found that I had to adapt the `_generate_dummy_examples()` functions that we implemented for `bart` to exclude the number of encoder layers when we create the `past_key_values` inpu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15875/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15875/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15875", "html_url": "https://github.com/huggingface/transformers/pull/15875", "diff_url": "https://github.com/huggingface/transformers/pull/15875.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15875.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15874
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15874/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15874/comments
https://api.github.com/repos/huggingface/transformers/issues/15874/events
https://github.com/huggingface/transformers/pull/15874
1,155,584,818
PR_kwDOCUB6oc4zvdBo
15,874
Bump up doc node version to 16
{ "login": "mishig25", "id": 11827707, "node_id": "MDQ6VXNlcjExODI3NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mishig25", "html_url": "https://github.com/mishig25", "followers_url": "https://api.github.com/users/mis...
[]
closed
false
null
[]
[ "@LysandreJik this should fix the CI issue in https://github.com/huggingface/transformers/pull/15710", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15874). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? Fixed the doc-build issue we disucssed by bumping up node 14 -> 16 <!-- 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 t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15874/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15874/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15874", "html_url": "https://github.com/huggingface/transformers/pull/15874", "diff_url": "https://github.com/huggingface/transformers/pull/15874.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15874.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15873
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15873/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15873/comments
https://api.github.com/repos/huggingface/transformers/issues/15873/events
https://github.com/huggingface/transformers/pull/15873
1,155,574,825
PR_kwDOCUB6oc4zva7K
15,873
Freeze FlaxWav2Vec2 Feature Encoder
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15873). All of your documentation changes will be reflected on that endpoint.", "As discussed offline - the test didn't check what it was supposed to check. Bad review from my part. We should open a new PR here to fix it cc...
1,646
1,646
1,646
CONTRIBUTOR
null
This PR enables the FlaxWav2Vec2 Feature Encoder to be _frozen_. The flow of gradients through the Feature Encoder during forward or reverse-mode automatic differentiation is prevented through use of a simple command (`jax.lax.stop_gradient`), thus holding the Feature Encoder parameters fixed. Freezing the Feature Enco...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15873/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15873/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15873", "html_url": "https://github.com/huggingface/transformers/pull/15873", "diff_url": "https://github.com/huggingface/transformers/pull/15873.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15873.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15872
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15872/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15872/comments
https://api.github.com/repos/huggingface/transformers/issues/15872/events
https://github.com/huggingface/transformers/pull/15872
1,155,560,005
PR_kwDOCUB6oc4zvX4b
15,872
Scatter should run on CUDA
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15872). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
MEMBER
null
Updates the docker images so that torch scatter runs on CUDA.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15872/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15872/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15872", "html_url": "https://github.com/huggingface/transformers/pull/15872", "diff_url": "https://github.com/huggingface/transformers/pull/15872.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15872.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15871
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15871/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15871/comments
https://api.github.com/repos/huggingface/transformers/issues/15871/events
https://github.com/huggingface/transformers/issues/15871
1,155,550,356
I_kwDOCUB6oc5E4EyU
15,871
How to go about utilizing MBART for conditional generation with beam search in ONNXRuntime with TensorRT/CUDA
{ "login": "JeroendenBoef", "id": 78356640, "node_id": "MDQ6VXNlcjc4MzU2NjQw", "avatar_url": "https://avatars.githubusercontent.com/u/78356640?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JeroendenBoef", "html_url": "https://github.com/JeroendenBoef", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "I was also adjusting the BART export to work for mBART in a translation setting. There you need to be able to set the `decoder_start_token_id` dynamically. I noticed that the ONNX conversion example you link to (thank you!) is not complete. It is missing the `dynamic_axes` configuration for the `attention_mask`. I...
1,646
1,648
1,648
NONE
null
Hi HuggingFace team, Last December I looked into exporting `MBartForConditionalGeneration` from `"facebook/mbart-large-50-many-to-one-mmt"` for the purpose of multilingual machine translation. Originally I followed the approach as described in this [BART + beam search example](https://github.com/huggingface/transfor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15871/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/15871/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15870
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15870/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15870/comments
https://api.github.com/repos/huggingface/transformers/issues/15870/events
https://github.com/huggingface/transformers/pull/15870
1,155,545,034
PR_kwDOCUB6oc4zvUyo
15,870
TF: Update QA example
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15870). All of your documentation changes will be reflected on that endpoint.", "@gante If you mean the bit that's in the PT example too, then we probably have to keep that! (And you don't need to change it for the refactor...
1,646
1,646
1,646
MEMBER
null
# What does this PR do? Another example update, this time for question answering. Removes the dummy loss (we can use the internal loss) and the custom dataset preparation. @Rocketknight1 in this example, the evaluation dataset has some custom handling. Do you think it is worth diving into?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15870/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15870/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15870", "html_url": "https://github.com/huggingface/transformers/pull/15870", "diff_url": "https://github.com/huggingface/transformers/pull/15870.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15870.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15869
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15869/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15869/comments
https://api.github.com/repos/huggingface/transformers/issues/15869/events
https://github.com/huggingface/transformers/issues/15869
1,155,538,326
I_kwDOCUB6oc5E4B2W
15,869
Mismatch between beam search score transition probabilities and beam sequence scores
{ "login": "PastelBelem8", "id": 10264262, "node_id": "MDQ6VXNlcjEwMjY0MjYy", "avatar_url": "https://avatars.githubusercontent.com/u/10264262?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PastelBelem8", "html_url": "https://github.com/PastelBelem8", "followers_url": "https://api.github.c...
[]
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,646
1,676
1,652
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: Linux-5.13.0-30-generic-x86_64-with-glibc2.31 - Python version: 3.9.7 - PyTorch version (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15869/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15869/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15868
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15868/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15868/comments
https://api.github.com/repos/huggingface/transformers/issues/15868/events
https://github.com/huggingface/transformers/pull/15868
1,155,462,188
PR_kwDOCUB6oc4zvDaa
15,868
TF: Update multiple choice example
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15868). All of your documentation changes will be reflected on that endpoint." ]
1,646
1,646
1,646
MEMBER
null
# What does this PR do? Updates the TF example for multiple choice. This example update is not as clean as the previous ones -- despite the deletion of a custom dataset function, it required the addition of a custom data collator ([just like in its PT counterpart](https://github.com/huggingface/transformers/blob/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15868/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15868/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15868", "html_url": "https://github.com/huggingface/transformers/pull/15868", "diff_url": "https://github.com/huggingface/transformers/pull/15868.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15868.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15867
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15867/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15867/comments
https://api.github.com/repos/huggingface/transformers/issues/15867/events
https://github.com/huggingface/transformers/issues/15867
1,155,432,185
I_kwDOCUB6oc5E3n75
15,867
IndexError: index out of range in self
{ "login": "asceznyk", "id": 83076769, "node_id": "MDQ6VXNlcjgzMDc2NzY5", "avatar_url": "https://avatars.githubusercontent.com/u/83076769?v=4", "gravatar_id": "", "url": "https://api.github.com/users/asceznyk", "html_url": "https://github.com/asceznyk", "followers_url": "https://api.github.com/users/asc...
[]
closed
false
null
[]
[ "Hey @asceznyk,\r\n\r\nIt looks like a word id is passed to the model which doesn't exist. One possible issue could be that you are passing `-100` values to the decoder as `decoder_input_ids`. Note that only the labels should be masked out with `-100` not the `decoder_input_ids`.", "Hey @patrickvonplaten thanks f...
1,646
1,646
1,646
NONE
null
## Environment info - `transformers` version: 4.15.0 - Platform: Linux-5.10.90+-x86_64-with-debian-bullseye-sid - Python version: 3.7.12 - PyTorch version (GPU?): 1.9.1+cpu (False) - Tensorflow version (GPU?): 2.6.2 (False) - Flax version (CPU?/GPU?/TPU?): 0.4.0 (cpu) - Jax version: 0.2.28 - JaxLib version: 0.1...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15867/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15867/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/15866
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15866/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15866/comments
https://api.github.com/repos/huggingface/transformers/issues/15866/events
https://github.com/huggingface/transformers/pull/15866
1,155,290,926
PR_kwDOCUB6oc4zufLG
15,866
Remove attention from padding
{ "login": "nicola-decao", "id": 9703100, "node_id": "MDQ6VXNlcjk3MDMxMDA=", "avatar_url": "https://avatars.githubusercontent.com/u/9703100?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nicola-decao", "html_url": "https://github.com/nicola-decao", "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_15866). All of your documentation changes will be reflected on that endpoint.", "Thank you for your PR! See issue here: https://github.com/huggingface/transformers/issues/14859\r\nIdeally we would want all models to behave ...
1,646
1,646
1,646
CONTRIBUTOR
null
# What does this PR do? This PR removes all attention from padding tokens where before there was a minimal ammount. This promotes reproducibility since it doesn't matter the batch size but one should get the same results every time from any task (which now is not the case). ## Before submitting - [ ] This PR fix...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15866/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15866/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15866", "html_url": "https://github.com/huggingface/transformers/pull/15866", "diff_url": "https://github.com/huggingface/transformers/pull/15866.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15866.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15865
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15865/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15865/comments
https://api.github.com/repos/huggingface/transformers/issues/15865/events
https://github.com/huggingface/transformers/pull/15865
1,155,203,516
PR_kwDOCUB6oc4zuMjS
15,865
use python 3.7 for flax self-push 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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15865). All of your documentation changes will be reflected on that endpoint.", "Thanks for working on it! Is the `apt` installation necessary when you already specified the Python version you wanted in the yaml?", "> Is ...
1,646
1,646
1,646
MEMBER
null
# What does this PR do? Use python 3.7 for flax self-push tests. This PR also removes`kenlm` installation since it was causing some issues and is actually not required for flax tests.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15865/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15865/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15865", "html_url": "https://github.com/huggingface/transformers/pull/15865", "diff_url": "https://github.com/huggingface/transformers/pull/15865.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15865.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/15864
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/15864/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/15864/comments
https://api.github.com/repos/huggingface/transformers/issues/15864/events
https://github.com/huggingface/transformers/pull/15864
1,155,163,824
PR_kwDOCUB6oc4zuEMp
15,864
DebertaForSequenceClassification loss computation
{ "login": "michaelbenayoun", "id": 25418079, "node_id": "MDQ6VXNlcjI1NDE4MDc5", "avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/michaelbenayoun", "html_url": "https://github.com/michaelbenayoun", "followers_url": "https://api...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15864). All of your documentation changes will be reflected on that endpoint.", "No this is a breaking change. We didn't touch the way the loss was computed when adding support for `problem_type` for all models to avoid suc...
1,646
1,646
1,646
MEMBER
null
# What does this PR do? This PR changes the way the loss is being computed for `DebertaForSequenceClassification` and `DebertaV2ForSequenceClassification` to make it match what is being done for other bert-like models. The current way of doing it seems overly complicated and I do not see why the behaviour should ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/15864/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/15864/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/15864", "html_url": "https://github.com/huggingface/transformers/pull/15864", "diff_url": "https://github.com/huggingface/transformers/pull/15864.diff", "patch_url": "https://github.com/huggingface/transformers/pull/15864.patch", "merged_at...